GUI acceptance tests using environment deployed from packages.

Build: #1128 failed

Job: Onezone harvesters basic failed

Job result summary

Completed
Duration
59 minutes
Revision
9944d57bd0952e5016119a818bf6148d23e5e020
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  13246      0 --:--:-- --:--:-- --:--:-- 13270
Error response from daemon: Cannot kill container: 394f961c19a4: Container 394f961c19a46a878db55afd62b5b12b8d4ecf69f937c7180d423e4a861ebb42 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
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
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4419  100  4419    0     0  12912      0 --:--:-- --:--:-- --:--:-- 12883
Error response from daemon: Cannot kill container: a5ca86afb1f8: Container a5ca86afb1f863f64772904f9927fb8391bb84895044a1fd5abf3a425d2e5e42 is not running
Error response from daemon: Cannot kill container: b6f3468b1f6e: Container b6f3468b1f6e334fb1de569d6346dfaa12b4b84bdd1e842ac2fd3f5a67613a6b is not running
Error response from daemon: Cannot kill container: 13728109f783: Container 13728109f7833f2ece6003f48cdfdca245bac18ce4584d84284b9f3be69391b2 is not running
Error response from daemon: Cannot kill container: dd28959c5dcc: Container dd28959c5dcc7dae42c9dad15f422a1ee6107e07a8bde8fed3f60b0e2249a6c0 is not running
Error response from daemon: Cannot kill container: f5b2064b7320: Container f5b2064b7320255d8e7151c8a7e5beda2032b9a1a31a2cab20a51fe688ee21da is not running
Error response from daemon: Cannot kill container: fc8ba58ef9a4: Container fc8ba58ef9a459e553d228b651cd33bcc17918a9eb4e9a266ca14404276af292 is not running
Error response from daemon: Cannot kill container: 5490ef3382f7: Container 5490ef3382f7dcfcc4ae225ef963d17ec73ea50bf24172a237e43c297b8049e4 is not running
Error response from daemon: Cannot kill container: 135a33bc1a6a: Container 135a33bc1a6aae2feb6fd281122113f1beaf4a551beaea2fbd880deeec81aef2 is not running
Error response from daemon: Cannot kill container: f3fff3415922: Container f3fff3415922b33de1885bd3a08686c3e269825f238e4dddcfc54888a852fd24 is not running
Error response from daemon: Cannot kill container: 6351fe0ed42b: Container 6351fe0ed42b8e30bdf81c70d976bd949508ad652891f7f9f974d5f2d951db1c is not running
Error response from daemon: Cannot kill container: f6302b5063c5: Container f6302b5063c578502ca1d3382cb7a8eea79f70affbd2c26f5ee45d648fcff1f8 is not running
Error response from daemon: Cannot kill container: 90bb1a00e550: Container 90bb1a00e550397ecc99578778bcd658a312df6e06f81f971a6cacd0b3df907c is not running
Error response from daemon: Cannot kill container: 848ff7c0f12b: Container 848ff7c0f12b2510467b4d1b66c39f14acd9ba46daa6183650a76de125f396fe is not running
Error response from daemon: Cannot kill container: b0c2b223b024: Container b0c2b223b02433663c9a83a36d374572cb0ece94aa395f8e3d70149c876af568 is not running
Error response from daemon: Cannot kill container: 898ee4b396a4: Container 898ee4b396a49d4a97a6f13f545503f5064c92a0901293fdd58ebb77c474b05f is not running
Error response from daemon: Cannot kill container: 4524e051379c: Container 4524e051379c6af19b388b2ce91e59e2d48783488c6e12bcd441152f89c0bc63 is not running