2025-10-21 11:59:17,395 - INFO - Domain Default found not creating 2025-10-21 11:59:17,535 - INFO - Project ctest-TestPorts-50399599 not found, creating it 2025-10-21 11:59:17,973 - INFO - Created Project:ctest-TestPorts-50399599, ID : febea7e6-d15c-4232-906e-fe662108efe6 2025-10-21 11:59:19,363 - INFO - ================================================================================ 2025-10-21 11:59:19,363 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 11:59:19,363 - 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-21 11:59:19,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 11:59:19,615 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:59:19,615 - INFO - 2025-10-21 11:59:20,127 - DEBUG - Response for create_network : {'network': {'id': '191f3933-b328-417f-9909-98d3d7dd2ec0', 'name': 'ctest-vn-85383989', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'project_id': 'febea7e6d15c4232906efe662108efe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50399599', 'ctest-vn-85383989'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:59:20,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '39a52f8b-6160-4497-8ff8-ebc10fa6e72d', 'name': '', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': '191f3933-b328-417f-9909-98d3d7dd2ec0', 'ip_version': 4, 'cidr': '217.136.241.128/26', 'allocation_pools': [{'start': '217.136.241.130', 'end': '217.136.241.190'}], 'gateway_ip': '217.136.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.136.241.130', 'tags': [], 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:20,297 - INFO - Created VN ctest-vn-85383989 2025-10-21 11:59:20,346 - DEBUG - VN ctest-vn-85383989 UUID is 191f3933-b328-417f-9909-98d3d7dd2ec0 2025-10-21 11:59:20,451 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50399599', 'ctest-vmi-91667189']} 2025-10-21 11:59:20,707 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91667189', 'id': 'bc7a6993-989a-4c9b-849d-d15e636eb18e', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': '191f3933-b328-417f-9909-98d3d7dd2ec0', 'mac_address': '02:bc:7a:69:93:98', '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': '217.136.241.131', 'subnet_id': '39a52f8b-6160-4497-8ff8-ebc10fa6e72d'}], 'security_groups': ['1d8a64ff-47bc-4d22-be04-48d3ac6bb13a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:20,708 - DEBUG - Created port bc7a6993-989a-4c9b-849d-d15e636eb18e 2025-10-21 11:59:20,810 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/bc7a6993-989a-4c9b-849d-d15e636eb18e 2025-10-21 11:59:21,099 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/bc7a6993-989a-4c9b-849d-d15e636eb18e 2025-10-21 11:59:21,129 - INFO - VMI bc7a6993-989a-4c9b-849d-d15e636eb18e verification in API Server passed 2025-10-21 11:59:21,210 - DEBUG - Response for delete_port : () 2025-10-21 11:59:21,210 - INFO - Deleted port bc7a6993-989a-4c9b-849d-d15e636eb18e 2025-10-21 11:59:21,210 - INFO - Deleting VN ctest-vn-85383989 2025-10-21 11:59:21,302 - DEBUG - Response for deleting network () 2025-10-21 11:59:21,555 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 11:59:21,555 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-21 11:59:21,556 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:59:21,558 - INFO - ================================================================================ 2025-10-21 11:59:21,558 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 11:59:21,558 - 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-21 11:59:21,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 11:59:21,845 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:59:21,845 - INFO - 2025-10-21 11:59:22,018 - DEBUG - Response for create_network : {'network': {'id': 'ae53fc95-4216-4549-bfce-e3016f9b66fc', 'name': 'ctest-vn1-92676366', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'project_id': 'febea7e6d15c4232906efe662108efe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50399599', 'ctest-vn1-92676366'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:59:22,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c26f2858-df7c-4f03-858d-db24cf75165e', 'name': '', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': 'ae53fc95-4216-4549-bfce-e3016f9b66fc', 'ip_version': 4, 'cidr': '218.14.34.192/26', 'allocation_pools': [{'start': '218.14.34.194', 'end': '218.14.34.254'}], 'gateway_ip': '218.14.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.14.34.194', 'tags': [], 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:22,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d782029-548e-4f72-b548-2d64bed944b6', 'name': '', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': 'ae53fc95-4216-4549-bfce-e3016f9b66fc', 'ip_version': 4, 'cidr': '219.133.45.64/26', 'allocation_pools': [{'start': '219.133.45.66', 'end': '219.133.45.126'}], 'gateway_ip': '219.133.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.133.45.66', 'tags': [], 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:22,415 - INFO - Created VN ctest-vn1-92676366 2025-10-21 11:59:22,466 - DEBUG - VN ctest-vn1-92676366 UUID is ae53fc95-4216-4549-bfce-e3016f9b66fc 2025-10-21 11:59:22,759 - DEBUG - Response for create_port : {'port': {'name': '64c7d3b4-5bd7-4919-b679-b0d8167a7a9b', 'id': '64c7d3b4-5bd7-4919-b679-b0d8167a7a9b', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': 'ae53fc95-4216-4549-bfce-e3016f9b66fc', 'mac_address': '02:64:c7:d3:b4:5b', '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': '218.14.34.197', 'subnet_id': 'c26f2858-df7c-4f03-858d-db24cf75165e'}], 'security_groups': ['1d8a64ff-47bc-4d22-be04-48d3ac6bb13a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:22,936 - DEBUG - Response for create_port : {'port': {'name': 'f8c6a27c-03fe-41e2-b46d-248d93b13ea4', 'id': 'f8c6a27c-03fe-41e2-b46d-248d93b13ea4', 'tenant_id': 'febea7e6d15c4232906efe662108efe6', 'network_id': 'ae53fc95-4216-4549-bfce-e3016f9b66fc', 'mac_address': '02:f8:c6:a2:7c:03', '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': '219.133.45.69', 'subnet_id': '6d782029-548e-4f72-b548-2d64bed944b6'}], 'security_groups': ['1d8a64ff-47bc-4d22-be04-48d3ac6bb13a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'febea7e6d15c4232906efe662108efe6'}} 2025-10-21 11:59:22,991 - DEBUG - Services list from nova: [, , ] 2025-10-21 11:59:23,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 11:59:23,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 11:59:23,865 - INFO - Waiting for VM ctest-vn1-vm1-92040735 to be up.. 2025-10-21 11:59:23,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 11:59:28,980 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:59:28,980 - INFO - VM name : ctest-vn1-vm1-92040735 2025-10-21 11:59:29,049 - DEBUG - VM ctest-vn1-vm1-92040735 ID is cb9b54c8-4a5a-409e-957f-1c3b2aa8ad67 2025-10-21 11:59:29,069 - DEBUG - VM ctest-vn1-vm1-92040735 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 11:59:29,136 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cb9b54c8-4a5a-409e-957f-1c3b2aa8ad67 2025-10-21 11:59:29,144 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/64c7d3b4-5bd7-4919-b679-b0d8167a7a9b 2025-10-21 11:59:32,380 - 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 1007ms') 2025-10-21 11:59:32,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92040735 failed! 2025-10-21 11:59:32,438 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50399599:ctest-vn1-92676366 is 218.14.34.193 and allocation pool is NOT set 2025-10-21 11:59:32,438 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50399599:ctest-vn1-92676366 is 219.133.45.65 and allocation pool is NOT set 2025-10-21 11:59:34,499 - 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=5.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/2.717/5.076/2.358 ms') 2025-10-21 11:59:34,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92040735 passed 2025-10-21 11:59:34,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:34,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92040735, IP 218.14.34.197, Port 22 2025-10-21 11:59:34,801 - DEBUG - VM ctest-vn1-vm1-92040735 is ready for SSH connections 2025-10-21 11:59:34,801 - INFO - Waiting for VM ctest-vn1-vm2-43211465 to be up.. 2025-10-21 11:59:34,871 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:59:34,871 - INFO - VM name : ctest-vn1-vm2-43211465 2025-10-21 11:59:34,934 - DEBUG - VM ctest-vn1-vm2-43211465 ID is baedec7f-e35f-4d68-b8ed-f2289f779b48 2025-10-21 11:59:34,934 - DEBUG - VM ctest-vn1-vm2-43211465 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 11:59:34,994 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/baedec7f-e35f-4d68-b8ed-f2289f779b48 2025-10-21 11:59:35,000 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f8c6a27c-03fe-41e2-b46d-248d93b13ea4 2025-10-21 11:59:36,226 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.325/1.697/3.069/1.372 ms') 2025-10-21 11:59:36,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43211465 passed 2025-10-21 11:59:36,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:36,374 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43211465, IP 219.133.45.69, Port 22 2025-10-21 11:59:36,533 - DEBUG - VM ctest-vn1-vm2-43211465 is ready for SSH connections 2025-10-21 11:59:36,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:36,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:36,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:36,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.14.34.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 11:59:36,534 - DEBUG - ping -s 56 -c 3 -W 1 218.14.34.197 2025-10-21 11:59:39,455 - DEBUG - PING 218.14.34.197 (218.14.34.197): 56 data bytes 64 bytes from 218.14.34.197: seq=0 ttl=63 time=3.592 ms 64 bytes from 218.14.34.197: seq=1 ttl=63 time=0.708 ms 64 bytes from 218.14.34.197: seq=2 ttl=63 time=0.794 ms --- 218.14.34.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.698/3.592 ms 2025-10-21 11:59:39,455 - INFO - Ping to IP 218.14.34.197 from VM ctest-vn1-vm2-43211465 passed 2025-10-21 11:59:39,455 - INFO - Detaching port f8c6a27c-03fe-41e2-b46d-248d93b13ea4 from VM ctest-vn1-vm2-43211465 2025-10-21 11:59:39,500 - INFO - Deleting VM ctest-vn1-vm2-43211465 2025-10-21 11:59:39,568 - INFO - Detaching port 64c7d3b4-5bd7-4919-b679-b0d8167a7a9b from VM ctest-vn1-vm1-92040735 2025-10-21 11:59:39,602 - INFO - Deleting VM ctest-vn1-vm1-92040735 2025-10-21 11:59:39,812 - DEBUG - Response for delete_port : () 2025-10-21 11:59:39,938 - DEBUG - Response for delete_port : () 2025-10-21 11:59:39,938 - INFO - Deleting VN ctest-vn1-92676366 2025-10-21 11:59:40,047 - DEBUG - Response for deleting network () 2025-10-21 11:59:40,302 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 11:59:40,302 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-21 11:59:40,302 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:59:40,935 - INFO - Deleted project: ctest-TestPorts-50399599, ID : febea7e6-d15c-4232-906e-fe662108efe6