2026-02-05 01:51:55,052 - INFO - Reading existing Domain with UUID 70bce805-d50c-4da5-abf7-4b11fc3802fd
2026-02-05 01:51:55,064 - INFO - Using existing domain ['admin_domain'](70bce805-d50c-4da5-abf7-4b11fc3802fd)
2026-02-05 01:51:55,304 - INFO - Project ctest-TestPorts-53508591 not found, creating it
2026-02-05 01:51:55,826 - INFO - Created Project:ctest-TestPorts-53508591, ID : 91c6df85-a5ab-42c9-9a7c-72a927fc5699
2026-02-05 01:51:57,735 - INFO - ================================================================================
2026-02-05 01:51:57,735 - INFO - STARTING TEST : test_ports_bindings
2026-02-05 01:51:57,736 - 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-02-05 01:51:58,132 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-02-05 01:51:58,132 - INFO - Initial checks done. Running the testcase now
2026-02-05 01:51:58,132 - INFO -
2026-02-05 01:51:58,879 - DEBUG - Response for create_network : {'network': {'id': 'b478d2d2-aa48-4e5e-846a-86271927b61a', 'name': 'ctest-vn-10795315', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'project_id': '91c6df85a5ab42c99a7c72a927fc5699', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-53508591', 'ctest-vn-10795315'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-05 01:51:59,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0635cfe-49bb-48d4-8261-c08393b8dd13', 'name': '', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': 'b478d2d2-aa48-4e5e-846a-86271927b61a', 'ip_version': 4, 'cidr': '39.231.198.128/26', 'allocation_pools': [{'start': '39.231.198.130', 'end': '39.231.198.190'}], 'gateway_ip': '39.231.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-05T01:51:59.019623', 'updated_at': '2026-02-05T01:51:59.019623', 'dns_server_address': '39.231.198.130', 'tags': [], 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:51:59,184 - INFO - Created VN ctest-vn-10795315
2026-02-05 01:51:59,238 - DEBUG - VN ctest-vn-10795315 UUID is b478d2d2-aa48-4e5e-846a-86271927b61a
2026-02-05 01:51:59,449 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-53508591', 'ctest-vmi-23663075']}
2026-02-05 01:51:59,764 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23663075', 'id': '3a05e516-29ae-49c1-aa63-4069cd28f3e6', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': 'b478d2d2-aa48-4e5e-846a-86271927b61a', 'mac_address': '02:3a:05:e5:16:29', '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': '39.231.198.131', 'subnet_id': 'b0635cfe-49bb-48d4-8261-c08393b8dd13'}], 'security_groups': ['936d20a9-06bd-4ae1-a531-3745bcb28f0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-05T01:51:59.569719', 'updated_at': '2026-02-05T01:51:59.632412', 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:51:59,764 - DEBUG - Created port 3a05e516-29ae-49c1-aa63-4069cd28f3e6
2026-02-05 01:51:59,874 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/3a05e516-29ae-49c1-aa63-4069cd28f3e6
2026-02-05 01:52:00,227 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/3a05e516-29ae-49c1-aa63-4069cd28f3e6
2026-02-05 01:52:00,316 - INFO - VMI 3a05e516-29ae-49c1-aa63-4069cd28f3e6 verification in API Server passed
2026-02-05 01:52:00,493 - DEBUG - Response for delete_port : ()
2026-02-05 01:52:00,493 - INFO - Deleted port 3a05e516-29ae-49c1-aa63-4069cd28f3e6
2026-02-05 01:52:00,494 - INFO - Deleting VN ctest-vn-10795315
2026-02-05 01:52:00,687 - DEBUG - Response for deleting network ()
2026-02-05 01:52:01,111 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 01:52:01,111 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-02-05 01:52:01,111 - INFO - --------------------------------------------------------------------------------
2026-02-05 01:52:01,113 - INFO - ================================================================================
2026-02-05 01:52:01,114 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-05 01:52:01,114 - 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-02-05 01:52:01,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-02-05 01:52:01,548 - INFO - Initial checks done. Running the testcase now
2026-02-05 01:52:01,548 - INFO -
2026-02-05 01:52:01,844 - DEBUG - Response for create_network : {'network': {'id': '7680bdfe-5a51-4548-864f-76010b104ccc', 'name': 'ctest-vn1-81007622', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'project_id': '91c6df85a5ab42c99a7c72a927fc5699', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-53508591', 'ctest-vn1-81007622'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-05 01:52:02,128 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaf59a77-63a1-4e6f-a953-9ce6313b991f', 'name': '', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': '7680bdfe-5a51-4548-864f-76010b104ccc', 'ip_version': 4, 'cidr': '9.167.142.0/26', 'allocation_pools': [{'start': '9.167.142.2', 'end': '9.167.142.62'}], 'gateway_ip': '9.167.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-05T01:52:02.004787', 'updated_at': '2026-02-05T01:52:02.004787', 'dns_server_address': '9.167.142.2', 'tags': [], 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:52:02,387 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a866642f-ec47-4ea3-a6dd-4fd7b33d804d', 'name': '', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': '7680bdfe-5a51-4548-864f-76010b104ccc', 'ip_version': 4, 'cidr': '187.196.155.192/26', 'allocation_pools': [{'start': '187.196.155.194', 'end': '187.196.155.254'}], 'gateway_ip': '187.196.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-05T01:52:02.280833', 'updated_at': '2026-02-05T01:52:02.280833', 'dns_server_address': '187.196.155.194', 'tags': [], 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:52:02,456 - INFO - Created VN ctest-vn1-81007622
2026-02-05 01:52:02,510 - DEBUG - VN ctest-vn1-81007622 UUID is 7680bdfe-5a51-4548-864f-76010b104ccc
2026-02-05 01:52:03,031 - DEBUG - Response for create_port : {'port': {'name': '56c4aa12-a37e-4ba0-b4b5-8d7bc11be029', 'id': '56c4aa12-a37e-4ba0-b4b5-8d7bc11be029', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': '7680bdfe-5a51-4548-864f-76010b104ccc', 'mac_address': '02:56:c4:aa:12:a3', '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': '9.167.142.5', 'subnet_id': 'eaf59a77-63a1-4e6f-a953-9ce6313b991f'}], 'security_groups': ['936d20a9-06bd-4ae1-a531-3745bcb28f0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-05T01:52:02.855857', 'updated_at': '2026-02-05T01:52:02.926207', 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:52:03,275 - DEBUG - Response for create_port : {'port': {'name': '21e839b0-51e0-49fb-96e6-549039459e77', 'id': '21e839b0-51e0-49fb-96e6-549039459e77', 'tenant_id': '91c6df85a5ab42c99a7c72a927fc5699', 'network_id': '7680bdfe-5a51-4548-864f-76010b104ccc', 'mac_address': '02:21:e8:39:b0:51', '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': '187.196.155.197', 'subnet_id': 'a866642f-ec47-4ea3-a6dd-4fd7b33d804d'}], 'security_groups': ['936d20a9-06bd-4ae1-a531-3745bcb28f0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-05T01:52:03.093541', 'updated_at': '2026-02-05T01:52:03.160085', 'project_id': '91c6df85a5ab42c99a7c72a927fc5699'}}
2026-02-05 01:52:03,390 - DEBUG - Services list from nova: [, , ]
2026-02-05 01:52:04,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-669-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-669-1)
2026-02-05 01:52:05,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-669-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-669-1)
2026-02-05 01:52:05,743 - INFO - Waiting for VM ctest-vn1-vm1-85498238 to be up..
2026-02-05 01:52:05,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-05 01:52:11,002 - DEBUG - VM is in ACTIVE state now
2026-02-05 01:52:11,002 - INFO - VM name : ctest-vn1-vm1-85498238
2026-02-05 01:52:11,155 - DEBUG - VM ctest-vn1-vm1-85498238 ID is 50355f3a-8c20-4c5c-a4fd-204932e6e537
2026-02-05 01:52:11,194 - DEBUG - VM ctest-vn1-vm1-85498238 launched on Node cn-jenkins-deploy-platform-juju-os-669-1
2026-02-05 01:52:11,337 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/50355f3a-8c20-4c5c-a4fd-204932e6e537
2026-02-05 01:52:11,391 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/56c4aa12-a37e-4ba0-b4b5-8d7bc11be029
2026-02-05 01:52:14,843 - 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 1002ms')
2026-02-05 01:52:14,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85498238 failed!
2026-02-05 01:52:14,902 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-53508591:ctest-vn1-81007622 is 9.167.142.1 and allocation pool is NOT set
2026-02-05 01:52:14,902 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-53508591:ctest-vn1-81007622 is 187.196.155.193 and allocation pool is NOT set
2026-02-05 01:52:19,010 - 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 1003ms')
2026-02-05 01:52:19,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85498238 failed!
2026-02-05 01:52:19,070 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-53508591:ctest-vn1-81007622 is 9.167.142.1 and allocation pool is NOT set
2026-02-05 01:52:19,070 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-53508591:ctest-vn1-81007622 is 187.196.155.193 and allocation pool is NOT set
2026-02-05 01:52:21,169 - 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=3.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/1.819/3.153/1.333 ms')
2026-02-05 01:52:21,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85498238 passed
2026-02-05 01:52:21,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-05 01:52:21,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85498238, IP 9.167.142.5, Port 22
2026-02-05 01:52:21,541 - DEBUG - VM ctest-vn1-vm1-85498238 is ready for SSH connections
2026-02-05 01:52:21,542 - INFO - Waiting for VM ctest-vn1-vm2-40210212 to be up..
2026-02-05 01:52:21,697 - DEBUG - VM is in ACTIVE state now
2026-02-05 01:52:21,697 - INFO - VM name : ctest-vn1-vm2-40210212
2026-02-05 01:52:21,836 - DEBUG - VM ctest-vn1-vm2-40210212 ID is 3e0e5de2-e7f5-475d-8044-a6ccf00cf2ee
2026-02-05 01:52:21,836 - DEBUG - VM ctest-vn1-vm2-40210212 launched on Node cn-jenkins-deploy-platform-juju-os-669-1
2026-02-05 01:52:21,976 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/3e0e5de2-e7f5-475d-8044-a6ccf00cf2ee
2026-02-05 01:52:22,031 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/21e839b0-51e0-49fb-96e6-549039459e77
2026-02-05 01:52:23,488 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.464/1.667/2.870/1.203 ms')
2026-02-05 01:52:23,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40210212 passed
2026-02-05 01:52:23,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-05 01:52:23,638 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40210212, IP 187.196.155.197, Port 22
2026-02-05 01:52:23,851 - DEBUG - VM ctest-vn1-vm2-40210212 is ready for SSH connections
2026-02-05 01:52:23,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-05 01:52:23,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-05 01:52:23,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-05 01:52:23,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.167.142.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-02-05 01:52:23,852 - DEBUG - ping -s 56 -c 3 -W 1 9.167.142.5
2026-02-05 01:52:26,498 - DEBUG - PING 9.167.142.5 (9.167.142.5): 56 data bytes
64 bytes from 9.167.142.5: seq=0 ttl=63 time=4.087 ms
64 bytes from 9.167.142.5: seq=1 ttl=63 time=1.211 ms
64 bytes from 9.167.142.5: seq=2 ttl=63 time=0.953 ms
--- 9.167.142.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.953/2.083/4.087 ms
2026-02-05 01:52:26,498 - INFO - Ping to IP 9.167.142.5 from VM ctest-vn1-vm2-40210212 passed
2026-02-05 01:52:26,498 - INFO - Detaching port 21e839b0-51e0-49fb-96e6-549039459e77 from VM ctest-vn1-vm2-40210212
2026-02-05 01:52:26,701 - INFO - Deleting VM ctest-vn1-vm2-40210212
2026-02-05 01:52:26,874 - INFO - Detaching port 56c4aa12-a37e-4ba0-b4b5-8d7bc11be029 from VM ctest-vn1-vm1-85498238
2026-02-05 01:52:26,954 - INFO - Deleting VM ctest-vn1-vm1-85498238
2026-02-05 01:52:27,382 - DEBUG - Response for delete_port : ()
2026-02-05 01:52:27,692 - DEBUG - Response for delete_port : ()
2026-02-05 01:52:27,693 - INFO - Deleting VN ctest-vn1-81007622
2026-02-05 01:52:27,922 - DEBUG - Response for deleting network ()
2026-02-05 01:52:28,324 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 01:52:28,324 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-02-05 01:52:28,324 - INFO - --------------------------------------------------------------------------------
2026-02-05 01:52:29,096 - INFO - Deleted project: ctest-TestPorts-53508591, ID : 91c6df85-a5ab-42c9-9a7c-72a927fc5699