ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
@ 2020-10-02 20:18 utkarsh
  2020-10-03  4:49 ` [ruby-core:100285] " mame
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: utkarsh @ 2020-10-02 20:18 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been reported by utkarsh (Utkarsh Gupta).

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211

* Author: utkarsh (Utkarsh Gupta)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100285] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
@ 2020-10-03  4:49 ` mame
  2020-10-04  2:17 ` [ruby-core:100293] " utkarsh
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mame @ 2020-10-03  4:49 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by mame (Yusuke Endoh).


Hi, cloud you tell us what environment (OS, distribution, version, CPU, terminal, etc.) you are using? Thanks

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87870

* Author: utkarsh (Utkarsh Gupta)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100293] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
  2020-10-03  4:49 ` [ruby-core:100285] " mame
@ 2020-10-04  2:17 ` utkarsh
  2020-10-04  2:33 ` [ruby-core:100294] " utkarsh
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: utkarsh @ 2020-10-04  2:17 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by utkarsh (Utkarsh Gupta).


Hey,

mame (Yusuke Endoh) wrote in #note-1:
> Hi, cloud you tell us what environment (OS, distribution, version, CPU, terminal, etc.) you are using? Thanks

Right, sorry for not mentioning this earlier.
I am running Debian Sid. Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz with 16 gigs of RAM (in case that's of any help).
I co-maintain Ruby in Debian and I wanted to upload v2.7.2 but stumbled upon these failures. However, 2.7.1 just builds fine!
Interestingly, I get the same error with 3.0.0~preview1 as well.

Here are the Debina CI logs: https://salsa.debian.org/ruby-team/ruby/-/jobs/1044445#L8148

Please let me know if you need any more information.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87878

* Author: utkarsh (Utkarsh Gupta)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100294] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
  2020-10-03  4:49 ` [ruby-core:100285] " mame
  2020-10-04  2:17 ` [ruby-core:100293] " utkarsh
@ 2020-10-04  2:33 ` utkarsh
  2020-10-04 13:29 ` [ruby-core:100295] " mame
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: utkarsh @ 2020-10-04  2:33 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by utkarsh (Utkarsh Gupta).


utkarsh (Utkarsh Gupta) wrote:
> I am clueless as to what's causing this?

Weirdly enough it looks to me that
```
IRB_HISTORY
  stdin.write("5\nexit\n")
end
```
in `test/irb/test_history.rb` (for all these tests) has no impact apparently. But not sure what's going on with `test_history_save_1`. I am lost there.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87879

* Author: utkarsh (Utkarsh Gupta)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100295] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (2 preceding siblings ...)
  2020-10-04  2:33 ` [ruby-core:100294] " utkarsh
@ 2020-10-04 13:29 ` mame
  2020-10-04 18:31 ` [ruby-core:100296] " mame
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mame @ 2020-10-04 13:29 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by mame (Yusuke Endoh).


Thanks. I tested `make && make check` on Debian sid x86_64 on Docker on WSL2, but couldn't reproduce the issue. I'm not familiar with the deb packaging process, so can you explain how to reproduce the issue?

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87880

* Author: utkarsh (Utkarsh Gupta)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100296] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (3 preceding siblings ...)
  2020-10-04 13:29 ` [ruby-core:100295] " mame
@ 2020-10-04 18:31 ` mame
  2020-10-05 11:45 ` [ruby-core:100300] " aycabta
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mame @ 2020-10-04 18:31 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by mame (Yusuke Endoh).

Assignee set to aycabta (aycabta .)
Status changed from Open to Assigned

Okay, I got it. Those tests fail when no executable named `ruby` is available in `PATH`.

https://github.com/ruby/ruby/blob/f8c50109d7d1a067bae80b56e7b0b1923951c068/test/irb/test_history.rb#L131

Note that the build directory is added to `PATH` during the test. So, the problem occurs typically (1) when there is no system ruby (such as `/usr/bin/ruby`), and (2) when the executable being built is renamed, for example, by `./configure --program-suffix=something`.

Sorry for the inconvenience. This is a bug of the tests. I'm assigning @aycabta.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87881

* Author: utkarsh (Utkarsh Gupta)
* Status: Assigned
* Priority: Normal
* Assignee: aycabta (aycabta .)
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100300] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (4 preceding siblings ...)
  2020-10-04 18:31 ` [ruby-core:100296] " mame
@ 2020-10-05 11:45 ` aycabta
  2020-10-06  3:36 ` [ruby-core:100306] " utkarsh
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aycabta @ 2020-10-05 11:45 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by aycabta (aycabta .).


I decided to stop using `system` method for E2E testing because it depends on `ruby` command. I'm sorry for the rough implementation.

https://github.com/ruby/ruby/pull/3628

This patch of this Pull Request resolves the failure of CI.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87888

* Author: utkarsh (Utkarsh Gupta)
* Status: Assigned
* Priority: Normal
* Assignee: aycabta (aycabta .)
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100306] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (5 preceding siblings ...)
  2020-10-05 11:45 ` [ruby-core:100300] " aycabta
@ 2020-10-06  3:36 ` utkarsh
  2020-10-07 17:47 ` [ruby-core:100334] " merch-redmine
  2020-10-11  6:42 ` [ruby-core:100369] " nagachika00
  8 siblings, 0 replies; 10+ messages in thread
From: utkarsh @ 2020-10-06  3:36 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by utkarsh (Utkarsh Gupta).


Hello,

aycabta (aycabta .) wrote in #note-6:
> I decided to stop using `system` method for E2E testing because it depends on `ruby` command. I'm sorry for the rough implementation.
> 
> https://github.com/ruby/ruby/pull/3628
> 
> This patch of this Pull Request resolves the failure of CI.

Thank you so much! I can confirm that this indeed fixes the issues on the Debian side! :)

Thanks for all your work! \o/

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87891

* Author: utkarsh (Utkarsh Gupta)
* Status: Assigned
* Priority: Normal
* Assignee: aycabta (aycabta .)
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100334] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (6 preceding siblings ...)
  2020-10-06  3:36 ` [ruby-core:100306] " utkarsh
@ 2020-10-07 17:47 ` merch-redmine
  2020-10-11  6:42 ` [ruby-core:100369] " nagachika00
  8 siblings, 0 replies; 10+ messages in thread
From: merch-redmine @ 2020-10-07 17:47 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Assigned to Closed

Fixed by commit:20ad1017017ea736667d86fa0250dc1a39daefa1.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87911

* Author: utkarsh (Utkarsh Gupta)
* Status: Closed
* Priority: Normal
* Assignee: aycabta (aycabta .)
* ruby -v: 2.7.2
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:100369] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1
  2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
                   ` (7 preceding siblings ...)
  2020-10-07 17:47 ` [ruby-core:100334] " merch-redmine
@ 2020-10-11  6:42 ` nagachika00
  8 siblings, 0 replies; 10+ messages in thread
From: nagachika00 @ 2020-10-11  6:42 UTC (permalink / raw)
  To: ruby-core

Issue #17211 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.5: DONTNEED, 2.6: DONTNEED, 2.7: REQUIRED to 2.5: DONTNEED, 2.6: DONTNEED, 2.7: DONE

ruby_2_7 d1ba5545513b68d39ca29b578a42bd8d48a7804e merged revision(s) 9718ff62c12c07ecf7f0e234343dca76ee1aa51d,20ad1017017ea736667d86fa0250dc1a39daefa1.

----------------------------------------
Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
https://bugs.ruby-lang.org/issues/17211#change-87980

* Author: utkarsh (Utkarsh Gupta)
* Status: Closed
* Priority: Normal
* Assignee: aycabta (aycabta .)
* ruby -v: 2.7.2
* Backport: 2.5: DONTNEED, 2.6: DONTNEED, 2.7: DONE
----------------------------------------
Hello,

Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures:
```
  1) Failure:
TestIRB::TestHistory#test_history_save_1 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:31]:
<"exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  2) Failure:
TestIRB::TestHistory#test_history_save_100 [/<<PKGBUILDDIR>>/test/irb/test_history.rb:51]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  3) Failure:
TestIRB::TestHistory#test_history_save_bignum [/<<PKGBUILDDIR>>/test/irb/test_history.rb:76]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

  4) Failure:
TestIRB::TestHistory#test_history_save_minus_as_infinity [/<<PKGBUILDDIR>>/test/irb/test_history.rb:101]:
<"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was
<"1\n" + "2\n" + "3\n" + "4\n">.

Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s.
21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips
```

I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-11  6:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 20:18 [ruby-core:100284] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 utkarsh
2020-10-03  4:49 ` [ruby-core:100285] " mame
2020-10-04  2:17 ` [ruby-core:100293] " utkarsh
2020-10-04  2:33 ` [ruby-core:100294] " utkarsh
2020-10-04 13:29 ` [ruby-core:100295] " mame
2020-10-04 18:31 ` [ruby-core:100296] " mame
2020-10-05 11:45 ` [ruby-core:100300] " aycabta
2020-10-06  3:36 ` [ruby-core:100306] " utkarsh
2020-10-07 17:47 ` [ruby-core:100334] " merch-redmine
2020-10-11  6:42 ` [ruby-core:100369] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).