Ren茅's URL Explorer Experiment


Title: 馃悶: allure-spock2 tests uuid conflicts during parallel tests execution 路 Issue #1203 路 allure-framework/allure-java 路 GitHub

Open Graph Title: 馃悶: allure-spock2 tests uuid conflicts during parallel tests execution 路 Issue #1203 路 allure-framework/allure-java

X Title: 馃悶: allure-spock2 tests uuid conflicts during parallel tests execution 路 Issue #1203 路 allure-framework/allure-java

Description: What happened? There is an issue with allure-results reporting during parallel tests execution using Spock framework: // File SpockConfig.groovy runner { parallel { enabled true dynamicWithReservedProcessors(1.0, 0) } } I am not 100% sur...

Open Graph Description: What happened? There is an issue with allure-results reporting during parallel tests execution using Spock framework: // File SpockConfig.groovy runner { parallel { enabled true dynamicWithReserved...

X Description: What happened? There is an issue with allure-results reporting during parallel tests execution using Spock framework: // File SpockConfig.groovy runner { parallel { enabled true dynamicWithReserved...

Opengraph URL: https://github.com/allure-framework/allure-java/issues/1203

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃悶: allure-spock2 tests uuid conflicts during parallel tests execution","articleBody":"### What happened?\n\nThere is an issue with allure-results reporting during parallel tests execution using Spock framework:\n```groovy\n// File SpockConfig.groovy\nrunner {\n    parallel {\n        enabled true\n        dynamicWithReservedProcessors(1.0, 0)\n    }\n}\n```\n\nI am not 100% sure how to reproduce the issue, but with a large number of tests and with run in parallel, there is an issue, when allure-spock2 extension `AllureSpock2` reuses `ThreadLocal\u003cString\u003e testResults` with already defined initial UUID. It leads to the tests being registered with a non-unique UUID.\nThe symptoms are:\n```log\n2025-10-15 14:17:09,189 [ERROR] [ForkJoinPool-1-worker-9] [] - io.qameta.allure.AllureLifecycle.updateTestCase - Could not update test case: test case with uuid 4a4716fb-ada4-40ab-91a7-9fd615c19401 not found\n2025-10-15 14:17:09,189 [ERROR] [ForkJoinPool-1-worker-9] [] - io.qameta.allure.AllureLifecycle.stopTestCase - Could not stop test case: test case with uuid 4a4716fb-ada4-40ab-91a7-9fd615c19401 not found\n2025-10-15 14:17:09,189 [ERROR] [ForkJoinPool-1-worker-9] [] - io.qameta.allure.AllureLifecycle.writeTestCase - Could not write test case: test case with uuid 4a4716fb-ada4-40ab-91a7-9fd615c19401 not found\n```\nAnd there are fewer tests in the Allure report than were actually run.\n\nI've prepared the fix, but I do not have permissions to push into the repo.\n\nPlease, take a look at the fix below, and if you find it suitable - apply the fix.\n\n```java\n// allure-spock2/src/main/java/io/qameta/allure/spock2/AllureSpock2.java \n// instead of\nprivate final ThreadLocal\u003cString\u003e testResults = new InheritableThreadLocal\u003cString\u003e() {\n    @Override\n    protected String initialValue() {\n        return UUID.randomUUID().toString();\n    }\n};\n// use\nprivate final ThreadLocal\u003cString\u003e testResults = new ThreadLocal\u003c\u003e();\n\n// in beforeIteration\n@Override\npublic void beforeIteration(final IterationInfo iteration) {\n    final String uuid = UUID.randomUUID().toString();\n    testResults.set(uuid);\n    // ...\n}\n\n// in afterIteration\n@Override\npublic void afterIteration(final IterationInfo iteration) {\n    final String uuid = testResults.get();\n\n    if (uuid == null) {\n        return;\n    }\n\n    try {\n        getLifecycle().updateTestCase(uuid, testResult -\u003e {\n            if (Objects.isNull(testResult.getStatus())) {\n                testResult.setStatus(Status.PASSED);\n            }\n        });\n        getLifecycle().stopTestCase(uuid);\n        getLifecycle().writeTestCase(uuid);\n    } finally {\n        testResults.remove();\n    }\n}\n\n```\n\n### What Allure Integration are you using?\n\nallure-spock2\n\n### What version of Allure Integration you are using?\n\n2.30.0\n\n### What version of Allure Report you are using?\n\n2.12.0\n\n### Code of Conduct\n\n- [x] I agree to follow this project's Code of Conduct","author":{"url":"https://github.com/n1kolass","@type":"Person","name":"n1kolass"},"datePublished":"2025-10-15T16:39:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1203/allure-java/issues/1203"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e1b8e545-fc4f-5c6f-5f9a-773e4b39b2bd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDDAA:211079:FE551D:15988DE:696E9793
html-safe-nonce3203372e0e9512f3684ad1ea603d63f42658c221cf46f7be8d20d512f8e174fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREFBOjIxMTA3OTpGRTU1MUQ6MTU5ODhERTo2OTZFOTc5MyIsInZpc2l0b3JfaWQiOiIyODc5ODYyNDU2NjMwMjg2MjI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac878411a4e4a5f486261c30ddb10f3e313ab5d36d2bf72fd1e4c5ce17efb753c0
hovercard-subject-tagissue:3518810822
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/allure-framework/allure-java/1203/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f814ce125c520ad13005e5923cc262b347bbd8d8447bf6c876c0eed7483876bb/allure-framework/allure-java/issues/1203
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f814ce125c520ad13005e5923cc262b347bbd8d8447bf6c876c0eed7483876bb/allure-framework/allure-java/issues/1203
og:image:altWhat happened? There is an issue with allure-results reporting during parallel tests execution using Spock framework: // File SpockConfig.groovy runner { parallel { enabled true dynamicWithReserved...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamen1kolass
hostnamegithub.com
expected-hostnamegithub.com
Nonefdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7
turbo-cache-controlno-preview
go-importgithub.com/allure-framework/allure-java git https://github.com/allure-framework/allure-java.git
octolytics-dimension-user_id5879127
octolytics-dimension-user_loginallure-framework
octolytics-dimension-repository_id80822758
octolytics-dimension-repository_nwoallure-framework/allure-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80822758
octolytics-dimension-repository_network_root_nwoallure-framework/allure-java
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
release27b23bc056eb973d350fc95afc848757edb9e7a9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-java%2Fissues%2F1203
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-java%2Fissues%2F1203
Sign up https://patch-diff.githubusercontent.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=allure-framework%2Fallure-java
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203
allure-framework https://patch-diff.githubusercontent.com/allure-framework
allure-javahttps://patch-diff.githubusercontent.com/allure-framework/allure-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Fork 238 https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Star 370 https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Code https://patch-diff.githubusercontent.com/allure-framework/allure-java
Issues 96 https://patch-diff.githubusercontent.com/allure-framework/allure-java/issues
Pull requests 24 https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulls
Actions https://patch-diff.githubusercontent.com/allure-framework/allure-java/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/allure-framework/allure-java/security
Please reload this pagehttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203
Insights https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulse
Code https://patch-diff.githubusercontent.com/allure-framework/allure-java
Issues https://patch-diff.githubusercontent.com/allure-framework/allure-java/issues
Pull requests https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulls
Actions https://patch-diff.githubusercontent.com/allure-framework/allure-java/actions
Security https://patch-diff.githubusercontent.com/allure-framework/allure-java/security
Insights https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/allure-framework/allure-java/issues/1203
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/allure-framework/allure-java/issues/1203
馃悶: allure-spock2 tests uuid conflicts during parallel tests executionhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1203#top
triagehttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22triage%22
type:bugSomething isn't workinghttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/n1kolass
https://github.com/n1kolass
n1kolasshttps://github.com/n1kolass
on Oct 15, 2025https://github.com/allure-framework/allure-java/issues/1203#issue-3518810822
triagehttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22triage%22
type:bugSomething isn't workinghttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%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

Viewport: width=device-width


URLs of crawlers that visited me.