René's URL Explorer Experiment


Title: `` node and incorrect nesting of testsuites in `junit` test report · Issue #51707 · nodejs/node · GitHub

Open Graph Title: `` node and incorrect nesting of testsuites in `junit` test report · Issue #51707 · nodejs/node

X Title: `` node and incorrect nesting of testsuites in `junit` test report · Issue #51707 · nodejs/node

Description: Version 21.6.1 Platform linux-x64 (github actions runner), ubuntu 22.04.3 Subsystem junit test reporter What steps will reproduce the bug? I was not able to reproduce, unfortunately. But here's the command that ran in CI: xvfb-run node -...

Open Graph Description: Version 21.6.1 Platform linux-x64 (github actions runner), ubuntu 22.04.3 Subsystem junit test reporter What steps will reproduce the bug? I was not able to reproduce, unfortunately. But here's the...

X Description: Version 21.6.1 Platform linux-x64 (github actions runner), ubuntu 22.04.3 Subsystem junit test reporter What steps will reproduce the bug? I was not able to reproduce, unfortunately. But here's...

Opengraph URL: https://github.com/nodejs/node/issues/51707

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`\u003cundefined>` node and incorrect nesting of testsuites in `junit` test report","articleBody":"### Version\r\n\r\n21.6.1\r\n\r\n### Platform\r\n\r\nlinux-x64 (github actions runner), ubuntu 22.04.3\r\n\r\n### Subsystem\r\n\r\njunit test reporter\r\n\r\n### What steps will reproduce the bug?\r\n\r\nI was not able to reproduce, unfortunately.\r\n\r\nBut here's the command that ran in CI:\r\n\r\n```sh\r\nxvfb-run node --test \\\r\n    --test-timeout 240000 \\\r\n    --test-shard=[3](__CI_JOB_URL__)/8 \\\r\n    --test-reporter=junit --test-reporter-destination=3.junit.xml \\\r\n    --test-reporter=spec --test-reporter-destination=stdout \\\r\n    'packages/A/test/**/*.test*.js' \\\r\n    'packages/B/test/**/*.test*.js'\r\n```\r\n\r\nAnd, in practice:\r\n- 4 different test files were listed in `spec`'s report summary\r\n- these 4 test files ended up timing out\r\n- and some of their test failed\r\n\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nIt happened once.\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\n- see 4 instead of 2, in the \"suites\" part of the summary\r\n- see each test file listed directly under the root `\u003ctestsuites>` node of the `junit` report\r\n- no see any `\u003cundefined>` node in the `junit` report\r\n\r\n### What do you see instead?\r\n\r\nThis `junit` report:\r\n\r\n```\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003ctestsuites>\r\n    \u003cundefined name=\"Test suite from package A\">\r\n        \u003ctestcase\r\n            name=\"xxx\"\r\n            time=\"192.141114\" classname=\"test\" />\r\n        \u003ctestcase name=\"packages/a/test/xxx.js\"\r\n            time=\"240.004743\" classname=\"test\" failure=\"test timed out after 240000ms\">\r\n            \u003cfailure type=\"testTimeoutFailure\" message=\"test timed out after 240000ms\">\r\n                [Error [ERR_TEST_FAILURE]: test timed out after 240000ms] { code:\r\n                'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after\r\n                240000ms' }\r\n            \u003c/failure>\r\n        \u003c/testcase>\r\n        \u003cundefined name=\"Test suite from package B\">\r\n            \u003ctestsuite name=\"yyy\" time=\"20.474488\" disabled=\"0\" errors=\"0\"\r\n                tests=\"2\" failures=\"0\" skipped=\"0\" hostname=\"fv-az351-556\">\r\n                \u003ctestcase\r\n                    name=\"zzz\"\r\n                    time=\"14.748208\" classname=\"test\" />\r\n            \u003c/testsuite>\r\n            \u003c!-- 'only' and 'runOnly' require the --test-only command-line option. -->\r\n            \u003cundefined name=\"Nested describe block from that test suite\">\r\n                \u003ctestcase\r\n[...]\r\n```\r\n\r\nThese `spec` logs:\r\n\r\n```\r\nℹ tests 20\r\nℹ suites 2\r\nℹ pass 10\r\nℹ fail 4\r\nℹ cancelled 4\r\nℹ skipped 2\r\nℹ todo 0\r\nℹ duration_ms 960072.029887\r\n\r\n✖ failing tests:\r\n\r\ntest at packages/a/test/a.test.js:1:1\r\n✖ packages/functional-tester/test/a.test.js (240004.742945ms)\r\n  'test timed out after 240000ms'\r\n\r\ntest at packages/b/test/executeAction/b1.test.js:1:1\r\n✖ packages/b/test/executeAction/b1.test.js (240002.364515ms)\r\n  'test timed out after 240000ms'\r\n\r\ntest at file:packages/b/test/b2.test.js:19:9\r\n✖ xxx (31485.676502ms)\r\n\r\ntest at packages/b/test/b2.test.js:1:1\r\n✖ packages/b/test/b2.test.js (240001.953746ms)\r\n  'test timed out after 240000ms'\r\n\r\ntest at file:packages/b/test/b3.test.js:43:9\r\n✖ xxx (207955.076ms)\r\n\r\ntest at file:packages/b/test/b3.test.js:55:9\r\n✖ yyy (71185.942777ms)\r\n\r\ntest at file:packages/b/test/b3.test.js:63:9\r\n✖ zzz (38479.[536](__CI_JOB_URL__#step:9:537)748ms)\r\n\r\ntest at packages/b/test/b3.test.js:1:1\r\n✖ packages/b/test/b3.test.js (240002.103949ms)\r\n  'test timed out after 240000ms'\r\n```\r\n\r\n\r\n\r\n### Additional information\r\n\r\n_No response_","author":{"url":"https://github.com/adrienjoly","@type":"Person","name":"adrienjoly"},"datePublished":"2024-02-09T09:17:23Z","url":"https://github.com/nodejs/node/issues/51707"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c884fd6a-fe67-ab0c-ff3b-d595acac5491
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD076:2EAB91:A7A737:D9F40F:6B0638CC
html-safe-nonce509abc40abc72fbd010c1d06d14c789f4fabf395e1e32850c97a27474837c3a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDc2OjJFQUI5MTpBN0E3Mzc6RDlGNDBGOjZCMDYzOENDIiwidmlzaXRvcl9pZCI6IjM4ODM4MjY1MDY3OTkzOTcwNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca398a0c1e1582f5d9aabd9998c3979ce8143c91ebdb2cbaf48c47cc6f68b5135
hovercard-subject-tagissue:2126747766
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/51707/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e6ebb38799e098f7b2aebf05665b5a81bc2bcb4b6f83bc4c02d767e73648d497/nodejs/node/issues/51707
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6ebb38799e098f7b2aebf05665b5a81bc2bcb4b6f83bc4c02d767e73648d497/nodejs/node/issues/51707
og:image:altVersion 21.6.1 Platform linux-x64 (github actions runner), ubuntu 22.04.3 Subsystem junit test reporter What steps will reproduce the bug? I was not able to reproduce, unfortunately. But here's the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadrienjoly
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/51707#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F51707
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F51707
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/51707
Reloadhttps://github.com/nodejs/node/issues/51707
Reloadhttps://github.com/nodejs/node/issues/51707
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues629 (629)https://github.com/nodejs/node/issues
Pull requests658 (658)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/51707
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/51707
node and incorrect nesting of testsuites in junit test reporthttps://github.com/nodejs/node/issues/51707#top
test_runnerhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
https://github.com/adrienjoly
adrienjolyhttps://github.com/adrienjoly
on Feb 9, 2024https://github.com/nodejs/node/issues/51707#issue-2126747766
https://github.com/marco-ippolito
marco-ippolitohttps://github.com/marco-ippolito
on Feb 9, 2024https://github.com/nodejs/node/issues/51707#issuecomment-1935632125
marco-ippolitohttps://github.com/marco-ippolito
test_runnerhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
on Feb 9, 2024https://github.com/nodejs/node/issues/51707#event-11755981831
https://github.com/adrienjoly
adrienjolyhttps://github.com/adrienjoly
on Feb 9, 2024https://github.com/nodejs/node/issues/51707#issuecomment-1935652933
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
on Mar 15, 2024https://github.com/nodejs/node/issues/51707#issuecomment-1999635340
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
on Mar 24, 2024https://github.com/nodejs/node/issues/51707#issuecomment-2016828996
cjihrighttps://github.com/cjihrig
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 24, 2024https://github.com/nodejs/node/issues/51707#event-12226762876
Jason-Vaughanhttps://github.com/Jason-Vaughan
on Oct 31, 2026https://github.com/nodejs/node/issues/51707#event-34765553972
Fix reset-admin-store.test.js corrupting Node's JUnit report (#2742)https://github.com/Jason-Vaughan/TangleClaw/commit/a4279c6d4eb9f16ec0384043e6bcf06b4a4142c0
#2742https://github.com/Jason-Vaughan/TangleClaw/issues/2742
a4279c6https://github.com/Jason-Vaughan/TangleClaw/commit/a4279c6d4eb9f16ec0384043e6bcf06b4a4142c0
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/51707
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/51707
test_runnerhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.