2025-12-10 02:27:28,073 - INFO - Domain Default found not creating
2025-12-10 02:27:28,374 - INFO - Project ctest-TestPorts-74690974 not found, creating it
2025-12-10 02:27:28,881 - INFO - Created Project:ctest-TestPorts-74690974, ID : 429ace07-aebf-4e5a-a0a9-d307931cc297
2025-12-10 02:27:30,959 - INFO - ================================================================================
2025-12-10 02:27:30,959 - INFO - STARTING TEST : test_ports_bindings
2025-12-10 02:27:30,959 - 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-10 02:27:31,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-10 02:27:31,222 - INFO - Initial checks done. Running the testcase now
2025-12-10 02:27:31,222 - INFO -
2025-12-10 02:27:31,880 - DEBUG - Response for create_network : {'network': {'id': 'fb75fdb1-dccf-4298-9cd5-547977b691ab', 'name': 'ctest-vn-61018903', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'project_id': '429ace07aebf4e5aa0a9d307931cc297', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74690974', 'ctest-vn-61018903'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:27:32,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d75448-7153-4fbd-9cb0-eaedf0507f16', 'name': '', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'fb75fdb1-dccf-4298-9cd5-547977b691ab', 'ip_version': 4, 'cidr': '201.208.40.64/26', 'allocation_pools': [{'start': '201.208.40.66', 'end': '201.208.40.126'}], 'gateway_ip': '201.208.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.208.40.66', 'tags': [], 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:32,084 - INFO - Created VN ctest-vn-61018903
2025-12-10 02:27:32,136 - DEBUG - VN ctest-vn-61018903 UUID is fb75fdb1-dccf-4298-9cd5-547977b691ab
2025-12-10 02:27:32,258 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74690974', 'ctest-vmi-91364280']}
2025-12-10 02:27:32,541 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91364280', 'id': '8d14467b-fee9-400f-8b74-00a49fb3f79d', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'fb75fdb1-dccf-4298-9cd5-547977b691ab', 'mac_address': '02:8d:14:46:7b:fe', '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': '201.208.40.67', 'subnet_id': '64d75448-7153-4fbd-9cb0-eaedf0507f16'}], 'security_groups': ['a5937934-7d19-4748-9e9d-4cc6304dca97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:32,541 - DEBUG - Created port 8d14467b-fee9-400f-8b74-00a49fb3f79d
2025-12-10 02:27:32,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d14467b-fee9-400f-8b74-00a49fb3f79d
2025-12-10 02:27:32,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d14467b-fee9-400f-8b74-00a49fb3f79d
2025-12-10 02:27:33,038 - INFO - VMI 8d14467b-fee9-400f-8b74-00a49fb3f79d verification in API Server passed
2025-12-10 02:27:33,149 - DEBUG - Response for delete_port : ()
2025-12-10 02:27:33,149 - INFO - Deleted port 8d14467b-fee9-400f-8b74-00a49fb3f79d
2025-12-10 02:27:33,149 - INFO - Deleting VN ctest-vn-61018903
2025-12-10 02:27:33,264 - DEBUG - Response for deleting network ()
2025-12-10 02:27:33,523 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 02:27:33,523 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-10 02:27:33,523 - INFO - --------------------------------------------------------------------------------
2025-12-10 02:27:33,526 - INFO - ================================================================================
2025-12-10 02:27:33,526 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-10 02:27:33,526 - 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-10 02:27:33,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-10 02:27:33,819 - INFO - Initial checks done. Running the testcase now
2025-12-10 02:27:33,819 - INFO -
2025-12-10 02:27:34,012 - DEBUG - Response for create_network : {'network': {'id': 'f1a18808-3c22-4710-909c-c81c266c61d6', 'name': 'ctest-vn1-85838999', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'project_id': '429ace07aebf4e5aa0a9d307931cc297', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74690974', 'ctest-vn1-85838999'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:27:34,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '83676ad3-7691-4495-8fc0-9263993c3b0c', 'name': '', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'f1a18808-3c22-4710-909c-c81c266c61d6', 'ip_version': 4, 'cidr': '144.196.99.64/26', 'allocation_pools': [{'start': '144.196.99.66', 'end': '144.196.99.126'}], 'gateway_ip': '144.196.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.196.99.66', 'tags': [], 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:34,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0dd5843-9334-4fa7-b395-922ef5c4dfab', 'name': '', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'f1a18808-3c22-4710-909c-c81c266c61d6', 'ip_version': 4, 'cidr': '104.14.16.64/26', 'allocation_pools': [{'start': '104.14.16.66', 'end': '104.14.16.126'}], 'gateway_ip': '104.14.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.14.16.66', 'tags': [], 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:34,451 - INFO - Created VN ctest-vn1-85838999
2025-12-10 02:27:34,504 - DEBUG - VN ctest-vn1-85838999 UUID is f1a18808-3c22-4710-909c-c81c266c61d6
2025-12-10 02:27:34,815 - DEBUG - Response for create_port : {'port': {'name': 'd1611c4e-9bfd-4704-9dc8-742a45d5d254', 'id': 'd1611c4e-9bfd-4704-9dc8-742a45d5d254', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'f1a18808-3c22-4710-909c-c81c266c61d6', 'mac_address': '02:d1:61:1c:4e:9b', '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': '144.196.99.69', 'subnet_id': '83676ad3-7691-4495-8fc0-9263993c3b0c'}], 'security_groups': ['a5937934-7d19-4748-9e9d-4cc6304dca97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:35,031 - DEBUG - Response for create_port : {'port': {'name': '4703920d-305f-4596-a934-95af72ed1ed8', 'id': '4703920d-305f-4596-a934-95af72ed1ed8', 'tenant_id': '429ace07aebf4e5aa0a9d307931cc297', 'network_id': 'f1a18808-3c22-4710-909c-c81c266c61d6', 'mac_address': '02:47:03:92:0d:30', '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': '104.14.16.69', 'subnet_id': 'b0dd5843-9334-4fa7-b395-922ef5c4dfab'}], 'security_groups': ['a5937934-7d19-4748-9e9d-4cc6304dca97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429ace07aebf4e5aa0a9d307931cc297'}}
2025-12-10 02:27:35,095 - DEBUG - Services list from nova: [, , ]
2025-12-10 02:27:35,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1)
2025-12-10 02:27:35,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1)
2025-12-10 02:27:35,913 - INFO - Waiting for VM ctest-vn1-vm1-52126199 to be up..
2025-12-10 02:27:35,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-10 02:27:41,044 - DEBUG - VM is in ACTIVE state now
2025-12-10 02:27:41,044 - INFO - VM name : ctest-vn1-vm1-52126199
2025-12-10 02:27:41,135 - DEBUG - VM ctest-vn1-vm1-52126199 ID is adb01c93-f9de-489e-b766-3857d3dafc11
2025-12-10 02:27:41,159 - DEBUG - VM ctest-vn1-vm1-52126199 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1
2025-12-10 02:27:41,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/adb01c93-f9de-489e-b766-3857d3dafc11
2025-12-10 02:27:41,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1611c4e-9bfd-4704-9dc8-742a45d5d254
2025-12-10 02:27:44,540 - 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 1033ms')
2025-12-10 02:27:44,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52126199 failed!
2025-12-10 02:27:44,596 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74690974:ctest-vn1-85838999 is 144.196.99.65 and allocation pool is NOT set
2025-12-10 02:27:44,596 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74690974:ctest-vn1-85838999 is 104.14.16.65 and allocation pool is NOT set
2025-12-10 02:27:48,662 - 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 1010ms')
2025-12-10 02:27:48,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52126199 failed!
2025-12-10 02:27:48,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74690974:ctest-vn1-85838999 is 144.196.99.65 and allocation pool is NOT set
2025-12-10 02:27:48,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74690974:ctest-vn1-85838999 is 104.14.16.65 and allocation pool is NOT set
2025-12-10 02:27:50,783 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.671 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.671/1.980/3.290/1.309 ms')
2025-12-10 02:27:50,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52126199 passed
2025-12-10 02:27:50,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 02:27:50,944 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52126199, IP 144.196.99.69, Port 22
2025-12-10 02:27:51,100 - DEBUG - VM ctest-vn1-vm1-52126199 is ready for SSH connections
2025-12-10 02:27:51,100 - INFO - Waiting for VM ctest-vn1-vm2-41553808 to be up..
2025-12-10 02:27:51,186 - DEBUG - VM is in ACTIVE state now
2025-12-10 02:27:51,186 - INFO - VM name : ctest-vn1-vm2-41553808
2025-12-10 02:27:51,270 - DEBUG - VM ctest-vn1-vm2-41553808 ID is ae9a4f39-eb70-48a4-83a7-a8854f30946a
2025-12-10 02:27:51,270 - DEBUG - VM ctest-vn1-vm2-41553808 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1
2025-12-10 02:27:51,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae9a4f39-eb70-48a4-83a7-a8854f30946a
2025-12-10 02:27:51,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4703920d-305f-4596-a934-95af72ed1ed8
2025-12-10 02:27:52,616 - 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=4.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/2.691/4.899/2.207 ms')
2025-12-10 02:27:52,616 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41553808 passed
2025-12-10 02:27:52,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 02:27:52,772 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41553808, IP 104.14.16.69, Port 22
2025-12-10 02:27:52,929 - DEBUG - VM ctest-vn1-vm2-41553808 is ready for SSH connections
2025-12-10 02:27:52,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 02:27:52,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 02:27:52,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 02:27:52,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.196.99.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-10 02:27:52,929 - DEBUG - ping -s 56 -c 3 -W 1 144.196.99.69
2025-12-10 02:27:55,704 - DEBUG - PING 144.196.99.69 (144.196.99.69): 56 data bytes
64 bytes from 144.196.99.69: seq=0 ttl=63 time=4.206 ms
64 bytes from 144.196.99.69: seq=1 ttl=63 time=1.254 ms
64 bytes from 144.196.99.69: seq=2 ttl=63 time=0.987 ms
--- 144.196.99.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.987/2.149/4.206 ms
2025-12-10 02:27:55,704 - INFO - Ping to IP 144.196.99.69 from VM ctest-vn1-vm2-41553808 passed
2025-12-10 02:27:55,705 - INFO - Detaching port 4703920d-305f-4596-a934-95af72ed1ed8 from VM ctest-vn1-vm2-41553808
2025-12-10 02:27:55,770 - INFO - Deleting VM ctest-vn1-vm2-41553808
2025-12-10 02:27:55,857 - INFO - Detaching port d1611c4e-9bfd-4704-9dc8-742a45d5d254 from VM ctest-vn1-vm1-52126199
2025-12-10 02:27:55,899 - INFO - Deleting VM ctest-vn1-vm1-52126199
2025-12-10 02:27:56,169 - DEBUG - Response for delete_port : ()
2025-12-10 02:27:56,340 - DEBUG - Response for delete_port : ()
2025-12-10 02:27:56,340 - INFO - Deleting VN ctest-vn1-85838999
2025-12-10 02:27:56,510 - DEBUG - Response for deleting network ()
2025-12-10 02:27:56,770 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 02:27:56,770 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-10 02:27:56,770 - INFO - --------------------------------------------------------------------------------
2025-12-10 02:27:57,575 - INFO - Deleted project: ctest-TestPorts-74690974, ID : 429ace07-aebf-4e5a-a0a9-d307931cc297