2025-08-11 16:19:46,461 - INFO - Domain Default found not creating
2025-08-11 16:19:46,581 - INFO - Project ctest-TestPorts-06212917 not found, creating it
2025-08-11 16:19:47,053 - INFO - Created Project:ctest-TestPorts-06212917, ID : 0713878a-4a72-459a-9293-347fa6ff897b
2025-08-11 16:19:48,369 - INFO - ================================================================================
2025-08-11 16:19:48,370 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 16:19:48,370 - 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-08-11 16:19:49,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.193': '0', '10.20.0.192': '0'}} with
2025-08-11 16:19:49,636 - INFO - Initial checks done. Running the testcase now
2025-08-11 16:19:49,636 - INFO -
2025-08-11 16:19:50,316 - DEBUG - Response for create_network : {'network': {'id': '6682ccc0-0543-4170-940b-f34d5531f598', 'name': 'ctest-vn-04494827', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'project_id': '0713878a4a72459a9293347fa6ff897b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06212917', 'ctest-vn-04494827'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 16:19:50,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '453ed63d-7bf5-4f2a-bf55-29af394f2224', 'name': '', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '6682ccc0-0543-4170-940b-f34d5531f598', 'ip_version': 4, 'cidr': '35.17.117.64/26', 'allocation_pools': [{'start': '35.17.117.66', 'end': '35.17.117.126'}], 'gateway_ip': '35.17.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.17.117.66', 'tags': [], 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:50,680 - INFO - Created VN ctest-vn-04494827
2025-08-11 16:19:50,692 - DEBUG - VN ctest-vn-04494827 UUID is 6682ccc0-0543-4170-940b-f34d5531f598
2025-08-11 16:19:50,778 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06212917', 'ctest-vmi-42854129']}
2025-08-11 16:19:51,098 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42854129', 'id': 'b196be6a-e4e9-4171-a23d-44321183459f', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '6682ccc0-0543-4170-940b-f34d5531f598', 'mac_address': '02:b1:96:be:6a:e4', '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': '35.17.117.67', 'subnet_id': '453ed63d-7bf5-4f2a-bf55-29af394f2224'}], 'security_groups': ['0dd3a6f4-cc81-4f8f-a57c-e7f15195c251'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:51,099 - DEBUG - Created port b196be6a-e4e9-4171-a23d-44321183459f
2025-08-11 16:19:51,214 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b196be6a-e4e9-4171-a23d-44321183459f
2025-08-11 16:19:51,510 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b196be6a-e4e9-4171-a23d-44321183459f
2025-08-11 16:19:51,547 - INFO - VMI b196be6a-e4e9-4171-a23d-44321183459f verification in API Server passed
2025-08-11 16:19:51,757 - DEBUG - Response for delete_port : ()
2025-08-11 16:19:51,757 - INFO - Deleted port b196be6a-e4e9-4171-a23d-44321183459f
2025-08-11 16:19:51,757 - INFO - Deleting VN ctest-vn-04494827
2025-08-11 16:19:51,916 - DEBUG - Response for deleting network ()
2025-08-11 16:19:53,204 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:19:53,204 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-11 16:19:53,204 - INFO - --------------------------------------------------------------------------------
2025-08-11 16:19:53,211 - INFO - ================================================================================
2025-08-11 16:19:53,211 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 16:19:53,211 - 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-08-11 16:19:54,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.193': '0', '10.20.0.192': '0'}} with
2025-08-11 16:19:54,482 - INFO - Initial checks done. Running the testcase now
2025-08-11 16:19:54,482 - INFO -
2025-08-11 16:19:54,744 - DEBUG - Response for create_network : {'network': {'id': '41c74379-fc3b-40e2-9ca5-7f967f815273', 'name': 'ctest-vn1-96497582', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'project_id': '0713878a4a72459a9293347fa6ff897b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06212917', 'ctest-vn1-96497582'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 16:19:54,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ae3c672-9a06-4d8a-991c-19d87f7dff61', 'name': '', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '41c74379-fc3b-40e2-9ca5-7f967f815273', 'ip_version': 4, 'cidr': '139.183.44.0/26', 'allocation_pools': [{'start': '139.183.44.2', 'end': '139.183.44.62'}], 'gateway_ip': '139.183.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.183.44.2', 'tags': [], 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:55,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd84ea925-df97-408c-a935-dde01adeb3aa', 'name': '', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '41c74379-fc3b-40e2-9ca5-7f967f815273', 'ip_version': 4, 'cidr': '143.162.25.128/26', 'allocation_pools': [{'start': '143.162.25.130', 'end': '143.162.25.190'}], 'gateway_ip': '143.162.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.162.25.130', 'tags': [], 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:55,168 - INFO - Created VN ctest-vn1-96497582
2025-08-11 16:19:55,182 - DEBUG - VN ctest-vn1-96497582 UUID is 41c74379-fc3b-40e2-9ca5-7f967f815273
2025-08-11 16:19:55,474 - DEBUG - Response for create_port : {'port': {'name': '0ed627ae-8b02-4722-9e24-c1b02a934f68', 'id': '0ed627ae-8b02-4722-9e24-c1b02a934f68', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '41c74379-fc3b-40e2-9ca5-7f967f815273', 'mac_address': '02:0e:d6:27:ae:8b', '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': '139.183.44.5', 'subnet_id': '6ae3c672-9a06-4d8a-991c-19d87f7dff61'}], 'security_groups': ['0dd3a6f4-cc81-4f8f-a57c-e7f15195c251'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:55,692 - DEBUG - Response for create_port : {'port': {'name': '0cd6c72e-0965-43f5-9df4-a16f4f58df69', 'id': '0cd6c72e-0965-43f5-9df4-a16f4f58df69', 'tenant_id': '0713878a4a72459a9293347fa6ff897b', 'network_id': '41c74379-fc3b-40e2-9ca5-7f967f815273', 'mac_address': '02:0c:d6:c7:2e:09', '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': '143.162.25.133', 'subnet_id': 'd84ea925-df97-408c-a935-dde01adeb3aa'}], 'security_groups': ['0dd3a6f4-cc81-4f8f-a57c-e7f15195c251'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0713878a4a72459a9293347fa6ff897b'}}
2025-08-11 16:19:55,740 - DEBUG - Services list from nova: [, , , ]
2025-08-11 16:19:56,117 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-2)
2025-08-11 16:19:56,581 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-1)
2025-08-11 16:19:56,581 - INFO - Waiting for VM ctest-vn1-vm1-50092251 to be up..
2025-08-11 16:19:56,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 16:20:01,709 - DEBUG - VM is in ACTIVE state now
2025-08-11 16:20:01,709 - INFO - VM name : ctest-vn1-vm1-50092251
2025-08-11 16:20:01,789 - DEBUG - VM ctest-vn1-vm1-50092251 ID is bb729ffe-5093-4507-b0da-b6f703382c40
2025-08-11 16:20:01,909 - DEBUG - VM ctest-vn1-vm1-50092251 launched on Node an-jenkins-deploy-platform-ansible-os-3816-2
2025-08-11 16:20:01,979 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bb729ffe-5093-4507-b0da-b6f703382c40
2025-08-11 16:20:02,269 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bb729ffe-5093-4507-b0da-b6f703382c40
2025-08-11 16:20:02,299 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0ed627ae-8b02-4722-9e24-c1b02a934f68
2025-08-11 16:20:05,522 - 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 1027ms')
2025-08-11 16:20:05,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50092251 failed!
2025-08-11 16:20:05,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06212917:ctest-vn1-96497582 is 139.183.44.1 and allocation pool is NOT set
2025-08-11 16:20:05,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06212917:ctest-vn1-96497582 is 143.162.25.129 and allocation pool is NOT set
2025-08-11 16:20:07,594 - 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=6.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/3.280/6.190/2.910 ms')
2025-08-11 16:20:07,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50092251 passed
2025-08-11 16:20:07,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:20:07,702 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50092251, IP 139.183.44.5, Port 22
2025-08-11 16:20:07,853 - DEBUG - VM ctest-vn1-vm1-50092251 is ready for SSH connections
2025-08-11 16:20:07,853 - INFO - Waiting for VM ctest-vn1-vm2-24009919 to be up..
2025-08-11 16:20:07,921 - DEBUG - VM is in ACTIVE state now
2025-08-11 16:20:07,921 - INFO - VM name : ctest-vn1-vm2-24009919
2025-08-11 16:20:08,000 - DEBUG - VM ctest-vn1-vm2-24009919 ID is efa59774-3cf1-412c-ad42-67bce6339791
2025-08-11 16:20:08,000 - DEBUG - VM ctest-vn1-vm2-24009919 launched on Node an-jenkins-deploy-platform-ansible-os-3816-1
2025-08-11 16:20:08,066 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/efa59774-3cf1-412c-ad42-67bce6339791
2025-08-11 16:20:08,075 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0cd6c72e-0965-43f5-9df4-a16f4f58df69
2025-08-11 16:20:09,275 - 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=2.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/1.450/2.530/1.079 ms')
2025-08-11 16:20:09,275 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-24009919 passed
2025-08-11 16:20:09,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:20:09,387 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24009919, IP 143.162.25.133, Port 22
2025-08-11 16:20:09,549 - DEBUG - VM ctest-vn1-vm2-24009919 is ready for SSH connections
2025-08-11 16:20:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:20:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:20:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:20:09,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.183.44.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-08-11 16:20:09,550 - DEBUG - ping -s 56 -c 3 -W 1 139.183.44.5
2025-08-11 16:20:12,384 - DEBUG - PING 139.183.44.5 (139.183.44.5): 56 data bytes
64 bytes from 139.183.44.5: seq=0 ttl=63 time=4.874 ms
64 bytes from 139.183.44.5: seq=1 ttl=63 time=0.964 ms
64 bytes from 139.183.44.5: seq=2 ttl=63 time=0.979 ms
--- 139.183.44.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.964/2.272/4.874 ms
2025-08-11 16:20:12,384 - INFO - Ping to IP 139.183.44.5 from VM ctest-vn1-vm2-24009919 passed
2025-08-11 16:20:12,384 - INFO - Detaching port 0cd6c72e-0965-43f5-9df4-a16f4f58df69 from VM ctest-vn1-vm2-24009919
2025-08-11 16:20:12,428 - INFO - Deleting VM ctest-vn1-vm2-24009919
2025-08-11 16:20:12,496 - INFO - Detaching port 0ed627ae-8b02-4722-9e24-c1b02a934f68 from VM ctest-vn1-vm1-50092251
2025-08-11 16:20:12,522 - INFO - Deleting VM ctest-vn1-vm1-50092251
2025-08-11 16:20:12,789 - DEBUG - Response for delete_port : ()
2025-08-11 16:20:13,003 - DEBUG - Response for delete_port : ()
2025-08-11 16:20:13,003 - INFO - Deleting VN ctest-vn1-96497582
2025-08-11 16:20:13,149 - DEBUG - Response for deleting network ()
2025-08-11 16:20:14,402 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:20:14,402 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-11 16:20:14,402 - INFO - --------------------------------------------------------------------------------
2025-08-11 16:20:15,136 - INFO - Deleted project: ctest-TestPorts-06212917, ID : 0713878a-4a72-459a-9293-347fa6ff897b