2025-10-20 12:10:28,242 - INFO - Domain Default found not creating
2025-10-20 12:10:28,406 - INFO - Project ctest-TestPorts-63226563 not found, creating it
2025-10-20 12:10:28,884 - INFO - Created Project:ctest-TestPorts-63226563, ID : c8775cf7-f87f-4e37-935e-a2c3ce6a49d8
2025-10-20 12:10:30,368 - INFO - ================================================================================
2025-10-20 12:10:30,368 - INFO - STARTING TEST : test_ports_bindings
2025-10-20 12:10:30,368 - 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-10-20 12:10:30,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-10-20 12:10:30,634 - INFO - Initial checks done. Running the testcase now
2025-10-20 12:10:30,634 - INFO -
2025-10-20 12:10:31,224 - DEBUG - Response for create_network : {'network': {'id': 'a90cb908-72ef-4ca4-b83d-e4079a6d75d0', 'name': 'ctest-vn-63044569', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63226563', 'ctest-vn-63044569'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:10:31,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fcbba22-eec6-4677-a013-6a2a523af424', 'name': '', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'a90cb908-72ef-4ca4-b83d-e4079a6d75d0', 'ip_version': 4, 'cidr': '223.43.182.192/26', 'allocation_pools': [{'start': '223.43.182.194', 'end': '223.43.182.254'}], 'gateway_ip': '223.43.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.43.182.194', 'tags': [], 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:31,458 - INFO - Created VN ctest-vn-63044569
2025-10-20 12:10:31,509 - DEBUG - VN ctest-vn-63044569 UUID is a90cb908-72ef-4ca4-b83d-e4079a6d75d0
2025-10-20 12:10:31,620 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63226563', 'ctest-vmi-88183004']}
2025-10-20 12:10:31,863 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88183004', 'id': '417ed26e-d7e9-4084-a621-a94f32a3057d', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'a90cb908-72ef-4ca4-b83d-e4079a6d75d0', 'mac_address': '02:41:7e:d2:6e:d7', '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': '223.43.182.195', 'subnet_id': '5fcbba22-eec6-4677-a013-6a2a523af424'}], 'security_groups': ['24898f35-1886-4d07-abb5-755a06c6dd56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:31,863 - DEBUG - Created port 417ed26e-d7e9-4084-a621-a94f32a3057d
2025-10-20 12:10:31,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/417ed26e-d7e9-4084-a621-a94f32a3057d
2025-10-20 12:10:32,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/417ed26e-d7e9-4084-a621-a94f32a3057d
2025-10-20 12:10:32,305 - INFO - VMI 417ed26e-d7e9-4084-a621-a94f32a3057d verification in API Server passed
2025-10-20 12:10:32,397 - DEBUG - Response for delete_port : ()
2025-10-20 12:10:32,397 - INFO - Deleted port 417ed26e-d7e9-4084-a621-a94f32a3057d
2025-10-20 12:10:32,397 - INFO - Deleting VN ctest-vn-63044569
2025-10-20 12:10:32,498 - DEBUG - Response for deleting network ()
2025-10-20 12:10:32,754 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 12:10:32,754 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-20 12:10:32,754 - INFO - --------------------------------------------------------------------------------
2025-10-20 12:10:32,756 - INFO - ================================================================================
2025-10-20 12:10:32,757 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-20 12:10:32,757 - 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-10-20 12:10:33,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-10-20 12:10:33,045 - INFO - Initial checks done. Running the testcase now
2025-10-20 12:10:33,046 - INFO -
2025-10-20 12:10:33,224 - DEBUG - Response for create_network : {'network': {'id': 'f039812f-6572-41b0-85d1-ca4ec0a599a7', 'name': 'ctest-vn1-21971950', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63226563', 'ctest-vn1-21971950'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:10:33,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc2e3682-1b6f-4894-8d9f-89a802d4f660', 'name': '', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'f039812f-6572-41b0-85d1-ca4ec0a599a7', 'ip_version': 4, 'cidr': '29.9.239.192/26', 'allocation_pools': [{'start': '29.9.239.194', 'end': '29.9.239.254'}], 'gateway_ip': '29.9.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.9.239.194', 'tags': [], 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:33,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9fac127-1130-4379-b1d9-7916b820fad8', 'name': '', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'f039812f-6572-41b0-85d1-ca4ec0a599a7', 'ip_version': 4, 'cidr': '138.182.255.128/26', 'allocation_pools': [{'start': '138.182.255.130', 'end': '138.182.255.190'}], 'gateway_ip': '138.182.255.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.182.255.130', 'tags': [], 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:33,628 - INFO - Created VN ctest-vn1-21971950
2025-10-20 12:10:33,681 - DEBUG - VN ctest-vn1-21971950 UUID is f039812f-6572-41b0-85d1-ca4ec0a599a7
2025-10-20 12:10:33,999 - DEBUG - Response for create_port : {'port': {'name': '478fd5a3-2597-417d-be8e-358a740c789d', 'id': '478fd5a3-2597-417d-be8e-358a740c789d', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'f039812f-6572-41b0-85d1-ca4ec0a599a7', 'mac_address': '02:47:8f:d5:a3:25', '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': '29.9.239.197', 'subnet_id': 'dc2e3682-1b6f-4894-8d9f-89a802d4f660'}], 'security_groups': ['24898f35-1886-4d07-abb5-755a06c6dd56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:34,177 - DEBUG - Response for create_port : {'port': {'name': '25aabcfc-d015-4916-9d26-3dceb77b9660', 'id': '25aabcfc-d015-4916-9d26-3dceb77b9660', 'tenant_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8', 'network_id': 'f039812f-6572-41b0-85d1-ca4ec0a599a7', 'mac_address': '02:25:aa:bc:fc:d0', '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': '138.182.255.133', 'subnet_id': 'f9fac127-1130-4379-b1d9-7916b820fad8'}], 'security_groups': ['24898f35-1886-4d07-abb5-755a06c6dd56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8775cf7f87f4e37935ea2c3ce6a49d8'}}
2025-10-20 12:10:34,231 - DEBUG - Services list from nova: [, , ]
2025-10-20 12:10:34,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4375-1)
2025-10-20 12:10:35,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4375-1)
2025-10-20 12:10:35,130 - INFO - Waiting for VM ctest-vn1-vm1-23097540 to be up..
2025-10-20 12:10:35,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 12:10:40,248 - DEBUG - VM is in ACTIVE state now
2025-10-20 12:10:40,248 - INFO - VM name : ctest-vn1-vm1-23097540
2025-10-20 12:10:40,320 - DEBUG - VM ctest-vn1-vm1-23097540 ID is c21fd495-c8d4-4803-85aa-0b9af3a938d1
2025-10-20 12:10:40,342 - DEBUG - VM ctest-vn1-vm1-23097540 launched on Node cn-jenkins-deploy-platform-ansible-os-4375-1
2025-10-20 12:10:40,417 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c21fd495-c8d4-4803-85aa-0b9af3a938d1
2025-10-20 12:10:40,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/478fd5a3-2597-417d-be8e-358a740c789d
2025-10-20 12:10:43,663 - 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 1006ms')
2025-10-20 12:10:43,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23097540 failed!
2025-10-20 12:10:43,718 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63226563:ctest-vn1-21971950 is 29.9.239.193 and allocation pool is NOT set
2025-10-20 12:10:43,718 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63226563:ctest-vn1-21971950 is 138.182.255.129 and allocation pool is NOT set
2025-10-20 12:10:45,788 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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 = 1.622/2.593/3.564/0.971 ms')
2025-10-20 12:10:45,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23097540 passed
2025-10-20 12:10:45,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:45,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23097540, IP 29.9.239.197, Port 22
2025-10-20 12:10:46,003 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-20 12:10:46,083 - DEBUG - VM ctest-vn1-vm1-23097540 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 12:10:51,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:51,084 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23097540, IP 29.9.239.197, Port 22
2025-10-20 12:10:51,241 - DEBUG - VM ctest-vn1-vm1-23097540 is ready for SSH connections
2025-10-20 12:10:51,241 - INFO - Waiting for VM ctest-vn1-vm2-44762246 to be up..
2025-10-20 12:10:51,314 - DEBUG - VM is in ACTIVE state now
2025-10-20 12:10:51,314 - INFO - VM name : ctest-vn1-vm2-44762246
2025-10-20 12:10:51,418 - DEBUG - VM ctest-vn1-vm2-44762246 ID is a2618fa9-0ea2-43c0-ad70-92aeabf3e113
2025-10-20 12:10:51,418 - DEBUG - VM ctest-vn1-vm2-44762246 launched on Node cn-jenkins-deploy-platform-ansible-os-4375-1
2025-10-20 12:10:51,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2618fa9-0ea2-43c0-ad70-92aeabf3e113
2025-10-20 12:10:51,503 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25aabcfc-d015-4916-9d26-3dceb77b9660
2025-10-20 12:10:52,751 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.657/2.887/1.229 ms')
2025-10-20 12:10:52,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44762246 passed
2025-10-20 12:10:52,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:52,906 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44762246, IP 138.182.255.133, Port 22
2025-10-20 12:10:53,061 - DEBUG - VM ctest-vn1-vm2-44762246 is ready for SSH connections
2025-10-20 12:10:53,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:53,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:53,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 12:10:53,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.9.239.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-20 12:10:53,061 - DEBUG - ping -s 56 -c 3 -W 1 29.9.239.197
2025-10-20 12:10:55,707 - DEBUG - PING 29.9.239.197 (29.9.239.197): 56 data bytes
64 bytes from 29.9.239.197: seq=0 ttl=63 time=3.126 ms
64 bytes from 29.9.239.197: seq=1 ttl=63 time=0.825 ms
64 bytes from 29.9.239.197: seq=2 ttl=63 time=0.988 ms
--- 29.9.239.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.825/1.646/3.126 ms
2025-10-20 12:10:55,707 - INFO - Ping to IP 29.9.239.197 from VM ctest-vn1-vm2-44762246 passed
2025-10-20 12:10:55,708 - INFO - Detaching port 25aabcfc-d015-4916-9d26-3dceb77b9660 from VM ctest-vn1-vm2-44762246
2025-10-20 12:10:55,770 - INFO - Deleting VM ctest-vn1-vm2-44762246
2025-10-20 12:10:55,839 - INFO - Detaching port 478fd5a3-2597-417d-be8e-358a740c789d from VM ctest-vn1-vm1-23097540
2025-10-20 12:10:55,874 - INFO - Deleting VM ctest-vn1-vm1-23097540
2025-10-20 12:10:56,110 - DEBUG - Response for delete_port : ()
2025-10-20 12:10:56,305 - DEBUG - Response for delete_port : ()
2025-10-20 12:10:56,305 - INFO - Deleting VN ctest-vn1-21971950
2025-10-20 12:10:56,454 - DEBUG - Response for deleting network ()
2025-10-20 12:10:56,706 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 12:10:56,706 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-20 12:10:56,706 - INFO - --------------------------------------------------------------------------------
2025-10-20 12:10:57,370 - INFO - Deleted project: ctest-TestPorts-63226563, ID : c8775cf7-f87f-4e37-935e-a2c3ce6a49d8