Commit graph

418 commits

Author SHA1 Message Date
Jun Aruga
efe6813b1f Drop Travis CI.
Travis CI has not been running since 2 months ago.
https://app.travis-ci.com/github/ruby/ruby/builds

As we are migrating the ppc64le/s390x CI cases from Travis to GitHub Actions,
I will drop the `.travis.yml`, while the GitHub Actions ppc64le case is not
available yet.
2025-08-15 06:37:15 +02:00
Jun Aruga
6d3951e788 .travis.yml: Drop arm64 case.
We started running a Linux arm64 case in GitHub Actions.[1] So, it's time to
drop the Linux arm64 case in Travis CI.

[1] a9d37ac3e5
2025-01-20 15:48:08 +01:00
Nobuyoshi Nakada
0d7f746097 .travis.yml: Skip document only commit and merge for bot
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2024-10-25 07:05:56 +02:00
Jun Aruga
d089826c0d .travis.yml: Drop arm32-linux case.
In the Arm64 Ubuntu jammy (22.04) instance in Travis, we saw the following
error related to the `setarch` failing to run on the 32-bits architecture,
though the linux32 was included in the output of the `setarch --list`.

272876565 (L698)
```
$ setarch --list
uname26
linux32
linux64
armv7l
armv8l
armh
arm
arm64
aarch64

$ setarch linux32 --verbose --32bit uname -a
Switching on ADDR_LIMIT_32BIT.
The command "setarch linux32 --verbose --32bit uname -a" failed and exited with 1 during .
```

As we already have the i686 case to test the 32-bits on GitHub, we decided
dropping the arm32-linux case on Travis CI.
2024-10-25 07:05:56 +02:00
Nobuyoshi Nakada
e6ddbf181d [Misc #20810] Reenable Travis CI.
There was a report that the Travis CI's long-term infra issue was addressed by
the Travis team on the Ruby Bug ticket 20810.

We especially want to test the s390x (big-endian case) on the pull-request.

Revert ".travis.yml: Drop all the pipelines due to jobs not starting."

This reverts commit c853e48fc1.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2024-10-25 07:05:56 +02:00
Jun Aruga
c853e48fc1 .travis.yml: Drop all the pipelines due to jobs not starting.
Remove `.travis.yml` as a temporary workaround.
2024-09-02 15:36:09 +02:00
Jun Aruga
3d83df2b96 .travis.yml: Allow failures for arm64/arm32 pipelines.
Right now, the arm64 servers on Travis took around 7 hours to start the jobs.
Therefore, allow failures for the arm64 and arm32 pipelines

272105049
2024-09-02 15:36:09 +02:00
Jun Aruga
b824b13ee9 .travis.yml: Update jaruga's email.
I cannot receive Travis's notification via jaruga@ruby-lang.org, while another
committer with their @ruby-lang.org email can receive the notification.
The issue is my ruby-lang.org email address specific.
So far we haven't seen the root cause even with the Travis support's help.

Because of that, I change the email address to my personal email address.
2024-06-11 13:56:32 +02:00
Jun Aruga
a2ac28d8ab .travis.yml: Add lscpu command to see the details of the CPU. 2024-03-22 22:42:58 +01:00
Jun Aruga
29323505a6 Revert ".travis.yml: Allow failures for arm64 and arm32 cases temporarily."
This reverts commit 23dc7aa2c5.

It seems that the planned maintenance was finished.
https://bugs.ruby-lang.org/issues/20013#note-28
2024-03-06 16:10:59 +01:00
Jun Aruga
23dc7aa2c5 .travis.yml: Allow failures for arm64 and arm32 cases temporarily.
It's to avoid the failures by the infra issues in the term of the following
maintenance.

There is a planned maintenance on March 6th 2024 between 8:00 and 12:00 UTC+0.
The Travis service may be temporarily unavailable.
https://bugs.ruby-lang.org/issues/20013#note-28
2024-03-05 22:19:07 +01:00
Jun Aruga
54d26221b4 .travis.yml: Allow failures for ppc64le and s390x.
Because Travis ppc64le/s390x are unstable.

ppc64le:
* 269211469
* 269204073

s390x:
* 269201221
2024-03-01 13:14:16 +01:00
Takashi Kokubun
6084adbc6f Use travis_wait for test-spec as well
rubyspec seems very slow or getting stuck on s390-linux.

617916019
No output has been received in the last 10m0s, this potentially
indicates a stalled build or something wrong with the build itself.
2024-02-16 09:44:12 -08:00
Jun Aruga
816ce53a8a Revert ".travis.yml: Drop s390x temporarily."
This reverts commit 7ded31d36d.

I was told from Travis CI support that their infra team has deployed a fix for
the issue we encountered with the s390x build environment.
2024-01-31 09:56:39 +01:00
Jun Aruga
846f87ee0a .travis.yml: Drop s390x temporarily.
The s390x pipelines are timeout (50 minutes) on both master and ruby_3_3
branches. Drop it temporarily.

* 268617296
* 268615249
2024-01-30 16:22:05 +01:00
Peter Zhu
59bb78ebd0 [PRISM] Fix for s390x
On s390x, a long is 8 bytes. st_data_t is an unsigned long but
pm_constant_id_t is a 4 byte integer. We need to cast it to st_data_t
when passing it to ST functions.
2024-01-26 15:41:06 -05:00
Takashi Kokubun
34c688b163
Omit TestCompilePrism on s390x for now (#9694) 2024-01-24 16:03:05 -08:00
Jun Aruga
426f2334dd .travis.yml: Try another way to be notified.
I <jaruga@ruby-lang.org> haven't received the notifications since August 2022.
So, try another way to be notified written on the document below.

https://docs.travis-ci.com/user/notifications/#configuring-email-notifications
2023-12-22 15:06:47 +01:00
Nobuyoshi Nakada
aab74eafde
[DOC] Fix Travis-CI condition
"Not document only" should be honored always.  Also simplified repo
and branch conditions
2023-12-17 21:17:48 +09:00
Jun Aruga
24e0b185ab .travis.yml: Add s390x again.
As Travis CI IBM z pipeine is operational again, I will add s390x again to check
the case. Though Travis s390x infra team is still investigating the root cause.
https://www.traviscistatus.com/

Please revert this commit or comment on the
<https://bugs.ruby-lang.org/issues/20013>, when you see the s390x builds are not
starting again.

Sorry for inconvenience.
2023-11-24 17:36:20 +09:00
Jun Aruga
94144801eb .travis.yml: Drop s390x temporarily.
The builds are not starting.

You can check the Travis status on the ticket,
<https://bugs.ruby-lang.org/issues/20013>.
2023-11-22 17:16:58 +01:00
Jun Aruga
6d5aa79697 .travis.yml: Allow failures for s390x.
267410310
2023-11-22 14:30:54 +01:00
Jun Aruga
068bf59b33 .travis.yml: Run arm64 without allow_failiures.
Checking the past 10 builds in Travis CI arm64, it looks stable. So, disable
`allow_failures`.

Also sorted the order of the jobs for the priority. The arm64 is the first. And
I would like to run arm32 using the arm64 pipeline a bit later after the
arm64 using the same arm64 pipeline. So, the arm32 is the last.
2023-11-10 13:30:53 +01:00
Jun Aruga
0a7e620a36 .travis.yml: Add arm64 case.
In the past, I saw that the 2nd arm64 pipeline was unstable. Now I want to try
it to check if it is stable enough to run again.

As far as I know, right now the only native arm64 cases are MacOS Arm
`macos-arm-oss` on GitHub Actions. And I want to add Linux arm64 case on
pull-request in CI.
2023-11-09 12:03:02 +01:00
Jun Aruga
9d308ad495 .travis.yml: Add a RubyGems issue ticket link.
Add a RubyGems issue ticket link. The issue happend in Travis arm32 at once.
2023-11-03 17:12:27 +01:00
Jun Aruga
d4045b0660 .travis.yml: Add Ruby and RubyGems version info.
The version information is useful to report issues to Ruby and RubyGems
projects.
2023-11-03 17:12:27 +01:00
Jun Aruga
e345bf31f8 .travis.yml: s390x: Use GCC 11.4.0.
Use GCC version 11.4.0 (gcc-11 package) instead of the default GCC 11.3.0 to
align with the GCC used in the RubyCI s390x server below.

```
$ /usr/bin/gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 6 Aug  5  2021 /usr/bin/gcc -> gcc-11*

$ dpkg -S /usr/bin/gcc-11
gcc-11: /usr/bin/gcc-11
```

Ubuntu Jammy gcc-11: https://packages.ubuntu.com/jammy-updates/gcc-11
2023-11-03 15:54:30 +01:00
Jun Aruga
a43a52d415 .travis.yml: Reduce the parallel job number.
I think the "1+$(nproc)" is too much.
2023-11-03 13:56:26 +01:00
Jun Aruga
0ae6a2a1cf .travis.yml: Disable ppc64le allow_failures.
Now I expect that Travis ppc64le always passes without any random failures by
the commit 1f1b9b0942 that is
a workaround to pass the `test/rdoc/test_rdoc_generator_json_index.rb` in
Travis ppc64le case.
2023-11-03 12:39:57 +01:00
Jun Aruga
ebb8da5438 .travis.yml: Refactor.
* Add notes.
  * When you see Travis issue, please check the link below.
    https://github.com/ruby/ruby/wiki/CI-Servers#travis-ci
  * Added the following random failure.
    The ppc64le failure has been happening randomly in Travis focal/jammy.
    TestRDocGeneratorJsonIndex#test_generate fails randomly.
  612380961 (L2900)
* Update the comments.
* Remove empty lines in nested YAML elements aligning with other parts.
2023-10-30 15:23:15 +01:00
Jun Aruga
753b1ab194 .travis.yml: Disable s390x allow_failures.
To avoid unintentional new failures. Feel free to enable it again when the case
is unstable.
2023-10-30 15:23:15 +01:00
Jun Aruga
ca7296767b .travis.yml: Remove optflags=-O1 except arm32.
We want to align the used build flags with RubyCI ppc64le Ubuntu jammy server
as much as possible to avoid Travis specific issues.

Still keep the -O1 for only arm32 due to the following issue.
https://bugs.ruby-lang.org/issues/19981
2023-10-30 15:23:15 +01:00
Jun Aruga
5d7904ff7d .travis.yml: Upgrade the Ubuntu ppc64le to 22.04 (Jammy).
Seeing the recent successes on RubyCI ppc64le Ubuntu jammy servers, it's time
to upgrade Travis ppc64le to jammy.

http://rubyci.s3.amazonaws.com/ppc64le/ruby-master/recent.html

Upgrade the gcc version to the latest version 11.4.0 to align the gcc
version used in the RubyCI ppc64le server's gcc version.
2023-10-30 15:23:15 +01:00
Jun Aruga
83ecdd1dce
Revert ".travis.yml: Drop s390x temporarily." (#8792)
It seems the Travis s390x is recovered again now.

This reverts commit 95cc0f946e.
2023-10-28 11:12:25 +02:00
Jun Aruga
49d4421164 .travis.yml: Disable allow_failures for arm32.
I want to disable allow_failures if possible to avoid unintentional new
failures. It seems that the arm32 case is stable.

Feel free to enable allow_failures again when you see the case is unstable.
2023-10-27 21:56:31 +02:00
Jun Aruga
ddf5a33c4c .travis.yml: Upgrade the Ubuntu arm32 to 22.04 (Jammy).
Upgrade the gcc version to the latest version 11.4.0 to align the gcc
version used in the RubyCI arm64 server.
2023-10-27 21:56:31 +02:00
Jun Aruga
95cc0f946e .travis.yml: Drop s390x temporarily.
The s390x pipeline is unstable with the error "No output has been received"
or doesn't start. See <https://travis-ci.community/t/13811>.
2023-10-27 19:16:13 +02:00
Jun Aruga
a0b7574e59 .travis.yml: Simplify Travis CI.
* Remove CI functions for make test-all.
  I want to simplify the `.travis.yml` for us to maintain it easily. When we
  need to skip a test, we can fix the test file directly.
  I removed the `tool/ci_functions.sh` too. I confirmed the file is not used in
  any other files.
* .travis.yml: Remove a notification for IRC channel.
  GitHub Actions don't use this notification. The setting is outdated.
* Fix to skip the commit including the document keyword.
  There were 2 `if` syntax lines in the file.
* Remove ccache.
2023-10-27 19:16:13 +02:00
Jun Aruga
5fa1e246b9
.travis.yml: Upgrade the used Ubuntu s390x to 22.04 (Jammy). (#8401)
Upgrade the used Ubuntu version from 20.04 (Focal) to 22.04 (Jammy), alignin
with RubyCI "s390x (Ubuntu)" server.
https://rubyci.org/

Note Travis CI supports Ubuntu 22.04 (Jammy).
https://docs.travis-ci.com/user/reference/jammy/

Set `DFLTCC=0` environment variable as a workaround to avoid the test failures
related to zlib in the `make test-all` and `make test-spec`. The failures can
happen with the zlib library applying the patch madler/zlib#410 to enable the
deflate algorithm producing a different compressed byte stream.
2023-09-29 18:16:58 +02:00
Samuel Williams
be21a056d2
Try default gcc 9.4.0 to see if it exhibits the same compiler bugs. (#8394)
* Revert "Extract `do_mutex_lock_check_interrupts` to try and fix `ppc64le`. (#8393)"

This reverts commit 5184b40dd4.

* .travis.yml: Try default gcc 9.4.0 instead of gcc-10 in ppc64le and s390x.

Use gcc 9.4.0 instead of gcc-10 to avoid the current failures by a possible GCC
10 compiler bug in the Travis ppc64le and s390x cases. And it also aligns with
RubyCI Ubuntu ppc64le and s390x where the default gcc is used.

---------

Co-authored-by: Jun Aruga <jaruga@ruby-lang.org>
2023-09-08 20:44:46 +12:00
Nobuyoshi Nakada
0eb2108214
Use the default test-spec formatter on Travis 2023-08-12 12:32:31 +09:00
Nobuyoshi Nakada
9682275b54
[Travis] make .bundle directory writable
To create gem files from sources under `gems/src` for tests.
2023-07-02 16:52:29 +09:00
Nobuyoshi Nakada
d5cdc2edd0
[TravisCI] The source of YAML is no longer bundled 2022-09-15 01:38:43 +09:00
Nobuyoshi Nakada
fb2e9053b3
[TravisCI] Make gems/src directory writable 2022-09-15 01:38:42 +09:00
Nobuyoshi Nakada
5047283070
Skip CIs if the head commit message contains '[DOC]' 2022-06-19 11:05:31 +09:00
Kazuhiro NISHIYAMA
41a48535d1
Remove gdbm related code from Travis CI
The related extensions have been removed.

Related: https://github.com/ruby/ruby/pull/4619
2022-03-04 18:09:34 +09:00
Nobuyoshi Nakada
d58406ffca
Ignore hung-ups after success on s390x-linux tentatively [ci skip] 2021-12-21 13:40:28 +09:00
Nobuyoshi Nakada
5bf0060e0a
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code.  Currently, our CIs do almost
nothing about the documents.
2021-12-16 17:50:20 +09:00
Takashi Kokubun
76f9bc7e66
Reduce the amount of false positive notifications
While f6048e592c tried to approach the
instability mentioned there, unfortunately the Travis arm32 environment
seems unstable by itself. I already saw 2 different failures in the last
4 builds:
544382885
544361370

Let's revisit this when this kind of thing stops happening.
2021-10-20 21:57:49 -07:00
Nobuyoshi Nakada
275b55aea4
Revert "Shallow clone on TravisCI"
This reverts commit 10d2341640.
TravisCI clones the head of the target branch, and it may not be
the target commit at that time.
2021-10-13 19:04:46 +09:00