GUI acceptance tests using environment deployed from packages.

Build: #1129 failed

Job: Onezone harvesters basic failed

Job result summary

Completed
Duration
52 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
  • 47 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  17901      0 --:--:-- --:--:-- --:--:-- 17963
Error response from daemon: Cannot kill container: 3516e210d5c9: Container 3516e210d5c9f79e36b76c266e41f79163e882ff48bf248ed33bae8ce1b4608c is not running
tput: unknown terminal "unknown"
Submodule 'bamboos' (ssh://git@git.onedata.org:7999/vfs/bamboos.git) registered for path 'bamboos'
Submodule 'cdmi_swagger' (ssh://git@git.onedata.org:7999/vfs/cdmi-swagger.git) registered for path 'cdmi_swagger'
Submodule 'one_env' (ssh://git@git.onedata.org:7999/vfs/one-env.git) registered for path 'one_env'
Submodule 'onepanel_swagger' (ssh://git@git.onedata.org:7999/vfs/onepanel-swagger.git) registered for path 'onepanel_swagger'
Submodule 'oneprovider_swagger' (ssh://git@git.onedata.org:7999/vfs/oneprovider-swagger.git) registered for path 'oneprovider_swagger'
Submodule 'onezone_swagger' (ssh://git@git.onedata.org:7999/vfs/onezone-swagger.git) registered for path 'onezone_swagger'
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/bamboos'...
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/cdmi_swagger'...
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/one_env'...
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/onepanel_swagger'...
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/oneprovider_swagger'...
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/onezone_swagger'...
Submodule 'bamboos' (ssh://git@git.onedata.org:7999/vfs/bamboos.git) registered for path 'onepanel_swagger/bamboos'
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/onepanel_swagger/bamboos'...
Submodule 'bamboos' (ssh://git@git.onedata.org:7999/vfs/bamboos.git) registered for path 'oneprovider_swagger/bamboos'
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/oneprovider_swagger/bamboos'...
Submodule 'bamboos' (ssh://git@git.onedata.org:7999/vfs/bamboos.git) registered for path 'onezone_swagger/bamboos'
Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/onezone_swagger/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
100  4419  100  4419    0     0  14095      0 --:--:-- --:--:-- --:--:-- 14118
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
df20fa9351a1: Pulling fs layer
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
df20fa9351a1: Pull complete
Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321
Status: Downloaded newer image for alpine:latest
Error response from daemon: Cannot kill container: 0a12209c2895: Container 0a12209c2895db0e04fa9a7c6e04c71e66a18cee6358dccefce716cba70c9a3f is not running
Error response from daemon: Cannot kill container: c065dcfeb8ca: Container c065dcfeb8ca0cc54365df0d3534988c74d0b91b93a095bfafc5b8e0fba54787 is not running
Error response from daemon: Cannot kill container: 311a9ebaefd6: Container 311a9ebaefd6a2defdbdf06ebec5c077792711e85206f389e831505bf9795e71 is not running
Error response from daemon: Cannot kill container: ca97ca354f93: Container ca97ca354f930ddee7fa2214b148cab28c8d224972b2b5f4e40fe9bed6280e00 is not running
Error response from daemon: Cannot kill container: 1947542cb7cd: Container 1947542cb7cd6c4b3a64872a3f60a4ad4d1069c0a70335423b5493704497101a is not running
Error response from daemon: Cannot kill container: bcf3ef64fabd: Container bcf3ef64fabd4978306fd697d835a1c7b41a007c8440a58b44f6f5252160e876 is not running
Error response from daemon: Cannot kill container: ac1a13d8d1d1: Container ac1a13d8d1d1b0e7996df67565275820707f192fd6c45538c2f7f629ecac6fde is not running
Error response from daemon: Cannot kill container: baa1ae5f8e0b: Container baa1ae5f8e0b54ce86628b7cacb50229354790ef4ed2d30df6eb555410322f2a is not running
Unable to find image 'ubuntu:14.10' locally
14.10: Pulling from library/ubuntu
b0efe5c05b4c: Pulling fs layer
0a1f1b169319: Pulling fs layer
1ceb0a3c7c48: Pulling fs layer
a3ed95caeb02: Pulling fs layer
a3ed95caeb02: Waiting
0a1f1b169319: Verifying Checksum
0a1f1b169319: Download complete
1ceb0a3c7c48: Download complete
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
b0efe5c05b4c: Verifying Checksum
b0efe5c05b4c: Download complete
b0efe5c05b4c: Pull complete
0a1f1b169319: Pull complete
1ceb0a3c7c48: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:6341c688b4b0b82ec735389b3c97df8cf2831b8cb8bd1856779130a86574ac5c
Status: Downloaded newer image for ubuntu:14.10