You might be on it already, but I saw this in the ...
# kotest-contributors
e
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
Having plenty of issues with 1.6 😞
is this the build that's currently running ?
e
The one before it
s
ah ok
well hopefully the current one goes green, it's got quite far
then I'll release 5.0.0.RC
e
Happened around 18-20 mins IIRC
so this one might be the one
🤞
s
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
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
feel free !
If that doesn't work, I will revert the build back to the last green and work through it again
e
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
yeah 65k should be enough
it's a bug in 1.6 then I guess
e
Reverted the workflow changes 🙂
s
ok
I had to revert loads of stuff but it's green again
e
great stuff!! 🙌
what's the plan now? re-introduce the dropped commits one by one to see what caused the issue?
s
yes
there's a bunch of builds going on now
e
awesome 🙂 great work man. looking forward to seeing 5.0 out there
s
yeah me too, although I'm still not entirely happy with the concurrency support
but I guess it will have to do for now