2025-12-05 08:23:05,894 - INFO - Domain Default found not creating
2025-12-05 08:23:06,059 - INFO - Project ctest-TestPorts-19605517 not found, creating it
2025-12-05 08:23:06,530 - INFO - Created Project:ctest-TestPorts-19605517, ID : 5bf4eada-5adf-447a-a796-508ab57d3dc3
2025-12-05 08:23:07,960 - INFO - ================================================================================
2025-12-05 08:23:07,960 - INFO - STARTING TEST : test_ports_bindings
2025-12-05 08:23:07,960 - 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-12-05 08:23:08,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-12-05 08:23:08,214 - INFO - Initial checks done. Running the testcase now
2025-12-05 08:23:08,214 - INFO -
2025-12-05 08:23:08,755 - DEBUG - Response for create_network : {'network': {'id': 'dde18354-8c68-440a-ba15-04c7a56ec5aa', 'name': 'ctest-vn-59658413', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'project_id': '5bf4eada5adf447aa796508ab57d3dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19605517', 'ctest-vn-59658413'], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:23:08,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '22a69784-90ca-49f8-ba82-5baae4f4be82', 'name': '', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': 'dde18354-8c68-440a-ba15-04c7a56ec5aa', 'ip_version': 4, 'cidr': '16.119.1.64/26', 'allocation_pools': [{'start': '16.119.1.66', 'end': '16.119.1.126'}], 'gateway_ip': '16.119.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.119.1.66', 'tags': [], 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:08,953 - INFO - Created VN ctest-vn-59658413
2025-12-05 08:23:09,006 - DEBUG - VN ctest-vn-59658413 UUID is dde18354-8c68-440a-ba15-04c7a56ec5aa
2025-12-05 08:23:09,116 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19605517', 'ctest-vmi-70236688']}
2025-12-05 08:23:09,416 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70236688', 'id': '3d0f99d3-c4f4-40bc-aa16-629b4d2248b3', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': 'dde18354-8c68-440a-ba15-04c7a56ec5aa', 'mac_address': '02:3d:0f:99:d3:c4', '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': '16.119.1.67', 'subnet_id': '22a69784-90ca-49f8-ba82-5baae4f4be82'}], 'security_groups': ['a010c0ef-bfdd-42d7-ad43-b2fd9e4ec7be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:09,416 - DEBUG - Created port 3d0f99d3-c4f4-40bc-aa16-629b4d2248b3
2025-12-05 08:23:09,526 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3d0f99d3-c4f4-40bc-aa16-629b4d2248b3
2025-12-05 08:23:09,819 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3d0f99d3-c4f4-40bc-aa16-629b4d2248b3
2025-12-05 08:23:09,854 - INFO - VMI 3d0f99d3-c4f4-40bc-aa16-629b4d2248b3 verification in API Server passed
2025-12-05 08:23:09,944 - DEBUG - Response for delete_port : ()
2025-12-05 08:23:09,944 - INFO - Deleted port 3d0f99d3-c4f4-40bc-aa16-629b4d2248b3
2025-12-05 08:23:09,944 - INFO - Deleting VN ctest-vn-59658413
2025-12-05 08:23:10,048 - DEBUG - Response for deleting network ()
2025-12-05 08:23:10,302 - DEBUG - No XMPP flaps were noticed during the test
2025-12-05 08:23:10,302 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-05 08:23:10,303 - INFO - --------------------------------------------------------------------------------
2025-12-05 08:23:10,305 - INFO - ================================================================================
2025-12-05 08:23:10,305 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-05 08:23:10,305 - 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-12-05 08:23:10,591 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-12-05 08:23:10,591 - INFO - Initial checks done. Running the testcase now
2025-12-05 08:23:10,591 - INFO -
2025-12-05 08:23:10,759 - DEBUG - Response for create_network : {'network': {'id': '38479e49-cc70-470f-a2e1-894652573e37', 'name': 'ctest-vn1-34767885', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'project_id': '5bf4eada5adf447aa796508ab57d3dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19605517', 'ctest-vn1-34767885'], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:23:10,968 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6fe5f85-14f1-4bce-b972-9c3aec95ac31', 'name': '', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': '38479e49-cc70-470f-a2e1-894652573e37', 'ip_version': 4, 'cidr': '44.251.80.0/26', 'allocation_pools': [{'start': '44.251.80.2', 'end': '44.251.80.62'}], 'gateway_ip': '44.251.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.251.80.2', 'tags': [], 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:11,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3510516-4d71-4ce4-ab0c-e245b91a0058', 'name': '', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': '38479e49-cc70-470f-a2e1-894652573e37', 'ip_version': 4, 'cidr': '181.179.127.192/26', 'allocation_pools': [{'start': '181.179.127.194', 'end': '181.179.127.254'}], 'gateway_ip': '181.179.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.179.127.194', 'tags': [], 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:11,149 - INFO - Created VN ctest-vn1-34767885
2025-12-05 08:23:11,202 - DEBUG - VN ctest-vn1-34767885 UUID is 38479e49-cc70-470f-a2e1-894652573e37
2025-12-05 08:23:11,520 - DEBUG - Response for create_port : {'port': {'name': '71d3b13a-88e7-46ec-8eb8-fb524536a67c', 'id': '71d3b13a-88e7-46ec-8eb8-fb524536a67c', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': '38479e49-cc70-470f-a2e1-894652573e37', 'mac_address': '02:71:d3:b1:3a:88', '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': '44.251.80.5', 'subnet_id': 'f6fe5f85-14f1-4bce-b972-9c3aec95ac31'}], 'security_groups': ['a010c0ef-bfdd-42d7-ad43-b2fd9e4ec7be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:11,689 - DEBUG - Response for create_port : {'port': {'name': '4e07c6b5-6fcc-4fdd-97c9-2a88d6f2b60b', 'id': '4e07c6b5-6fcc-4fdd-97c9-2a88d6f2b60b', 'tenant_id': '5bf4eada5adf447aa796508ab57d3dc3', 'network_id': '38479e49-cc70-470f-a2e1-894652573e37', 'mac_address': '02:4e:07:c6:b5:6f', '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': '181.179.127.197', 'subnet_id': 'f3510516-4d71-4ce4-ab0c-e245b91a0058'}], 'security_groups': ['a010c0ef-bfdd-42d7-ad43-b2fd9e4ec7be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5bf4eada5adf447aa796508ab57d3dc3'}}
2025-12-05 08:23:11,746 - DEBUG - Services list from nova: [, , ]
2025-12-05 08:23:12,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1)
2025-12-05 08:23:12,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1)
2025-12-05 08:23:12,539 - INFO - Waiting for VM ctest-vn1-vm1-80766250 to be up..
2025-12-05 08:23:12,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-05 08:23:17,656 - DEBUG - VM is in ACTIVE state now
2025-12-05 08:23:17,656 - INFO - VM name : ctest-vn1-vm1-80766250
2025-12-05 08:23:17,739 - DEBUG - VM ctest-vn1-vm1-80766250 ID is ad9b0ef5-86cd-4c24-b31c-41d872b5aa87
2025-12-05 08:23:17,759 - DEBUG - VM ctest-vn1-vm1-80766250 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1
2025-12-05 08:23:17,846 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ad9b0ef5-86cd-4c24-b31c-41d872b5aa87
2025-12-05 08:23:17,855 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/71d3b13a-88e7-46ec-8eb8-fb524536a67c
2025-12-05 08:23:21,132 - 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 1031ms')
2025-12-05 08:23:21,132 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80766250 failed!
2025-12-05 08:23:21,186 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19605517:ctest-vn1-34767885 is 44.251.80.1 and allocation pool is NOT set
2025-12-05 08:23:21,186 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19605517:ctest-vn1-34767885 is 181.179.127.193 and allocation pool is NOT set
2025-12-05 08:23:25,251 - 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=2 ttl=63 time=9.66 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 9.661/9.661/9.661/0.000 ms')
2025-12-05 08:23:25,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80766250 passed
2025-12-05 08:23:25,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-05 08:23:25,398 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80766250, IP 44.251.80.5, Port 22
2025-12-05 08:23:25,558 - DEBUG - VM ctest-vn1-vm1-80766250 is ready for SSH connections
2025-12-05 08:23:25,559 - INFO - Waiting for VM ctest-vn1-vm2-36110630 to be up..
2025-12-05 08:23:25,767 - DEBUG - VM is in ACTIVE state now
2025-12-05 08:23:25,767 - INFO - VM name : ctest-vn1-vm2-36110630
2025-12-05 08:23:25,834 - DEBUG - VM ctest-vn1-vm2-36110630 ID is 57c6702b-e048-4ec2-8abe-021b62da922f
2025-12-05 08:23:25,834 - DEBUG - VM ctest-vn1-vm2-36110630 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1
2025-12-05 08:23:25,905 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/57c6702b-e048-4ec2-8abe-021b62da922f
2025-12-05 08:23:25,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4e07c6b5-6fcc-4fdd-97c9-2a88d6f2b60b
2025-12-05 08:23:27,140 - 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.590 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.590/1.828/3.067/1.238 ms')
2025-12-05 08:23:27,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36110630 passed
2025-12-05 08:23:27,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-05 08:23:27,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36110630, IP 181.179.127.197, Port 22
2025-12-05 08:23:27,450 - DEBUG - VM ctest-vn1-vm2-36110630 is ready for SSH connections
2025-12-05 08:23:27,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-05 08:23:27,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-05 08:23:27,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-05 08:23:27,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.251.80.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-12-05 08:23:27,451 - DEBUG - ping -s 56 -c 3 -W 1 44.251.80.5
2025-12-05 08:23:30,520 - DEBUG - PING 44.251.80.5 (44.251.80.5): 56 data bytes
64 bytes from 44.251.80.5: seq=0 ttl=63 time=4.534 ms
64 bytes from 44.251.80.5: seq=1 ttl=63 time=0.996 ms
64 bytes from 44.251.80.5: seq=2 ttl=63 time=0.828 ms
--- 44.251.80.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.119/4.534 ms
2025-12-05 08:23:30,520 - INFO - Ping to IP 44.251.80.5 from VM ctest-vn1-vm2-36110630 passed
2025-12-05 08:23:30,521 - INFO - Detaching port 4e07c6b5-6fcc-4fdd-97c9-2a88d6f2b60b from VM ctest-vn1-vm2-36110630
2025-12-05 08:23:30,573 - INFO - Deleting VM ctest-vn1-vm2-36110630
2025-12-05 08:23:30,641 - INFO - Detaching port 71d3b13a-88e7-46ec-8eb8-fb524536a67c from VM ctest-vn1-vm1-80766250
2025-12-05 08:23:30,673 - INFO - Deleting VM ctest-vn1-vm1-80766250
2025-12-05 08:23:30,899 - DEBUG - Response for delete_port : ()
2025-12-05 08:23:31,056 - DEBUG - Response for delete_port : ()
2025-12-05 08:23:31,056 - INFO - Deleting VN ctest-vn1-34767885
2025-12-05 08:23:31,201 - DEBUG - Response for deleting network ()
2025-12-05 08:23:31,464 - DEBUG - No XMPP flaps were noticed during the test
2025-12-05 08:23:31,464 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-05 08:23:31,464 - INFO - --------------------------------------------------------------------------------
2025-12-05 08:23:32,161 - INFO - Deleted project: ctest-TestPorts-19605517, ID : 5bf4eada-5adf-447a-a796-508ab57d3dc3