2025-11-07 13:28:56,821 - INFO - Domain Default found not creating
2025-11-07 13:28:56,996 - INFO - Project ctest-TestPorts-67804143 not found, creating it
2025-11-07 13:28:57,496 - INFO - Created Project:ctest-TestPorts-67804143, ID : 7a5bab2b-14a2-4d1a-84a4-860ce16d383d
2025-11-07 13:28:58,961 - INFO - ================================================================================
2025-11-07 13:28:58,961 - INFO - STARTING TEST : test_ports_bindings
2025-11-07 13:28:58,961 - 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-11-07 13:28:59,217 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-07 13:28:59,217 - INFO - Initial checks done. Running the testcase now
2025-11-07 13:28:59,217 - INFO -
2025-11-07 13:28:59,800 - DEBUG - Response for create_network : {'network': {'id': '740adf4e-6e66-4133-a085-6e67dc4eaa68', 'name': 'ctest-vn-39398253', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67804143', 'ctest-vn-39398253'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 13:28:59,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee3f776c-9455-4c98-8d6d-b4db2945f783', 'name': '', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '740adf4e-6e66-4133-a085-6e67dc4eaa68', 'ip_version': 4, 'cidr': '165.249.205.64/26', 'allocation_pools': [{'start': '165.249.205.66', 'end': '165.249.205.126'}], 'gateway_ip': '165.249.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.249.205.66', 'tags': [], 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:00,008 - INFO - Created VN ctest-vn-39398253
2025-11-07 13:29:00,062 - DEBUG - VN ctest-vn-39398253 UUID is 740adf4e-6e66-4133-a085-6e67dc4eaa68
2025-11-07 13:29:00,175 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67804143', 'ctest-vmi-24753705']}
2025-11-07 13:29:00,425 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24753705', 'id': '873f8660-66c1-4360-9b1b-de13acc1c7ff', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '740adf4e-6e66-4133-a085-6e67dc4eaa68', 'mac_address': '02:87:3f:86:60:66', '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': '165.249.205.67', 'subnet_id': 'ee3f776c-9455-4c98-8d6d-b4db2945f783'}], 'security_groups': ['04729af0-86da-4421-a9bb-b37501f5b343'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:00,426 - DEBUG - Created port 873f8660-66c1-4360-9b1b-de13acc1c7ff
2025-11-07 13:29:00,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/873f8660-66c1-4360-9b1b-de13acc1c7ff
2025-11-07 13:29:00,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/873f8660-66c1-4360-9b1b-de13acc1c7ff
2025-11-07 13:29:00,858 - INFO - VMI 873f8660-66c1-4360-9b1b-de13acc1c7ff verification in API Server passed
2025-11-07 13:29:00,947 - DEBUG - Response for delete_port : ()
2025-11-07 13:29:00,947 - INFO - Deleted port 873f8660-66c1-4360-9b1b-de13acc1c7ff
2025-11-07 13:29:00,947 - INFO - Deleting VN ctest-vn-39398253
2025-11-07 13:29:01,050 - DEBUG - Response for deleting network ()
2025-11-07 13:29:01,323 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 13:29:01,323 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-07 13:29:01,323 - INFO - --------------------------------------------------------------------------------
2025-11-07 13:29:01,326 - INFO - ================================================================================
2025-11-07 13:29:01,327 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-07 13:29:01,327 - 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-11-07 13:29:01,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-07 13:29:01,604 - INFO - Initial checks done. Running the testcase now
2025-11-07 13:29:01,604 - INFO -
2025-11-07 13:29:01,789 - DEBUG - Response for create_network : {'network': {'id': '1c1ec651-7e77-454f-9968-eac4f4f34f7d', 'name': 'ctest-vn1-59680583', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67804143', 'ctest-vn1-59680583'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 13:29:01,998 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9c57404-d400-47ac-a74f-fec2e23f49f0', 'name': '', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '1c1ec651-7e77-454f-9968-eac4f4f34f7d', 'ip_version': 4, 'cidr': '111.102.196.128/26', 'allocation_pools': [{'start': '111.102.196.130', 'end': '111.102.196.190'}], 'gateway_ip': '111.102.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.102.196.130', 'tags': [], 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:02,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '92c4c92f-933b-45c2-b797-3c8482aee8be', 'name': '', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '1c1ec651-7e77-454f-9968-eac4f4f34f7d', 'ip_version': 4, 'cidr': '32.255.251.64/26', 'allocation_pools': [{'start': '32.255.251.66', 'end': '32.255.251.126'}], 'gateway_ip': '32.255.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.255.251.66', 'tags': [], 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:02,207 - INFO - Created VN ctest-vn1-59680583
2025-11-07 13:29:02,258 - DEBUG - VN ctest-vn1-59680583 UUID is 1c1ec651-7e77-454f-9968-eac4f4f34f7d
2025-11-07 13:29:02,569 - DEBUG - Response for create_port : {'port': {'name': 'ed7cccb3-c4d0-4c9e-97d4-24641885b5c3', 'id': 'ed7cccb3-c4d0-4c9e-97d4-24641885b5c3', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '1c1ec651-7e77-454f-9968-eac4f4f34f7d', 'mac_address': '02:ed:7c:cc:b3:c4', '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': '111.102.196.133', 'subnet_id': 'c9c57404-d400-47ac-a74f-fec2e23f49f0'}], 'security_groups': ['04729af0-86da-4421-a9bb-b37501f5b343'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:02,748 - DEBUG - Response for create_port : {'port': {'name': '464cec37-7b9b-4424-a61c-18d70b7edb64', 'id': '464cec37-7b9b-4424-a61c-18d70b7edb64', 'tenant_id': '7a5bab2b14a24d1a84a4860ce16d383d', 'network_id': '1c1ec651-7e77-454f-9968-eac4f4f34f7d', 'mac_address': '02:46:4c:ec:37:7b', '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': '32.255.251.69', 'subnet_id': '92c4c92f-933b-45c2-b797-3c8482aee8be'}], 'security_groups': ['04729af0-86da-4421-a9bb-b37501f5b343'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a5bab2b14a24d1a84a4860ce16d383d'}}
2025-11-07 13:29:02,812 - DEBUG - Services list from nova: [, , ]
2025-11-07 13:29:03,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1)
2025-11-07 13:29:03,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1)
2025-11-07 13:29:03,625 - INFO - Waiting for VM ctest-vn1-vm1-32206292 to be up..
2025-11-07 13:29:03,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 13:29:08,763 - DEBUG - VM is in ACTIVE state now
2025-11-07 13:29:08,763 - INFO - VM name : ctest-vn1-vm1-32206292
2025-11-07 13:29:08,853 - DEBUG - VM ctest-vn1-vm1-32206292 ID is 1170f849-73f9-46c6-b8dd-d5b18b921348
2025-11-07 13:29:08,877 - DEBUG - VM ctest-vn1-vm1-32206292 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1
2025-11-07 13:29:08,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1170f849-73f9-46c6-b8dd-d5b18b921348
2025-11-07 13:29:08,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed7cccb3-c4d0-4c9e-97d4-24641885b5c3
2025-11-07 13:29:12,224 - 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')
2025-11-07 13:29:12,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32206292 failed!
2025-11-07 13:29:12,310 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67804143:ctest-vn1-59680583 is 111.102.196.129 and allocation pool is NOT set
2025-11-07 13:29:12,311 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67804143:ctest-vn1-59680583 is 32.255.251.65 and allocation pool is NOT set
2025-11-07 13:29:16,383 - 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=3.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 3.776/3.776/3.776/0.000 ms')
2025-11-07 13:29:16,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32206292 passed
2025-11-07 13:29:16,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:29:16,535 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32206292, IP 111.102.196.133, Port 22
2025-11-07 13:29:16,690 - DEBUG - VM ctest-vn1-vm1-32206292 is ready for SSH connections
2025-11-07 13:29:16,690 - INFO - Waiting for VM ctest-vn1-vm2-72577614 to be up..
2025-11-07 13:29:16,782 - DEBUG - VM is in ACTIVE state now
2025-11-07 13:29:16,782 - INFO - VM name : ctest-vn1-vm2-72577614
2025-11-07 13:29:16,858 - DEBUG - VM ctest-vn1-vm2-72577614 ID is 345e4275-f848-4bf7-b11c-1849befe0bec
2025-11-07 13:29:16,859 - DEBUG - VM ctest-vn1-vm2-72577614 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1
2025-11-07 13:29:16,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/345e4275-f848-4bf7-b11c-1849befe0bec
2025-11-07 13:29:16,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/464cec37-7b9b-4424-a61c-18d70b7edb64
2025-11-07 13:29:18,198 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 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 = 2.306/4.070/5.835/1.764 ms')
2025-11-07 13:29:18,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72577614 passed
2025-11-07 13:29:18,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:29:18,355 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72577614, IP 32.255.251.69, Port 22
2025-11-07 13:29:18,514 - DEBUG - VM ctest-vn1-vm2-72577614 is ready for SSH connections
2025-11-07 13:29:18,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:29:18,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:29:18,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:29:18,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.102.196.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-07 13:29:18,515 - DEBUG - ping -s 56 -c 3 -W 1 111.102.196.133
2025-11-07 13:29:21,212 - DEBUG - PING 111.102.196.133 (111.102.196.133): 56 data bytes
64 bytes from 111.102.196.133: seq=0 ttl=63 time=4.515 ms
64 bytes from 111.102.196.133: seq=1 ttl=63 time=1.024 ms
64 bytes from 111.102.196.133: seq=2 ttl=63 time=0.916 ms
--- 111.102.196.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.916/2.151/4.515 ms
2025-11-07 13:29:21,212 - INFO - Ping to IP 111.102.196.133 from VM ctest-vn1-vm2-72577614 passed
2025-11-07 13:29:21,212 - INFO - Detaching port 464cec37-7b9b-4424-a61c-18d70b7edb64 from VM ctest-vn1-vm2-72577614
2025-11-07 13:29:21,269 - INFO - Deleting VM ctest-vn1-vm2-72577614
2025-11-07 13:29:21,343 - INFO - Detaching port ed7cccb3-c4d0-4c9e-97d4-24641885b5c3 from VM ctest-vn1-vm1-32206292
2025-11-07 13:29:21,378 - INFO - Deleting VM ctest-vn1-vm1-32206292
2025-11-07 13:29:21,609 - DEBUG - Response for delete_port : ()
2025-11-07 13:29:21,818 - DEBUG - Response for delete_port : ()
2025-11-07 13:29:21,818 - INFO - Deleting VN ctest-vn1-59680583
2025-11-07 13:29:21,960 - DEBUG - Response for deleting network ()
2025-11-07 13:29:22,216 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 13:29:22,216 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-07 13:29:22,216 - INFO - --------------------------------------------------------------------------------
2025-11-07 13:29:22,932 - INFO - Deleted project: ctest-TestPorts-67804143, ID : 7a5bab2b-14a2-4d1a-84a4-860ce16d383d