Skip to content

KAR-394 Update XTP upload

Samuel Twum requested to merge kar-394-update-xtp-upload into master

Added job to upload BDD results to XRAY

NOTE: There is an error in the package, once resolved the upload should work as expected.

.make/docs.mk:33: warning: ignoring old recipe for target 'docs-help'
.make/docs.mk:42: warning: overriding recipe for target 'docs-do-build'
.make/docs.mk:42: warning: ignoring old recipe for target 'docs-do-build'
xray-upload -f "build/cucumber.json" -e "tests/xray-config.json" 
/usr/lib/python3.10/getpass.py:91: GetPassWarning: Can not control echo on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Jira password: Traceback (most recent call last):
  File "/usr/lib/python3.10/getpass.py", line 69, in unix_getpass
    old = termios.tcgetattr(fd)     # a copy to save
termios.error: (25, 'Inappropriate ioctl for device')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/xray-upload", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/ska_ser_xray/scripts/xray_upload.py", line 150, in main
    args.password = getpass.getpass(prompt="Jira password: ")
  File "/usr/lib/python3.10/getpass.py", line 91, in unix_getpass
    passwd = fallback_getpass(prompt, stream)
  File "/usr/lib/python3.10/getpass.py", line 126, in fallback_getpass
    return _raw_input(prompt, stream)
  File "/usr/lib/python3.10/getpass.py", line 148, in _raw_input
    raise EOFError
EOFError
make: *** [.make/xray.mk:37: xray-do-publish] Error 1
Edited by Johan Venter

Merge request reports