summaryrefslogtreecommitdiff
path: root/.github/actions/compilers/entrypoint.sh
AgeCommit message (Collapse)Author
2025-12-14Run omnibus compilations without gitNobuyoshi Nakada
2025-10-08compilers.yml: Run only specified tests for --with-gmp (#14798)Takashi Kokubun
It's weird that --with-gmp runs test-tool just because it needs to run test/ruby/test_bignum.rb and spec/ruby/core/integer/*_spec.rb.
2025-08-27CI: Use `nproc` to count only on-line CPUs for GNUMAKEFLAGSJun Aruga
Use `nproc` rather than `nproc --all`. Because the number by the `nproc` is different from the number by the `nproc --all` on GitHub Actions ppc64le/s390x. This caused the `make` command runs much more jobs than the number of on-line CPUs on these environments. The make command ran 193 jobs in parallel for 4 on-line CPUs in GitHub Actions ppc64le, and ran 9 jobs in parallel for 4 on-line CPUs in GitHub Actions s390x. And this caused the high load average 34.58 on ppc64le, and 6.69 on s390x. These values should be less than 4.0. I believe we should use the `nproc` rather than `nproc --all`. ``` + nproc 4 + nproc --all 192 ``` ``` + nproc 4 + nproc --all 8 ``` See https://github.com/IBM/actionspz/issues/38 for details. Note the `--all` option in the `nproc --all` was originally added to boost CPU in a hyper threading environment where one physical core works like two logical cores. https://www.intel.com/content/www/us/en/gaming/resources/hyper-threading.html
2025-07-02Launchable: Temporarily remove Launchable integration from Compilatio… ↵Naoto Ono
(#13759) Launchable: Temporarily remove Launchable integration from Compilations workflow Currently, Launchable is unstable, which occationally causes workflow issues. Until this problem is fixed, we'll temporary disable Launchable in the Compilations workflow.
2025-06-19CI: Extract `launchable_record_session` functionNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13623
2025-06-19CI: Store session info in variables directlyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13623
2025-06-16CI: Fix spec_optsNobuyoshi Nakada
2025-06-16Launchable: Terminate Launchable CLI process quickly by sending singa… ↵Naoto Ono
(#13622) Launchable: Terminate Launchable CLI process quickly by sending singals to a process group Sometimes, the timeout errors occurred in Compilations workflow, this is because Launchable CLI process was not terminated correctly. To address this issue, we'll send signals to a process group. https://github.com/ruby/ruby/actions/runs/15614867686 https://github.com/ruby/ruby/actions/runs/15662906947 Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com> Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-06-13CI: Fix launchable timeoutNobuyoshi Nakada
`setup_launchable` needs to run the current shell, not in a subshell. Notes: Merged: https://github.com/ruby/ruby/pull/13608
2025-06-06CI: Continue without record if Launchable setup failedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13538
2025-06-06CI: Trap launchable_record_test in the parent processNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13535
2025-06-06CI: Timeout launchable setup in 3minNobuyoshi Nakada
2025-06-04Launchable: Set env variables to prevent CI slowdowns (#13513)Naoto Ono
When Launchable in unstable, the round trip time takes a long time, which slows down CI execution. In this PR I configured the environment variable `LAUNCHABLE_COMMIT_TIMEOUT` to configure the timeout. https://github.com/launchableinc/cli/pull/1015 Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-03-12Launchable: Disable request retries when a timeout exception occurs (#12877)Naoto Ono
When a Launchable server is unstable, a ReadTimeoutException occurs in the Launchable CLI. In such case, the Launchable CLI retries requests, which slows down CI execution. In this PR, I configured the environment variable SKIP_TIMEOUT_RETRY to disable retry attempts on requests(Link: https://github.com/launchableinc/cli/pull/992). ``` WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Max retries exceeded with url: /intake/organizations/ruby/workspaces/ruby/commits/collect/options (Caused by ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")) Exception in thread "main" javax.net.ssl.SSLException: Connection reset at sun.security.ssl.Alert.createSSLException(Alert.java:127) at sun.security.ssl.TransportContext.fatal(TransportContext.java:331) at sun.security.ssl.TransportContext.fatal(TransportContext.java:274) at sun.security.ssl.TransportContext.fatal(TransportContext.java:269) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1572) at sun.security.ssl.SSLSocketImpl.access$400(SSLSocketImpl.java:73) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:982) at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at com.launchableinc.ingest.commits.CommitGraphCollector.transfer(CommitGraphCollector.java:131) at com.launchableinc.ingest.commits.CommitIngester.run(CommitIngester.java:145) at com.launchableinc.ingest.commits.CommitIngester.main(CommitIngester.java:72) Suppressed: java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at java.net.SocketOutputStream.write(SocketOutputStream.java:155) at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81) at sun.security.ssl.TransportContext.fatal(TransportContext.java:362) ... 25 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464) at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68) at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1350) at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:73) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:966) ... 20 more Couldn't get commit history from `/github/workspace/src`. Do you run command root of git-controlled directory? If not, please set a directory use by --source option. HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=60) Command '['java', '-jar', '/root/.local/pipx/venvs/launchable/lib/python3.10/site-packages/launchable/jar/exe_deploy.jar', 'ingest:commit', '-endpoint', ``` https://github.com/ruby/ruby/actions/runs/13572112090/job/37939529243 Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-01-06Launchable: Exit 0 not to stop CI pipeline (#12449)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-17Launchable: Start recording test-spec in compilers.yaml (#12364)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-13Launchable: Refactor entrypoint.sh (#12314)Naoto Ono
* Use `launchable record session` command to split test sessions based on test suites. * Use BTESTS env instead of RUBY_TESTOPTS for passing CLI option to `make btest`. * Group Launchable logs * Add several flavors to identify the relationship between test session and GH workflow. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-03Enable Launchable integration in compilers.yml (#12136)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-11-21Skip make install with gmp buildHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12141
2024-11-21Fix error "fatal: detected dubious ownership in repository at ↵Naoto Ono
'/github/workspace/src'" Notes: Merged: https://github.com/ruby/ruby/pull/12139
2024-10-16Remove unused shared GC configuration in GitHub ActionsPeter Zhu
Shared GC CI is no longer running in the compilers workflow, so we can remove it from .github/actions/compilers/entrypoint.sh. Notes: Merged: https://github.com/ruby/ruby/pull/11897
2024-10-01Pass MSPECOPT from compilers.ymlHiroshi SHIBATA
2024-09-27Applied https://github.com/ruby/ruby/pull/11574Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/11217
2024-09-27sequential execution of some CI tasks卜部昌平
reduced parallelism from some 50-ish to 10-ish so that other jobs can run. Notes: Merged: https://github.com/ruby/ruby/pull/11217