GUI acceptance tests using environment deployed from packages.

Build: #1125 failed

Job: Chrome metadata test failed

Job result summary

Completed
Duration
30 minutes
Revision
2ac542532fe7e184cab88bc16ff8cc6a34f08482
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
  • 26 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="dd46c13e7d87a4636934e1c688bd7887", element="7ff66f16-cc2e-4eae-a8b0-8163c8401182")>
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="64c9ccfe2ac843318ee01c6e3043f8e3", element="e3de6075-13a2-4638-8889-0ccab253a922")>
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="a3cdda14f9f46b2dc2556b11432d24ae", element="3a4c059f-8c8d-4ca5-a468-c5d236600200")>
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="145f7e451b209ec043303d53e60ae19f", element="a85e74b2-c5ea-4971-9a95-4d04783349f9")>
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="d880d534db5bb1d32a7832c2d30f23b6", element="db7f677f-8321-41ea-9fb2-ef3637e8d8cb")>
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="b3140a6723a4b2419f3f6feeaf5d882f", element="075d12b1-f2b2-431b-a0e2-8826ac200df7")>
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="277d4b5e9cabf479cc5afe8b47d4ce60", element="675f27c1-5f4b-4adc-90d0-0c97d10ba1c3")>
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="9aacb3246e8113407d23915333c7fce1", element="9556e022-9347-4e51-9ca3-ec80a49ecd9d")>
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="c22025e94188e9f24c90f38fdf6ce1ba", element="0b27f562-4d38-4cc0-b6c7-cd61e657ad53")>
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="46117ff56e1337d24442627e8766df5e", element="ccf4c408-e8e9-4ef9-89a1-c7b599fc7697")>
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
100  4419  100  4419    0     0  17303      0 --:--:-- --:--:-- --:--:-- 17329
Error response from daemon: Cannot kill container: 33a0dae49acc: Container 33a0dae49accf3aa2378d494010288f4fcf6c6d3c582407138bb58a185814aef 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
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
100  4419  100  4419    0     0  14489      0 --:--:-- --:--:-- --:--:-- 14536
Error response from daemon: Cannot kill container: 4847796f5d01: Container 4847796f5d01f5b184aa27e28062d1f7ac40eaac02376535d530d5fab5b8f65b is not running