https://kotlinlang.org logo
#kotest-contributors
Title
# kotest-contributors
e

Emil Kantis

11/16/2021, 5:41 PM
You might be on it already, but I saw this in the last build log.. Some issue with 1.6 compiler? 😬
Copy code
java.io.FileNotFoundException: /home/runner/work/kotest/kotest/kotest-framework/kotest-framework-engine/build/classes/kotlin/jvm/main/io/kotest/engine/interceptors/TestEngineStartedFinishedInterceptor$intercept$2$1.class (Too many open files)
s

sam

11/16/2021, 5:42 PM
Having plenty of issues with 1.6 😞
is this the build that's currently running ?
e

Emil Kantis

11/16/2021, 5:42 PM
The one before it
s

sam

11/16/2021, 5:42 PM
ah ok
well hopefully the current one goes green, it's got quite far
then I'll release 5.0.0.RC
e

Emil Kantis

11/16/2021, 5:42 PM
Happened around 18-20 mins IIRC
so this one might be the one
🤞
s

sam

11/16/2021, 5:43 PM
the linux build just failed
same thing
I have no idea how to fix that, seems you can't increase file limit in GH actions
e

Emil Kantis

11/16/2021, 6:10 PM
Can I try adding these steps? Step 1 should give us some data on what the limits are, step 2 tries to change them (not sure if this will work) and step 3 to check if it seem to have worked.. I have no idea if any of this would work homer disappear
Copy code
-  name: Check filesystem (Pre-configure)
            run: |
              ulimit -n 
              ulimit -Sn 
              ulimit -Hn
              cat /etc/security/limits.conf
              whoami
            
         -  name: Configure filesystem
            run: |
              ulimit -n 200000
              ulimit -Sn 200000
              ulimit -Hn 200000
            
         -  name: Check filesystem (post-configure)
            run: |
              ulimit -n
              ulimit -Sn
              ulimit -Hn
s

sam

11/16/2021, 6:10 PM
feel free !
If that doesn't work, I will revert the build back to the last green and work through it again
e

Emil Kantis

11/16/2021, 6:12 PM
Woops, added to wrong workflow 🤐
Limit seems to be 65k files. Increasing it might not be an option 😞
Copy code
Run ulimit -n 200000
/home/runner/work/_temp/93d0ef51-74af-4dcd-893b-d4861d96ad0c.sh: line 1: ulimit: open files: cannot modify limit: Operation not permitted
s

sam

11/16/2021, 6:14 PM
yeah 65k should be enough
it's a bug in 1.6 then I guess
e

Emil Kantis

11/16/2021, 6:25 PM
Reverted the workflow changes 🙂
s

sam

11/16/2021, 6:30 PM
ok
I had to revert loads of stuff but it's green again
e

Emil Kantis

11/16/2021, 8:04 PM
great stuff!! 🙌
what's the plan now? re-introduce the dropped commits one by one to see what caused the issue?
s

sam

11/16/2021, 8:43 PM
yes
there's a bunch of builds going on now
e

Emil Kantis

11/16/2021, 8:45 PM
awesome 🙂 great work man. looking forward to seeing 5.0 out there
s

sam

11/16/2021, 8:49 PM
yeah me too, although I'm still not entirely happy with the concurrency support
but I guess it will have to do for now
7 Views