2025-08-13 13:54:45,038 - INFO - Domain Default found not creating 2025-08-13 13:54:45,169 - INFO - Project ctest-TestPorts-62925926 not found, creating it 2025-08-13 13:54:45,608 - INFO - Created Project:ctest-TestPorts-62925926, ID : 49b6a866-bac1-4b3a-a720-dd0e65f2e7d2 2025-08-13 13:54:47,169 - INFO - ================================================================================ 2025-08-13 13:54:47,169 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 13:54:47,170 - 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-13 13:54:47,425 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-13 13:54:47,425 - INFO - Initial checks done. Running the testcase now 2025-08-13 13:54:47,425 - INFO - 2025-08-13 13:54:48,021 - DEBUG - Response for create_network : {'network': {'id': '9c55e6f0-8c39-4606-b46b-75f69500cca2', 'name': 'ctest-vn-70620648', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62925926', 'ctest-vn-70620648'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:54:48,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6891649-3136-4b84-a2de-bde3c743f6f2', 'name': '', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': '9c55e6f0-8c39-4606-b46b-75f69500cca2', 'ip_version': 4, 'cidr': '9.228.160.0/26', 'allocation_pools': [{'start': '9.228.160.2', 'end': '9.228.160.62'}], 'gateway_ip': '9.228.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.228.160.2', 'tags': [], 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:48,184 - INFO - Created VN ctest-vn-70620648 2025-08-13 13:54:48,234 - DEBUG - VN ctest-vn-70620648 UUID is 9c55e6f0-8c39-4606-b46b-75f69500cca2 2025-08-13 13:54:48,339 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62925926', 'ctest-vmi-61252880']} 2025-08-13 13:54:48,612 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61252880', 'id': 'cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': '9c55e6f0-8c39-4606-b46b-75f69500cca2', 'mac_address': '02:cc:4b:47:e5:5a', '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': '9.228.160.3', 'subnet_id': 'a6891649-3136-4b84-a2de-bde3c743f6f2'}], 'security_groups': ['65735e9f-e0b7-4f72-9c1e-ae9ba962ecec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:48,612 - DEBUG - Created port cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca 2025-08-13 13:54:48,722 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca 2025-08-13 13:54:49,059 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca 2025-08-13 13:54:49,093 - INFO - VMI cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca verification in API Server passed 2025-08-13 13:54:49,185 - DEBUG - Response for delete_port : () 2025-08-13 13:54:49,185 - INFO - Deleted port cc4b47e5-5a27-42f9-8b3f-2a91bb3740ca 2025-08-13 13:54:49,186 - INFO - Deleting VN ctest-vn-70620648 2025-08-13 13:54:49,289 - DEBUG - Response for deleting network () 2025-08-13 13:54:49,544 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 13:54:49,544 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-13 13:54:49,544 - INFO - -------------------------------------------------------------------------------- 2025-08-13 13:54:49,547 - INFO - ================================================================================ 2025-08-13 13:54:49,547 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 13:54:49,547 - 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-13 13:54:49,832 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-13 13:54:49,832 - INFO - Initial checks done. Running the testcase now 2025-08-13 13:54:49,833 - INFO - 2025-08-13 13:54:50,013 - DEBUG - Response for create_network : {'network': {'id': 'aeb1c390-c220-4f6a-8920-e432b9d3fefe', 'name': 'ctest-vn1-58914956', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62925926', 'ctest-vn1-58914956'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:54:50,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b9534e6-632c-4352-a4c6-bce4eee194f8', 'name': '', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': 'aeb1c390-c220-4f6a-8920-e432b9d3fefe', 'ip_version': 4, 'cidr': '8.155.127.64/26', 'allocation_pools': [{'start': '8.155.127.66', 'end': '8.155.127.126'}], 'gateway_ip': '8.155.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.155.127.66', 'tags': [], 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:50,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5e6c5e3-c1c9-4c96-bc9f-da9edd501de1', 'name': '', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': 'aeb1c390-c220-4f6a-8920-e432b9d3fefe', 'ip_version': 4, 'cidr': '111.116.100.192/26', 'allocation_pools': [{'start': '111.116.100.194', 'end': '111.116.100.254'}], 'gateway_ip': '111.116.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.116.100.194', 'tags': [], 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:50,375 - INFO - Created VN ctest-vn1-58914956 2025-08-13 13:54:50,426 - DEBUG - VN ctest-vn1-58914956 UUID is aeb1c390-c220-4f6a-8920-e432b9d3fefe 2025-08-13 13:54:50,721 - DEBUG - Response for create_port : {'port': {'name': '257df45a-483c-49f2-997c-5927a52006e1', 'id': '257df45a-483c-49f2-997c-5927a52006e1', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': 'aeb1c390-c220-4f6a-8920-e432b9d3fefe', 'mac_address': '02:25:7d:f4:5a:48', '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': '8.155.127.69', 'subnet_id': '0b9534e6-632c-4352-a4c6-bce4eee194f8'}], 'security_groups': ['65735e9f-e0b7-4f72-9c1e-ae9ba962ecec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:50,895 - DEBUG - Response for create_port : {'port': {'name': '9fb47e51-35a7-4f41-a7c9-87852eeb1584', 'id': '9fb47e51-35a7-4f41-a7c9-87852eeb1584', 'tenant_id': '49b6a866bac14b3aa720dd0e65f2e7d2', 'network_id': 'aeb1c390-c220-4f6a-8920-e432b9d3fefe', 'mac_address': '02:9f:b4:7e:51:35', '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': '111.116.100.197', 'subnet_id': 'e5e6c5e3-c1c9-4c96-bc9f-da9edd501de1'}], 'security_groups': ['65735e9f-e0b7-4f72-9c1e-ae9ba962ecec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49b6a866bac14b3aa720dd0e65f2e7d2'}} 2025-08-13 13:54:50,948 - DEBUG - Services list from nova: [, , ] 2025-08-13 13:54:51,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1) 2025-08-13 13:54:51,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1) 2025-08-13 13:54:51,632 - INFO - Waiting for VM ctest-vn1-vm1-05747930 to be up.. 2025-08-13 13:54:51,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 13:54:56,747 - DEBUG - VM is in ACTIVE state now 2025-08-13 13:54:56,747 - INFO - VM name : ctest-vn1-vm1-05747930 2025-08-13 13:54:56,822 - DEBUG - VM ctest-vn1-vm1-05747930 ID is 68e9783b-df22-47c0-bf68-39103f667b55 2025-08-13 13:54:56,841 - DEBUG - VM ctest-vn1-vm1-05747930 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1 2025-08-13 13:54:56,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/68e9783b-df22-47c0-bf68-39103f667b55 2025-08-13 13:54:56,922 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/257df45a-483c-49f2-997c-5927a52006e1 2025-08-13 13:55:00,188 - 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 1023ms') 2025-08-13 13:55:00,188 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05747930 failed! 2025-08-13 13:55:00,243 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62925926:ctest-vn1-58914956 is 8.155.127.65 and allocation pool is NOT set 2025-08-13 13:55:00,243 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62925926:ctest-vn1-58914956 is 111.116.100.193 and allocation pool is NOT set 2025-08-13 13:55:04,320 - 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=8.79 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 = 8.786/8.786/8.786/0.000 ms') 2025-08-13 13:55:04,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05747930 passed 2025-08-13 13:55:04,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:55:04,470 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05747930, IP 8.155.127.69, Port 22 2025-08-13 13:55:04,625 - DEBUG - VM ctest-vn1-vm1-05747930 is ready for SSH connections 2025-08-13 13:55:04,625 - INFO - Waiting for VM ctest-vn1-vm2-38168594 to be up.. 2025-08-13 13:55:04,697 - DEBUG - VM is in ACTIVE state now 2025-08-13 13:55:04,697 - INFO - VM name : ctest-vn1-vm2-38168594 2025-08-13 13:55:04,764 - DEBUG - VM ctest-vn1-vm2-38168594 ID is fd9bef7c-fa2a-4c29-b14b-c864f9225ff2 2025-08-13 13:55:04,764 - DEBUG - VM ctest-vn1-vm2-38168594 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1 2025-08-13 13:55:04,831 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fd9bef7c-fa2a-4c29-b14b-c864f9225ff2 2025-08-13 13:55:04,839 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9fb47e51-35a7-4f41-a7c9-87852eeb1584 2025-08-13 13:55:06,070 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.506/2.642/1.135 ms') 2025-08-13 13:55:06,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38168594 passed 2025-08-13 13:55:06,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:55:06,218 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38168594, IP 111.116.100.197, Port 22 2025-08-13 13:55:06,373 - DEBUG - VM ctest-vn1-vm2-38168594 is ready for SSH connections 2025-08-13 13:55:06,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:55:06,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:55:06,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:55:06,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.155.127.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-13 13:55:06,374 - DEBUG - ping -s 56 -c 3 -W 1 8.155.127.69 2025-08-13 13:55:09,041 - DEBUG - PING 8.155.127.69 (8.155.127.69): 56 data bytes 64 bytes from 8.155.127.69: seq=0 ttl=63 time=3.810 ms 64 bytes from 8.155.127.69: seq=1 ttl=63 time=0.773 ms 64 bytes from 8.155.127.69: seq=2 ttl=63 time=1.030 ms --- 8.155.127.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.871/3.810 ms 2025-08-13 13:55:09,041 - INFO - Ping to IP 8.155.127.69 from VM ctest-vn1-vm2-38168594 passed 2025-08-13 13:55:09,041 - INFO - Detaching port 9fb47e51-35a7-4f41-a7c9-87852eeb1584 from VM ctest-vn1-vm2-38168594 2025-08-13 13:55:09,088 - INFO - Deleting VM ctest-vn1-vm2-38168594 2025-08-13 13:55:09,146 - INFO - Detaching port 257df45a-483c-49f2-997c-5927a52006e1 from VM ctest-vn1-vm1-05747930 2025-08-13 13:55:09,176 - INFO - Deleting VM ctest-vn1-vm1-05747930 2025-08-13 13:55:09,395 - DEBUG - Response for delete_port : () 2025-08-13 13:55:09,596 - DEBUG - Response for delete_port : () 2025-08-13 13:55:09,596 - INFO - Deleting VN ctest-vn1-58914956 2025-08-13 13:55:09,762 - DEBUG - Response for deleting network () 2025-08-13 13:55:10,020 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 13:55:10,020 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-13 13:55:10,021 - INFO - -------------------------------------------------------------------------------- 2025-08-13 13:55:10,733 - INFO - Deleted project: ctest-TestPorts-62925926, ID : 49b6a866-bac1-4b3a-a720-dd0e65f2e7d2