Permalink
Commits on Dec 16, 2018
  1. spec/../initialize_spec.rb: skip fd-specific spec

    k0kubun committed Dec 16, 2018
    https://gist.github.com/ko1/72c03695e81a54d40649f29d0c421f26
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 15, 2018
  1. Revert "* expand tabs."

    k0kubun committed Dec 15, 2018
    This reverts commit 298180f.
    
    It looks like we should not expand ext/nkf:
    https://git.ruby-lang.org/ruby-commit-hook.git/commit/?id=91fd9708b7cf04a4dcddd9614c24e27ddef5d43b
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 13, 2018
  1. test_win32ole_event.rb: retry random failure

    k0kubun committed Dec 13, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 12, 2018
  1. bootstraptest/runner.rb: increase timeout for --jit-wait

    k0kubun committed Dec 12, 2018
    because test_io.rb:33 randomly fails
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1519055
    
    checking MJIT.enabled? on driver might not make sense for target, but as
    long as the CI is -DMJIT_FORCE_ENABLE, I believe it works for now.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 9, 2018
  1. test/rdoc/minitest_helper.rb: partially revert r66286

    k0kubun committed Dec 9, 2018
    to resurrect r65613
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 6, 2018
  1. accept_loop_spec.rb: avoid random hang

    k0kubun committed Dec 6, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. test_gem_package_task.rb: suppress random failure

    k0kubun committed Dec 6, 2018
    by Bundler.
    
    http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/1500762
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 4, 2018
  1. .travis.yml: config_2nd may not exist in ~/

    k0kubun committed Dec 4, 2018
    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
  2. Re-commit r65722

    k0kubun committed Dec 4, 2018
    which was accidentally reverted by r65904
    
    158562d
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. test/excludes/_appveyor: exclude memory-inefficient

    k0kubun committed Dec 4, 2018
    test which AppVeyor sometimes can't run.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 3, 2018
  1. ext/bigdecimal/bigdecimal.c: drop unused function

    k0kubun committed Dec 3, 2018
    This has been unused since r66124.
    
    cc: @mrkn
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. mjit.c: eliminate -save-temps flag

    k0kubun committed Dec 3, 2018
    in a new variable cc_common_args.
    
    `cflags=-save-temps=obj` makes MJIT fail like:
    https://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20181203T095000Z.log.html.gz
    
    This rubyci specifies -save-temps=obj in CFLAGS to use update-deps, and
    the flag is harmful when we want to use -pipe flag.
    
    mjit_worker.c: prefer cc_common_args over CC_COMMON_ARGS
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. mjit_worker.c: undefine CC_PATH

    k0kubun committed Dec 3, 2018
    because we mostly use cc_path now and the comment is obsolete (CC_PATH
    is now absolute path and the TODO is already resolved).
    
    mjit.c: use CC_COMMON_ARGS[0] directly
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 1, 2018
  1. tool/downloader.rb: retry Net::OpenTimeout

    k0kubun committed Dec 1, 2018
    to prevent random failure
    https://travis-ci.org/ruby/ruby/jobs/461667474
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 29, 2018
  1. Revert "using_spec.rb: skip broken test for MinGW for now"

    k0kubun committed Nov 29, 2018
    This reverts commit 110273c.
    
    Try this with r66087
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 28, 2018
  1. using_spec.rb: skip broken test for MinGW for now

    k0kubun committed Nov 28, 2018
    ko1 is fixing this and he suggested to skip it for now
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 27, 2018
  1. mjit_worker.c: promote mjit_copy_job from function

    k0kubun committed Nov 27, 2018
    -local variable to global variable.
    
    Consider this case:
    1. MJIT worker: dequeue ISeq (stop_worker_p was still FALSE)
    2. Ruby thread: call Kernel#exec, which calls mjit_finish(FALSE),
                    sets `stop_worker_p = TRUE`, and fires RUBY_VM_CHECK_INTS() once
    3. MJIT worker: register copy job, but found stop_worker_p is TRUE.
                    set `worker_stopped = TRUE` and the thread stops.
    4. Function-local job variable expires by the thread stop (this is eliminated by this commit)
    5. Ruby thread: find `worker_stopped` becamse TRUE, start Kernel#exec.
                    Kernel#exec fails but exception is rescued.
    6. Ruby thread: call RUBY_VM_CHECK_INTS. copy job is dispatched but job variable
                    is already expired.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. regparse.c: conform C90

    k0kubun committed Nov 27, 2018
    ../regparse.c:5908:28: error: initializer for aggregate is not a compile-time constant [-Werror,-Wc99-extensions]
          Node* sequence[] = { np1, np2, np3, ((Node* )0) };
                               ^~~
    
    https://travis-ci.org/ruby/ruby/jobs/460197620
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 26, 2018
  1. test_jit.rb: skip a test for Windows for now

    k0kubun committed Nov 26, 2018
    https://ci.appveyor.com/project/ruby/ruby/builds/20558412
    
    removing CloseHandle disallows us to remove the DLL.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. vm_trace.c: MJIT-limited thread-safety for postponed_job

    k0kubun committed Nov 26, 2018
    [Bug #15316]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. process.c: avoid dlclose before exec

    k0kubun committed Nov 26, 2018
    because JIT-ed code may still be on stack at this time, unlike
    in ruby_cleanup().
    
    This hopes to fix: (take 2)
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1480207
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Revert "process.c: try to workaroun SEGV by r65994"

    k0kubun committed Nov 26, 2018
    This reverts commit 0e6aba2.
    
    because it didn't help, at all.
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1480207
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. process.c: try to workaroun SEGV by r65994

    k0kubun committed Nov 26, 2018
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1480173
    
    It tries to print C backtrace but fails. And core file on the server
    seems to be stopping on the irrelevant place due to its own signal
    handler for the dump.
    
    And I failed to reproduce this SEGV on my machine.
    
    I don't know why it's broken, so let me try this change to investigate
    the reason of SEGV.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. process.c: finish MJIT prior to #exec

    k0kubun committed Nov 26, 2018
    to prevent ruby from leaving MJIT-related files.
    
    test_jit.rb: add a test to prevent that
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. mjit_worker.c: disable running copy job

    k0kubun committed Nov 26, 2018
    after MJIT worker stop.
    
    r65928 didn't fix the SEGV. This commit hopes to fix
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1478576
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. lib/rubygems/indexer.rb: suppress random test-all error

    k0kubun committed Nov 26, 2018
    by Bundler integration, like:
    http://ci.rvm.jp/results/trunk-no-mjit@silicon-docker/1479769
    
    This resurrects r65629 which was accidentally reverted by r65904.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 24, 2018
  1. Fix r65926 test_dir.rb for windows (tilde)

    k0kubun committed Nov 24, 2018
    [Fix GH-2022]
    
    From: MSP-Greg <greg.mpls@gmail.com>
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 22, 2018
  1. mjit.c: avoid running copy job handler after ISeq GC

    k0kubun committed Nov 22, 2018
    like this http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1471633
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Revert "test_gem_remote_fetcher.rb: give up testing MJIT here"

    k0kubun committed Nov 22, 2018
    This reverts commit d12bcfc.
    
    pause on --jit-wait looks not working... I'll fix that first.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 21, 2018
  1. test_gem_remote_fetcher.rb: give up testing MJIT here

    k0kubun committed Nov 21, 2018
    because we can't configure timeout for remote fetcher.
    
    We've sometimes hit timeout.
    https://app.wercker.com/ruby/ruby/runs/mjit-test2/5bf5213c183106002857d355?step=5bf530de63e94600071b0785
    https://app.wercker.com/ruby/ruby/runs/mjit-test2/5be3d719567ae90007681ed6?step=5be43b3887436a0006d00d21
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 20, 2018
  1. Skip known MJIT random test failures

    k0kubun committed Nov 20, 2018
    Let me silence this until I have time to work on them, and make the CI
    usable for testing other features.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. configure.ac: disable native-fiber for MinGW

    k0kubun committed Nov 20, 2018
    because it had already been SEGV-ed in pull request'S CI
    https://ci.appveyor.com/project/ruby/ruby/builds/20427065/job/32oahrcd58b8ubb1
    and has never worked on trunk either.
    
    Please make sure it does not SEGVs on your MinGW environment or pull
    request before enabling native fiber on MinGW.
    
    appveyor.yml: reverted commits to make CI green with native fiber
    test/excludes/_appveyor/msys2/TestArray.rb: ditto
    test/excludes/_appveyor/msys2/TestEnumerable.rb: ditto
    test/excludes/_appveyor/vs/TestArray.rb: ditto
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. appveyor.yml: do not undefine everything [ci skip]

    k0kubun committed Nov 20, 2018
    https://ci.appveyor.com/project/ruby/ruby/builds/20432223/job/yhwbku8dg2s40e9e
    C:/projects/ruby/test/lib/test/unit.rb:1004: warning: undefining `object_id' may cause serious problems
    C:/projects/ruby/test/lib/test/unit.rb:1004: warning: undefining `__send__' may cause serious problems
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. appveyor.yml: exclude TestEnumerable.rb on msys2

    k0kubun committed Nov 20, 2018
    because it SEGVs on setup like:
    https://ci.appveyor.com/project/ruby/ruby/builds/20431217/job/97no5h1gqv50k1vf
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. appveyor.yml: native-fiber crashes Enumerator

    k0kubun committed Nov 20, 2018
    test on MinGW.
    https://ci.appveyor.com/project/ruby/ruby/builds/20427662/job/tnnw50opqtj6x0xq
    https://ci.appveyor.com/project/ruby/ruby/builds/20429129/job/dpgbx5atkxjiwh7q
    
    To investigate issues, let's try running this without -j.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e