2026-08-14 08:52:39,956 - INFO - Domain Default found not creating 2026-08-14 08:52:40,130 - INFO - Project ctest-TestPorts-51333687 not found, creating it 2026-08-14 08:52:40,633 - INFO - Created Project:ctest-TestPorts-51333687, ID : 82fa44e6-3f4d-4d9b-b320-63429d8957c4 2026-08-14 08:52:42,207 - INFO - ================================================================================ 2026-08-14 08:52:42,207 - INFO - STARTING TEST : test_ports_bindings 2026-08-14 08:52:42,207 - 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-08-14 08:52:42,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-08-14 08:52:42,475 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:52:42,475 - INFO - 2026-08-14 08:52:43,116 - DEBUG - Response for create_network : {'network': {'id': 'a00a7cd5-bd2f-476f-aff6-ce3eddd1d489', 'name': 'ctest-vn-24185219', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'project_id': '82fa44e63f4d4d9bb32063429d8957c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51333687', 'ctest-vn-24185219'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:52:43,352 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7906ba6-88e5-43d2-9be1-7b54cd709045', 'name': '', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': 'a00a7cd5-bd2f-476f-aff6-ce3eddd1d489', 'ip_version': 4, 'cidr': '17.251.138.0/26', 'allocation_pools': [{'start': '17.251.138.2', 'end': '17.251.138.62'}], 'gateway_ip': '17.251.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:52:43.276946', 'updated_at': '2026-08-14T08:52:43.276946', 'dns_server_address': '17.251.138.2', 'tags': [], 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:43,372 - INFO - Created VN ctest-vn-24185219 2026-08-14 08:52:43,429 - DEBUG - VN ctest-vn-24185219 UUID is a00a7cd5-bd2f-476f-aff6-ce3eddd1d489 2026-08-14 08:52:43,538 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51333687', 'ctest-vmi-30355893']} 2026-08-14 08:52:43,808 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30355893', 'id': '525e9194-8940-4730-acf2-6e68c803154d', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': 'a00a7cd5-bd2f-476f-aff6-ce3eddd1d489', 'mac_address': '02:52:5e:91:94:89', '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': '17.251.138.3', 'subnet_id': 'e7906ba6-88e5-43d2-9be1-7b54cd709045'}], 'security_groups': ['1aa7607a-74b9-499b-89ea-90f1cfcb50fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-14T08:52:43.647515', 'updated_at': '2026-08-14T08:52:43.714534', 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:43,808 - DEBUG - Created port 525e9194-8940-4730-acf2-6e68c803154d 2026-08-14 08:52:43,921 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/525e9194-8940-4730-acf2-6e68c803154d 2026-08-14 08:52:44,246 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/525e9194-8940-4730-acf2-6e68c803154d 2026-08-14 08:52:44,281 - INFO - VMI 525e9194-8940-4730-acf2-6e68c803154d verification in API Server passed 2026-08-14 08:52:44,400 - DEBUG - Response for delete_port : () 2026-08-14 08:52:44,400 - INFO - Deleted port 525e9194-8940-4730-acf2-6e68c803154d 2026-08-14 08:52:44,400 - INFO - Deleting VN ctest-vn-24185219 2026-08-14 08:52:44,528 - DEBUG - Response for deleting network () 2026-08-14 08:52:44,786 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 08:52:44,786 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-14 08:52:44,786 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:52:44,789 - INFO - ================================================================================ 2026-08-14 08:52:44,789 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-08-14 08:52:44,789 - 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-08-14 08:52:45,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-08-14 08:52:45,080 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:52:45,081 - INFO - 2026-08-14 08:52:45,281 - DEBUG - Response for create_network : {'network': {'id': '061d9162-1bc8-473a-8339-a1abcf67bdf8', 'name': 'ctest-vn1-02954844', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'project_id': '82fa44e63f4d4d9bb32063429d8957c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51333687', 'ctest-vn1-02954844'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:52:45,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '763a2624-81aa-4b03-9677-bb6cdc727573', 'name': '', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': '061d9162-1bc8-473a-8339-a1abcf67bdf8', 'ip_version': 4, 'cidr': '13.181.203.64/26', 'allocation_pools': [{'start': '13.181.203.66', 'end': '13.181.203.126'}], 'gateway_ip': '13.181.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:52:45.408886', 'updated_at': '2026-08-14T08:52:45.408886', 'dns_server_address': '13.181.203.66', 'tags': [], 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:45,699 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd436978d-920b-46e2-bcef-4f214708c826', 'name': '', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': '061d9162-1bc8-473a-8339-a1abcf67bdf8', 'ip_version': 4, 'cidr': '26.5.255.64/26', 'allocation_pools': [{'start': '26.5.255.66', 'end': '26.5.255.126'}], 'gateway_ip': '26.5.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:52:45.630839', 'updated_at': '2026-08-14T08:52:45.630839', 'dns_server_address': '26.5.255.66', 'tags': [], 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:45,720 - INFO - Created VN ctest-vn1-02954844 2026-08-14 08:52:45,777 - DEBUG - VN ctest-vn1-02954844 UUID is 061d9162-1bc8-473a-8339-a1abcf67bdf8 2026-08-14 08:52:46,110 - DEBUG - Response for create_port : {'port': {'name': '0472d5de-44da-4c36-b793-51fc3e8c29e1', 'id': '0472d5de-44da-4c36-b793-51fc3e8c29e1', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': '061d9162-1bc8-473a-8339-a1abcf67bdf8', 'mac_address': '02:04:72:d5:de:44', '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': '13.181.203.69', 'subnet_id': '763a2624-81aa-4b03-9677-bb6cdc727573'}], 'security_groups': ['1aa7607a-74b9-499b-89ea-90f1cfcb50fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-14T08:52:45.966028', 'updated_at': '2026-08-14T08:52:46.029132', 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:46,299 - DEBUG - Response for create_port : {'port': {'name': '8b2789c3-19ce-4c82-81e8-65fc4f459f1b', 'id': '8b2789c3-19ce-4c82-81e8-65fc4f459f1b', 'tenant_id': '82fa44e63f4d4d9bb32063429d8957c4', 'network_id': '061d9162-1bc8-473a-8339-a1abcf67bdf8', 'mac_address': '02:8b:27:89:c3:19', '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': '26.5.255.69', 'subnet_id': 'd436978d-920b-46e2-bcef-4f214708c826'}], 'security_groups': ['1aa7607a-74b9-499b-89ea-90f1cfcb50fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-14T08:52:46.167507', 'updated_at': '2026-08-14T08:52:46.231506', 'project_id': '82fa44e63f4d4d9bb32063429d8957c4'}} 2026-08-14 08:52:46,369 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:52:46,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:52:47,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:52:47,208 - INFO - Waiting for VM ctest-vn1-vm1-11495829 to be up.. 2026-08-14 08:52:47,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:52:52,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:52:57,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:02,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:07,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:12,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:17,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:22,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:53:27,927 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:53:27,927 - INFO - VM name : ctest-vn1-vm1-11495829 2026-08-14 08:53:28,009 - DEBUG - VM ctest-vn1-vm1-11495829 ID is 4a2013b3-f969-4b90-bd8d-05b838bd0de7 2026-08-14 08:53:28,033 - DEBUG - VM ctest-vn1-vm1-11495829 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:53:28,118 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/4a2013b3-f969-4b90-bd8d-05b838bd0de7 2026-08-14 08:53:28,126 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/0472d5de-44da-4c36-b793-51fc3e8c29e1 2026-08-14 08:53:31,406 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-08-14 08:53:31,406 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-11495829 failed! 2026-08-14 08:53:31,461 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51333687:ctest-vn1-02954844 is 13.181.203.65 and allocation pool is NOT set 2026-08-14 08:53:31,461 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51333687:ctest-vn1-02954844 is 26.5.255.65 and allocation pool is NOT set 2026-08-14 08:53:33,532 - 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=13.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.232/7.236/13.240/6.004 ms') 2026-08-14 08:53:33,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-11495829 passed 2026-08-14 08:53:33,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:53:33,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11495829, IP 13.181.203.69, Port 22 2026-08-14 08:53:33,851 - DEBUG - VM ctest-vn1-vm1-11495829 is ready for SSH connections 2026-08-14 08:53:33,851 - INFO - Waiting for VM ctest-vn1-vm2-24673985 to be up.. 2026-08-14 08:53:33,927 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:53:33,927 - INFO - VM name : ctest-vn1-vm2-24673985 2026-08-14 08:53:34,002 - DEBUG - VM ctest-vn1-vm2-24673985 ID is db5ce6b0-0c90-493f-9ac2-dd1a886caaa9 2026-08-14 08:53:34,002 - DEBUG - VM ctest-vn1-vm2-24673985 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:53:34,087 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/db5ce6b0-0c90-493f-9ac2-dd1a886caaa9 2026-08-14 08:53:34,096 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/8b2789c3-19ce-4c82-81e8-65fc4f459f1b 2026-08-14 08:53:35,346 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/1.922/3.375/1.452 ms') 2026-08-14 08:53:35,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-24673985 passed 2026-08-14 08:53:35,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:53:35,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24673985, IP 26.5.255.69, Port 22 2026-08-14 08:53:35,667 - DEBUG - VM ctest-vn1-vm2-24673985 is ready for SSH connections 2026-08-14 08:53:35,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:53:35,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:53:35,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:53:35,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.181.203.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-14 08:53:35,668 - DEBUG - ping -s 56 -c 3 -W 1 13.181.203.69 2026-08-14 08:53:39,626 - DEBUG - PING 13.181.203.69 (13.181.203.69): 56 data bytes 64 bytes from 13.181.203.69: seq=0 ttl=63 time=4.042 ms 64 bytes from 13.181.203.69: seq=1 ttl=63 time=1.104 ms 64 bytes from 13.181.203.69: seq=2 ttl=63 time=1.306 ms --- 13.181.203.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.150/4.042 ms 2026-08-14 08:53:39,626 - INFO - Ping to IP 13.181.203.69 from VM ctest-vn1-vm2-24673985 passed 2026-08-14 08:53:39,627 - INFO - Detaching port 8b2789c3-19ce-4c82-81e8-65fc4f459f1b from VM ctest-vn1-vm2-24673985 2026-08-14 08:53:39,683 - INFO - Deleting VM ctest-vn1-vm2-24673985 2026-08-14 08:53:39,752 - INFO - Detaching port 0472d5de-44da-4c36-b793-51fc3e8c29e1 from VM ctest-vn1-vm1-11495829 2026-08-14 08:53:39,789 - INFO - Deleting VM ctest-vn1-vm1-11495829 2026-08-14 08:53:40,048 - DEBUG - Response for delete_port : () 2026-08-14 08:53:40,227 - DEBUG - Response for delete_port : () 2026-08-14 08:53:40,227 - INFO - Deleting VN ctest-vn1-02954844 2026-08-14 08:53:40,357 - DEBUG - Response for deleting network () 2026-08-14 08:53:40,619 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 08:53:40,619 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:56]
2026-08-14 08:53:40,619 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:53:41,405 - INFO - Deleted project: ctest-TestPorts-51333687, ID : 82fa44e6-3f4d-4d9b-b320-63429d8957c4