GUI acceptance tests using environment deployed from packages.

Build: #1131 failed

Job: Chrome metadata test failed

Job result summary

Completed
Duration
31 minutes
Revision
c7b641f62aad6ca64e2ade93cb5e3e0baf607af6
Total tests
24
Failing since
#1122 (Child of ODSRV-OPRPM-1704)
Fixed in
#1137 (Changes by Agnieszka Warchol)

Configuration changes

Job Chrome metadata test with key ODSRV-GAPT-MTC no longer exists.

Tests

  • 24 tests in total
  • 14 tests failed
  • 2 tests were quarantined / skipped
  • 27 minutes taken in total.
Existing test failures 14
Status Test Failing since Duration
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="06bdffcbe3b2d89dbd7077e8cb36bafd", element="9ffdaf9a-b2c9-4533-a959-af5a47a94284")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="23a9a1943d6446d5414fcb8c80cbd2d7", element="7e3c980a-9583-4a9b-ab93-d5b0a4945e94")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in RDFMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="a2e802674eeb1ac785330d9f2c8b14d8", element="9dbcaa84-60bb-48d1-8db6-2c9c28f28b60")>
css_sel = '.rdf-textarea'
err_msg = 'no  item found in RDFMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in RDFMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="96a956fb51c529a9871f2ec8ce637a82", element="e6384724-1d87-4617-9991-e7c5b7739fb0")>
css_sel = '.rdf-textarea'
err_msg = 'no  item found in RDFMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in RDFMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="8bc6ed41da1d86ef194bf46ee5280f54", element="6117fd84-5f8f-4f0f-9220-a331c8126dca")>
css_sel = '.rdf-textarea'
err_msg = 'no  item found in RDFMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in RDFMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="b2f9f2c185a6bcf0056587aa50f3038b", element="8f44cdf3-f694-4d3b-992f-87b327a6cd50")>
css_sel = '.rdf-textarea'
err_msg = 'no  item found in RDFMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="1c68ca6a8055f2dd4a7adde6b40050ab", element="9d23af72-1bfb-4251-95d0-31e8aaeb1273")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="e1543b37e39fc4da9accf259acb64656", element="69e8db50-75aa-428a-8dce-9b049498d198")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="082c7d9aa838478a0a044e9d171dacbb", element="27721797-3368-4497-905c-227e78458173")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no  item found in JSONMetadataPanel in Metadata modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="687f4588b94a022c35b48199956b9313", element="936ae24a-1fbf-44c5-a33a-52b15a189be5")>
css_sel = '.json-textarea'
err_msg = 'no  item found in JSONMetadataPanel in Metadata modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(306 more lines...)
RuntimeError: no "Metadata" found in Data row menu
request = <FixtureRequest for <Function 'test_user_doesnt_see_json_metadata_and_metadata_status_tag_after_deleting_json_metadata[1oz_1op_deployed-dir1]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
(55 more lines...)
RuntimeError: no "Metadata" found in Data row menu
request = <FixtureRequest for <Function 'test_user_doesnt_see_json_metadata_and_metadata_status_tag_after_deleting_json_metadata[1oz_1op_deployed-file1]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
(55 more lines...)
RuntimeError: no "Metadata" found in Data row menu
request = <FixtureRequest for <Function 'test_user_doesnt_see_rdf_metadata_and_metadata_status_tag_after_deleting_metadata_in_xml_format[1oz_1op_deployed-dir1-]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
(55 more lines...)
RuntimeError: no "Metadata" found in Data row menu
request = <FixtureRequest for <Function 'test_user_doesnt_see_rdf_metadata_and_metadata_status_tag_after_deleting_metadata_in_xml_format[1oz_1op_deployed-file1-]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
(55 more lines...)

Error summary

The build generated some errors. See the full build log for more details.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4419  100  4419    0     0  17270      0 --:--:-- --:--:-- --:--:-- 17261
Error response from daemon: Cannot kill container: 0994fd597735: Container 0994fd597735966bbe994a2ed19f917cfdccb21e6af9a829d3c41a708ec84a4c is not running
tput: unknown terminal "unknown"
Cloning into 'bamboos'...
Cloning into 'cdmi_swagger'...
Cloning into 'one_env'...
Cloning into 'onepanel_swagger'...
Cloning into 'bamboos'...
Cloning into 'oneprovider_swagger'...
Cloning into 'bamboos'...
Cloning into 'onezone_swagger'...
Cloning into 'bamboos'...
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "serviceaccounts-cluster-admin" already exists
Unable to find image 'onedata/acceptance_gui:v8' locally
v8: Pulling from onedata/acceptance_gui
a1298f4ce990: Already exists
04a3282d9c4b: Already exists
9b0d3db6dc03: Already exists
8269c605f3f1: Already exists
c810ae7364ef: Already exists
78d356e6ec21: Already exists
792b20546d07: Already exists
c1d3130a77b3: Already exists
0c7ad6b015da: Already exists
114ec36e4007: Already exists
2bc588dde0c7: Already exists
89641d7ca7e2: Already exists
b6cd4b44aa19: Already exists
e1c77802a505: Already exists
f373aa611054: Already exists
Digest: sha256:97e4de524ef380ad8c07bf6c71280c378a5e0179834942ff0e6c0007d32b148c
Status: Downloaded newer image for onedata/acceptance_gui:v8
Error: Could not create /home/bamboo/.helm: mkdir /home/bamboo/.helm: permission denied
sh: 1: cannot create /var/lib/op_worker/gui_static/app-config.json: Directory nonexistent
sh: 1: cannot create /var/lib/oz_worker/gui_static/app-config.json: Directory nonexistent
Error: Could not create /home/bamboo/.helm: mkdir /home/bamboo/.helm: permission denied
sh: 1: cannot create /var/lib/op_worker/gui_static/app-config.json: Directory nonexistent
sh: 1: cannot create /var/lib/oz_worker/gui_static/app-config.json: Directory nonexistent
Traceback (most recent call last):
  File "/usr/local/bin/onenv", line 104, in <module>
    main()
  File "/usr/local/bin/onenv", line 98, in main
    module.main()
  File "/usr/local/lib/one_env_engine/scripts/onenv_clean.py", line 109, in main
    k8s_services=clean_args.services
  File "/usr/local/lib/one_env_engine/scripts/onenv_clean.py", line 54, in clean_helm_deployments
    timeout=DEFAULT_CMD_TIMEOUT)
  File "/usr/local/lib/one_env_engine/scripts/utils/shell.py", line 21, in call
    return sp.call(tokens, cwd=cwd, timeout=timeout)
  File "/usr/lib/python3.6/subprocess.py", line 289, in call
    return p.wait(timeout=timeout)
  File "/usr/lib/python3.6/subprocess.py", line 1469, in wait
    raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['kubectl', '--namespace', 'default', 'delete', 'pvc', '--all']' timed out after 5 seconds
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4419  100  4419    0     0  14212      0 --:--:-- --:--:-- --:--:-- 14209
Error response from daemon: Cannot kill container: 842dc7738727: Container 842dc7738727a04e7b47dd9d61526a84f884e8d0cbe56419d12cd6659f7b34e2 is not running