zephyr-sync icon indicating copy to clipboard operation
zephyr-sync copied to clipboard

Test has unexecuted status because of "WARN: Test XXXX not found in Test Cycle."

Open chamElE0 opened this issue 7 years ago • 3 comments

build 17-Oct-2017 09:09:36 ##### INFO: Linking Test Cases to Test Cycle:[ENBD-1374, ENBD-1375, ENBD-1376, ........, ENBD-1577, ENBD-1578]

After that I got build 17-Oct-2017 09:10:35 ##### INFO: Setting status PASSED for Test: ENBD-1577 build 17-Oct-2017 09:10:35 ##### WARN: Test ENBD-1577 not found in Test Cycle 1017_ENBD_ip:port/W4DEV32_feature-feature_17.7.tat-62 build 17-Oct-2017 09:10:35 ##### INFO: Setting status PASSED for Test: ENBD-1578 build 17-Oct-2017 09:10:35 ##### WARN: Test ENBD-1578 not found in Test Cycle 1017_ENBD_ip:port/W4DEV32_feature-feature_17.7.tat-62

And test still was marked as 'Unexecuted' in jira.

But in the log I see "INFO: Test Cycle is not in sync. Giving Zephyr another chance." another attempts of sync in such cases, but not at this time.

Why resync didn't happen always?

chamElE0 avatar Oct 17 '17 05:10 chamElE0

As far as I understood all test cases were assigned to test cycle correctly, but some statuses were not updated. Please correct me if I misunderstood that.

Resync is called only during test linkage to cycle, in situation when amount of linked test cases in JIRA differs from amount of test cases passed to JIRA for linkage.

You can check the code here: https://github.com/ctco/zephyr-sync/blob/b83e03534cb91cc5c7cf191719d5ae4e3bb2bc0d/zephyr-sync-core/src/main/java/lv/ctco/zephyr/service/ZephyrService.java

Could you please provide full log? Probably it could give a clue to your issue.

arturitos avatar Oct 26 '17 22:10 arturitos

As far as I understood all test cases were assigned to test cycle correctly, but some statuses were not updated. Please correct me if I misunderstood that.

Yes that's correct.

chamElE0 avatar Oct 29 '17 05:10 chamElE0

I'll try a new version and back with results.

chamElE0 avatar Oct 29 '17 05:10 chamElE0