GUI acceptance tests using environment deployed from packages.

Build: #1134 failed

Job: Onezone harvesters basic failed

Job result summary

Completed
Duration
59 minutes
Revision
c7b641f62aad6ca64e2ade93cb5e3e0baf607af6
Total tests
27
Failing since
#1127 (Child of ODSRV-OZP-1424)
Fixed in
#1137 (Changes by Agnieszka Warchol)

Tests

  • 27 tests in total
  • 11 tests failed
  • 54 minutes taken in total.
Existing test failures 11
Status Test Failing since Duration
RuntimeError: no "harvester11" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_fails_to_see_harvester_without_view_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester18" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_adds_group_to_harvester_with_add_group_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester20" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_adds_space_with_add_space_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester16" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_generates_invitation_token_for_user_with_add_user_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester19" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_removes_group_from_harvester_with_remove_group_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester13" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_removes_harvester_with_remove_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester21" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_removes_space_with_remove_space_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester17" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_removes_user_from_harvester_with_remove_user_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester12" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_renames_harvester_with_modify_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester15" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 more lines...)
RuntimeError: no "harvester14" found in DiscoveryPage in Onezone page
request = <FixtureRequest for <Function 'test_user_successfully_views_privileges_with_view_privileges_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(47 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  16917      0 --:--:-- --:--:-- --:--:-- 16931
Error response from daemon: Cannot kill container: 1766a4610202: Container 1766a46102028551942691418238c178af07c7d015c6a2a51a9c765b2df00d7a 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
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
cp: cannot stat 'onedata/one_env/sources_info.yaml': No such file or directory
  % 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  11294      0 --:--:-- --:--:-- --:--:-- 11301
Error response from daemon: Cannot kill container: fd3f78be2360: Container fd3f78be2360a779a67826ccf3d771db315fbb40b643a70a74763c06078f8b65 is not running
Error response from daemon: Cannot kill container: 656f522396a6: Container 656f522396a620a92ab5ce6810dfcb326a52d4b3782d0a335f1738b3a0cd9ca9 is not running
Error response from daemon: Cannot kill container: afade1e06440: Container afade1e064406565f3d76e83d817ef74f94bfc0942a8e2c03a1201a6eb456f73 is not running
Error response from daemon: Cannot kill container: 7cac2aa38249: Container 7cac2aa382494b9318f25cf699dad4240448dd76eb6a98040afab910bd8ae860 is not running
Error response from daemon: Cannot kill container: 045154da594c: Container 045154da594cb72f7e737fd692f4f9ccb80aad0ee44980c9f0c128ad28a6f1d3 is not running
Error response from daemon: Cannot kill container: b807ab56825a: Container b807ab56825a9e68989a4184b081334d044c659d5327f8111c7ccfad788e7281 is not running
Error response from daemon: Cannot kill container: 34f847d80892: Container 34f847d808921454801ddbde9e32484aefd478dca61ac25341cb8d7f8ffdbf20 is not running
Error response from daemon: Cannot kill container: 9012beffc0fb: Container 9012beffc0fb5d0a14d30927803d82f9ceee7c2a0928fd3205c408446b62ce74 is not running
Error response from daemon: Cannot kill container: 47873ee61967: Container 47873ee619674c0e5620eb9eedbf223fff01c4d109ef655074883b16dcc85874 is not running
Error response from daemon: Cannot kill container: 662d2bd832ef: Container 662d2bd832ef81bdf1bd0f5d53371423b0ca439837d36f41899e3ed1651533f0 is not running
Error response from daemon: Cannot kill container: 1f7ae5a9e68d: Container 1f7ae5a9e68d8ebe41e328fdb3adf13ab3dc68a09ee4cfcd369f73c727d55ccc is not running
Error response from daemon: Cannot kill container: 353ddbbf12fe: Container 353ddbbf12fe02c91ad251fc94500ab6a05bb0847db4397c75e9657b302dccd4 is not running
Error response from daemon: Cannot kill container: d3f6a2275419: Container d3f6a2275419cf52c4f4a4c56c0f09cd818d505883c2afcc3e9ba7fcd38615fa is not running
Error response from daemon: Cannot kill container: 5242f8bd0a49: Container 5242f8bd0a49620574f2f2d7e05c5c38beae669d1b31c971555322a8bcb70e25 is not running
Error response from daemon: Cannot kill container: 28c730e35bb9: Container 28c730e35bb936454d03ecdd56a66dc6357ee3950e1909d6e6f31beb4191434c is not running
Error response from daemon: Cannot kill container: 00c10bfeba35: Container 00c10bfeba35de844d5ec38aad436ff373e2d8d4a1e2619b8d966f4f5fab835e is not running