allure-java icon indicating copy to clipboard operation
allure-java copied to clipboard

🐞: Allure TestOps selective runs doesn't work with TestNG + maven

Open dismoralzor opened this issue 2 years ago • 10 comments

What happened?

When I run one test from Allure TestOps, all tests are run in Jenkins job, the selective test execution is not working.

What Allure Integration are you using?

allure-testng

What version of Allure Integration you are using?

2.26.0

What version of Allure Report you are using?

2.26.0

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

dismoralzor avatar Mar 26 '24 15:03 dismoralzor

@dismoralzor please follow the community rules and use English only

cheshi-mantu avatar Mar 26 '24 17:03 cheshi-mantu

@cheshi-mantu Oh, sorry sir, this is my first ticket

dismoralzor avatar Mar 26 '24 19:03 dismoralzor

I tried to generate projects from https://allurereport.org/start/ on 2.26.0 for testng and junit5

Junit5 selective test run works fine java17-junit5-maven.zip

TestNG selective test run is not working java17-testng-maven.zip

cheshi-mantu avatar Mar 27 '24 09:03 cheshi-mantu

@baev Please fix this bug, my team is blocked by this feature (15 peoples) Can your name the deadline for fixing?

komissarov-qa-auto avatar Jun 04 '24 10:06 komissarov-qa-auto

@komissarov-qa-auto Hi, we are going to fix it in the nearest time, until 20th of June

slevenet avatar Jun 04 '24 14:06 slevenet

@dismoralzor @komissarov-qa-auto What allure-testops-jenkins plugin version have you use?

Could you add the following command into your job config and provide an output from it?

cat $ALLURE_TESTPLAN_PATH or you can provide a content of testplan.json in your work dir /job//ws/.allure-ee/testplan.json

vbragin avatar Jun 18 '24 11:06 vbragin

The problem was in jenkins plugin. Will be fixed in the next release.

vbragin avatar Jun 18 '24 18:06 vbragin

The problem was in jenkins plugin. Will be fixed in the next release.

What are the deadlines? we really need this functional

As I understand it, information from our side is not needed, you have been provided with it

komissarov-qa-auto avatar Jun 19 '24 11:06 komissarov-qa-auto

@vbragin, hello! sir, Is the problem solved for allurectl too?

@dismoralzor @komissarov-qa-auto What allure-testops-jenkins plugin version have you use?

allure-testops-jenkins plugin version 3.29.0 allurectl 2.15.1

Could you add the following command into your job config and provide an output from it?

It says that a test plan has been created, but there is no ALLURE_TESTPLAN_PATH variable.

06:11:41  Save test plan for [1] to file [/u01/jenkins_slave/workspace/SWATS/examples/Allure TestOps Upload Testng Maven/.allure/testplan.json]
06:11:51  + printenv
06:11:51  + grep ALLURE_
06:11:51  ALLURE_PROJECT_ID=227
06:11:51  ALLURE_RESULTS=./target/allure-results/
06:11:51  ALLURE_USERNAME=Igor
06:11:51  ALLURE_LAUNCH_TAGS=release
06:11:51  ALLURE_JOB_RUN_ID=761541
06:11:51  ALLURE_TOKEN=****
06:11:51  ALLURE_ENDPOINT=https://testops.omega.ru
06:11:51  ALLURE_LAUNCH_NAME=allurectl test

dismoralzor avatar Jun 20 '24 03:06 dismoralzor

@komissarov-qa-auto Try to use 4.0.2 from https://dl.qameta.io/ui/native/bin/allure-testops-jenkins

vbragin avatar Jun 20 '24 11:06 vbragin