2025-08-21 02:13:22,125 - INFO - Domain Default found not creating
2025-08-21 02:13:22,254 - INFO - Project ctest-TestPorts-24400324 not found, creating it
2025-08-21 02:13:22,688 - INFO - Created Project:ctest-TestPorts-24400324, ID : 54dc4f44-d2b5-465d-916f-ecfaf4b2de82
2025-08-21 02:13:24,131 - INFO - ================================================================================
2025-08-21 02:13:24,131 - INFO - STARTING TEST : test_ports_bindings
2025-08-21 02:13:24,131 - 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-21 02:13:24,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with
2025-08-21 02:13:24,388 - INFO - Initial checks done. Running the testcase now
2025-08-21 02:13:24,388 - INFO -
2025-08-21 02:13:25,474 - DEBUG - Response for create_network : {'network': {'id': '20fc36b5-8f65-4cf1-bd43-227c765f7e37', 'name': 'ctest-vn-33374811', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24400324', 'ctest-vn-33374811'], 'port_security_enabled': True, 'description': ''}}
2025-08-21 02:13:25,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b795c16-c923-4458-8f87-14a367f820b2', 'name': '', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': '20fc36b5-8f65-4cf1-bd43-227c765f7e37', 'ip_version': 4, 'cidr': '107.162.126.0/26', 'allocation_pools': [{'start': '107.162.126.2', 'end': '107.162.126.62'}], 'gateway_ip': '107.162.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.162.126.2', 'tags': [], 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:25,677 - INFO - Created VN ctest-vn-33374811
2025-08-21 02:13:25,731 - DEBUG - VN ctest-vn-33374811 UUID is 20fc36b5-8f65-4cf1-bd43-227c765f7e37
2025-08-21 02:13:25,836 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24400324', 'ctest-vmi-99978945']}
2025-08-21 02:13:26,115 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99978945', 'id': '098c5718-2f3e-48c6-8172-e8834a694fd7', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': '20fc36b5-8f65-4cf1-bd43-227c765f7e37', 'mac_address': '02:09:8c:57:18:2f', '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': '107.162.126.3', 'subnet_id': '2b795c16-c923-4458-8f87-14a367f820b2'}], 'security_groups': ['73662511-f77e-446f-a16c-8183ecc4e595'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:26,115 - DEBUG - Created port 098c5718-2f3e-48c6-8172-e8834a694fd7
2025-08-21 02:13:26,223 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/098c5718-2f3e-48c6-8172-e8834a694fd7
2025-08-21 02:13:26,513 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/098c5718-2f3e-48c6-8172-e8834a694fd7
2025-08-21 02:13:26,543 - INFO - VMI 098c5718-2f3e-48c6-8172-e8834a694fd7 verification in API Server passed
2025-08-21 02:13:26,629 - DEBUG - Response for delete_port : ()
2025-08-21 02:13:26,629 - INFO - Deleted port 098c5718-2f3e-48c6-8172-e8834a694fd7
2025-08-21 02:13:26,629 - INFO - Deleting VN ctest-vn-33374811
2025-08-21 02:13:26,727 - DEBUG - Response for deleting network ()
2025-08-21 02:13:26,979 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:13:26,979 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-21 02:13:26,979 - INFO - --------------------------------------------------------------------------------
2025-08-21 02:13:26,981 - INFO - ================================================================================
2025-08-21 02:13:26,981 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-21 02:13:26,982 - 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-21 02:13:27,276 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with
2025-08-21 02:13:27,276 - INFO - Initial checks done. Running the testcase now
2025-08-21 02:13:27,276 - INFO -
2025-08-21 02:13:27,474 - DEBUG - Response for create_network : {'network': {'id': 'e697b52d-07af-4452-bb0b-67ca3698fbed', 'name': 'ctest-vn1-55088163', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24400324', 'ctest-vn1-55088163'], 'port_security_enabled': True, 'description': ''}}
2025-08-21 02:13:27,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c841a04f-ab9d-4cd2-8479-e24370aca160', 'name': '', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': 'e697b52d-07af-4452-bb0b-67ca3698fbed', 'ip_version': 4, 'cidr': '185.116.14.192/26', 'allocation_pools': [{'start': '185.116.14.194', 'end': '185.116.14.254'}], 'gateway_ip': '185.116.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.116.14.194', 'tags': [], 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:27,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '11fb0a6a-89e1-4835-abd3-83b11be69585', 'name': '', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': 'e697b52d-07af-4452-bb0b-67ca3698fbed', 'ip_version': 4, 'cidr': '196.213.47.192/26', 'allocation_pools': [{'start': '196.213.47.194', 'end': '196.213.47.254'}], 'gateway_ip': '196.213.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.213.47.194', 'tags': [], 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:28,010 - INFO - Created VN ctest-vn1-55088163
2025-08-21 02:13:28,063 - DEBUG - VN ctest-vn1-55088163 UUID is e697b52d-07af-4452-bb0b-67ca3698fbed
2025-08-21 02:13:28,388 - DEBUG - Response for create_port : {'port': {'name': '0ecc516d-e502-4aa7-83ba-1d483b4c3fd9', 'id': '0ecc516d-e502-4aa7-83ba-1d483b4c3fd9', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': 'e697b52d-07af-4452-bb0b-67ca3698fbed', 'mac_address': '02:0e:cc:51:6d:e5', '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': '185.116.14.197', 'subnet_id': 'c841a04f-ab9d-4cd2-8479-e24370aca160'}], 'security_groups': ['73662511-f77e-446f-a16c-8183ecc4e595'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:28,576 - DEBUG - Response for create_port : {'port': {'name': 'd18add82-b514-4b14-989f-437693a9fd2e', 'id': 'd18add82-b514-4b14-989f-437693a9fd2e', 'tenant_id': '54dc4f44d2b5465d916fecfaf4b2de82', 'network_id': 'e697b52d-07af-4452-bb0b-67ca3698fbed', 'mac_address': '02:d1:8a:dd:82: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': '196.213.47.197', 'subnet_id': '11fb0a6a-89e1-4835-abd3-83b11be69585'}], 'security_groups': ['73662511-f77e-446f-a16c-8183ecc4e595'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54dc4f44d2b5465d916fecfaf4b2de82'}}
2025-08-21 02:13:28,639 - DEBUG - Services list from nova: [, , ]
2025-08-21 02:13:28,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1)
2025-08-21 02:13:29,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1)
2025-08-21 02:13:29,351 - INFO - Waiting for VM ctest-vn1-vm1-10620990 to be up..
2025-08-21 02:13:29,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-21 02:13:34,598 - DEBUG - VM is in ACTIVE state now
2025-08-21 02:13:34,598 - INFO - VM name : ctest-vn1-vm1-10620990
2025-08-21 02:13:34,681 - DEBUG - VM ctest-vn1-vm1-10620990 ID is a9e0fb49-ca41-4cc4-8d1a-b0ed4f91c445
2025-08-21 02:13:34,703 - DEBUG - VM ctest-vn1-vm1-10620990 launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1
2025-08-21 02:13:34,778 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a9e0fb49-ca41-4cc4-8d1a-b0ed4f91c445
2025-08-21 02:13:34,785 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0ecc516d-e502-4aa7-83ba-1d483b4c3fd9
2025-08-21 02:13:38,060 - 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 1014ms')
2025-08-21 02:13:38,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10620990 failed!
2025-08-21 02:13:38,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24400324:ctest-vn1-55088163 is 185.116.14.193 and allocation pool is NOT set
2025-08-21 02:13:38,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24400324:ctest-vn1-55088163 is 196.213.47.193 and allocation pool is NOT set
2025-08-21 02:13:40,172 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.635 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.635/2.402/4.169/1.767 ms')
2025-08-21 02:13:40,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10620990 passed
2025-08-21 02:13:40,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:13:40,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10620990, IP 185.116.14.197, Port 22
2025-08-21 02:13:40,478 - DEBUG - VM ctest-vn1-vm1-10620990 is ready for SSH connections
2025-08-21 02:13:40,478 - INFO - Waiting for VM ctest-vn1-vm2-44484314 to be up..
2025-08-21 02:13:40,555 - DEBUG - VM is in ACTIVE state now
2025-08-21 02:13:40,555 - INFO - VM name : ctest-vn1-vm2-44484314
2025-08-21 02:13:40,632 - DEBUG - VM ctest-vn1-vm2-44484314 ID is a2377f2d-214a-4880-a12f-69d42c1ce397
2025-08-21 02:13:40,632 - DEBUG - VM ctest-vn1-vm2-44484314 launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1
2025-08-21 02:13:40,711 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a2377f2d-214a-4880-a12f-69d42c1ce397
2025-08-21 02:13:40,718 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d18add82-b514-4b14-989f-437693a9fd2e
2025-08-21 02:13:41,962 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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 = 1.559/2.761/3.964/1.202 ms')
2025-08-21 02:13:41,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44484314 passed
2025-08-21 02:13:42,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:13:42,115 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44484314, IP 196.213.47.197, Port 22
2025-08-21 02:13:42,284 - DEBUG - VM ctest-vn1-vm2-44484314 is ready for SSH connections
2025-08-21 02:13:42,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:13:42,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:13:42,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:13:42,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.116.14.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-21 02:13:42,285 - DEBUG - ping -s 56 -c 3 -W 1 185.116.14.197
2025-08-21 02:13:44,943 - DEBUG - PING 185.116.14.197 (185.116.14.197): 56 data bytes
64 bytes from 185.116.14.197: seq=0 ttl=63 time=4.892 ms
64 bytes from 185.116.14.197: seq=1 ttl=63 time=0.767 ms
64 bytes from 185.116.14.197: seq=2 ttl=63 time=0.807 ms
--- 185.116.14.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.767/2.155/4.892 ms
2025-08-21 02:13:44,943 - INFO - Ping to IP 185.116.14.197 from VM ctest-vn1-vm2-44484314 passed
2025-08-21 02:13:44,943 - INFO - Detaching port d18add82-b514-4b14-989f-437693a9fd2e from VM ctest-vn1-vm2-44484314
2025-08-21 02:13:44,990 - INFO - Deleting VM ctest-vn1-vm2-44484314
2025-08-21 02:13:45,065 - INFO - Detaching port 0ecc516d-e502-4aa7-83ba-1d483b4c3fd9 from VM ctest-vn1-vm1-10620990
2025-08-21 02:13:45,105 - INFO - Deleting VM ctest-vn1-vm1-10620990
2025-08-21 02:13:45,347 - DEBUG - Response for delete_port : ()
2025-08-21 02:13:45,515 - DEBUG - Response for delete_port : ()
2025-08-21 02:13:45,515 - INFO - Deleting VN ctest-vn1-55088163
2025-08-21 02:13:45,645 - DEBUG - Response for deleting network ()
2025-08-21 02:13:45,905 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:13:45,905 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-21 02:13:45,905 - INFO - --------------------------------------------------------------------------------
2025-08-21 02:13:46,589 - INFO - Deleted project: ctest-TestPorts-24400324, ID : 54dc4f44-d2b5-465d-916f-ecfaf4b2de82