Has anyone successfully built rancher release 2.4.12? I’m getting the following error when trying to build tests. I ran make
on an ubuntu 16.04 server.
=============================================================================== FAILURES =================================================================================
__________________________________________________________ test_editing_eks_cluster_gives_temp_creds_annotation ___________________________________________________________
[gw4] linux -- Python 3.6.9 /go/src/github.com/rancher/rancher/tests/integration/.tox/py38/bin/python3
admin_mc = <suite.conftest.ManagementContext object at 0x7fa2e7c07828>, remove_resource = <function remove_resource.<locals>._cleanup at 0x7fa2e70a8e18>
def test_editing_eks_cluster_gives_temp_creds_annotation(
admin_mc, remove_resource):
eks = {
access_key: "not a real access key",
secret_key: "not a real secret key",
region: "us-west-2",
}
cluster = assert_cluster_annotation("false", admin_mc, remove_resource,
eks)
eks = cluster.amazonElasticContainerServiceConfig
setattr(eks, session_token, "not a real session token")
cluster = admin_mc.client.update_by_id_cluster(
id=cluster.id,
name=cluster.name,
amazonElasticContainerServiceConfig=eks
)
wait_until(has_cluster_annotation(admin_mc.client, cluster,
expected="true"))
cluster = admin_mc.client.reload(cluster)
> assert cluster.annotations[annotation] == "true"
E AssertionError: assert 'false' == 'true'
E - false
E + true
test_kontainer_engine_annotations.py:110: AssertionError
========================================================================= short test summary info =========================================================================
FAILED test_kontainer_engine_annotations.py::test_editing_eks_cluster_gives_temp_creds_annotation
======================================================================== slowest 20 test durations ========================================================================
133.63s call suite/test_app.py::test_app_namespace_annotation
129.76s teardown suite/test_node.py::test_writing_config_to_disk
114.53s call suite/test_app.py::test_app_upgrade_has_helmversion
76.78s call suite/test_app.py::test_app_custom_values_file
71.54s call suite/test_app.py::test_app_externalid_target_project_verification
69.15s call suite/test_role_template.py::test_update_role_template_permissions
68.87s call suite/test_role_template.py::test_role_template_update_inherited_role
68.26s call suite/test_app.py::test_prehook_chart
67.10s call suite/test_app.py::test_helm_timeout
67.03s call suite/test_app.py::test_app_wordpress
67.02s call suite/test_app.py::test_app_mysql
65.45s call suite/test_kontainer_engine_validation.py::test_min_nodes_cannot_be_greater_than_max
64.74s call suite/test_kontainer_engine_validation.py::test_min_nodes_cannot_be_zero
64.66s call suite/test_kontainer_engine_annotations.py::test_editing_eks_cluster_gives_temp_creds_annotation
64.56s call suite/test_kontainer_engine_validation.py::test_private_cluster_requires_vpc_subnets
64.43s call suite/test_kontainer_engine_validation.py::test_node_volume_size_cannot_be_zero
49.46s call suite/test_rbac.py::test_member_can_perform_app_action
48.72s call suite/test_app.py::test_app_has_helmversion
39.85s call suite/test_cluster_catalog.py::test_cluster_catalog_templates_access
23.82s call suite/test_multi_cluster_app.py::test_multiclusterapp_user_create
============================================================ 1 failed, 229 passed, 3 skipped in 318.79 seconds ============================================================
ERROR: InvocationError: '/go/src/github.com/rancher/rancher/tests/integration/.tox/py38/bin/pytest --durations=20 -rfE -v -m not nonparallel -n 12'
_________________________________________________________________________________ summary _________________________________________________________________________________
flake8: commands succeeded
ERROR: py38: commands failed
Stopping rancher server