2025-11-02 22:36:57,030 - INFO - Domain Default found not creating 2025-11-02 22:36:57,199 - INFO - Project ctest-TestPorts-23768151 not found, creating it 2025-11-02 22:36:57,649 - INFO - Created Project:ctest-TestPorts-23768151, ID : 37809393-4d5c-499a-ad37-b4a563dc1a1b 2025-11-02 22:36:59,112 - INFO - ================================================================================ 2025-11-02 22:36:59,112 - INFO - STARTING TEST : test_ports_bindings 2025-11-02 22:36:59,112 - 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-11-02 22:36:59,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 22:36:59,367 - INFO - Initial checks done. Running the testcase now 2025-11-02 22:36:59,367 - INFO - 2025-11-02 22:37:00,185 - DEBUG - Response for create_network : {'network': {'id': '1f32e2c0-5b93-453c-9bb5-a60774a492b7', 'name': 'ctest-vn-39453865', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'project_id': '378093934d5c499aad37b4a563dc1a1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23768151', 'ctest-vn-39453865'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:37:00,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0e31346-29bb-4bf5-8198-d0e6b7a6cd00', 'name': '', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': '1f32e2c0-5b93-453c-9bb5-a60774a492b7', 'ip_version': 4, 'cidr': '176.170.52.0/26', 'allocation_pools': [{'start': '176.170.52.2', 'end': '176.170.52.62'}], 'gateway_ip': '176.170.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.170.52.2', 'tags': [], 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:00,493 - INFO - Created VN ctest-vn-39453865 2025-11-02 22:37:00,548 - DEBUG - VN ctest-vn-39453865 UUID is 1f32e2c0-5b93-453c-9bb5-a60774a492b7 2025-11-02 22:37:00,668 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23768151', 'ctest-vmi-41535736']} 2025-11-02 22:37:00,926 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41535736', 'id': '5415ee50-0ca2-4ecb-baad-e80724565370', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': '1f32e2c0-5b93-453c-9bb5-a60774a492b7', 'mac_address': '02:54:15:ee:50:0c', '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': '176.170.52.3', 'subnet_id': 'a0e31346-29bb-4bf5-8198-d0e6b7a6cd00'}], 'security_groups': ['55da9649-c9b0-4338-8650-08f290a60c50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:00,926 - DEBUG - Created port 5415ee50-0ca2-4ecb-baad-e80724565370 2025-11-02 22:37:01,032 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5415ee50-0ca2-4ecb-baad-e80724565370 2025-11-02 22:37:01,336 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5415ee50-0ca2-4ecb-baad-e80724565370 2025-11-02 22:37:01,371 - INFO - VMI 5415ee50-0ca2-4ecb-baad-e80724565370 verification in API Server passed 2025-11-02 22:37:01,460 - DEBUG - Response for delete_port : () 2025-11-02 22:37:01,460 - INFO - Deleted port 5415ee50-0ca2-4ecb-baad-e80724565370 2025-11-02 22:37:01,461 - INFO - Deleting VN ctest-vn-39453865 2025-11-02 22:37:01,580 - DEBUG - Response for deleting network () 2025-11-02 22:37:01,852 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 22:37:01,852 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-02 22:37:01,852 - INFO - -------------------------------------------------------------------------------- 2025-11-02 22:37:01,854 - INFO - ================================================================================ 2025-11-02 22:37:01,855 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-02 22:37:01,855 - 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-11-02 22:37:02,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 22:37:02,137 - INFO - Initial checks done. Running the testcase now 2025-11-02 22:37:02,137 - INFO - 2025-11-02 22:37:02,317 - DEBUG - Response for create_network : {'network': {'id': 'edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3', 'name': 'ctest-vn1-47339727', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'project_id': '378093934d5c499aad37b4a563dc1a1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23768151', 'ctest-vn1-47339727'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:37:02,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '7160c25f-2c62-4514-8ed9-ede5ae7b2973', 'name': '', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': 'edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3', 'ip_version': 4, 'cidr': '151.161.191.192/26', 'allocation_pools': [{'start': '151.161.191.194', 'end': '151.161.191.254'}], 'gateway_ip': '151.161.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.161.191.194', 'tags': [], 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:02,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efc83ed0-0a6e-4bf5-aa91-826c69429d48', 'name': '', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': 'edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3', 'ip_version': 4, 'cidr': '169.224.235.128/26', 'allocation_pools': [{'start': '169.224.235.130', 'end': '169.224.235.190'}], 'gateway_ip': '169.224.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.224.235.130', 'tags': [], 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:02,690 - INFO - Created VN ctest-vn1-47339727 2025-11-02 22:37:02,745 - DEBUG - VN ctest-vn1-47339727 UUID is edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3 2025-11-02 22:37:03,052 - DEBUG - Response for create_port : {'port': {'name': 'd30b5363-f6d1-4a68-9590-7a6036d51097', 'id': 'd30b5363-f6d1-4a68-9590-7a6036d51097', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': 'edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3', 'mac_address': '02:d3:0b:53:63:f6', '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': '151.161.191.197', 'subnet_id': '7160c25f-2c62-4514-8ed9-ede5ae7b2973'}], 'security_groups': ['55da9649-c9b0-4338-8650-08f290a60c50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:03,227 - DEBUG - Response for create_port : {'port': {'name': '707c5395-81fd-4a2f-b082-849500bb434a', 'id': '707c5395-81fd-4a2f-b082-849500bb434a', 'tenant_id': '378093934d5c499aad37b4a563dc1a1b', 'network_id': 'edcd8070-1cbc-4aae-b8cf-28ecfedbcdc3', 'mac_address': '02:70:7c:53:95:81', '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': '169.224.235.133', 'subnet_id': 'efc83ed0-0a6e-4bf5-aa91-826c69429d48'}], 'security_groups': ['55da9649-c9b0-4338-8650-08f290a60c50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '378093934d5c499aad37b4a563dc1a1b'}} 2025-11-02 22:37:03,288 - DEBUG - Services list from nova: [, , ] 2025-11-02 22:37:03,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:37:04,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:37:04,074 - INFO - Waiting for VM ctest-vn1-vm1-12347759 to be up.. 2025-11-02 22:37:04,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:09,189 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:14,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:19,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:24,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:29,528 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:37:29,528 - INFO - VM name : ctest-vn1-vm1-12347759 2025-11-02 22:37:29,607 - DEBUG - VM ctest-vn1-vm1-12347759 ID is 73672576-416c-4e10-9c87-06fb252d0c76 2025-11-02 22:37:29,636 - DEBUG - VM ctest-vn1-vm1-12347759 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:37:29,722 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/73672576-416c-4e10-9c87-06fb252d0c76 2025-11-02 22:37:29,730 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d30b5363-f6d1-4a68-9590-7a6036d51097 2025-11-02 22:37:32,991 - 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 1026ms') 2025-11-02 22:37:32,991 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-12347759 failed! 2025-11-02 22:37:33,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23768151:ctest-vn1-47339727 is 151.161.191.193 and allocation pool is NOT set 2025-11-02 22:37:33,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23768151:ctest-vn1-47339727 is 169.224.235.129 and allocation pool is NOT set 2025-11-02 22:37:35,110 - 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=8.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.900 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.900/4.928/8.957/4.028 ms') 2025-11-02 22:37:35,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-12347759 passed 2025-11-02 22:37:35,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:37:35,264 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12347759, IP 151.161.191.197, Port 22 2025-11-02 22:37:35,420 - DEBUG - VM ctest-vn1-vm1-12347759 is ready for SSH connections 2025-11-02 22:37:35,420 - INFO - Waiting for VM ctest-vn1-vm2-41519784 to be up.. 2025-11-02 22:37:35,494 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:37:35,495 - INFO - VM name : ctest-vn1-vm2-41519784 2025-11-02 22:37:35,565 - DEBUG - VM ctest-vn1-vm2-41519784 ID is 7fc6015e-d0e4-41e8-8225-483f7f6ccba1 2025-11-02 22:37:35,565 - DEBUG - VM ctest-vn1-vm2-41519784 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:37:35,644 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7fc6015e-d0e4-41e8-8225-483f7f6ccba1 2025-11-02 22:37:35,653 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/707c5395-81fd-4a2f-b082-849500bb434a 2025-11-02 22:37:36,895 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.709/3.024/1.315 ms') 2025-11-02 22:37:36,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-41519784 passed 2025-11-02 22:37:37,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:37:37,044 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41519784, IP 169.224.235.133, Port 22 2025-11-02 22:37:37,204 - DEBUG - VM ctest-vn1-vm2-41519784 is ready for SSH connections 2025-11-02 22:37:37,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:37:37,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:37:37,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:37:37,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.161.191.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:37:37,204 - DEBUG - ping -s 56 -c 3 -W 1 151.161.191.197 2025-11-02 22:37:41,298 - DEBUG - PING 151.161.191.197 (151.161.191.197): 56 data bytes 64 bytes from 151.161.191.197: seq=0 ttl=63 time=4.534 ms 64 bytes from 151.161.191.197: seq=1 ttl=63 time=0.857 ms 64 bytes from 151.161.191.197: seq=2 ttl=63 time=0.961 ms --- 151.161.191.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/2.117/4.534 ms 2025-11-02 22:37:41,298 - INFO - Ping to IP 151.161.191.197 from VM ctest-vn1-vm2-41519784 passed 2025-11-02 22:37:41,299 - INFO - Detaching port 707c5395-81fd-4a2f-b082-849500bb434a from VM ctest-vn1-vm2-41519784 2025-11-02 22:37:41,346 - INFO - Deleting VM ctest-vn1-vm2-41519784 2025-11-02 22:37:41,410 - INFO - Detaching port d30b5363-f6d1-4a68-9590-7a6036d51097 from VM ctest-vn1-vm1-12347759 2025-11-02 22:37:41,448 - INFO - Deleting VM ctest-vn1-vm1-12347759 2025-11-02 22:37:41,656 - DEBUG - Response for delete_port : () 2025-11-02 22:37:41,817 - DEBUG - Response for delete_port : () 2025-11-02 22:37:41,817 - INFO - Deleting VN ctest-vn1-47339727 2025-11-02 22:37:41,937 - DEBUG - Response for deleting network () 2025-11-02 22:37:42,193 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 22:37:42,193 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:41]
2025-11-02 22:37:42,194 - INFO - -------------------------------------------------------------------------------- 2025-11-02 22:37:42,886 - INFO - Deleted project: ctest-TestPorts-23768151, ID : 37809393-4d5c-499a-ad37-b4a563dc1a1b