2026-04-27 02:29:23,848 - INFO - Domain Default found not creating
2026-04-27 02:29:24,042 - INFO - Project ctest-TestPorts-60307987 not found, creating it
2026-04-27 02:29:24,548 - INFO - Created Project:ctest-TestPorts-60307987, ID : d701e746-38dd-4584-9a83-0baea0c1259a
2026-04-27 02:29:26,145 - INFO - ================================================================================
2026-04-27 02:29:26,145 - INFO - STARTING TEST : test_ports_bindings
2026-04-27 02:29:26,145 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2026-04-27 02:29:26,404 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-27 02:29:26,404 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:29:26,404 - INFO -
2026-04-27 02:29:26,984 - DEBUG - Response for create_network : {'network': {'id': 'af4b3333-b702-4571-bbe9-6df9bb8c3892', 'name': 'ctest-vn-84361770', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'project_id': 'd701e74638dd45849a830baea0c1259a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60307987', 'ctest-vn-84361770'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:29:27,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '84d5e26f-e601-4194-97a9-8de49e32ec12', 'name': '', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': 'af4b3333-b702-4571-bbe9-6df9bb8c3892', 'ip_version': 4, 'cidr': '147.10.158.128/26', 'allocation_pools': [{'start': '147.10.158.130', 'end': '147.10.158.190'}], 'gateway_ip': '147.10.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.10.158.130', 'tags': [], 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:27,206 - INFO - Created VN ctest-vn-84361770
2026-04-27 02:29:27,263 - DEBUG - VN ctest-vn-84361770 UUID is af4b3333-b702-4571-bbe9-6df9bb8c3892
2026-04-27 02:29:27,375 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60307987', 'ctest-vmi-96605552']}
2026-04-27 02:29:27,636 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96605552', 'id': 'a14fb40b-015d-4fa5-9305-d39b39becb4f', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': 'af4b3333-b702-4571-bbe9-6df9bb8c3892', 'mac_address': '02:a1:4f:b4:0b:01', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '147.10.158.131', 'subnet_id': '84d5e26f-e601-4194-97a9-8de49e32ec12'}], 'security_groups': ['0a79c8ca-6063-4870-aeb3-811c4a02ba78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:27,636 - DEBUG - Created port a14fb40b-015d-4fa5-9305-d39b39becb4f
2026-04-27 02:29:27,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a14fb40b-015d-4fa5-9305-d39b39becb4f
2026-04-27 02:29:28,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a14fb40b-015d-4fa5-9305-d39b39becb4f
2026-04-27 02:29:28,102 - INFO - VMI a14fb40b-015d-4fa5-9305-d39b39becb4f verification in API Server passed
2026-04-27 02:29:28,206 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:28,206 - INFO - Deleted port a14fb40b-015d-4fa5-9305-d39b39becb4f
2026-04-27 02:29:28,206 - INFO - Deleting VN ctest-vn-84361770
2026-04-27 02:29:28,345 - DEBUG - Response for deleting network ()
2026-04-27 02:29:28,605 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:29:28,605 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-27 02:29:28,605 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:29:28,607 - INFO - ================================================================================
2026-04-27 02:29:28,607 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-27 02:29:28,607 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2026-04-27 02:29:28,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-27 02:29:28,906 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:29:28,906 - INFO -
2026-04-27 02:29:29,091 - DEBUG - Response for create_network : {'network': {'id': '2c12bc2a-faf9-48c7-9a33-b019b63dc9e0', 'name': 'ctest-vn1-28292780', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'project_id': 'd701e74638dd45849a830baea0c1259a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60307987', 'ctest-vn1-28292780'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:29:29,254 - DEBUG - Response for create_subnet : {'subnet': {'id': '5816f22a-8a41-4176-af40-9aad71832d7e', 'name': '', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': '2c12bc2a-faf9-48c7-9a33-b019b63dc9e0', 'ip_version': 4, 'cidr': '5.63.250.0/26', 'allocation_pools': [{'start': '5.63.250.2', 'end': '5.63.250.62'}], 'gateway_ip': '5.63.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.63.250.2', 'tags': [], 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:29,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '283acd51-da04-499a-8709-37ff7b04daeb', 'name': '', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': '2c12bc2a-faf9-48c7-9a33-b019b63dc9e0', 'ip_version': 4, 'cidr': '157.202.249.192/26', 'allocation_pools': [{'start': '157.202.249.194', 'end': '157.202.249.254'}], 'gateway_ip': '157.202.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.202.249.194', 'tags': [], 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:29,466 - INFO - Created VN ctest-vn1-28292780
2026-04-27 02:29:29,519 - DEBUG - VN ctest-vn1-28292780 UUID is 2c12bc2a-faf9-48c7-9a33-b019b63dc9e0
2026-04-27 02:29:29,840 - DEBUG - Response for create_port : {'port': {'name': 'befa056d-13c7-41fa-97fe-3f152d5848f8', 'id': 'befa056d-13c7-41fa-97fe-3f152d5848f8', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': '2c12bc2a-faf9-48c7-9a33-b019b63dc9e0', 'mac_address': '02:be:fa:05:6d:13', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '5.63.250.5', 'subnet_id': '5816f22a-8a41-4176-af40-9aad71832d7e'}], 'security_groups': ['0a79c8ca-6063-4870-aeb3-811c4a02ba78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:30,019 - DEBUG - Response for create_port : {'port': {'name': '7f703231-f126-4e63-932d-4b0023ac461b', 'id': '7f703231-f126-4e63-932d-4b0023ac461b', 'tenant_id': 'd701e74638dd45849a830baea0c1259a', 'network_id': '2c12bc2a-faf9-48c7-9a33-b019b63dc9e0', 'mac_address': '02:7f:70:32:31:f1', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '157.202.249.197', 'subnet_id': '283acd51-da04-499a-8709-37ff7b04daeb'}], 'security_groups': ['0a79c8ca-6063-4870-aeb3-811c4a02ba78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd701e74638dd45849a830baea0c1259a'}}
2026-04-27 02:29:30,083 - DEBUG - Services list from nova: [, , ]
2026-04-27 02:29:30,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5687-1)
2026-04-27 02:29:30,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5687-1)
2026-04-27 02:29:30,944 - INFO - Waiting for VM ctest-vn1-vm1-28661876 to be up..
2026-04-27 02:29:30,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 02:29:36,069 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:29:36,070 - INFO - VM name : ctest-vn1-vm1-28661876
2026-04-27 02:29:36,158 - DEBUG - VM ctest-vn1-vm1-28661876 ID is 38d79740-3100-408c-a4b7-45d8ddc2836b
2026-04-27 02:29:36,178 - DEBUG - VM ctest-vn1-vm1-28661876 launched on Node cn-jenkins-deploy-platform-ansible-os-5687-1
2026-04-27 02:29:36,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38d79740-3100-408c-a4b7-45d8ddc2836b
2026-04-27 02:29:36,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/befa056d-13c7-41fa-97fe-3f152d5848f8
2026-04-27 02:29:39,546 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2026-04-27 02:29:39,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28661876 failed!
2026-04-27 02:29:39,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60307987:ctest-vn1-28292780 is 5.63.250.1 and allocation pool is NOT set
2026-04-27 02:29:39,604 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60307987:ctest-vn1-28292780 is 157.202.249.193 and allocation pool is NOT set
2026-04-27 02:29:43,660 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.947/5.947/5.947/0.000 ms')
2026-04-27 02:29:43,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28661876 passed
2026-04-27 02:29:43,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:43,816 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28661876, IP 5.63.250.5, Port 22
2026-04-27 02:29:43,979 - DEBUG - VM ctest-vn1-vm1-28661876 is ready for SSH connections
2026-04-27 02:29:43,983 - INFO - Waiting for VM ctest-vn1-vm2-74859187 to be up..
2026-04-27 02:29:44,062 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:29:44,062 - INFO - VM name : ctest-vn1-vm2-74859187
2026-04-27 02:29:44,137 - DEBUG - VM ctest-vn1-vm2-74859187 ID is ddca13a0-f665-42dc-8f7b-0fe7f16d32db
2026-04-27 02:29:44,137 - DEBUG - VM ctest-vn1-vm2-74859187 launched on Node cn-jenkins-deploy-platform-ansible-os-5687-1
2026-04-27 02:29:44,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddca13a0-f665-42dc-8f7b-0fe7f16d32db
2026-04-27 02:29:44,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f703231-f126-4e63-932d-4b0023ac461b
2026-04-27 02:29:45,482 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.488/2.846/5.204/2.358 ms')
2026-04-27 02:29:45,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74859187 passed
2026-04-27 02:29:45,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:45,639 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74859187, IP 157.202.249.197, Port 22
2026-04-27 02:29:45,803 - DEBUG - VM ctest-vn1-vm2-74859187 is ready for SSH connections
2026-04-27 02:29:45,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:45,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:45,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:45,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.63.250.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-27 02:29:45,803 - DEBUG - ping -s 56 -c 3 -W 1 5.63.250.5
2026-04-27 02:29:48,498 - DEBUG - PING 5.63.250.5 (5.63.250.5): 56 data bytes
64 bytes from 5.63.250.5: seq=0 ttl=63 time=5.058 ms
64 bytes from 5.63.250.5: seq=1 ttl=63 time=0.855 ms
64 bytes from 5.63.250.5: seq=2 ttl=63 time=1.546 ms
--- 5.63.250.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.855/2.486/5.058 ms
2026-04-27 02:29:48,498 - INFO - Ping to IP 5.63.250.5 from VM ctest-vn1-vm2-74859187 passed
2026-04-27 02:29:48,498 - INFO - Detaching port 7f703231-f126-4e63-932d-4b0023ac461b from VM ctest-vn1-vm2-74859187
2026-04-27 02:29:48,557 - INFO - Deleting VM ctest-vn1-vm2-74859187
2026-04-27 02:29:48,624 - INFO - Detaching port befa056d-13c7-41fa-97fe-3f152d5848f8 from VM ctest-vn1-vm1-28661876
2026-04-27 02:29:48,665 - INFO - Deleting VM ctest-vn1-vm1-28661876
2026-04-27 02:29:48,911 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:49,085 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:49,085 - INFO - Deleting VN ctest-vn1-28292780
2026-04-27 02:29:49,239 - DEBUG - Response for deleting network ()
2026-04-27 02:29:49,513 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:29:49,513 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-27 02:29:49,513 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:29:50,290 - INFO - Deleted project: ctest-TestPorts-60307987, ID : d701e746-38dd-4584-9a83-0baea0c1259a