2025-10-08 20:19:05,624 - INFO - Domain Default found not creating
2025-10-08 20:19:05,747 - INFO - Project ctest-TestPorts-66095553 not found, creating it
2025-10-08 20:19:06,172 - INFO - Created Project:ctest-TestPorts-66095553, ID : b5f49e80-f62f-4838-8c46-c461bb4133db
2025-10-08 20:19:07,574 - INFO - ================================================================================
2025-10-08 20:19:07,574 - INFO - STARTING TEST : test_ports_bindings
2025-10-08 20:19:07,574 - 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-08 20:19:07,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-08 20:19:07,837 - INFO - Initial checks done. Running the testcase now
2025-10-08 20:19:07,838 - INFO -
2025-10-08 20:19:08,377 - DEBUG - Response for create_network : {'network': {'id': '8c2d54f6-6b5a-4fa0-8122-d4f5e080fe86', 'name': 'ctest-vn-55340744', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'project_id': 'b5f49e80f62f48388c46c461bb4133db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66095553', 'ctest-vn-55340744'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 20:19:08,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad5eea28-ebe3-430b-8301-51d89c65857b', 'name': '', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '8c2d54f6-6b5a-4fa0-8122-d4f5e080fe86', 'ip_version': 4, 'cidr': '130.10.228.128/26', 'allocation_pools': [{'start': '130.10.228.130', 'end': '130.10.228.190'}], 'gateway_ip': '130.10.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.10.228.130', 'tags': [], 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:08,563 - INFO - Created VN ctest-vn-55340744
2025-10-08 20:19:08,612 - DEBUG - VN ctest-vn-55340744 UUID is 8c2d54f6-6b5a-4fa0-8122-d4f5e080fe86
2025-10-08 20:19:08,707 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66095553', 'ctest-vmi-72506162']}
2025-10-08 20:19:08,964 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72506162', 'id': '5fef8fe9-ff3c-4f11-8b94-206cc497f605', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '8c2d54f6-6b5a-4fa0-8122-d4f5e080fe86', 'mac_address': '02:5f:ef:8f:e9:ff', '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': '130.10.228.131', 'subnet_id': 'ad5eea28-ebe3-430b-8301-51d89c65857b'}], 'security_groups': ['d4cbede4-157c-493f-a996-eef5d95e8195'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:08,964 - DEBUG - Created port 5fef8fe9-ff3c-4f11-8b94-206cc497f605
2025-10-08 20:19:09,064 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5fef8fe9-ff3c-4f11-8b94-206cc497f605
2025-10-08 20:19:09,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5fef8fe9-ff3c-4f11-8b94-206cc497f605
2025-10-08 20:19:09,377 - INFO - VMI 5fef8fe9-ff3c-4f11-8b94-206cc497f605 verification in API Server passed
2025-10-08 20:19:09,460 - DEBUG - Response for delete_port : ()
2025-10-08 20:19:09,460 - INFO - Deleted port 5fef8fe9-ff3c-4f11-8b94-206cc497f605
2025-10-08 20:19:09,460 - INFO - Deleting VN ctest-vn-55340744
2025-10-08 20:19:09,550 - DEBUG - Response for deleting network ()
2025-10-08 20:19:09,808 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 20:19:09,808 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-08 20:19:09,808 - INFO - --------------------------------------------------------------------------------
2025-10-08 20:19:09,811 - INFO - ================================================================================
2025-10-08 20:19:09,811 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-08 20:19:09,811 - 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-08 20:19:10,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-08 20:19:10,093 - INFO - Initial checks done. Running the testcase now
2025-10-08 20:19:10,093 - INFO -
2025-10-08 20:19:10,252 - DEBUG - Response for create_network : {'network': {'id': '46af393d-1159-4c91-adaf-c824ba454ca5', 'name': 'ctest-vn1-90878557', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'project_id': 'b5f49e80f62f48388c46c461bb4133db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66095553', 'ctest-vn1-90878557'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 20:19:10,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '41621857-0fc3-4644-a706-9e3fddffadfb', 'name': '', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '46af393d-1159-4c91-adaf-c824ba454ca5', 'ip_version': 4, 'cidr': '117.8.143.64/26', 'allocation_pools': [{'start': '117.8.143.66', 'end': '117.8.143.126'}], 'gateway_ip': '117.8.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.8.143.66', 'tags': [], 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:10,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba8e39fc-8a95-4db1-ae62-0a94b9a3dd14', 'name': '', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '46af393d-1159-4c91-adaf-c824ba454ca5', 'ip_version': 4, 'cidr': '163.217.68.64/26', 'allocation_pools': [{'start': '163.217.68.66', 'end': '163.217.68.126'}], 'gateway_ip': '163.217.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.217.68.66', 'tags': [], 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:10,646 - INFO - Created VN ctest-vn1-90878557
2025-10-08 20:19:10,696 - DEBUG - VN ctest-vn1-90878557 UUID is 46af393d-1159-4c91-adaf-c824ba454ca5
2025-10-08 20:19:10,956 - DEBUG - Response for create_port : {'port': {'name': 'f601aa9a-e08e-4226-b20a-94c79d4e549b', 'id': 'f601aa9a-e08e-4226-b20a-94c79d4e549b', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '46af393d-1159-4c91-adaf-c824ba454ca5', 'mac_address': '02:f6:01:aa:9a:e0', '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': '117.8.143.69', 'subnet_id': '41621857-0fc3-4644-a706-9e3fddffadfb'}], 'security_groups': ['d4cbede4-157c-493f-a996-eef5d95e8195'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:11,098 - DEBUG - Response for create_port : {'port': {'name': 'd1f54140-2c99-4112-9538-ee4499eabd0d', 'id': 'd1f54140-2c99-4112-9538-ee4499eabd0d', 'tenant_id': 'b5f49e80f62f48388c46c461bb4133db', 'network_id': '46af393d-1159-4c91-adaf-c824ba454ca5', 'mac_address': '02:d1:f5:41:40:2c', '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': '163.217.68.69', 'subnet_id': 'ba8e39fc-8a95-4db1-ae62-0a94b9a3dd14'}], 'security_groups': ['d4cbede4-157c-493f-a996-eef5d95e8195'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5f49e80f62f48388c46c461bb4133db'}}
2025-10-08 20:19:11,148 - DEBUG - Services list from nova: [, , ]
2025-10-08 20:19:11,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1)
2025-10-08 20:19:11,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1)
2025-10-08 20:19:11,767 - INFO - Waiting for VM ctest-vn1-vm1-87547094 to be up..
2025-10-08 20:19:11,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 20:19:16,870 - DEBUG - VM is in ACTIVE state now
2025-10-08 20:19:16,870 - INFO - VM name : ctest-vn1-vm1-87547094
2025-10-08 20:19:16,931 - DEBUG - VM ctest-vn1-vm1-87547094 ID is 1a2c8b1e-82de-4290-ac09-99fa9f609085
2025-10-08 20:19:16,948 - DEBUG - VM ctest-vn1-vm1-87547094 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1
2025-10-08 20:19:17,011 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1a2c8b1e-82de-4290-ac09-99fa9f609085
2025-10-08 20:19:17,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f601aa9a-e08e-4226-b20a-94c79d4e549b
2025-10-08 20:19:20,252 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2025-10-08 20:19:20,252 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87547094 failed!
2025-10-08 20:19:20,304 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66095553:ctest-vn1-90878557 is 117.8.143.65 and allocation pool is NOT set
2025-10-08 20:19:20,304 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66095553:ctest-vn1-90878557 is 163.217.68.65 and allocation pool is NOT set
2025-10-08 20:19:22,368 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/3.155/5.884/2.729 ms')
2025-10-08 20:19:22,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87547094 passed
2025-10-08 20:19:22,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:22,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87547094, IP 117.8.143.69, Port 22
2025-10-08 20:19:22,680 - DEBUG - VM ctest-vn1-vm1-87547094 is ready for SSH connections
2025-10-08 20:19:22,680 - INFO - Waiting for VM ctest-vn1-vm2-06936060 to be up..
2025-10-08 20:19:22,749 - DEBUG - VM is in ACTIVE state now
2025-10-08 20:19:22,749 - INFO - VM name : ctest-vn1-vm2-06936060
2025-10-08 20:19:22,814 - DEBUG - VM ctest-vn1-vm2-06936060 ID is f6f24efd-455d-4e91-8592-0e74dfc75279
2025-10-08 20:19:22,814 - DEBUG - VM ctest-vn1-vm2-06936060 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1
2025-10-08 20:19:22,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f6f24efd-455d-4e91-8592-0e74dfc75279
2025-10-08 20:19:22,882 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d1f54140-2c99-4112-9538-ee4499eabd0d
2025-10-08 20:19:24,108 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.347/3.019/4.691/1.672 ms')
2025-10-08 20:19:24,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06936060 passed
2025-10-08 20:19:24,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:24,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06936060, IP 163.217.68.69, Port 22
2025-10-08 20:19:24,423 - DEBUG - VM ctest-vn1-vm2-06936060 is ready for SSH connections
2025-10-08 20:19:24,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:24,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:24,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:24,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.8.143.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:19:24,424 - DEBUG - ping -s 56 -c 3 -W 1 117.8.143.69
2025-10-08 20:19:28,382 - DEBUG - PING 117.8.143.69 (117.8.143.69): 56 data bytes
64 bytes from 117.8.143.69: seq=0 ttl=63 time=3.202 ms
64 bytes from 117.8.143.69: seq=1 ttl=63 time=0.736 ms
64 bytes from 117.8.143.69: seq=2 ttl=63 time=0.936 ms
--- 117.8.143.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.736/1.624/3.202 ms
2025-10-08 20:19:28,382 - INFO - Ping to IP 117.8.143.69 from VM ctest-vn1-vm2-06936060 passed
2025-10-08 20:19:28,382 - INFO - Detaching port d1f54140-2c99-4112-9538-ee4499eabd0d from VM ctest-vn1-vm2-06936060
2025-10-08 20:19:28,428 - INFO - Deleting VM ctest-vn1-vm2-06936060
2025-10-08 20:19:28,495 - INFO - Detaching port f601aa9a-e08e-4226-b20a-94c79d4e549b from VM ctest-vn1-vm1-87547094
2025-10-08 20:19:28,528 - INFO - Deleting VM ctest-vn1-vm1-87547094
2025-10-08 20:19:28,743 - DEBUG - Response for delete_port : ()
2025-10-08 20:19:28,887 - DEBUG - Response for delete_port : ()
2025-10-08 20:19:28,887 - INFO - Deleting VN ctest-vn1-90878557
2025-10-08 20:19:29,010 - DEBUG - Response for deleting network ()
2025-10-08 20:19:29,276 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 20:19:29,276 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-08 20:19:29,277 - INFO - --------------------------------------------------------------------------------
2025-10-08 20:19:29,912 - INFO - Deleted project: ctest-TestPorts-66095553, ID : b5f49e80-f62f-4838-8c46-c461bb4133db