Граф коммитов

411 Коммитов

Автор SHA1 Сообщение Дата
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:
* https://app.travis-ci.com/github/ruby/ruby/builds/269211469
* https://app.travis-ci.com/github/ruby/ruby/builds/269204073

s390x:
* https://app.travis-ci.com/github/ruby/ruby/builds/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.

https://app.travis-ci.com/github/ruby/ruby/jobs/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 7ded31d36dc78c1495b03a45ec1a3235fdd81f1e.

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.

* https://app.travis-ci.com/github/ruby/ruby/builds/268617296
* https://app.travis-ci.com/github/ruby/ruby/builds/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.
https://app.travis-ci.com/github/ruby/ruby/builds/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.
  https://app.travis-ci.com/github/ruby/ruby/jobs/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:
https://app.travis-ci.com/github/ruby/ruby/jobs/544382885
https://app.travis-ci.com/github/ruby/ruby/jobs/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
Nobuyoshi Nakada 10d2341640
Shallow clone on TravisCI 2021-10-13 16:02:50 +09:00
Jun Aruga 38d255d023 .travis.yml: Comment out the 2nd arm64 pipeline.
The 2nd arm64 pipeline is unstable now in Travis. As Cirrus CI has arm64
pipelines, it's not a problem to drop the arm64 pipeline in Travis.
2021-10-12 20:37:38 +02:00
Nobuyoshi Nakada f6048e592c
Run the failing readline test on arm32-linux separately 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 3817d1823c
Remove `RUN_SEPARATED_TESTS` which seems unnecessary 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 72797acf6e
Set `TEST_ALL` options first to show in the summary page 2021-10-10 11:16:13 +09:00
Takashi Kokubun 963f2e01e7
Reduce the amount of false positive notifications 2021-08-13 10:26:12 -07:00
Jun Aruga 6771316d51 .travis.yml: Check failures for Travis arm64 again.
It seems the concurrent jobs are stable recently on arm64 pipeline.
Keep allowing to fail on arm32 due to a failure.
2021-08-09 22:32:12 +02:00