2025-10-21 16:26:41,127 - INFO - Domain Default found not creating
2025-10-21 16:26:41,438 - INFO - Project ctest-TestPorts-62798814 not found, creating it
2025-10-21 16:26:42,012 - INFO - Created Project:ctest-TestPorts-62798814, ID : 804ae058-0c63-47b7-b8f1-6d1fa55756fd
2025-10-21 16:26:44,022 - INFO - ================================================================================
2025-10-21 16:26:44,022 - INFO - STARTING TEST : test_ports_bindings
2025-10-21 16:26:44,022 - 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 16:26:44,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-21 16:26:44,321 - INFO - Initial checks done. Running the testcase now
2025-10-21 16:26:44,321 - INFO -
2025-10-21 16:26:44,991 - DEBUG - Response for create_network : {'network': {'id': '32eb3002-670a-4ab6-a35a-4c54a375dfff', 'name': 'ctest-vn-19615835', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'project_id': '804ae0580c6347b7b8f16d1fa55756fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62798814', 'ctest-vn-19615835'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 16:26:45,222 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc943507-eb6e-4800-b521-3e91eee1b00d', 'name': '', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '32eb3002-670a-4ab6-a35a-4c54a375dfff', 'ip_version': 4, 'cidr': '100.45.203.192/26', 'allocation_pools': [{'start': '100.45.203.194', 'end': '100.45.203.254'}], 'gateway_ip': '100.45.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.45.203.194', 'tags': [], 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:45,247 - INFO - Created VN ctest-vn-19615835
2025-10-21 16:26:45,308 - DEBUG - VN ctest-vn-19615835 UUID is 32eb3002-670a-4ab6-a35a-4c54a375dfff
2025-10-21 16:26:45,445 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62798814', 'ctest-vmi-98646295']}
2025-10-21 16:26:45,760 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98646295', 'id': '2010ce4a-7c92-441a-976e-597af56f2e86', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '32eb3002-670a-4ab6-a35a-4c54a375dfff', 'mac_address': '02:20:10:ce:4a:7c', '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': '100.45.203.195', 'subnet_id': 'fc943507-eb6e-4800-b521-3e91eee1b00d'}], 'security_groups': ['517663da-cf05-46b5-8a0d-39f62e321235'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:45,760 - DEBUG - Created port 2010ce4a-7c92-441a-976e-597af56f2e86
2025-10-21 16:26:45,867 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2010ce4a-7c92-441a-976e-597af56f2e86
2025-10-21 16:26:46,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2010ce4a-7c92-441a-976e-597af56f2e86
2025-10-21 16:26:46,232 - INFO - VMI 2010ce4a-7c92-441a-976e-597af56f2e86 verification in API Server passed
2025-10-21 16:26:46,417 - DEBUG - Response for delete_port : ()
2025-10-21 16:26:46,417 - INFO - Deleted port 2010ce4a-7c92-441a-976e-597af56f2e86
2025-10-21 16:26:46,417 - INFO - Deleting VN ctest-vn-19615835
2025-10-21 16:26:46,544 - DEBUG - Response for deleting network ()
2025-10-21 16:26:46,829 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 16:26:46,829 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 16:26:46,829 - INFO - --------------------------------------------------------------------------------
2025-10-21 16:26:46,834 - INFO - ================================================================================
2025-10-21 16:26:46,834 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-21 16:26:46,835 - 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 16:26:47,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-21 16:26:47,164 - INFO - Initial checks done. Running the testcase now
2025-10-21 16:26:47,164 - INFO -
2025-10-21 16:26:47,476 - DEBUG - Response for create_network : {'network': {'id': '9fd05526-093d-4afb-a5d3-9d5a3a38f346', 'name': 'ctest-vn1-20068906', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'project_id': '804ae0580c6347b7b8f16d1fa55756fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62798814', 'ctest-vn1-20068906'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 16:26:47,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c2778e4-d98c-4e21-85e0-104ee23b550e', 'name': '', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '9fd05526-093d-4afb-a5d3-9d5a3a38f346', 'ip_version': 4, 'cidr': '178.192.207.0/26', 'allocation_pools': [{'start': '178.192.207.2', 'end': '178.192.207.62'}], 'gateway_ip': '178.192.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.192.207.2', 'tags': [], 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:47,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '400ddda2-bbe0-4b34-801d-5e6c02eb241c', 'name': '', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '9fd05526-093d-4afb-a5d3-9d5a3a38f346', 'ip_version': 4, 'cidr': '104.241.15.192/26', 'allocation_pools': [{'start': '104.241.15.194', 'end': '104.241.15.254'}], 'gateway_ip': '104.241.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.241.15.194', 'tags': [], 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:47,899 - INFO - Created VN ctest-vn1-20068906
2025-10-21 16:26:47,960 - DEBUG - VN ctest-vn1-20068906 UUID is 9fd05526-093d-4afb-a5d3-9d5a3a38f346
2025-10-21 16:26:48,446 - DEBUG - Response for create_port : {'port': {'name': '10aa52f7-ee6c-4081-b258-530701321861', 'id': '10aa52f7-ee6c-4081-b258-530701321861', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '9fd05526-093d-4afb-a5d3-9d5a3a38f346', 'mac_address': '02:10:aa:52:f7:ee', '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': '178.192.207.5', 'subnet_id': '3c2778e4-d98c-4e21-85e0-104ee23b550e'}], 'security_groups': ['517663da-cf05-46b5-8a0d-39f62e321235'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:48,707 - DEBUG - Response for create_port : {'port': {'name': 'b2c774bf-58e7-4f3d-b35b-87b778eab9c6', 'id': 'b2c774bf-58e7-4f3d-b35b-87b778eab9c6', 'tenant_id': '804ae0580c6347b7b8f16d1fa55756fd', 'network_id': '9fd05526-093d-4afb-a5d3-9d5a3a38f346', 'mac_address': '02:b2:c7:74:bf:58', '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': '104.241.15.197', 'subnet_id': '400ddda2-bbe0-4b34-801d-5e6c02eb241c'}], 'security_groups': ['517663da-cf05-46b5-8a0d-39f62e321235'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '804ae0580c6347b7b8f16d1fa55756fd'}}
2025-10-21 16:26:48,786 - DEBUG - Services list from nova: [, , ]
2025-10-21 16:26:49,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1)
2025-10-21 16:26:50,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1)
2025-10-21 16:26:50,094 - INFO - Waiting for VM ctest-vn1-vm1-56835051 to be up..
2025-10-21 16:26:50,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 16:26:55,350 - DEBUG - VM is in ACTIVE state now
2025-10-21 16:26:55,350 - INFO - VM name : ctest-vn1-vm1-56835051
2025-10-21 16:26:55,473 - DEBUG - VM ctest-vn1-vm1-56835051 ID is f118ed51-17c2-4feb-a885-29beeab69466
2025-10-21 16:26:55,503 - DEBUG - VM ctest-vn1-vm1-56835051 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1
2025-10-21 16:26:55,604 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f118ed51-17c2-4feb-a885-29beeab69466
2025-10-21 16:26:55,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/10aa52f7-ee6c-4081-b258-530701321861
2025-10-21 16:26:58,931 - 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 1030ms')
2025-10-21 16:26:58,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56835051 failed!
2025-10-21 16:26:59,003 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62798814:ctest-vn1-20068906 is 178.192.207.1 and allocation pool is NOT set
2025-10-21 16:26:59,004 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62798814:ctest-vn1-20068906 is 104.241.15.193 and allocation pool is NOT set
2025-10-21 16:27:03,088 - 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=6.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.784/6.784/6.784/0.000 ms')
2025-10-21 16:27:03,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56835051 passed
2025-10-21 16:27:03,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 16:27:03,264 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56835051, IP 178.192.207.5, Port 22
2025-10-21 16:27:03,452 - DEBUG - VM ctest-vn1-vm1-56835051 is ready for SSH connections
2025-10-21 16:27:03,452 - INFO - Waiting for VM ctest-vn1-vm2-26673821 to be up..
2025-10-21 16:27:03,629 - DEBUG - VM is in ACTIVE state now
2025-10-21 16:27:03,629 - INFO - VM name : ctest-vn1-vm2-26673821
2025-10-21 16:27:03,758 - DEBUG - VM ctest-vn1-vm2-26673821 ID is 9174c746-860c-4ffa-bdbd-32c6605ac030
2025-10-21 16:27:03,758 - DEBUG - VM ctest-vn1-vm2-26673821 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1
2025-10-21 16:27:03,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9174c746-860c-4ffa-bdbd-32c6605ac030
2025-10-21 16:27:03,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2c774bf-58e7-4f3d-b35b-87b778eab9c6
2025-10-21 16:27:05,128 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.990/3.443/1.452 ms')
2025-10-21 16:27:05,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26673821 passed
2025-10-21 16:27:05,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 16:27:05,300 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26673821, IP 104.241.15.197, Port 22
2025-10-21 16:27:05,505 - DEBUG - VM ctest-vn1-vm2-26673821 is ready for SSH connections
2025-10-21 16:27:05,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 16:27:05,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 16:27:05,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 16:27:05,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.192.207.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-21 16:27:05,506 - DEBUG - ping -s 56 -c 3 -W 1 178.192.207.5
2025-10-21 16:27:08,502 - DEBUG - PING 178.192.207.5 (178.192.207.5): 56 data bytes
64 bytes from 178.192.207.5: seq=0 ttl=63 time=7.092 ms
64 bytes from 178.192.207.5: seq=1 ttl=63 time=1.323 ms
64 bytes from 178.192.207.5: seq=2 ttl=63 time=2.765 ms
--- 178.192.207.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.323/3.726/7.092 ms
2025-10-21 16:27:08,502 - INFO - Ping to IP 178.192.207.5 from VM ctest-vn1-vm2-26673821 passed
2025-10-21 16:27:08,503 - INFO - Detaching port b2c774bf-58e7-4f3d-b35b-87b778eab9c6 from VM ctest-vn1-vm2-26673821
2025-10-21 16:27:08,587 - INFO - Deleting VM ctest-vn1-vm2-26673821
2025-10-21 16:27:08,676 - INFO - Detaching port 10aa52f7-ee6c-4081-b258-530701321861 from VM ctest-vn1-vm1-56835051
2025-10-21 16:27:08,723 - INFO - Deleting VM ctest-vn1-vm1-56835051
2025-10-21 16:27:09,061 - DEBUG - Response for delete_port : ()
2025-10-21 16:27:09,247 - DEBUG - Response for delete_port : ()
2025-10-21 16:27:09,247 - INFO - Deleting VN ctest-vn1-20068906
2025-10-21 16:27:09,407 - DEBUG - Response for deleting network ()
2025-10-21 16:27:09,678 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 16:27:09,678 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-21 16:27:09,679 - INFO - --------------------------------------------------------------------------------
2025-10-21 16:27:10,464 - INFO - Deleted project: ctest-TestPorts-62798814, ID : 804ae058-0c63-47b7-b8f1-6d1fa55756fd