2025-09-11 14:37:56,423 - INFO - Domain Default found not creating 2025-09-11 14:37:56,685 - INFO - Project ctest-TestPorts-88288698 not found, creating it 2025-09-11 14:37:57,496 - INFO - Created Project:ctest-TestPorts-88288698, ID : c0db2194-5cfd-4946-9299-ae6daf77c73d 2025-09-11 14:37:59,257 - INFO - ================================================================================ 2025-09-11 14:37:59,257 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 14:37:59,257 - 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-09-11 14:37:59,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:37:59,533 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:37:59,533 - INFO - 2025-09-11 14:38:00,204 - DEBUG - Response for create_network : {'network': {'id': 'c27b8307-ba09-4339-a52b-1f874a7c5e2c', 'name': 'ctest-vn-02980021', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'project_id': 'c0db21945cfd49469299ae6daf77c73d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88288698', 'ctest-vn-02980021'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:38:00,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '5724aa70-f1ad-4468-9c78-abfcd0775402', 'name': '', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': 'c27b8307-ba09-4339-a52b-1f874a7c5e2c', 'ip_version': 4, 'cidr': '96.63.76.64/26', 'allocation_pools': [{'start': '96.63.76.66', 'end': '96.63.76.126'}], 'gateway_ip': '96.63.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.63.76.66', 'tags': [], 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:00,406 - INFO - Created VN ctest-vn-02980021 2025-09-11 14:38:00,463 - DEBUG - VN ctest-vn-02980021 UUID is c27b8307-ba09-4339-a52b-1f874a7c5e2c 2025-09-11 14:38:00,593 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88288698', 'ctest-vmi-65365959']} 2025-09-11 14:38:00,894 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65365959', 'id': '1445b871-dbcd-49c3-8e71-d164ede20fff', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': 'c27b8307-ba09-4339-a52b-1f874a7c5e2c', 'mac_address': '02:14:45:b8:71:db', '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': '96.63.76.67', 'subnet_id': '5724aa70-f1ad-4468-9c78-abfcd0775402'}], 'security_groups': ['287be309-40da-4225-ab09-4dbb10904d32'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:00,894 - DEBUG - Created port 1445b871-dbcd-49c3-8e71-d164ede20fff 2025-09-11 14:38:01,007 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/1445b871-dbcd-49c3-8e71-d164ede20fff 2025-09-11 14:38:01,361 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/1445b871-dbcd-49c3-8e71-d164ede20fff 2025-09-11 14:38:01,400 - INFO - VMI 1445b871-dbcd-49c3-8e71-d164ede20fff verification in API Server passed 2025-09-11 14:38:01,528 - DEBUG - Response for delete_port : () 2025-09-11 14:38:01,528 - INFO - Deleted port 1445b871-dbcd-49c3-8e71-d164ede20fff 2025-09-11 14:38:01,528 - INFO - Deleting VN ctest-vn-02980021 2025-09-11 14:38:01,667 - DEBUG - Response for deleting network () 2025-09-11 14:38:01,953 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 14:38:01,953 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 14:38:01,953 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:38:01,957 - INFO - ================================================================================ 2025-09-11 14:38:01,957 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 14:38:01,957 - 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-09-11 14:38:02,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:38:02,256 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:38:02,256 - INFO - 2025-09-11 14:38:02,476 - DEBUG - Response for create_network : {'network': {'id': '60fab98d-6525-41e7-8603-db94a0883279', 'name': 'ctest-vn1-97888817', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'project_id': 'c0db21945cfd49469299ae6daf77c73d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88288698', 'ctest-vn1-97888817'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:38:02,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '90240ff1-3049-4c75-bba9-238e41e7ac2b', 'name': '', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': '60fab98d-6525-41e7-8603-db94a0883279', 'ip_version': 4, 'cidr': '25.211.114.192/26', 'allocation_pools': [{'start': '25.211.114.194', 'end': '25.211.114.254'}], 'gateway_ip': '25.211.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.211.114.194', 'tags': [], 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:02,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7bff507-5e99-4ed1-859f-f652afa76c12', 'name': '', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': '60fab98d-6525-41e7-8603-db94a0883279', 'ip_version': 4, 'cidr': '60.98.8.128/26', 'allocation_pools': [{'start': '60.98.8.130', 'end': '60.98.8.190'}], 'gateway_ip': '60.98.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.98.8.130', 'tags': [], 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:02,898 - INFO - Created VN ctest-vn1-97888817 2025-09-11 14:38:02,951 - DEBUG - VN ctest-vn1-97888817 UUID is 60fab98d-6525-41e7-8603-db94a0883279 2025-09-11 14:38:03,311 - DEBUG - Response for create_port : {'port': {'name': '50c5227f-8de1-446e-aa52-af87f0fd586c', 'id': '50c5227f-8de1-446e-aa52-af87f0fd586c', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': '60fab98d-6525-41e7-8603-db94a0883279', 'mac_address': '02:50:c5:22:7f:8d', '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': '25.211.114.197', 'subnet_id': '90240ff1-3049-4c75-bba9-238e41e7ac2b'}], 'security_groups': ['287be309-40da-4225-ab09-4dbb10904d32'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:03,514 - DEBUG - Response for create_port : {'port': {'name': '1e960976-b587-482a-b107-00c5bd666d53', 'id': '1e960976-b587-482a-b107-00c5bd666d53', 'tenant_id': 'c0db21945cfd49469299ae6daf77c73d', 'network_id': '60fab98d-6525-41e7-8603-db94a0883279', 'mac_address': '02:1e:96:09:76:b5', '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': '60.98.8.133', 'subnet_id': 'b7bff507-5e99-4ed1-859f-f652afa76c12'}], 'security_groups': ['287be309-40da-4225-ab09-4dbb10904d32'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0db21945cfd49469299ae6daf77c73d'}} 2025-09-11 14:38:03,586 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:38:04,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:38:04,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:38:04,509 - INFO - Waiting for VM ctest-vn1-vm1-19656855 to be up.. 2025-09-11 14:38:04,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:38:09,667 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:38:09,667 - INFO - VM name : ctest-vn1-vm1-19656855 2025-09-11 14:38:09,768 - DEBUG - VM ctest-vn1-vm1-19656855 ID is 30c2db24-527f-4d2e-9d6c-2202e01610b4 2025-09-11 14:38:09,795 - DEBUG - VM ctest-vn1-vm1-19656855 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:38:09,887 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/30c2db24-527f-4d2e-9d6c-2202e01610b4 2025-09-11 14:38:09,898 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/50c5227f-8de1-446e-aa52-af87f0fd586c 2025-09-11 14:38:13,193 - 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 1032ms') 2025-09-11 14:38:13,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19656855 failed! 2025-09-11 14:38:13,255 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88288698:ctest-vn1-97888817 is 25.211.114.193 and allocation pool is NOT set 2025-09-11 14:38:13,255 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88288698:ctest-vn1-97888817 is 60.98.8.129 and allocation pool is NOT set 2025-09-11 14:38:17,349 - 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 1028ms') 2025-09-11 14:38:17,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19656855 failed! 2025-09-11 14:38:17,407 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88288698:ctest-vn1-97888817 is 25.211.114.193 and allocation pool is NOT set 2025-09-11 14:38:17,407 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88288698:ctest-vn1-97888817 is 60.98.8.129 and allocation pool is NOT set 2025-09-11 14:38:19,479 - 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=4.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.650 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.650/2.699/4.749/2.049 ms') 2025-09-11 14:38:19,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19656855 passed 2025-09-11 14:38:19,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:19,639 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19656855, IP 25.211.114.197, Port 22 2025-09-11 14:38:19,819 - DEBUG - VM ctest-vn1-vm1-19656855 is ready for SSH connections 2025-09-11 14:38:19,819 - INFO - Waiting for VM ctest-vn1-vm2-36432046 to be up.. 2025-09-11 14:38:19,915 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:38:19,915 - INFO - VM name : ctest-vn1-vm2-36432046 2025-09-11 14:38:20,015 - DEBUG - VM ctest-vn1-vm2-36432046 ID is c27d71ff-8e25-449f-84c6-4c15a8030c62 2025-09-11 14:38:20,015 - DEBUG - VM ctest-vn1-vm2-36432046 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:38:20,106 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/c27d71ff-8e25-449f-84c6-4c15a8030c62 2025-09-11 14:38:20,117 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/1e960976-b587-482a-b107-00c5bd666d53 2025-09-11 14:38:21,375 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.619 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.619/1.995/3.371/1.376 ms') 2025-09-11 14:38:21,375 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36432046 passed 2025-09-11 14:38:21,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:21,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36432046, IP 60.98.8.133, Port 22 2025-09-11 14:38:21,699 - DEBUG - VM ctest-vn1-vm2-36432046 is ready for SSH connections 2025-09-11 14:38:21,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:21,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:21,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:21,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.211.114.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:38:21,700 - DEBUG - ping -s 56 -c 3 -W 1 25.211.114.197 2025-09-11 14:38:24,441 - DEBUG - PING 25.211.114.197 (25.211.114.197): 56 data bytes 64 bytes from 25.211.114.197: seq=0 ttl=63 time=4.262 ms 64 bytes from 25.211.114.197: seq=1 ttl=63 time=1.173 ms 64 bytes from 25.211.114.197: seq=2 ttl=63 time=1.252 ms --- 25.211.114.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/2.229/4.262 ms 2025-09-11 14:38:24,441 - INFO - Ping to IP 25.211.114.197 from VM ctest-vn1-vm2-36432046 passed 2025-09-11 14:38:24,441 - INFO - Detaching port 1e960976-b587-482a-b107-00c5bd666d53 from VM ctest-vn1-vm2-36432046 2025-09-11 14:38:24,503 - INFO - Deleting VM ctest-vn1-vm2-36432046 2025-09-11 14:38:24,591 - INFO - Detaching port 50c5227f-8de1-446e-aa52-af87f0fd586c from VM ctest-vn1-vm1-19656855 2025-09-11 14:38:24,633 - INFO - Deleting VM ctest-vn1-vm1-19656855 2025-09-11 14:38:24,931 - DEBUG - Response for delete_port : () 2025-09-11 14:38:25,148 - DEBUG - Response for delete_port : () 2025-09-11 14:38:25,148 - INFO - Deleting VN ctest-vn1-97888817 2025-09-11 14:38:25,318 - DEBUG - Response for deleting network () 2025-09-11 14:38:25,593 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 14:38:25,593 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-11 14:38:25,593 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:38:26,383 - INFO - Deleted project: ctest-TestPorts-88288698, ID : c0db2194-5cfd-4946-9299-ae6daf77c73d