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

228 Коммитов

Автор SHA1 Сообщение Дата
Urabe, Shyouhei 8fce83339b disable _FORTIFY_SOURCE
Sanitizers and fortifications do not interface, and there is currently
no plan for them to work together.

See also https://github.com/google/sanitizers/issues/247
2019-05-23 17:24:53 +09:00
Nobuyoshi Nakada 1ccc2eeba0
Pretend to update all Unicode files 2019-05-23 14:18:26 +09:00
Takashi Kokubun 277e68825a
.travis.yml: Test master branch instead of trunk 2019-05-22 08:33:44 -07:00
Nobuyoshi Nakada af1502175b
Touch the timestamp file for Unicode files 2019-05-19 05:45:30 +09:00
Kazuhiro NISHIYAMA e8e415b534
Add workaround for `Permission denied` of `cp`
see r67347
recent log: https://travis-ci.org/ruby/ruby/jobs/529640417
2019-05-08 16:46:18 +09:00
Takashi Kokubun 229e5053a1
Drop -fs from rubyspec to see test results easily
Recently `ruby/spec on Ruby 2.4` seems stable.
2019-05-08 14:59:21 +09:00
Urabe, Shyouhei a116f04cca suppress some UBSAN sanitizers
They are not "undefined".  UBSAN reports them because it thinks
they are "often unintentional".  We see the report rather annoying.
2019-04-29 21:52:44 +09:00
Kazuhiro NISHIYAMA 69cad44fac
Reduce debug output
because I found machine clock problem
see r67347
https://travis-ci.org/ruby/ruby/jobs/525784924
https://travis-ci.community/t/mtime-of-source-codes-are-sometimes-newer-than-build-time-clock-skew/3215
2019-04-29 12:21:50 +09:00
Kazuhiro NISHIYAMA f0776e3203
Add more debug print for random CI failure on osx Travis
and remove `git status` with noisy rvm trace log

see r67347
2019-04-29 01:23:20 +09:00
Takashi Kokubun f40458e9dd
Specify VM_CHECK_MODE explicitly
In my understanding, `VM_CHECK_MODE` should be Integer and I'm not sure
how `-DVM_CHECK_MODE` would behave. To make the matters simple, let me
pass the mode explicitly.
2019-04-28 14:10:09 +09:00
Takashi Kokubun 766293fc49
Ruby 2.3 is EOL 2019-04-28 14:04:48 +09:00
Kazuhiro NISHIYAMA 1cef6a0c0c
Add more debug print for random CI failure on osx Travis
see r67347
2019-04-26 17:47:23 +09:00
Urabe, Shyouhei 0523b02f48 yaml cannot deep-merge arrays
The configuration cannot but be written here and there....
2019-04-26 15:59:40 +09:00
Urabe, Shyouhei 267ac0624d make test needs no gems 2019-04-26 15:59:40 +09:00
Urabe, Shyouhei d700a8a0eb update travis clang
Seems clang-7 has false-positives around memory sanitizer.

This line should not be reported because the memory region is
correctly unpoisoned beforehand:
https://travis-ci.org/ruby/ruby/jobs/524766381

Clang 8 seems to fix it.
2019-04-26 15:59:40 +09:00
Urabe, Shyouhei 3175c54cb6 new travis setting to enable assertions 2019-04-26 15:59:40 +09:00
Urabe, Shyouhei 2a49a47956 sanitizer compiler flag update 2019-04-26 15:59:40 +09:00
Kazuhiro NISHIYAMA c9715eb494
Add more debug print for random CI failure on osx Travis
see r67347
2019-04-25 20:02:49 +09:00
Kazuhiro NISHIYAMA 2642f22050
Add more debug print for random CI failure on osx Travis
see r67347
2019-04-24 18:19:44 +09:00
Takashi Kokubun 82ef172a8c
The step should not fail when isolated tests
do not exist
2019-04-24 01:10:14 +09:00
Takashi Kokubun bc8e54911d
Isolate test_gc_compact for osx Travis
After `GC.compact`, test/shell/test_command_processor.rb seems to be made
unstable on osx Travis like https://travis-ci.org/ruby/ruby/jobs/523487997.

For investigating whether it's impacting that or not, let me try isolating
that for osx Travis for now.
2019-04-24 00:41:24 +09:00
Kazuhiro NISHIYAMA 6013e41a7b Support of Ruby 2.3 has ended
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
2019-04-22 11:39:08 +09:00
kazu 57f9a700d7 Add more debug print for random CI failure on osx Travis
see r67347

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:52:37 +00:00
k0kubun d636809c05 Revert "Try to set false explicitly"
This reverts commit a1b5d20068.

Revert "Revert "Skip recompiling tests on i686 Linux""

This reverts commit 7b88a9207b.

Revert "Simplify matrix for debugging"

This reverts commit e85d6c5c5e.

Sorry, these 3 commits were under debugging in
https://github.com/ruby/ruby/pull/2129 but accidentally merged by using
`git svn dcommit` instead of `git push` to the topic branch 🙇

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 05:52:14 +00:00
k0kubun e85d6c5c5e Simplify matrix for debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 05:48:38 +00:00
k0kubun 9254e1c740 Debug make install instead of make
Actually what has randomly failed was `make install`:
https://travis-ci.org/ruby/ruby/jobs/512988177

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-29 12:55:07 +00:00
k0kubun 1c5fd2bff0 Add debug print for random CI failure on osx Travis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-27 13:15:02 +00:00
k0kubun f9e5b8d09c Revert "Try disabling Travis cache on darwin"
This reverts commit 6b136a0442.

This does not seem to work:
https://travis-ci.org/ruby/ruby/jobs/507646193#L2478

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-18 12:07:21 +00:00
k0kubun 6b136a0442 Try disabling Travis cache on darwin
to check if it resolves "Permission denied" problem.
https://travis-ci.org/ruby/ruby/jobs/507381339
https://travis-ci.org/ruby/ruby/jobs/507392198

TBH I'm not exactly sure why it happens, but I don't have infinite time
to understand this. It would be appreciated to identify the root cause
and remove `DISABLE_CACHE` again if you're sure your patch fixes the problem.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 06:20:01 +00:00
kazu fdc42bf88d Remove deprecated `sudo: false` in .travis.yml
- https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
- https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-06 03:04:36 +00:00
k0kubun dfdd0e1d08 .travis.yml: allow C99 on pedanticism buid
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 07:59:18 +00:00
k0kubun d0045da598 .travis.yml: propagate -w properly
r66692's `export RUBYOPT="-w"` does not seem to work.
Passing `RUBYOPT="-w"` to `make test-all`'s argument works.

Let's try having this for all environments.

(see r66690 for motivation)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 06:27:35 +00:00
k0kubun 3bc28f4933 .travis.yml: enforce -w in invoke_ruby as well
actually current test-all does not fail with RUN_OPTS="-w".

and chkbuild seems to use RUBYOPT="-w"
bad4681c30/chkbuild/ruby.rb (L605)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 05:15:54 +00:00
k0kubun 5743c9e858 .travis.yml: add a test matrix with -w
currently Travis and AppVeyor does not run tests with test-all,
but RubyCI uses -w and currently all RubyCIs are failing.

It might be better to fail at least one CI in Travis to notice it
earlier.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 05:08:43 +00:00
k0kubun 1317fefe53 .travis.yml: increase timeout for test-all
we reached 30min timeout on osx build
https://travis-ci.org/ruby/ruby/jobs/473019623

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 15:19:11 +00:00
nobu e23a166995 .travis.yml: ignore non-existent files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 04:28:16 +00:00
nobu 971e1aaf63 .travis.yml: rbconfig.rb is not needed to setup sources
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 04:23:39 +00:00
shyouhei bc64df876e delete emacs mode lines [ci skip]
These settings are now covered by .dir-locals.el.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27 06:12:09 +00:00
naruse 5300cdc0c0 Add ruby_2_6 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 23:12:07 +00:00
k0kubun 9cc1120424 .travis.yml: refine explanation of no -j3 on osx [ci skip]
With travis_wait, we may not need -j3 for test-all anymore, but still we
need to avoid hanging on building Ruby somehow.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:58:33 +00:00
k0kubun 350809c7f2 .travis.yml: wrap setarch with travis_wait
because travis_wait is not found via setarch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:35:14 +00:00
k0kubun f432fd6ea5 .travis.yml: try travis_wait instead of -v
Using -v somehow makes test-all on osx stable. Let me check if travis_wait
solves the issue or not.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:10:06 +00:00
k0kubun a934b66437 .travis.yml: use -v for osx to find a blocking test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 16:36:37 +00:00
k0kubun 4e42ebf018 .travis.yml: give up parallel build for osx
Even building ruby seems to hang for unknown reasons.
https://travis-ci.org/ruby/ruby/jobs/471021727

Travis's osx environment is too fragile. Avoid anything dangerous.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 16:07:41 +00:00
k0kubun 8af3bd4594 .travis.yml: avoid using -j3 for osx
osx build has failed too often. we don't know why.

To know which test hangs forever, we might want to have hard timeout for
all test case (like 9min, slightly less than no-output timeout) in test-all.
But it's a little hard to implement and I would workaround an unknown
cause somehow.

It's known that -j is harmful for some tests in test-all. Let's try to
remove it first, and if it doesn't work, I'll resurrect -v option to
easily know which test is the culprit.

Slow correctness is much better than fast false-positive.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 15:07:18 +00:00
k0kubun f984a40e23 .travis.yml: config_2nd may not exist in ~/
https://travis-ci.org/ruby/ruby/jobs/463317607

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 13:15:24 +00:00
shyouhei 493955c692 .travis.yml: cache unicode.org files
Before this changeset (since r58071) we did not download files
from unicode.org but just touch some files.  This is a kind of
hack that people normally don't do at home.

We are caching other files between builds now.  Why not also save
those files downloaded from elsewhere.  This covers more
realistic workload, I guess.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-29 05:26:05 +00:00
shyouhei 2be1cf45c1 .travis.yml: fix YAML parse error
`[` is a meta character in YAML.  `- [` starts an array,
so it should end with `]`; but it was not.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-29 02:47:36 +00:00
nobu 2d0833e101 Try with TZInfo and Timezone gems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 14:08:34 +00:00
shyouhei 7cb0965822 .travis.yaml: unquote
It was probably me, 7 years ago, in r33844, who started overly
quoting YAML strings.  But now, this file grown up 50+ times from
6 lines to more than 300.  It is more annoying than convenient to
quote everything to add backslashes here and there.

Just use quotes only when necessary.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 00:49:24 +00:00