Project

Profile

Help

Task #7504

Check testscenario field and pullrequest script

Added by Tatyana Berlenko over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
08.09.2016
Due date:
% Done:

0%

Estimated time:
1:00 h
Target branch:
Test scenario:

https://github.com/OSLL/mdbci/pull/302/files
https://dev.osll.ru/projects/mdbci/wiki/Calculating_team_progress

You should have the tasks in Review status.

For check first case you should have testscenario but don't have pulrequest, for example

python scripts/check_tasks/check_branch_in_redmine.py --branch 7437
Test scenario exists
Pullrequest is missed

The issue 7437 is unsuccessfully completed

In second case you should have testscenario and pullrequest (pullrequest should be in testscenario) in maxscale repo, for example:

python scripts/check_tasks/check_branch_in_redmine.py --branch 7478
Test scenario exists
Pullrequest exists
This issue 7478 is successfully completed

In third case you should have testscenario and pullrequest (pullrequest should be in MDBCI repo, only for this branch, if this branch hasn't pullrequest, check will be fail):

python scripts/check_tasks/check_branch_in_redmine.py --branch 7279
Test scenario exists
Pullrequest exists
This issue 7279 is successfully completed

History

#1 Updated by Tatyana Berlenko over 4 years ago

  • Subject changed from Check testscenario field script to Check testscenario field and pullrequest script

#2 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from Active / In progress to Review

#3 Updated by pytift bot over 4 years ago

  • Status changed from Review to Reopened

#4 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from Reopened to Review

#5 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed
Pullrequest is missed

#6 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from Review to New

#7 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review

#8 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#9 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed
Pullrequest is missed

#10 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review

#11 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#12 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed
Pullrequest is missed

#13 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review

#14 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#15 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#16 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review

#17 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#18 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#19 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review

#20 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#21 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#22 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review
  • Test scenario updated (diff)

#23 Updated by pytift bot over 4 years ago

Test success

#24 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy

#25 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Tatyana Berlenko

#26 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy

#27 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Tatyana Berlenko

#28 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#29 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#30 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#31 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#32 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#33 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#34 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy

#35 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#36 Updated by pytift bot over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Tatyana Berlenko

#37 Updated by pytift bot over 4 years ago

Test failed.
Test scenario is missed

#38 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#39 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review
  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy
  • Test scenario updated (diff)

#40 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#41 Updated by Tatyana Berlenko over 4 years ago

  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

This script works in Python 2.7.9 (in 2.7.6 doesn't work)

#42 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to New

#43 Updated by Mark Zaslavskiy over 4 years ago

Problem is following:
- we call scripts/check_tasks/check_branch_in_redmine.py which is lower than issue_satistics
- because python thinks that root dir is scripts/check_tasks/ it can not find the scripts.issue_statistics

Possible solutions:
- move issue_statistics to scripts/check_tasks/ (require fixing wiki)
- create wrapper for scripts/check_tasks/check_branch_in_redmine.py in scripts (require massive import refactoring)

#44 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Tatyana Berlenko

#45 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#46 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Active / In progress

#47 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy

#48 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#49 Updated by pytift bot over 4 years ago

Test success

#50 Updated by pytift bot over 4 years ago

Test success

#51 Updated by pytift bot over 4 years ago

Test success

#52 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Review to New
  • Assignee changed from Ilfat Kinyaev to Tatyana Berlenko

Test task: https://dev.osll.ru/issues/7558
Results:
- error:

File "scripts/check_tasks/check_branch_in_redmine.py", line 7, in <module>
   from scripts.issue_statistics import getContributorsList, \
ImportError: No module named issue_statistics

- with similar test scenarios (7504 and 7558), check 7558 failed;
- with https://github.com/mariadb-corporation/maxscale-jenkins-jobs pull request check success.

#53 Updated by Tatyana Berlenko over 4 years ago

fix error with import

#54 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review
  • Assignee changed from Tatyana Berlenko to Ilfat Kinyaev

you haven't branch and pullrequest in 7558, that's why 7558 check is failed.

#55 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#56 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#57 Updated by pytift bot over 4 years ago

Test success

#58 Updated by Ilfat Kinyaev over 4 years ago

  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#59 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF