/opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.6.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.3.0,Babel==2.9.1,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.17.90,botocore==1.20.90,cachetools==4.2.2,castellan==3.8.0,certifi==2021.5.30,cffi==1.14.5,chardet==4.0.0,-e git+https://opendev.org/openstack/cinder@d5f0e51879c03654db4bf89564695e01af593350#egg=cinder,click==8.0.1,cliff==3.8.0,cmd2==2.0.1,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.7,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.2.0,decorator==4.4.2,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.3,elementpath==2.2.2,entrypoints==0.3,etcd3==0.12.0,etcd3gw==0.2.5,eventlet==0.30.2,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.3.0,-e git+https://opendev.org/openstack/glance@049a8cd447be442efe294347b0ad440939aef31b#egg=glance,glance-store==2.5.0,google-api-core==1.30.0,google-api-python-client==2.8.0,google-auth==1.30.2,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.0,grpcio==1.38.0,httplib2==0.19.1,hyperlink==19.0.0,idna==2.10,importlib-metadata==1.5.0,importlib-resources==5.1.4,incremental==16.10.1,iso8601==0.1.14,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@252733dce7ae7d335b982d36e96b64e7a29d4ef2#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.4,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@a913cc69ace39c8e738ae823ae3bad1bcaa2da73#egg=networking_hyperv,networkx==2.5.1,-e git+http://10.106.1.39/p/openstack/neutron@792cbea6b32d3b4c2782c6804bdc64ad51e9e4b5#egg=neutron,neutron-lib==2.11.0,-e git+https://opendev.org/openstack/nova@7f83cbe9e2a0e95fc0b7bc10d3eee7528e27b943#egg=nova,numpy==1.20.3,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@7e0f288dd4dab3e06f892f34839ba90600e5d360#egg=openstack_placement,openstacksdk==0.57.0,os-brick==4.4.0,os-client-config==2.1.0,os-ken==2.0.0,os-resource-classes==1.0.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.5.0,os-vif==2.5.0,os-win==5.4.0,os-xenapi==0.3.4,osc-lib==2.4.0,osc-placement==3.0.0,oslo.cache==2.8.0,oslo.concurrency==4.4.0,oslo.config==8.7.0,oslo.context==3.3.0,oslo.db==9.0.0,oslo.i18n==5.0.1,oslo.log==4.5.0,oslo.messaging==12.8.0,oslo.middleware==4.2.0,oslo.policy==3.8.0,oslo.privsep==2.5.0,oslo.reports==2.2.0,oslo.rootwrap==6.2.0,oslo.serialization==4.1.0,oslo.service==2.5.0,oslo.upgradecheck==1.4.0,oslo.utils==4.9.0,oslo.versionedobjects==2.4.0,oslo.vmware==3.9.0,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.10.0,packaging==20.9,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,pluggy==0.13.1,prettytable==0.7.2,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==7.4.0,python-dateutil==2.8.1,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-editor==1.0.4,python-glanceclient==3.3.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-mimeparse==1.6.0,python-neutronclient==7.5.0,python-novaclient==17.5.0,python-openstackclient==5.5.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,repoze.lru==0.7,requests==2.25.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.4.2,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.2,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.15,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.3.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@977f1bcc61077833c8473f7dee7a53e5605def2f#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.0,-e git+https://opendev.org/openstack/tempest@62037d802ae5a482593d30be7792eb2fa3e47478#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.4.0,toml==0.10.2,tooz==2.9.0,tox==3.23.1,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.5,urwid==2.0.1,vine==5.0.0,virtualenv==20.4.7,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.9.0,WebTest==2.0.35,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.10.1,xattr==0.9.7,xmlschema==1.6.3,yappi==1.3.2,zipp==3.4.1,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_create_delete_metering_label_rule_with_filters [1.172565s] ... ok {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_create_delete_metering_label_with_filters [2.050977s] ... ok {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_list_metering_label_rules [0.122876s] ... ok {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_list_metering_labels [0.027063s] ... ok {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_show_metering_label [0.124913s] ... ok {4} tempest.api.network.admin.test_metering_extensions.MeteringIpV6TestJSON.test_show_metering_label_rule [0.021508s] ... ok {5} tempest.api.network.admin.test_routers_dvr.RoutersTestDVR.test_centralized_router_creation [3.076610s] ... ok {1} tempest.api.network.admin.test_external_networks_negative.ExternalNetworksAdminNegativeTestJSON.test_create_port_with_precreated_floatingip_as_fixed_ip [8.586168s] ... ok {0} tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON.test_create_external_network [5.960386s] ... ok {5} tempest.api.network.admin.test_routers_dvr.RoutersTestDVR.test_centralized_router_update_to_dvr [6.195946s] ... ok {5} tempest.api.network.admin.test_routers_dvr.RoutersTestDVR.test_distributed_router_creation [2.284924s] ... ok {7} tempest.api.network.admin.test_dhcp_agent_scheduler.DHCPAgentSchedulersTestJSON.test_add_remove_network_from_dhcp_agent [10.470247s] ... ok {7} tempest.api.network.admin.test_dhcp_agent_scheduler.DHCPAgentSchedulersTestJSON.test_list_dhcp_agent_hosting_network [0.039966s] ... ok {7} tempest.api.network.admin.test_dhcp_agent_scheduler.DHCPAgentSchedulersTestJSON.test_list_networks_hosted_by_one_dhcp [0.324584s] ... ok {0} tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON.test_delete_external_networks_with_floating_ip [19.298118s] ... ok {4} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_create_port_binding_ext_attr [6.600450s] ... ok {5} tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_network [8.590275s] ... ok {1} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsTestJSON.test_create_port_binding_ext_attr [9.415314s] ... ok {0} tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON.test_list_external_networks [5.082870s] ... ok {0} tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON.test_show_external_networks_attribute [4.368194s] ... ok {4} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_list_ports_binding_ext_attr [9.599109s] ... ok {1} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsTestJSON.test_list_ports_binding_ext_attr [9.762361s] ... ok {5} tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_port [12.716189s] ... ok {0} tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON.test_update_external_network [4.304018s] ... ok {4} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_show_port_binding_ext_attr [5.536485s] ... ok {1} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsTestJSON.test_show_port_binding_ext_attr [3.852300s] ... ok {1} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsTestJSON.test_update_port_binding_ext_attr [5.759904s] ... ok {5} tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_subnet [11.426785s] ... ok {4} tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_update_port_binding_ext_attr [10.078187s] ... ok {0} tempest.api.network.admin.test_quotas.QuotasTest.test_quotas [2.203214s] ... ok {0} tempest.api.network.admin.test_quotas.QuotasTest.test_show_quota_details [1.587265s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_create_router_set_gateway_with_fixed_ip [21.020293s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_create_router_setting_project_id [3.147319s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_create_port_on_non_existent_network [0.287456s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_delete_non_existent_network [0.050283s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_delete_non_existent_port [0.057388s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_delete_non_existent_subnet [0.073492s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_show_non_existent_network [0.061312s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_show_non_existent_port [0.100361s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_show_non_existent_subnet [0.051296s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_update_non_existent_network [0.040832s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_update_non_existent_port [0.076172s] ... ok {5} tempest.api.network.test_networks_negative.NetworksNegativeTestJSON.test_update_non_existent_subnet [0.071808s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_additional_default_security_group_fails [0.439643s] ... ok {0} tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_create_list_port_with_address_pair [5.643165s] ... ok {4} tempest.api.network.admin.test_routers_negative.RoutersAdminNegativeIpV6Test.test_router_set_gateway_used_ip_returns_409 [10.557728s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_create_router_with_default_snat_value [13.613678s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_duplicate_security_group_rule_fails [3.589962s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_bad_ethertype [1.056484s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_bad_protocol [1.365075s] ... ok {0} tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_address_pair [5.278247s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 105, in test_update_port_with_address_pair self._update_port_with_address(self.ip_address) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::3a8', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::3a8', 'mac_address': 'fa:16:3e:7f:0a:22'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:35,309 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.671s 2021-06-15 14:29:35,310 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-324500384"}} Response - Headers: {'content-type': 'application/json', 'content-length': '743', 'x-openstack-request-id': 'req-bd4aa65e-ed46-4989-920f-549ea8b709ac', 'date': 'Tue, 15 Jun 2021 14:29:35 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"f48f1104-8ed2-4a54-ac70-205e13c7450c","name":"tempest-AllowedAddressPairIpV6TestJSON-324500384","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:b0:7e:7b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::78"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:33Z","updated_at":"2021-06-15T14:29:33Z","revision_number":1}}' 2021-06-15 14:29:36,227 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 0.916s 2021-06-15 14:29:36,227 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::3a8", "mac_address": "fa:16:3e:7f:0a:22"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '821', 'x-openstack-request-id': 'req-39c1c7ad-a261-4152-ad60-7524aac83cf9', 'date': 'Tue, 15 Jun 2021 14:29:36 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'{"port":{"id":"f48f1104-8ed2-4a54-ac70-205e13c7450c","name":"tempest-AllowedAddressPairIpV6TestJSON-324500384","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:b0:7e:7b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::78"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::3a8","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:33Z","updated_at":"2021-06-15T14:29:35Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:37,875 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 1.638s 2021-06-15 14:29:37,875 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-04cb4535-299c-4fa4-b6ee-60e5d77b4ce7', 'date': 'Tue, 15 Jun 2021 14:29:37 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'' 2021-06-15 14:29:37,914 108622 INFO [tempest.lib.comm on.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 0.038s 2021-06-15 14:29:37,915 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-a8f80c21-14aa-41e4-9f3b-b42e69a2cc7b', 'date': 'Tue, 15 Jun 2021 14:29:37 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port f48f1104-8ed2-4a54-ac70-205e13c7450c could not be found.", "detail": ""}}' {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_bad_remote_ip_prefix [2.202909s] ... ok {0} tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_cidr_address_pair [4.809856s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 110, in test_update_port_with_cidr_address_pair self._update_port_with_address(str(self.cidr)) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::/48', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::/48', 'mac_address': 'fa:16:3e:7f:0a:22'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:40,117 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_cidr_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.201s 2021-06-15 14:29:40,118 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1685337717"}} Response - Headers: {'content-type': 'application/json', 'content-length': '745', 'x-openstack-request-id': 'req-97c115ce-85f3-4e99-bd35-1f4bae805a11', 'date': 'Tue, 15 Jun 2021 14:29:40 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"1bf4531e-3fda-4506-8e25-4952eee387e2","name":"tempest-AllowedAddressPairIpV6TestJSON-1685337717","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:d5:5a:71","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::2b2"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:38Z","updated_at":"2021-06-15T14:29:38Z","revision_number":1}}' 2021-06-15 14:29:41,193 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_cidr_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 1.075s 2021-06-15 14:29:41,194 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::/48", "mac_address": "fa:16:3e:7f:0a:22"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '823', 'x-openstack-request-id': 'req-e0c6ffde-aeda-4b37-ab9e-1ae563c73e39', 'date': 'Tue, 15 Jun 2021 14:29:41 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'{"port":{"id":"1bf4531e-3fda-4506-8e25-4952eee387e2","name":"tempest-AllowedAddressPairIpV6TestJSON-1685337717","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:d5:5a:71","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::2b2"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::/48","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:38Z","updated_at":"2021-06-15T14:29:40Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:42,645 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 1.450s 2021-06-15 14:29:42,645 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-709b8fab-b42a-437c-90f3-054947bfe420', 'date': 'Tue, 15 Jun 2021 14:29:42 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'' 2021-06-15 14:29:42,715 108622 INFO [t empest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 0.069s 2021-06-15 14:29:42,725 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-11ba0302-e282-4889-947a-22f5f3cbd8c3', 'date': 'Tue, 15 Jun 2021 14:29:42 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 1bf4531e-3fda-4506-8e25-4952eee387e2 could not be found.", "detail": ""}}' {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_invalid_ports [5.257153s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcp_stateful [24.689369s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_non_existent_remote_groupid [3.158163s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_non_existent_security_group [0.650794s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_rule_with_remote_ip_and_group [3.469052s] ... ok {0} tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair [10.426288s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 129, in test_update_port_with_multiple_ip_mac_address_pair self._update_port_with_address( File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:3f:bd:2b', 'ip_address': '2001:db8::22', 'active': True} First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::3a8', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::3a8', 'mac_address': 'fa:16:3e:7f:0a:22'} First has 0, Second has 1: {'ip_address': '2001:db8::22', 'mac_address': 'fa:16:3e:3f:bd:2b'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:46,603 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 3.875s 2021-06-15 14:29:46,603 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1802251752"}} Response - Headers: {'content-type': 'application/json', 'content-length': '744', 'x-openstack-request-id': 'req-350d6e7e-136c-4b06-94b8-85b0c07c4b02', 'date': 'Tue, 15 Jun 2021 14:29:46 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"1adbb906-b0dc-4e4f-966a-77b2e903e9ad","name":"tempest-AllowedAddressPairIpV6TestJSON-1802251752","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:3f:bd:2b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::22"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:43Z","updated_at":"2021-06-15T14:29:44Z","revision_number":1}}' 2021-06-15 14:29:49,246 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.642s 2021-06-15 14:29:49,247 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1569843482"}} Response - Headers: {'content-type': 'application/json', 'content-length': '743', 'x-openstack-request-id': 'req-6fefecac-314a-4ee4-aaf7-151ab50a7ecd', 'date': 'Tue, 15 Jun 2021 14:29:49 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"23d57d4b-820a-4e02-94a0-02f4d79aff46","name":"tempest-AllowedAddressPairIpV6TestJSON-1569843482","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:46:7b:63","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::3"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:47Z","updated_at":"2021-06-15T14:29:47Z","revision_number":1}}' 2021-06-15 14:29:50,854 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 1.606s 2021-06-15 14:29:50,854 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::3a8", "mac_address": "fa:16:3e:7f:0a:22"}, {"ip_address": "2001:db8::22", "mac_address": "fa:16:3e:3f:bd:2b"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '899', 'x-openstack-request-id': 'req-e1273508-182a-440d-aca6-3141abdcdc35', 'date': 'Tue, 15 Jun 2021 14:29:50 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http: //10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'{"port":{"id":"23d57d4b-820a-4e02-94a0-02f4d79aff46","name":"tempest-AllowedAddressPairIpV6TestJSON-1569843482","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:46:7b:63","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::3"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:3f:bd:2b","ip_address":"2001:db8::22","active":true},{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::3a8","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:47Z","updated_at":"2021-06-15T14:29:50Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:52,170 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 1.315s 2021-06-15 14:29:52,171 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-f53d9c04-49dd-427a-9fd8-6403f8f51f20', 'date': 'Tue, 15 Jun 2021 14:29:52 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'' 2021-06-15 14:29:52,235 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 0.062s 2021-06-15 14:29:52,235 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-e8af5d29-bb5b-4e1e-84a8-63284f6bde8c', 'date': 'Tue, 15 Jun 2021 14:29:52 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 23d57d4b-820a-4e02-94a0-02f4d79aff46 could not be found.", "detail": ""}}' 2021-06-15 14:29:53,102 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad 0.865s 2021-06-15 14:29:53,102 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-3f0f5fbf-714c-419f-8257-89cd790de4ac', 'date': 'Tue, 15 Jun 2021 14:29:53 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad'} Body: b'' 2021-06-15 14:29:53,152 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad 0.049s 2021-06-15 14:29:53,153 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-cfe76344-0dbc-456b-b636-e8e3cc4679de', 'date': 'Tue, 15 Jun 2021 14:29:53 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc -4e4f-966a-77b2e903e9ad'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 1adbb906-b0dc-4e4f-966a-77b2e903e9ad could not be found.", "detail": ""}}' {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_create_security_group_update_name_default [1.791772s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_delete_non_existent_security_group [0.186553s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_show_non_existent_security_group [0.076374s] ... ok {5} tempest.api.network.test_security_groups_negative.NegativeSecGroupTest.test_show_non_existent_security_group_rule [0.024793s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_create_router_with_snat_explicit [19.390892s] ... ok {5} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_cold_migration ... SKIPPED: Less than 2 compute nodes, skipping multinode tests. {5} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_cold_migration_revert ... SKIPPED: Less than 2 compute nodes, skipping multinode tests. {5} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_live_migration ... SKIPPED: Less than 2 compute nodes, skipping multinode tests. {4} tempest.api.network.test_floating_ips_negative.FloatingIPNegativeTestJSON.test_associate_floatingip_port_ext_net_unreachable [7.483450s] ... ok {4} tempest.api.network.test_floating_ips_negative.FloatingIPNegativeTestJSON.test_create_floatingip_in_private_network [1.741169s] ... ok {4} tempest.api.network.test_floating_ips_negative.FloatingIPNegativeTestJSON.test_create_floatingip_with_port_ext_net_unreachable [2.995000s] ... ok {3} tempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_created_server_vcpus [0.544651s] ... ok {3} tempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_server_details [0.001076s] ... ok {6} tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_created_server_vcpus [0.598335s] ... ok {6} tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_server_details [0.000577s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcp_stateful_fixedips [21.493800s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_update_router_reset_gateway_without_snat [13.294247s] ... ok {0} tempest.api.network.test_networks.BulkNetworkOpsIpV6Test.test_bulk_create_delete_network [7.146419s] ... ok {2} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_lock_unlock_server [23.685695s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_update_router_set_gateway [13.432299s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcp_stateful_fixedips_duplicate [14.712388s] ... ok {0} tempest.api.network.test_networks.BulkNetworkOpsIpV6Test.test_bulk_create_delete_port [15.061246s] ... ok {2} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_pause_unpause_server [10.248224s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcp_stateful_fixedips_outrange [12.606644s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_update_router_set_gateway_with_snat_explicit [14.741224s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_create_delete_metering_label_rule_with_filters [1.237449s] ... ok {0} tempest.api.network.test_networks.BulkNetworkOpsIpV6Test.test_bulk_create_delete_subnet [21.312493s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_create_delete_metering_label_with_filters [2.746375s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_list_metering_label_rules [0.038272s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_list_metering_labels [0.098585s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_show_metering_label [0.110441s] ... ok {3} tempest.api.network.admin.test_metering_extensions.MeteringTestJSON.test_show_metering_label_rule [0.033311s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_update_router_set_gateway_without_snat [16.085409s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_add_router_interfaces_on_overlapping_subnets_returns_400 [32.597659s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_delete_non_existent_router_returns_404 [0.274033s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_router_add_gateway_invalid_network_returns_404 [1.051021s] ... ok {6} tempest.api.network.admin.test_routers_negative.RoutersAdminNegativeTest.test_router_set_gateway_used_ip_returns_409 [13.438951s] ... ok {7} tempest.api.network.admin.test_routers.RoutersIpV6AdminTest.test_update_router_unset_gateway [16.897201s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_all_attributes [9.540275s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_router_remove_interface_in_use_returns_409 [13.203578s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_show_non_existent_router_returns_404 [0.131865s] ... ok {4} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_update_non_existent_router_returns_404 [0.083235s] ... ok {7} tempest.api.network.test_agent_management_negative.AgentManagementNegativeTest.test_list_agents_non_admin [0.406616s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_with_allocation_pools [6.613545s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcp_stateful_router [45.178217s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_create_router_set_gateway_with_fixed_ip [23.465830s] ... ok {6} tempest.api.network.test_extra_dhcp_options.ExtraDHCPOptionsTestJSON.test_create_list_port_with_extra_dhcp_options [6.088226s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_create_router_setting_project_id [3.243590s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_with_dhcp_enabled [7.294251s] ... ok {6} tempest.api.network.test_extra_dhcp_options.ExtraDHCPOptionsTestJSON.test_update_show_port_with_extra_dhcp_options [2.874992s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_list_update_show_delete_security_group [4.021260s] ... ok {2} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_reboot_server_hard [62.241736s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_with_gw [9.392666s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_create_router_with_default_snat_value [11.294884s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_security_group_rule_with_additional_args [3.394405s] ... ok {7} tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_create_list_port_with_address_pair [3.857543s] ... ok {7} tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_address_pair [5.253788s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 105, in test_update_port_with_address_pair self._update_port_with_address(self.ip_address) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.5', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.5', 'mac_address': 'fa:16:3e:d1:04:c3'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:39,116 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.011s 2021-06-15 14:31:39,116 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-741142293"}} Response - Headers: {'content-type': 'application/json', 'content-length': '737', 'x-openstack-request-id': 'req-dcd31e53-fe6e-4cb4-b87b-bf5220eb4b6f', 'date': 'Tue, 15 Jun 2021 14:31:39 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"3180bb7f-c217-45be-82f6-1b240d139394","name":"tempest-AllowedAddressPairTestJSON-741142293","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:ea:b3:da","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.7"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:37Z","updated_at":"2021-06-15T14:31:37Z","revision_number":1}}' 2021-06-15 14:31:40,514 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 1.397s 2021-06-15 14:31:40,514 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.5", "mac_address": "fa:16:3e:d1:04:c3"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '812', 'x-openstack-request-id': 'req-e3355cb1-2a85-4ef4-99c7-006ef96f79cb', 'date': 'Tue, 15 Jun 2021 14:31:40 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'{"port":{"id":"3180bb7f-c217-45be-82f6-1b240d139394","name":"tempest-AllowedAddressPairTestJSON-741142293","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:ea:b3:da","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.7"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.5","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:37Z","updated_at":"2021-06-15T14:31:39Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:31:42,300 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 1.784s 2021-06-15 14:31:42,300 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-0de26d31-9fd1-4cd9-b3ea-47949bf9c0de', 'date': 'Tue, 15 Jun 2021 14:31:42 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'' 2021-06-15 14:31:42,357 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAd dressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 0.056s 2021-06-15 14:31:42,357 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-798dc945-682b-4691-a6f8-105a736d1584', 'date': 'Tue, 15 Jun 2021 14:31:42 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 3180bb7f-c217-45be-82f6-1b240d139394 could not be found.", "detail": ""}}' {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_with_gw_and_allocation_pools [8.886438s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_security_group_rule_with_icmp_type_code [11.101425s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_security_group_rule_with_protocol_integer_value [5.099213s] ... ok {7} tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_cidr_address_pair [10.743087s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 110, in test_update_port_with_cidr_address_pair self._update_port_with_address(str(self.cidr)) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.0/16', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.0/16', 'mac_address': 'fa:16:3e:d1:04:c3'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:47,404 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_cidr_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 5.044s 2021-06-15 14:31:47,404 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-1639415146"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-e9379bd5-308e-4925-a7d7-60f1666b9fb8', 'date': 'Tue, 15 Jun 2021 14:31:47 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"bdbaefdc-4499-422d-99b5-e53395c208a2","name":"tempest-AllowedAddressPairTestJSON-1639415146","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:03:be:db","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.3"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:43Z","updated_at":"2021-06-15T14:31:43Z","revision_number":1}}' 2021-06-15 14:31:50,132 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_cidr_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 2.727s 2021-06-15 14:31:50,132 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.0/16", "mac_address": "fa:16:3e:d1:04:c3"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '816', 'x-openstack-request-id': 'req-3992571d-6f6d-4e65-8ec5-635b37490818', 'date': 'Tue, 15 Jun 2021 14:31:50 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'{"port":{"id":"bdbaefdc-4499-422d-99b5-e53395c208a2","name":"tempest-AllowedAddressPairTestJSON-1639415146","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:03:be:db","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.3"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.0/16","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:43Z","updated_at":"2021-06-15T14:31:49Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:31:53,037 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 2.903s 2021-06-15 14:31:53,037 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-05379b25-b320-4457-bfe5-b443369f3fa4', 'date': 'Tue, 15 Jun 2021 14:31:53 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'' 2021-06-15 14:31:53,101 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 0.057s 2021-06-15 14:31:53,101 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-2ac6ef37-d2ee-4a5f-9c09-ea33d4c54719', 'date': 'Tue, 15 Jun 2021 14:31:53 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port bdbaefdc-4499-422d-99b5-e53395c208a2 could not be found.", "detail": ""}}' {2} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_stop_start_server [21.964890s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_create_router_with_snat_explicit [22.193613s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_with_host_routes_and_dns_nameservers [13.432146s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_security_group_rule_with_remote_group_id [7.383496s] ... ok {7} tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_multiple_ip_mac_address_pair [9.706281s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 129, in test_update_port_with_multiple_ip_mac_address_pair self._update_port_with_address( File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.5', 'active': True} First has 1, Second has 0: {'mac_address': 'fa:16:3e:db:ce:16', 'ip_address': '172.20.0.9', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.5', 'mac_address': 'fa:16:3e:d1:04:c3'} First has 0, Second has 1: {'ip_address': '172.20.0.9', 'mac_address': 'fa:16:3e:db:ce:16'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:55,923 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.820s 2021-06-15 14:31:55,924 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-1424064661"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-9be18bee-8a9a-426d-bbe5-f0514dfaeb3a', 'date': 'Tue, 15 Jun 2021 14:31:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"d2a6e98a-4660-4814-9ebc-175c32da7a87","name":"tempest-AllowedAddressPairTestJSON-1424064661","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:db:ce:16","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.9"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:54Z","updated_at":"2021-06-15T14:31:54Z","revision_number":1}}' 2021-06-15 14:31:58,118 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.194s 2021-06-15 14:31:58,119 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-105320433"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-2461e246-26d6-42e9-92a2-d9dbf79bf850', 'date': 'Tue, 15 Jun 2021 14:31:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"2cbbbfdb-051a-4d22-81af-05e3b6245210","name":"tempest-AllowedAddressPairTestJSON-105320433","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:43:a0:8d","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.13"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:57Z","updated_at":"2021-06-15T14:31:57Z","revision_number":1}}' 2021-06-15 14:31:59,139 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 1.020s 2021-06-15 14:31:59,140 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.5", "mac_address": "fa:16:3e:d1:04:c3"}, {"ip_address": "172.20.0.9", "mac_address": "fa:16:3e:db:ce:16"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '889', 'x-openstack-request-id': 'req-2cc7c758-35c6-4a65-b1dd-70512334976d', 'date': 'Tue, 15 Jun 2021 14:31:59 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfd b-051a-4d22-81af-05e3b6245210'} Body: b'{"port":{"id":"2cbbbfdb-051a-4d22-81af-05e3b6245210","name":"tempest-AllowedAddressPairTestJSON-105320433","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:43:a0:8d","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.13"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.5","active":true},{"mac_address":"fa:16:3e:db:ce:16","ip_address":"172.20.0.9","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:57Z","updated_at":"2021-06-15T14:31:58Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:32:01,537 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 2.396s 2021-06-15 14:32:01,537 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-96fb0363-4d85-4bb0-bd84-64aee6ae46eb', 'date': 'Tue, 15 Jun 2021 14:32:01 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210'} Body: b'' 2021-06-15 14:32:01,639 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 0.102s 2021-06-15 14:32:01,640 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-6e0355ef-d4f8-49d7-9c3b-4bd861bbe670', 'date': 'Tue, 15 Jun 2021 14:32:01 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 2cbbbfdb-051a-4d22-81af-05e3b6245210 could not be found.", "detail": ""}}' 2021-06-15 14:32:02,759 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87 1.119s 2021-06-15 14:32:02,760 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-b5dcaf8c-de59-4469-923e-769697059f7d', 'date': 'Tue, 15 Jun 2021 14:32:02 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87'} Body: b'' 2021-06-15 14:32:02,808 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87 0.048s 2021-06-15 14:32:02,809 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-8a21041f-8411-4f14-8b03-ada7450a65e9', 'date': 'Tue, 15 Jun 2021 14:32:02 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87'} Body: b'{"NeutronError": {"ty pe": "PortNotFound", "message": "Port d2a6e98a-4660-4814-9ebc-175c32da7a87 could not be found.", "detail": ""}}' {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_security_group_rule_with_remote_ip_prefix [4.771885s] ... ok {2} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_suspend_resume_server [8.980421s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_delete_subnet_without_gateway [7.792835s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_create_show_delete_security_group_rule [8.485698s] ... ok {4} tempest.api.network.test_security_groups.SecGroupTest.test_list_security_groups [0.297351s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_update_delete_network_subnet [8.447857s] ... ok {4} tempest.api.network.test_service_providers.ServiceProvidersTest.test_service_providers_list [0.351322s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_create_update_network_description [2.800161s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_update_router_reset_gateway_without_snat [19.694319s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_add_multiple_router_interfaces [44.849223s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_delete_network_with_subnet [8.711012s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_external_network_visibility [0.395879s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_list_networks [0.338481s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_list_networks_fields [0.258692s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_list_subnets [0.189529s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_list_subnets_fields [0.165338s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_show_network [0.422315s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_show_network_fields [0.335659s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_show_subnet [0.225715s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_show_subnet_fields [0.106570s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_64_subnets [71.147591s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_update_router_set_gateway [14.457118s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_dhcp_enabled [10.220775s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_invalid_options [4.802059s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_gw [3.499908s] ... ok {0} tempest.api.network.test_networks.NetworksTest.test_update_subnet_gw_dns_host_routes_dhcp [7.850524s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_gw_and_allocation_pools [4.650972s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_port_id [25.129920s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_update_router_set_gateway_with_snat_explicit [13.827370s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_host_routes_and_dns_nameservers [9.050672s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_without_gateway [9.691533s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_update_router_set_gateway_without_snat [13.839546s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_stateless_eui64 [27.411083s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_list_subnet_with_no_gw64_one_network [7.904715s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_bulk_port [14.011511s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_subnet_id [24.487901s] ... ok {5} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_rebuild [193.388081s] ... ok {2} tempest.api.network.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_create_list_show_floating_ip_with_tenant_id_by_admin [12.933815s] ... ok {3} tempest.api.network.admin.test_routers.RoutersAdminTest.test_update_router_unset_gateway [14.048361s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_update_delete_network_subnet [12.226984s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_create_update_network_description [2.475378s] ... ok {3} tempest.api.network.test_extensions.ExtensionsTestJSON.test_list_show_extensions [2.324929s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_external_network_visibility [0.470092s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_list_networks [0.424202s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_list_networks_fields [0.461645s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_stateless_no_ra [20.186666s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_list_subnets [0.182483s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_list_subnets_fields [0.238414s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_show_network [0.780091s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_show_network_fields [0.588764s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_create_show_list_update_delete_router [15.779716s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_show_subnet [0.230353s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_port_in_allowed_allocation_pools [16.128624s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_show_subnet_fields [0.315468s] ... ok {2} tempest.api.network.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_list_floating_ips_from_admin_and_nonadmin [15.382134s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_stateless_no_ra_no_dhcp [13.662259s] ... ok {7} tempest.api.network.test_networks.NetworksIpV6Test.test_update_subnet_gw_dns_host_routes_dhcp [15.198963s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_port_with_no_securitygroups [17.538002s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_bulk_port [12.239526s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_show_delete_port_user_defined_mac [8.893604s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_router_interface_port_update_with_fixed_ip [32.066857s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_update_delete_port [7.360238s] ... ok {2} tempest.api.network.admin.test_negative_quotas.QuotasNegativeTest.test_network_quota_exceeding [8.895901s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_port_in_allowed_allocation_pools [15.776783s] ... ok {7} tempest.api.network.test_subnetpools_extensions.SubnetPoolsTestJSON.test_create_list_show_update_delete_subnetpools [2.613170s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_port_with_no_securitygroups [13.276126s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_create_update_port_with_second_ip [23.730731s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_list_ports [0.489549s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_list_ports_fields [0.217126s] ... ok {2} tempest.api.network.test_extra_dhcp_options.ExtraDHCPOptionsIpV6TestJSON.test_create_list_port_with_extra_dhcp_options [7.745400s] ... ok {2} tempest.api.network.test_extra_dhcp_options.ExtraDHCPOptionsIpV6TestJSON.test_update_show_port_with_extra_dhcp_options [1.085938s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_show_delete_port_user_defined_mac [9.845027s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_update_delete_port [3.842409s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_port_list_filter_by_ip [21.300215s] ... ok {1} tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.test_dhcpv6_two_subnets [77.694443s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_create_update_port_with_second_ip [28.349996s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_list_ports [0.256708s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_list_ports_fields [0.293860s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_port_list_filter_by_ip_substr [21.344311s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_port_list_filter_by_ip [15.641145s] ... ok {2} tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_floating_ip_specifying_a_fixed_ip_address [16.698056s] ... ok {1} tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_slaac_subnet_with_ports [12.038520s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_port_list_filter_by_ip_substr [14.613268s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_port_list_filter_by_router_id [24.454571s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_show_port [0.074873s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_show_port_fields [0.073518s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_update_delete_extra_route [97.490734s] ... ok {1} tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_stateless_subnet_with_ports [10.095007s] ... ok {6} tempest.api.network.test_routers.RoutersTest.test_update_router_admin_state [4.176406s] ... ok {2} tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_list_show_update_delete_floating_ip [21.479766s] ... ok {1} tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_slaac [7.795786s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_list_update_show_delete_security_group [1.912496s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_security_group_rule_with_additional_args [2.253136s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_update_port_with_security_group_and_extra_attributes [18.272785s] ... ok {1} tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_stateful [8.290363s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_port_list_filter_by_router_id [23.941793s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_show_port [0.218344s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_show_port_fields [0.263247s] ... ok {2} tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_update_floatingip_with_port_multiple_ip_address [17.924982s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_security_group_rule_with_icmp_type_code [9.581363s] ... ok {1} tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_stateless [6.673521s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_security_group_rule_with_protocol_integer_value [2.668428s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_security_group_rule_with_remote_group_id [5.266838s] ... ok {0} tempest.api.network.test_ports.PortsIpV6TestJSON.test_update_port_with_two_security_groups_and_extra_attributes [16.763871s] ... ok {1} tempest.api.network.test_routers_negative.DvrRoutersNegativeTest.test_router_create_tenant_distributed_returns_forbidden [0.244231s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_security_group_rule_with_remote_ip_prefix [3.475829s] ... ok {2} tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_floating_ip_delete_port [12.861621s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_update_port_with_security_group_and_extra_attributes [16.362231s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_show_delete_security_group_rule [5.844720s] ... ok {6} tempest.api.network.test_security_groups.SecGroupIPv6Test.test_list_security_groups [0.078684s] ... ok {3} tempest.api.network.test_ports.PortsTestJSON.test_update_port_with_two_security_groups_and_extra_attributes [18.362514s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_add_router_interfaces_on_overlapping_subnets_returns_400 [17.636692s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_delete_non_existent_router_returns_404 [0.121211s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_router_add_gateway_invalid_network_returns_404 [0.617396s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_router_add_gateway_net_not_external_returns_400 [3.588769s] ... ok {3} tempest.api.network.test_tags.TagsTest.test_create_list_show_update_delete_tags [4.193632s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_router_remove_interface_in_use_returns_409 [10.193824s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_show_non_existent_router_returns_404 [0.070251s] ... ok {1} tempest.api.network.test_routers_negative.RoutersNegativeIpV6Test.test_update_non_existent_router_returns_404 [0.063277s] ... ok {3} tempest.api.network.test_versions.NetworksApiDiscovery.test_api_version_resources [0.006733s] ... ok {3} tempest.api.network.test_versions.NetworksApiDiscovery.test_show_api_v2_details [0.131771s] ... ok {2} tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_floating_ip_update_different_router [43.395476s] ... ok {0} tempest.scenario.test_server_advanced_ops.TestServerAdvancedOps.test_server_sequence_suspend_resume [42.749325s] ... ok {1} tempest.api.network.test_tags.TagsExtTest.test_create_check_list_and_delete_tags [4.221280s] ... ok {1} tempest.api.network.test_tags.TagsExtTest.test_update_and_delete_all_tags [4.022781s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_add_multiple_router_interfaces [20.658072s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_add_remove_router_interface_with_port_id [9.433834s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_add_remove_router_interface_with_subnet_id [8.163239s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_create_show_list_update_delete_router [6.438956s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_router_interface_port_update_with_fixed_ip [9.788736s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_update_delete_extra_route [48.587925s] ... ok {2} tempest.api.network.test_routers.RoutersIpV6Test.test_update_router_admin_state [2.023632s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks [152.347077s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_hotplug_nic ... SKIPPED: NIC hotplug not available {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_additional_default_security_group_fails [0.132530s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_duplicate_security_group_rule_fails [1.530790s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_bad_ethertype [0.777350s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_bad_protocol [0.905054s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_bad_remote_ip_prefix [0.715542s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_invalid_ports [2.241065s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_non_existent_remote_groupid [1.160211s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_non_existent_security_group [0.286340s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_with_remote_ip_and_group [1.734878s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_rule_wrong_ip_prefix_version [1.618676s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_create_security_group_update_name_default [0.759183s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_delete_non_existent_security_group [0.020090s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_show_non_existent_security_group [0.019958s] ... ok {2} tempest.api.network.test_security_groups_negative.NegativeSecGroupIPv6Test.test_show_non_existent_security_group_rule [0.021115s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames [71.357272s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops [135.920259s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_security_macspoofing_port ... SKIPPED: NIC hotplug not available {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_preserve_preexisting_port [59.694773s] ... ok {5} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [606.704670s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling [72.822683s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_subnet_details [195.488561s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_update_instance_port_admin_state [106.374880s] ... ok {6} tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_update_router_admin_state [79.165989s] ... ok ============================== Failed 6 tests - output below: ============================== tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_address_pair[id-9599b337-272c-47fd-b3cf-509414414ac4] -------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 105, in test_update_port_with_address_pair self._update_port_with_address(self.ip_address) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::3a8', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::3a8', 'mac_address': 'fa:16:3e:7f:0a:22'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:35,309 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.671s 2021-06-15 14:29:35,310 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-324500384"}} Response - Headers: {'content-type': 'application/json', 'content-length': '743', 'x-openstack-request-id': 'req-bd4aa65e-ed46-4989-920f-549ea8b709ac', 'date': 'Tue, 15 Jun 2021 14:29:35 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"f48f1104-8ed2-4a54-ac70-205e13c7450c","name":"tempest-AllowedAddressPairIpV6TestJSON-324500384","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:b0:7e:7b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::78"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:33Z","updated_at":"2021-06-15T14:29:33Z","revision_number":1}}' 2021-06-15 14:29:36,227 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 0.916s 2021-06-15 14:29:36,227 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::3a8", "mac_address": "fa:16:3e:7f:0a:22"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '821', 'x-openstack-request-id': 'req-39c1c7ad-a261-4152-ad60-7524aac83cf9', 'date': 'Tue, 15 Jun 2021 14:29:36 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'{"port":{"id":"f48f1104-8ed2-4a54-ac70-205e13c7450c","name":"tempest-AllowedAddressPairIpV6TestJSON-324500384","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:b0:7e:7b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::78"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::3a8","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:33Z","updated_at":"2021-06-15T14:29:35Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:37,875 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 1.638s 2021-06-15 14:29:37,875 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-04cb4535-299c-4fa4-b6ee-60e5d77b4ce7', 'date': 'Tue, 15 Jun 2021 14:29:37 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'' 2021-06-15 14:29:37,914 108622 INFO [tempest.lib.comm on.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c 0.038s 2021-06-15 14:29:37,915 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-a8f80c21-14aa-41e4-9f3b-b42e69a2cc7b', 'date': 'Tue, 15 Jun 2021 14:29:37 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/f48f1104-8ed2-4a54-ac70-205e13c7450c'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port f48f1104-8ed2-4a54-ac70-205e13c7450c could not be found.", "detail": ""}}' tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_cidr_address_pair[id-4d6d178f-34f6-4bff-a01c-0a2f8fe909e4] ------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 110, in test_update_port_with_cidr_address_pair self._update_port_with_address(str(self.cidr)) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::/48', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::/48', 'mac_address': 'fa:16:3e:7f:0a:22'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:40,117 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_cidr_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.201s 2021-06-15 14:29:40,118 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1685337717"}} Response - Headers: {'content-type': 'application/json', 'content-length': '745', 'x-openstack-request-id': 'req-97c115ce-85f3-4e99-bd35-1f4bae805a11', 'date': 'Tue, 15 Jun 2021 14:29:40 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"1bf4531e-3fda-4506-8e25-4952eee387e2","name":"tempest-AllowedAddressPairIpV6TestJSON-1685337717","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:d5:5a:71","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::2b2"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:38Z","updated_at":"2021-06-15T14:29:38Z","revision_number":1}}' 2021-06-15 14:29:41,193 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_cidr_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 1.075s 2021-06-15 14:29:41,194 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::/48", "mac_address": "fa:16:3e:7f:0a:22"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '823', 'x-openstack-request-id': 'req-e0c6ffde-aeda-4b37-ab9e-1ae563c73e39', 'date': 'Tue, 15 Jun 2021 14:29:41 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'{"port":{"id":"1bf4531e-3fda-4506-8e25-4952eee387e2","name":"tempest-AllowedAddressPairIpV6TestJSON-1685337717","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:d5:5a:71","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::2b2"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::/48","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:38Z","updated_at":"2021-06-15T14:29:40Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:42,645 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 1.450s 2021-06-15 14:29:42,645 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-709b8fab-b42a-437c-90f3-054947bfe420', 'date': 'Tue, 15 Jun 2021 14:29:42 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'' 2021-06-15 14:29:42,715 108622 INFO [t empest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2 0.069s 2021-06-15 14:29:42,725 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-11ba0302-e282-4889-947a-22f5f3cbd8c3', 'date': 'Tue, 15 Jun 2021 14:29:42 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1bf4531e-3fda-4506-8e25-4952eee387e2'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 1bf4531e-3fda-4506-8e25-4952eee387e2 could not be found.", "detail": ""}}' tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair[id-b3f20091-6cd5-472b-8487-3516137df933] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 129, in test_update_port_with_multiple_ip_mac_address_pair self._update_port_with_address( File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:3f:bd:2b', 'ip_address': '2001:db8::22', 'active': True} First has 1, Second has 0: {'mac_address': 'fa:16:3e:7f:0a:22', 'ip_address': '2001:db8::3a8', 'active': True} First has 0, Second has 1: {'ip_address': '2001:db8::3a8', 'mac_address': 'fa:16:3e:7f:0a:22'} First has 0, Second has 1: {'ip_address': '2001:db8::22', 'mac_address': 'fa:16:3e:3f:bd:2b'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:29:46,603 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 3.875s 2021-06-15 14:29:46,603 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1802251752"}} Response - Headers: {'content-type': 'application/json', 'content-length': '744', 'x-openstack-request-id': 'req-350d6e7e-136c-4b06-94b8-85b0c07c4b02', 'date': 'Tue, 15 Jun 2021 14:29:46 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"1adbb906-b0dc-4e4f-966a-77b2e903e9ad","name":"tempest-AllowedAddressPairIpV6TestJSON-1802251752","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:3f:bd:2b","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::22"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:43Z","updated_at":"2021-06-15T14:29:44Z","revision_number":1}}' 2021-06-15 14:29:49,246 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.642s 2021-06-15 14:29:49,247 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5b573661-b0ba-454e-a04d-f7a2a7c91a21", "name": "tempest-AllowedAddressPairIpV6TestJSON-1569843482"}} Response - Headers: {'content-type': 'application/json', 'content-length': '743', 'x-openstack-request-id': 'req-6fefecac-314a-4ee4-aaf7-151ab50a7ecd', 'date': 'Tue, 15 Jun 2021 14:29:49 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"23d57d4b-820a-4e02-94a0-02f4d79aff46","name":"tempest-AllowedAddressPairIpV6TestJSON-1569843482","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:46:7b:63","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::3"}],"project_id":"ea9a9de5b3b94da8b7a647113957726a","port_security_enabled":true,"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:29:47Z","updated_at":"2021-06-15T14:29:47Z","revision_number":1}}' 2021-06-15 14:29:50,854 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:test_update_port_with_multiple_ip_mac_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 1.606s 2021-06-15 14:29:50,854 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "2001:db8::3a8", "mac_address": "fa:16:3e:7f:0a:22"}, {"ip_address": "2001:db8::22", "mac_address": "fa:16:3e:3f:bd:2b"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '899', 'x-openstack-request-id': 'req-e1273508-182a-440d-aca6-3141abdcdc35', 'date': 'Tue, 15 Jun 2021 14:29:50 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http: //10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'{"port":{"id":"23d57d4b-820a-4e02-94a0-02f4d79aff46","name":"tempest-AllowedAddressPairIpV6TestJSON-1569843482","network_id":"5b573661-b0ba-454e-a04d-f7a2a7c91a21","tenant_id":"ea9a9de5b3b94da8b7a647113957726a","mac_address":"fa:16:3e:46:7b:63","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"1e7f0c49-ae7f-4044-8cf3-f1b26dafbf2c","ip_address":"2001:db8::3"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:3f:bd:2b","ip_address":"2001:db8::22","active":true},{"mac_address":"fa:16:3e:7f:0a:22","ip_address":"2001:db8::3a8","active":true}],"extra_dhcp_opts":[],"security_groups":["368f7f53-9743-4de0-a524-3694e8836d22"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:29:47Z","updated_at":"2021-06-15T14:29:50Z","revision_number":2,"project_id":"ea9a9de5b3b94da8b7a647113957726a"}}' 2021-06-15 14:29:52,170 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 1.315s 2021-06-15 14:29:52,171 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-f53d9c04-49dd-427a-9fd8-6403f8f51f20', 'date': 'Tue, 15 Jun 2021 14:29:52 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'' 2021-06-15 14:29:52,235 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46 0.062s 2021-06-15 14:29:52,235 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-e8af5d29-bb5b-4e1e-84a8-63284f6bde8c', 'date': 'Tue, 15 Jun 2021 14:29:52 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/23d57d4b-820a-4e02-94a0-02f4d79aff46'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 23d57d4b-820a-4e02-94a0-02f4d79aff46 could not be found.", "detail": ""}}' 2021-06-15 14:29:53,102 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad 0.865s 2021-06-15 14:29:53,102 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-3f0f5fbf-714c-419f-8257-89cd790de4ac', 'date': 'Tue, 15 Jun 2021 14:29:53 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad'} Body: b'' 2021-06-15 14:29:53,152 108622 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairIpV6TestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc-4e4f-966a-77b2e903e9ad 0.049s 2021-06-15 14:29:53,153 108622 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-cfe76344-0dbc-456b-b636-e8e3cc4679de', 'date': 'Tue, 15 Jun 2021 14:29:53 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/1adbb906-b0dc -4e4f-966a-77b2e903e9ad'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 1adbb906-b0dc-4e4f-966a-77b2e903e9ad could not be found.", "detail": ""}}' tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_address_pair[id-9599b337-272c-47fd-b3cf-509414414ac4] ---------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 105, in test_update_port_with_address_pair self._update_port_with_address(self.ip_address) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.5', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.5', 'mac_address': 'fa:16:3e:d1:04:c3'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:39,116 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.011s 2021-06-15 14:31:39,116 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-741142293"}} Response - Headers: {'content-type': 'application/json', 'content-length': '737', 'x-openstack-request-id': 'req-dcd31e53-fe6e-4cb4-b87b-bf5220eb4b6f', 'date': 'Tue, 15 Jun 2021 14:31:39 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"3180bb7f-c217-45be-82f6-1b240d139394","name":"tempest-AllowedAddressPairTestJSON-741142293","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:ea:b3:da","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.7"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:37Z","updated_at":"2021-06-15T14:31:37Z","revision_number":1}}' 2021-06-15 14:31:40,514 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 1.397s 2021-06-15 14:31:40,514 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.5", "mac_address": "fa:16:3e:d1:04:c3"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '812', 'x-openstack-request-id': 'req-e3355cb1-2a85-4ef4-99c7-006ef96f79cb', 'date': 'Tue, 15 Jun 2021 14:31:40 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'{"port":{"id":"3180bb7f-c217-45be-82f6-1b240d139394","name":"tempest-AllowedAddressPairTestJSON-741142293","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:ea:b3:da","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.7"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.5","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:37Z","updated_at":"2021-06-15T14:31:39Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:31:42,300 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 1.784s 2021-06-15 14:31:42,300 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-0de26d31-9fd1-4cd9-b3ea-47949bf9c0de', 'date': 'Tue, 15 Jun 2021 14:31:42 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'' 2021-06-15 14:31:42,357 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAd dressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394 0.056s 2021-06-15 14:31:42,357 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-798dc945-682b-4691-a6f8-105a736d1584', 'date': 'Tue, 15 Jun 2021 14:31:42 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/3180bb7f-c217-45be-82f6-1b240d139394'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 3180bb7f-c217-45be-82f6-1b240d139394 could not be found.", "detail": ""}}' tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_cidr_address_pair[id-4d6d178f-34f6-4bff-a01c-0a2f8fe909e4] --------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 110, in test_update_port_with_cidr_address_pair self._update_port_with_address(str(self.cidr)) File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.0/16', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.0/16', 'mac_address': 'fa:16:3e:d1:04:c3'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:47,404 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_cidr_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 5.044s 2021-06-15 14:31:47,404 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-1639415146"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-e9379bd5-308e-4925-a7d7-60f1666b9fb8', 'date': 'Tue, 15 Jun 2021 14:31:47 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"bdbaefdc-4499-422d-99b5-e53395c208a2","name":"tempest-AllowedAddressPairTestJSON-1639415146","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:03:be:db","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.3"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:43Z","updated_at":"2021-06-15T14:31:43Z","revision_number":1}}' 2021-06-15 14:31:50,132 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_cidr_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 2.727s 2021-06-15 14:31:50,132 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.0/16", "mac_address": "fa:16:3e:d1:04:c3"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '816', 'x-openstack-request-id': 'req-3992571d-6f6d-4e65-8ec5-635b37490818', 'date': 'Tue, 15 Jun 2021 14:31:50 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'{"port":{"id":"bdbaefdc-4499-422d-99b5-e53395c208a2","name":"tempest-AllowedAddressPairTestJSON-1639415146","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:03:be:db","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.3"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.0/16","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:43Z","updated_at":"2021-06-15T14:31:49Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:31:53,037 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 2.903s 2021-06-15 14:31:53,037 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-05379b25-b320-4457-bfe5-b443369f3fa4', 'date': 'Tue, 15 Jun 2021 14:31:53 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'' 2021-06-15 14:31:53,101 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2 0.057s 2021-06-15 14:31:53,101 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-2ac6ef37-d2ee-4a5f-9c09-ea33d4c54719', 'date': 'Tue, 15 Jun 2021 14:31:53 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/bdbaefdc-4499-422d-99b5-e53395c208a2'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port bdbaefdc-4499-422d-99b5-e53395c208a2 could not be found.", "detail": ""}}' tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_multiple_ip_mac_address_pair[id-b3f20091-6cd5-472b-8487-3516137df933] -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 129, in test_update_port_with_multiple_ip_mac_address_pair self._update_port_with_address( File "/opt/stack/tempest/tempest/api/network/test_allowed_address_pair.py", line 100, in _update_port_with_address self.assertCountEqual(allowed_address_pair, allowed_address_pairs) File "/usr/lib/python3.8/unittest/case.py", line 1272, in assertCountEqual self.fail(msg) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Element counts were not equal: First has 1, Second has 0: {'mac_address': 'fa:16:3e:d1:04:c3', 'ip_address': '172.20.0.5', 'active': True} First has 1, Second has 0: {'mac_address': 'fa:16:3e:db:ce:16', 'ip_address': '172.20.0.9', 'active': True} First has 0, Second has 1: {'ip_address': '172.20.0.5', 'mac_address': 'fa:16:3e:d1:04:c3'} First has 0, Second has 1: {'ip_address': '172.20.0.9', 'mac_address': 'fa:16:3e:db:ce:16'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-06-15 14:31:55,923 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.820s 2021-06-15 14:31:55,924 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-1424064661"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-9be18bee-8a9a-426d-bbe5-f0514dfaeb3a', 'date': 'Tue, 15 Jun 2021 14:31:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"d2a6e98a-4660-4814-9ebc-175c32da7a87","name":"tempest-AllowedAddressPairTestJSON-1424064661","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:db:ce:16","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.9"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:54Z","updated_at":"2021-06-15T14:31:54Z","revision_number":1}}' 2021-06-15 14:31:58,118 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 201 POST http://10.222.0.50:9696/v2.0/ports 2.194s 2021-06-15 14:31:58,119 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"network_id": "5571c6b4-1fa1-4348-b8b9-a1f71d853a54", "name": "tempest-AllowedAddressPairTestJSON-105320433"}} Response - Headers: {'content-type': 'application/json', 'content-length': '738', 'x-openstack-request-id': 'req-2461e246-26d6-42e9-92a2-d9dbf79bf850', 'date': 'Tue, 15 Jun 2021 14:31:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.50:9696/v2.0/ports'} Body: b'{"port":{"id":"2cbbbfdb-051a-4d22-81af-05e3b6245210","name":"tempest-AllowedAddressPairTestJSON-105320433","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:43:a0:8d","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.13"}],"project_id":"c79faa7446064245ba45372b889e0662","port_security_enabled":true,"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","tags":[],"created_at":"2021-06-15T14:31:57Z","updated_at":"2021-06-15T14:31:57Z","revision_number":1}}' 2021-06-15 14:31:59,139 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:test_update_port_with_multiple_ip_mac_address_pair): 200 PUT http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 1.020s 2021-06-15 14:31:59,140 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"port": {"allowed_address_pairs": [{"ip_address": "172.20.0.5", "mac_address": "fa:16:3e:d1:04:c3"}, {"ip_address": "172.20.0.9", "mac_address": "fa:16:3e:db:ce:16"}]}} Response - Headers: {'content-type': 'application/json', 'content-length': '889', 'x-openstack-request-id': 'req-2cc7c758-35c6-4a65-b1dd-70512334976d', 'date': 'Tue, 15 Jun 2021 14:31:59 GMT', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfd b-051a-4d22-81af-05e3b6245210'} Body: b'{"port":{"id":"2cbbbfdb-051a-4d22-81af-05e3b6245210","name":"tempest-AllowedAddressPairTestJSON-105320433","network_id":"5571c6b4-1fa1-4348-b8b9-a1f71d853a54","tenant_id":"c79faa7446064245ba45372b889e0662","mac_address":"fa:16:3e:43:a0:8d","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"21abccb6-cf44-41bf-8042-3a41e4e298da","ip_address":"172.20.0.13"}],"allowed_address_pairs":[{"mac_address":"fa:16:3e:d1:04:c3","ip_address":"172.20.0.5","active":true},{"mac_address":"fa:16:3e:db:ce:16","ip_address":"172.20.0.9","active":true}],"extra_dhcp_opts":[],"security_groups":["03f6deaa-8047-4aaf-809e-fd0e0868f8e6"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"tags":[],"created_at":"2021-06-15T14:31:57Z","updated_at":"2021-06-15T14:31:58Z","revision_number":2,"project_id":"c79faa7446064245ba45372b889e0662"}}' 2021-06-15 14:32:01,537 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 2.396s 2021-06-15 14:32:01,537 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-96fb0363-4d85-4bb0-bd84-64aee6ae46eb', 'date': 'Tue, 15 Jun 2021 14:32:01 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210'} Body: b'' 2021-06-15 14:32:01,639 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210 0.102s 2021-06-15 14:32:01,640 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-6e0355ef-d4f8-49d7-9c3b-4bd861bbe670', 'date': 'Tue, 15 Jun 2021 14:32:01 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/2cbbbfdb-051a-4d22-81af-05e3b6245210'} Body: b'{"NeutronError": {"type": "PortNotFound", "message": "Port 2cbbbfdb-051a-4d22-81af-05e3b6245210 could not be found.", "detail": ""}}' 2021-06-15 14:32:02,759 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 204 DELETE http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87 1.119s 2021-06-15 14:32:02,760 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-b5dcaf8c-de59-4469-923e-769697059f7d', 'date': 'Tue, 15 Jun 2021 14:32:02 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87'} Body: b'' 2021-06-15 14:32:02,808 108636 INFO [tempest.lib.common.rest_client] Request (AllowedAddressPairTestJSON:_run_cleanups): 404 GET http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87 0.048s 2021-06-15 14:32:02,809 108636 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '132', 'x-openstack-request-id': 'req-8a21041f-8411-4f14-8b03-ada7450a65e9', 'date': 'Tue, 15 Jun 2021 14:32:02 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.50:9696/v2.0/ports/d2a6e98a-4660-4814-9ebc-175c32da7a87'} Body: b'{"NeutronError": {"ty pe": "PortNotFound", "message": "Port d2a6e98a-4660-4814-9ebc-175c32da7a87 could not be found.", "detail": ""}}' ====== Totals ====== Ran: 282 tests in 1353.5158 sec. - Passed: 271 - Skipped: 5 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 6 Sum of execute time for each test: 4062.8404 sec. ============== Worker Balance ============== - Worker 0 (50 tests) => 0:08:41.911714 - Worker 1 (31 tests) => 0:08:53.718021 - Worker 2 (36 tests) => 0:09:07.002776 - Worker 3 (36 tests) => 0:06:44.658383 - Worker 4 (29 tests) => 0:03:56.549039 - Worker 5 (34 tests) => 0:15:45.910329 - Worker 6 (30 tests) => 0:20:47.738745 - Worker 7 (36 tests) => 0:05:33.826717 {0} tempest.api.compute.admin.test_servers_negative.ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_ram [0.574898s] ... ok {0} tempest.api.compute.admin.test_servers_negative.ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_vcpus [0.707101s] ... ok {0} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_verify_resize_state [57.915475s] ... ok {0} tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_resize_server_from_auto_to_manual [58.304775s] ... ok {0} tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_resize_server_from_manual_to_auto [53.125958s] ... ok {0} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm [29.588176s] ... ok {0} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm_from_stopped [87.120959s] ... ok {0} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert [85.741832s] ... ok {0} tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert_with_volume_attached [143.473211s] ... ok {0} tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_nonexistent_server [0.476555s] ... ok {0} tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_non_existent_flavor [0.546094s] ... ok {0} tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_null_flavor [0.459413s] ... ok {0} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_all_attributes [4.010288s] ... ok {0} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_allocation_pools [3.581691s] ... ok {0} tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_default_gw [1.472437s] ... ok {0} tempest.api.network.test_networks.NetworksIpV6Test.test_delete_network_with_subnet [3.756838s] ... ok {0} tempest.api.network.test_routers_negative.RoutersNegativeTest.test_router_add_gateway_net_not_external_returns_400 [1.830152s] ... ok {0} tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_cryptsetup [41.000081s] ... ok {0} tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_luks [42.963994s] ... ok {0} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [137.230133s] ... ok {0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_pause_unpause [74.332622s] ... ok {0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_reboot [121.620523s] ... ok {0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_resize [116.231776s] ... ok {0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_stop_start [124.647861s] ... ok {0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_suspend_resume [75.866543s] ... ok {0} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_instance [270.343779s] ... ok {0} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [346.244258s] ... ok {0} tempest.scenario.test_snapshot_pattern.TestSnapshotPattern.test_snapshot_pattern [298.991472s] ... ok ====== Totals ====== Ran: 28 tests in 2440.6482 sec. - Passed: 28 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 2182.1589 sec. ============== Worker Balance ============== - Worker 0 (28 tests) => 0:40:40.648173 tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_address_pair[id-9599b337-272c-47fd-b3cf-509414414ac4] tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_cidr_address_pair[id-4d6d178f-34f6-4bff-a01c-0a2f8fe909e4] tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair[id-b3f20091-6cd5-472b-8487-3516137df933] tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_address_pair[id-9599b337-272c-47fd-b3cf-509414414ac4] tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_cidr_address_pair[id-4d6d178f-34f6-4bff-a01c-0a2f8fe909e4] tempest.api.network.test_allowed_address_pair.AllowedAddressPairTestJSON.test_update_port_with_multiple_ip_mac_address_pair[id-b3f20091-6cd5-472b-8487-3516137df933] ~ Exit code: 1