2025-12-18 02:09:55,386 - INFO - Domain Default found not creating
2025-12-18 02:09:55,773 - INFO - Project ctest-TestPorts-02069855 not found, creating it
2025-12-18 02:09:56,323 - INFO - Created Project:ctest-TestPorts-02069855, ID : a0c988df-8d9a-4adc-bdc3-a5c7c05796a1
2025-12-18 02:09:58,267 - INFO - ================================================================================
2025-12-18 02:09:58,267 - INFO - STARTING TEST : test_ports_bindings
2025-12-18 02:09:58,267 - 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
2025-12-18 02:09:58,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with
2025-12-18 02:09:58,543 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:09:58,543 - INFO -
2025-12-18 02:09:59,243 - DEBUG - Response for create_network : {'network': {'id': 'ce1704f8-0712-45b7-bad4-fc084b410f7b', 'name': 'ctest-vn-98082756', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02069855', 'ctest-vn-98082756'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:09:59,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f52ed829-0f6b-4b7b-8b4f-97c60a1edbc6', 'name': '', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': 'ce1704f8-0712-45b7-bad4-fc084b410f7b', 'ip_version': 4, 'cidr': '167.222.200.64/26', 'allocation_pools': [{'start': '167.222.200.66', 'end': '167.222.200.126'}], 'gateway_ip': '167.222.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.222.200.66', 'tags': [], 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:09:59,489 - INFO - Created VN ctest-vn-98082756
2025-12-18 02:09:59,545 - DEBUG - VN ctest-vn-98082756 UUID is ce1704f8-0712-45b7-bad4-fc084b410f7b
2025-12-18 02:09:59,689 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02069855', 'ctest-vmi-71640976']}
2025-12-18 02:09:59,977 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71640976', 'id': 'a33f25f6-f53e-4d59-9e63-600cd1771b30', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': 'ce1704f8-0712-45b7-bad4-fc084b410f7b', 'mac_address': '02:a3:3f:25:f6:f5', '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': '167.222.200.67', 'subnet_id': 'f52ed829-0f6b-4b7b-8b4f-97c60a1edbc6'}], 'security_groups': ['839c7f61-c5be-4f81-9bf7-58550f29fcde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:09:59,977 - DEBUG - Created port a33f25f6-f53e-4d59-9e63-600cd1771b30
2025-12-18 02:10:00,090 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a33f25f6-f53e-4d59-9e63-600cd1771b30
2025-12-18 02:10:00,399 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a33f25f6-f53e-4d59-9e63-600cd1771b30
2025-12-18 02:10:00,458 - INFO - VMI a33f25f6-f53e-4d59-9e63-600cd1771b30 verification in API Server passed
2025-12-18 02:10:00,595 - DEBUG - Response for delete_port : ()
2025-12-18 02:10:00,595 - INFO - Deleted port a33f25f6-f53e-4d59-9e63-600cd1771b30
2025-12-18 02:10:00,595 - INFO - Deleting VN ctest-vn-98082756
2025-12-18 02:10:00,735 - DEBUG - Response for deleting network ()
2025-12-18 02:10:01,014 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:10:01,015 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-18 02:10:01,015 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:10:01,018 - INFO - ================================================================================
2025-12-18 02:10:01,018 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-18 02:10:01,018 - 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
2025-12-18 02:10:01,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with
2025-12-18 02:10:01,315 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:10:01,315 - INFO -
2025-12-18 02:10:01,542 - DEBUG - Response for create_network : {'network': {'id': '5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc', 'name': 'ctest-vn1-62785992', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02069855', 'ctest-vn1-62785992'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:10:01,772 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efda4b00-daa0-4b55-95f1-49b4304bb238', 'name': '', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': '5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc', 'ip_version': 4, 'cidr': '97.43.248.0/26', 'allocation_pools': [{'start': '97.43.248.2', 'end': '97.43.248.62'}], 'gateway_ip': '97.43.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.43.248.2', 'tags': [], 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:10:01,992 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e46ce5c0-41c8-449c-a62c-8eb21357affa', 'name': '', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': '5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc', 'ip_version': 4, 'cidr': '80.6.91.192/26', 'allocation_pools': [{'start': '80.6.91.194', 'end': '80.6.91.254'}], 'gateway_ip': '80.6.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.6.91.194', 'tags': [], 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:10:02,015 - INFO - Created VN ctest-vn1-62785992
2025-12-18 02:10:02,069 - DEBUG - VN ctest-vn1-62785992 UUID is 5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc
2025-12-18 02:10:02,460 - DEBUG - Response for create_port : {'port': {'name': '2b21fb4c-fb19-4d75-b4b0-e9b48338c17f', 'id': '2b21fb4c-fb19-4d75-b4b0-e9b48338c17f', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': '5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc', 'mac_address': '02:2b:21:fb:4c:fb', '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': '97.43.248.5', 'subnet_id': 'efda4b00-daa0-4b55-95f1-49b4304bb238'}], 'security_groups': ['839c7f61-c5be-4f81-9bf7-58550f29fcde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:10:02,682 - DEBUG - Response for create_port : {'port': {'name': '5343d08e-2d88-4608-95b6-b43fef8c5778', 'id': '5343d08e-2d88-4608-95b6-b43fef8c5778', 'tenant_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1', 'network_id': '5bc3f1ee-eaf7-426a-a226-4b84c3d8d1cc', 'mac_address': '02:53:43:d0:8e:2d', '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': '80.6.91.197', 'subnet_id': 'e46ce5c0-41c8-449c-a62c-8eb21357affa'}], 'security_groups': ['839c7f61-c5be-4f81-9bf7-58550f29fcde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c988df8d9a4adcbdc3a5c7c05796a1'}}
2025-12-18 02:10:02,771 - DEBUG - Services list from nova: [, , ]
2025-12-18 02:10:03,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4899-1)
2025-12-18 02:10:03,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4899-1)
2025-12-18 02:10:03,721 - INFO - Waiting for VM ctest-vn1-vm1-39234954 to be up..
2025-12-18 02:10:03,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 02:10:08,885 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:10:08,885 - INFO - VM name : ctest-vn1-vm1-39234954
2025-12-18 02:10:08,997 - DEBUG - VM ctest-vn1-vm1-39234954 ID is 9cf83beb-ae27-41d8-918e-4d259e174df8
2025-12-18 02:10:09,026 - DEBUG - VM ctest-vn1-vm1-39234954 launched on Node cn-jenkins-deploy-platform-ansible-os-4899-1
2025-12-18 02:10:09,131 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9cf83beb-ae27-41d8-918e-4d259e174df8
2025-12-18 02:10:09,142 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2b21fb4c-fb19-4d75-b4b0-e9b48338c17f
2025-12-18 02:10:12,447 - 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 1030ms')
2025-12-18 02:10:12,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39234954 failed!
2025-12-18 02:10:12,509 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02069855:ctest-vn1-62785992 is 97.43.248.1 and allocation pool is NOT set
2025-12-18 02:10:12,509 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02069855:ctest-vn1-62785992 is 80.6.91.193 and allocation pool is NOT set
2025-12-18 02:10:16,600 - 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 1024ms')
2025-12-18 02:10:16,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39234954 failed!
2025-12-18 02:10:16,657 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02069855:ctest-vn1-62785992 is 97.43.248.1 and allocation pool is NOT set
2025-12-18 02:10:16,657 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02069855:ctest-vn1-62785992 is 80.6.91.193 and allocation pool is NOT set
2025-12-18 02:10:18,725 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.835/2.179/3.524/1.344 ms')
2025-12-18 02:10:18,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39234954 passed
2025-12-18 02:10:18,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:10:18,881 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39234954, IP 97.43.248.5, Port 22
2025-12-18 02:10:19,048 - DEBUG - VM ctest-vn1-vm1-39234954 is ready for SSH connections
2025-12-18 02:10:19,048 - INFO - Waiting for VM ctest-vn1-vm2-33340899 to be up..
2025-12-18 02:10:19,171 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:10:19,171 - INFO - VM name : ctest-vn1-vm2-33340899
2025-12-18 02:10:19,268 - DEBUG - VM ctest-vn1-vm2-33340899 ID is 3a590c56-815d-4e43-aaa0-44b70cac95ee
2025-12-18 02:10:19,268 - DEBUG - VM ctest-vn1-vm2-33340899 launched on Node cn-jenkins-deploy-platform-ansible-os-4899-1
2025-12-18 02:10:19,365 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3a590c56-815d-4e43-aaa0-44b70cac95ee
2025-12-18 02:10:19,382 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5343d08e-2d88-4608-95b6-b43fef8c5778
2025-12-18 02:10:20,653 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 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.627/2.083/3.539/1.456 ms')
2025-12-18 02:10:20,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33340899 passed
2025-12-18 02:10:20,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:10:20,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33340899, IP 80.6.91.197, Port 22
2025-12-18 02:10:20,991 - DEBUG - VM ctest-vn1-vm2-33340899 is ready for SSH connections
2025-12-18 02:10:20,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:10:20,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:10:20,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:10:20,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.43.248.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-18 02:10:20,992 - DEBUG - ping -s 56 -c 3 -W 1 97.43.248.5
2025-12-18 02:10:23,902 - DEBUG - PING 97.43.248.5 (97.43.248.5): 56 data bytes
64 bytes from 97.43.248.5: seq=0 ttl=63 time=6.637 ms
64 bytes from 97.43.248.5: seq=1 ttl=63 time=1.130 ms
64 bytes from 97.43.248.5: seq=2 ttl=63 time=1.293 ms
--- 97.43.248.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.130/3.020/6.637 ms
2025-12-18 02:10:23,902 - INFO - Ping to IP 97.43.248.5 from VM ctest-vn1-vm2-33340899 passed
2025-12-18 02:10:23,902 - INFO - Detaching port 5343d08e-2d88-4608-95b6-b43fef8c5778 from VM ctest-vn1-vm2-33340899
2025-12-18 02:10:23,993 - INFO - Deleting VM ctest-vn1-vm2-33340899
2025-12-18 02:10:24,100 - INFO - Detaching port 2b21fb4c-fb19-4d75-b4b0-e9b48338c17f from VM ctest-vn1-vm1-39234954
2025-12-18 02:10:24,151 - INFO - Deleting VM ctest-vn1-vm1-39234954
2025-12-18 02:10:24,529 - DEBUG - Response for delete_port : ()
2025-12-18 02:10:24,843 - DEBUG - Response for delete_port : ()
2025-12-18 02:10:24,843 - INFO - Deleting VN ctest-vn1-62785992
2025-12-18 02:10:25,104 - DEBUG - Response for deleting network ()
2025-12-18 02:10:25,398 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:10:25,398 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-18 02:10:25,399 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:10:26,194 - INFO - Deleted project: ctest-TestPorts-02069855, ID : a0c988df-8d9a-4adc-bdc3-a5c7c05796a1