Title: Allure step in thread not show in report. · Issue #563 · allure-framework/allure-python · GitHub
Open Graph Title: Allure step in thread not show in report. · Issue #563 · allure-framework/allure-python
X Title: Allure step in thread not show in report. · Issue #563 · allure-framework/allure-python
Description: I'm submitting a ... [* ] bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? Steps do not appear in the report if they were launche...
Open Graph Description: I'm submitting a ... [* ] bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? Steps do not a...
X Description: I'm submitting a ... [* ] bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? Steps d...
Opengraph URL: https://github.com/allure-framework/allure-python/issues/563
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allure step in thread not show in report.","articleBody":"#### I'm submitting a ... \r\n - [* ] bug report\r\n - [ ] feature request\r\n - [ ] support request =\u003e Please do not submit support request here, see note at the top of this template.\r\n\r\n#### What is the current behavior?\r\n\r\nSteps do not appear in the report if they were launched inside a thread.\r\n\r\n#### If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem\r\n\r\nThis example code for reproduce:\r\n```\r\nimport allure\r\nfrom concurrent.futures import ThreadPoolExecutor\r\n\r\n@allure.step(\"lala\") \r\ndef lala(x=1): \r\n print('run lala') \r\n \r\ndef test_lala(): \r\n with ThreadPoolExecutor(max_workers=2) as executor: \r\n executor.map(lala) \r\n```\r\n\r\n\r\n#### What is the expected behavior?\r\n\r\nI would like the steps to appear in the report.\r\n\r\n#### What is the motivation / use case for changing the behavior?\r\n\r\nI need to run tests that execute commands remotely on multiple devices, so it's convenient to use threads, but the report does not contain steps declared inside the thread. Can you tell me if this can be done differently, or somehow forward the state to the parent thread.\r\n#### Please tell us about your environment:\r\n\r\n- Allure version: 2.7.0\r\n- Test framework: pytest@6.2.1\r\n- Allure adaptor: allure-pytest@12.8.31\r\n\r\n#### Other information \r\n","author":{"url":"https://github.com/nigredon1991","@type":"Person","name":"nigredon1991"},"datePublished":"2021-02-12T12:31:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/563/allure-python/issues/563"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3c8a2774-9bf5-95cb-408d-a6d66d83e299 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D0A:3A836B:19ACFFE:242E525:696F6D2B |
| html-safe-nonce | fd55278c952a56c0754a50773f6a493008d7d0409fa2ce0844df6ca17b7ba18d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDBBOjNBODM2QjoxOUFDRkZFOjI0MkU1MjU6Njk2RjZEMkIiLCJ2aXNpdG9yX2lkIjoiMTI2MDMwNTI5OTY1Mjg4NzQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 17ce2c6e905d7522ce839a60fdce47bf6c038c317c5cace63dd2b83db6c19981 |
| hovercard-subject-tag | issue:807198648 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-python/563/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f9c94b7f5aedaf396fbf51e9985d512e69ba716d030dc777fb12e783ea03110/allure-framework/allure-python/issues/563 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f9c94b7f5aedaf396fbf51e9985d512e69ba716d030dc777fb12e783ea03110/allure-framework/allure-python/issues/563 |
| og:image:alt | I'm submitting a ... [* ] bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? Steps do not a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nigredon1991 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd6be7b30d2e12704d0d9723ad4a7950f9e3ad8461efc40b5411aad62e847a89 |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-python git https://github.com/allure-framework/allure-python.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 79346720 |
| octolytics-dimension-repository_nwo | allure-framework/allure-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 79346720 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0bab932a9532ed9bc2e3e2614af9348ab39af6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width