Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924944 - dev-lang/spidermonkey-115.7.0 fails test non262/Intl/DateTimeFormat/related-year.js
Summary: dev-lang/spidermonkey-115.7.0 fails test non262/Intl/DateTimeFormat/related-y...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-18 19:12 UTC by Jonathan Lovelace
Modified: 2024-02-23 08:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-lang:spidermonkey-115.7.0:20240214-011000.log.bz2 (dev-lang:spidermonkey-115.7.0:20240214-011000.log.bz2,505.08 KB, application/x-bzip2)
2024-02-18 19:12 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.80 KB, text/plain)
2024-02-18 19:15 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-02-18 19:12:54 UTC
Created attachment 885379 [details]
dev-lang:spidermonkey-115.7.0:20240214-011000.log.bz2

spidermonkey-115.3.1 built and passed its tests successfully for me back in January, but on rebuilding because of some dependency's subslot change, it is now failing the test non262/Intl/DateTimeFormat/related-year.js. Version 115.7.0 is giving the same results, so I've listed that version in the summary line. The output of the test from the build log is the following:

## non262/Intl/DateTimeFormat/related-year.js: rc = 3, run time = 0.040598
/var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/build/js/src/js -f /var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/shell.js -f /var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/shell.js -f /var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/shell.js -f /var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/DateTimeFormat/shell.js --selfhosted-xdr-path /var/tmp/portage/dev-lang/spidermonkey-115.3.1/temp/tmpoji1j1jy/shell.xdr --selfhosted-xdr-mode decode -f /var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/DateTimeFormat/related-year.js
/var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/DateTimeFormat/shell.js:31:17 Error: Assertion failed: got "relatedYear", expected "month": type mismatch at 0
Stack:
  assertParts@/var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/DateTimeFormat/shell.js:31:17
  @/var/tmp/portage/dev-lang/spidermonkey-115.3.1/work/firefox-115.3.1/js/src/tests/non262/Intl/DateTimeFormat/related-year.js:180:20
REGRESSION - non262/Intl/DateTimeFormat/related-year.js

Since the test passed a month ago, and is now failing, I wonder if this test failure is either dependent on the system date in some way, or else the fallout of some change to a dependency (maybe ICU)?

The attached build log is bzip2 compressed because it's 96 MB uncompressed, and even "gzip -9" didn't get it under the maximum attachment size.
Comment 1 Jonathan Lovelace 2024-02-18 19:15:50 UTC
Created attachment 885380 [details]
emerge-info.txt

I forgot to mention in the initial report that this test was one of those mentioned in bug #830732, affecting version 78.15.0, but since that bug report also mentioned three other failing tests that I'm not currently seeing, I decided to open a separate report.
Comment 2 Larry the Git Cow gentoo-dev 2024-02-23 08:23:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2961f12f31380319adafadf56f94b35243d13e2

commit d2961f12f31380319adafadf56f94b35243d13e2
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-02-23 08:22:42 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-23 08:23:21 +0000

    dev-lang/spidermonkey: add 115.8.0
    
    Closes: https://bugs.gentoo.org/924944
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/spidermonkey/Manifest                     |   2 +
 .../files/spidermonkey-115-known-test-failures.txt |   1 +
 dev-lang/spidermonkey/spidermonkey-115.8.0.ebuild  | 474 +++++++++++++++++++++
 3 files changed, 477 insertions(+)