2026-04-28 12:49:36,838 - INFO - Domain Default found not creating
2026-04-28 12:49:37,067 - INFO - Project ctest-TestPorts-40603721 not found, creating it
2026-04-28 12:49:37,573 - INFO - Created Project:ctest-TestPorts-40603721, ID : 6cfffb85-dc0c-481d-97fa-a9ea0b660e80
2026-04-28 12:49:39,418 - INFO - ================================================================================
2026-04-28 12:49:39,419 - INFO - STARTING TEST : test_ports_bindings
2026-04-28 12:49:39,419 - 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-28 12:49:39,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-28 12:49:39,693 - INFO - Initial checks done. Running the testcase now
2026-04-28 12:49:39,693 - INFO -
2026-04-28 12:49:40,359 - DEBUG - Response for create_network : {'network': {'id': '096f5ed3-7fb4-41cf-839b-744f28e82b10', 'name': 'ctest-vn-11796947', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40603721', 'ctest-vn-11796947'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 12:49:40,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb68f860-97f8-42a1-aa3c-b8f71fcde2d4', 'name': '', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '096f5ed3-7fb4-41cf-839b-744f28e82b10', 'ip_version': 4, 'cidr': '98.196.152.128/26', 'allocation_pools': [{'start': '98.196.152.130', 'end': '98.196.152.190'}], 'gateway_ip': '98.196.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.196.152.130', 'tags': [], 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:40,560 - INFO - Created VN ctest-vn-11796947
2026-04-28 12:49:40,613 - DEBUG - VN ctest-vn-11796947 UUID is 096f5ed3-7fb4-41cf-839b-744f28e82b10
2026-04-28 12:49:40,735 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40603721', 'ctest-vmi-87217733']}
2026-04-28 12:49:40,997 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87217733', 'id': 'd5cb0173-b672-440f-83af-cf97ce4eaba1', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '096f5ed3-7fb4-41cf-839b-744f28e82b10', 'mac_address': '02:d5:cb:01:73:b6', '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': '98.196.152.131', 'subnet_id': 'bb68f860-97f8-42a1-aa3c-b8f71fcde2d4'}], 'security_groups': ['403d3029-697b-439b-93d1-c9f513ea502a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:40,998 - DEBUG - Created port d5cb0173-b672-440f-83af-cf97ce4eaba1
2026-04-28 12:49:41,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5cb0173-b672-440f-83af-cf97ce4eaba1
2026-04-28 12:49:41,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5cb0173-b672-440f-83af-cf97ce4eaba1
2026-04-28 12:49:41,497 - INFO - VMI d5cb0173-b672-440f-83af-cf97ce4eaba1 verification in API Server passed
2026-04-28 12:49:41,611 - DEBUG - Response for delete_port : ()
2026-04-28 12:49:41,611 - INFO - Deleted port d5cb0173-b672-440f-83af-cf97ce4eaba1
2026-04-28 12:49:41,612 - INFO - Deleting VN ctest-vn-11796947
2026-04-28 12:49:41,744 - DEBUG - Response for deleting network ()
2026-04-28 12:49:42,013 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 12:49:42,013 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-28 12:49:42,014 - INFO - --------------------------------------------------------------------------------
2026-04-28 12:49:42,017 - INFO - ================================================================================
2026-04-28 12:49:42,017 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-28 12:49:42,017 - 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-28 12:49:42,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-28 12:49:42,299 - INFO - Initial checks done. Running the testcase now
2026-04-28 12:49:42,299 - INFO -
2026-04-28 12:49:42,504 - DEBUG - Response for create_network : {'network': {'id': '1a0550fe-d332-41cf-a290-30bba61dc38b', 'name': 'ctest-vn1-06036593', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40603721', 'ctest-vn1-06036593'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 12:49:42,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7d39081-8c20-446f-9226-bc4e58975ade', 'name': '', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '1a0550fe-d332-41cf-a290-30bba61dc38b', 'ip_version': 4, 'cidr': '38.21.74.192/26', 'allocation_pools': [{'start': '38.21.74.194', 'end': '38.21.74.254'}], 'gateway_ip': '38.21.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.21.74.194', 'tags': [], 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:42,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '491ccfa4-ce31-42dd-ba78-2f563cff763a', 'name': '', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '1a0550fe-d332-41cf-a290-30bba61dc38b', 'ip_version': 4, 'cidr': '147.69.180.192/26', 'allocation_pools': [{'start': '147.69.180.194', 'end': '147.69.180.254'}], 'gateway_ip': '147.69.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.69.180.194', 'tags': [], 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:42,916 - INFO - Created VN ctest-vn1-06036593
2026-04-28 12:49:42,969 - DEBUG - VN ctest-vn1-06036593 UUID is 1a0550fe-d332-41cf-a290-30bba61dc38b
2026-04-28 12:49:43,319 - DEBUG - Response for create_port : {'port': {'name': 'a1d807ce-1f37-47d9-b82e-57a0f9f95533', 'id': 'a1d807ce-1f37-47d9-b82e-57a0f9f95533', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '1a0550fe-d332-41cf-a290-30bba61dc38b', 'mac_address': '02:a1:d8:07:ce:1f', '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': '38.21.74.197', 'subnet_id': 'e7d39081-8c20-446f-9226-bc4e58975ade'}], 'security_groups': ['403d3029-697b-439b-93d1-c9f513ea502a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:43,520 - DEBUG - Response for create_port : {'port': {'name': 'd4559ef5-e8ef-4b82-89d9-f06c5e19efc2', 'id': 'd4559ef5-e8ef-4b82-89d9-f06c5e19efc2', 'tenant_id': '6cfffb85dc0c481d97faa9ea0b660e80', 'network_id': '1a0550fe-d332-41cf-a290-30bba61dc38b', 'mac_address': '02:d4:55:9e:f5:e8', '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.69.180.197', 'subnet_id': '491ccfa4-ce31-42dd-ba78-2f563cff763a'}], 'security_groups': ['403d3029-697b-439b-93d1-c9f513ea502a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cfffb85dc0c481d97faa9ea0b660e80'}}
2026-04-28 12:49:43,594 - DEBUG - Services list from nova: [, , ]
2026-04-28 12:49:44,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1)
2026-04-28 12:49:44,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1)
2026-04-28 12:49:44,529 - INFO - Waiting for VM ctest-vn1-vm1-74289068 to be up..
2026-04-28 12:49:44,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-28 12:49:49,661 - DEBUG - VM is in ACTIVE state now
2026-04-28 12:49:49,661 - INFO - VM name : ctest-vn1-vm1-74289068
2026-04-28 12:49:49,751 - DEBUG - VM ctest-vn1-vm1-74289068 ID is 255a549a-696f-4de5-975d-167130df5143
2026-04-28 12:49:49,777 - DEBUG - VM ctest-vn1-vm1-74289068 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1
2026-04-28 12:49:49,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/255a549a-696f-4de5-975d-167130df5143
2026-04-28 12:49:49,888 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a1d807ce-1f37-47d9-b82e-57a0f9f95533
2026-04-28 12:49:53,154 - 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 1017ms')
2026-04-28 12:49:53,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74289068 failed!
2026-04-28 12:49:53,213 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40603721:ctest-vn1-06036593 is 38.21.74.193 and allocation pool is NOT set
2026-04-28 12:49:53,213 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40603721:ctest-vn1-06036593 is 147.69.180.193 and allocation pool is NOT set
2026-04-28 12:49:57,287 - 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 1009ms')
2026-04-28 12:49:57,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74289068 failed!
2026-04-28 12:49:57,341 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40603721:ctest-vn1-06036593 is 38.21.74.193 and allocation pool is NOT set
2026-04-28 12:49:57,341 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40603721:ctest-vn1-06036593 is 147.69.180.193 and allocation pool is NOT set
2026-04-28 12:49:59,400 - 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=1 ttl=63 time=7.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.564 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.564/4.127/7.690/3.563 ms')
2026-04-28 12:49:59,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74289068 passed
2026-04-28 12:49:59,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 12:49:59,557 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74289068, IP 38.21.74.197, Port 22
2026-04-28 12:49:59,731 - DEBUG - VM ctest-vn1-vm1-74289068 is ready for SSH connections
2026-04-28 12:49:59,731 - INFO - Waiting for VM ctest-vn1-vm2-61822296 to be up..
2026-04-28 12:49:59,840 - DEBUG - VM is in ACTIVE state now
2026-04-28 12:49:59,841 - INFO - VM name : ctest-vn1-vm2-61822296
2026-04-28 12:49:59,933 - DEBUG - VM ctest-vn1-vm2-61822296 ID is 3a9078c0-5f17-4ca9-9388-df65bb70ff95
2026-04-28 12:49:59,933 - DEBUG - VM ctest-vn1-vm2-61822296 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1
2026-04-28 12:50:00,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a9078c0-5f17-4ca9-9388-df65bb70ff95
2026-04-28 12:50:00,037 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d4559ef5-e8ef-4b82-89d9-f06c5e19efc2
2026-04-28 12:50:01,297 - 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=3.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 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.611/1.985/3.360/1.374 ms')
2026-04-28 12:50:01,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61822296 passed
2026-04-28 12:50:01,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 12:50:01,453 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61822296, IP 147.69.180.197, Port 22
2026-04-28 12:50:01,619 - DEBUG - VM ctest-vn1-vm2-61822296 is ready for SSH connections
2026-04-28 12:50:01,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 12:50:01,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 12:50:01,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 12:50:01,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.21.74.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-28 12:50:01,620 - DEBUG - ping -s 56 -c 3 -W 1 38.21.74.197
2026-04-28 12:50:04,413 - DEBUG - PING 38.21.74.197 (38.21.74.197): 56 data bytes
64 bytes from 38.21.74.197: seq=0 ttl=63 time=4.066 ms
64 bytes from 38.21.74.197: seq=1 ttl=63 time=1.272 ms
64 bytes from 38.21.74.197: seq=2 ttl=63 time=0.888 ms
--- 38.21.74.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.888/2.075/4.066 ms
2026-04-28 12:50:04,413 - INFO - Ping to IP 38.21.74.197 from VM ctest-vn1-vm2-61822296 passed
2026-04-28 12:50:04,413 - INFO - Detaching port d4559ef5-e8ef-4b82-89d9-f06c5e19efc2 from VM ctest-vn1-vm2-61822296
2026-04-28 12:50:04,475 - INFO - Deleting VM ctest-vn1-vm2-61822296
2026-04-28 12:50:04,561 - INFO - Detaching port a1d807ce-1f37-47d9-b82e-57a0f9f95533 from VM ctest-vn1-vm1-74289068
2026-04-28 12:50:04,603 - INFO - Deleting VM ctest-vn1-vm1-74289068
2026-04-28 12:50:04,907 - DEBUG - Response for delete_port : ()
2026-04-28 12:50:05,152 - DEBUG - Response for delete_port : ()
2026-04-28 12:50:05,153 - INFO - Deleting VN ctest-vn1-06036593
2026-04-28 12:50:05,323 - DEBUG - Response for deleting network ()
2026-04-28 12:50:05,596 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 12:50:05,596 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-28 12:50:05,596 - INFO - --------------------------------------------------------------------------------
2026-04-28 12:50:06,470 - INFO - Deleted project: ctest-TestPorts-40603721, ID : 6cfffb85-dc0c-481d-97fa-a9ea0b660e80