2025-11-25 12:39:31,800 - INFO - Domain Default found not creating 2025-11-25 12:39:32,029 - INFO - Project ctest-TestPorts-58213317 not found, creating it 2025-11-25 12:39:32,525 - INFO - Created Project:ctest-TestPorts-58213317, ID : 7ae0f5eb-f380-4b12-a1ed-328c76bef964 2025-11-25 12:39:34,282 - INFO - ================================================================================ 2025-11-25 12:39:34,283 - INFO - STARTING TEST : test_ports_bindings 2025-11-25 12:39:34,283 - 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-25 12:39:34,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:39:34,578 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:39:34,579 - INFO - 2025-11-25 12:39:35,291 - DEBUG - Response for create_network : {'network': {'id': '47c3c17d-14dd-4e59-b796-014fdeb11ede', 'name': 'ctest-vn-20825983', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58213317', 'ctest-vn-20825983'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:39:35,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '57985931-2190-4aaa-96a6-508a7180017b', 'name': '', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '47c3c17d-14dd-4e59-b796-014fdeb11ede', 'ip_version': 4, 'cidr': '73.120.216.64/26', 'allocation_pools': [{'start': '73.120.216.66', 'end': '73.120.216.126'}], 'gateway_ip': '73.120.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.120.216.66', 'tags': [], 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:35,485 - INFO - Created VN ctest-vn-20825983 2025-11-25 12:39:35,539 - DEBUG - VN ctest-vn-20825983 UUID is 47c3c17d-14dd-4e59-b796-014fdeb11ede 2025-11-25 12:39:35,659 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58213317', 'ctest-vmi-32242774']} 2025-11-25 12:39:35,970 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32242774', 'id': 'a77f82ae-c8af-4217-a8be-e48eee31cb3c', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '47c3c17d-14dd-4e59-b796-014fdeb11ede', 'mac_address': '02:a7:7f:82:ae:c8', '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': '73.120.216.67', 'subnet_id': '57985931-2190-4aaa-96a6-508a7180017b'}], 'security_groups': ['efc31696-ef51-4d63-85c7-55f01274958f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:35,971 - DEBUG - Created port a77f82ae-c8af-4217-a8be-e48eee31cb3c 2025-11-25 12:39:36,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a77f82ae-c8af-4217-a8be-e48eee31cb3c 2025-11-25 12:39:36,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a77f82ae-c8af-4217-a8be-e48eee31cb3c 2025-11-25 12:39:36,457 - INFO - VMI a77f82ae-c8af-4217-a8be-e48eee31cb3c verification in API Server passed 2025-11-25 12:39:36,572 - DEBUG - Response for delete_port : () 2025-11-25 12:39:36,573 - INFO - Deleted port a77f82ae-c8af-4217-a8be-e48eee31cb3c 2025-11-25 12:39:36,573 - INFO - Deleting VN ctest-vn-20825983 2025-11-25 12:39:36,689 - DEBUG - Response for deleting network () 2025-11-25 12:39:36,962 - DEBUG - No XMPP flaps were noticed during the test 2025-11-25 12:39:36,962 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-25 12:39:36,962 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:39:36,968 - INFO - ================================================================================ 2025-11-25 12:39:36,968 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-25 12:39:36,968 - 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-25 12:39:37,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:39:37,286 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:39:37,286 - INFO - 2025-11-25 12:39:37,536 - DEBUG - Response for create_network : {'network': {'id': '41a8c805-9fcc-4f76-be89-35a7d3a6e035', 'name': 'ctest-vn1-54307434', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58213317', 'ctest-vn1-54307434'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:39:37,792 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b541fc54-5a4e-4d96-9b65-727b5d15bf5f', 'name': '', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '41a8c805-9fcc-4f76-be89-35a7d3a6e035', 'ip_version': 4, 'cidr': '219.170.175.192/26', 'allocation_pools': [{'start': '219.170.175.194', 'end': '219.170.175.254'}], 'gateway_ip': '219.170.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.170.175.194', 'tags': [], 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:38,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9abd54e-4e6d-464d-82b1-2f366dc3122e', 'name': '', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '41a8c805-9fcc-4f76-be89-35a7d3a6e035', 'ip_version': 4, 'cidr': '204.197.76.0/26', 'allocation_pools': [{'start': '204.197.76.2', 'end': '204.197.76.62'}], 'gateway_ip': '204.197.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.197.76.2', 'tags': [], 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:38,076 - INFO - Created VN ctest-vn1-54307434 2025-11-25 12:39:38,135 - DEBUG - VN ctest-vn1-54307434 UUID is 41a8c805-9fcc-4f76-be89-35a7d3a6e035 2025-11-25 12:39:38,495 - DEBUG - Response for create_port : {'port': {'name': '48a5054c-eec1-4d98-aff8-fcbfa6ba350f', 'id': '48a5054c-eec1-4d98-aff8-fcbfa6ba350f', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '41a8c805-9fcc-4f76-be89-35a7d3a6e035', 'mac_address': '02:48:a5:05:4c: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': '219.170.175.197', 'subnet_id': 'b541fc54-5a4e-4d96-9b65-727b5d15bf5f'}], 'security_groups': ['efc31696-ef51-4d63-85c7-55f01274958f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:38,700 - DEBUG - Response for create_port : {'port': {'name': '5199f331-2bbc-45f3-b066-0a0401b0d9f6', 'id': '5199f331-2bbc-45f3-b066-0a0401b0d9f6', 'tenant_id': '7ae0f5ebf3804b12a1ed328c76bef964', 'network_id': '41a8c805-9fcc-4f76-be89-35a7d3a6e035', 'mac_address': '02:51:99:f3:31:2b', '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': '204.197.76.5', 'subnet_id': 'c9abd54e-4e6d-464d-82b1-2f366dc3122e'}], 'security_groups': ['efc31696-ef51-4d63-85c7-55f01274958f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae0f5ebf3804b12a1ed328c76bef964'}} 2025-11-25 12:39:38,768 - DEBUG - Services list from nova: [, , ] 2025-11-25 12:39:39,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:39:39,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:39:39,941 - INFO - Waiting for VM ctest-vn1-vm1-46166494 to be up.. 2025-11-25 12:39:39,994 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-25 12:39:45,094 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:39:45,094 - INFO - VM name : ctest-vn1-vm1-46166494 2025-11-25 12:39:45,184 - DEBUG - VM ctest-vn1-vm1-46166494 ID is 3f1e425c-fc5d-4e0f-b986-7cff65e86b48 2025-11-25 12:39:45,209 - DEBUG - VM ctest-vn1-vm1-46166494 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:39:45,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3f1e425c-fc5d-4e0f-b986-7cff65e86b48 2025-11-25 12:39:45,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48a5054c-eec1-4d98-aff8-fcbfa6ba350f 2025-11-25 12:39:48,555 - 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 1002ms') 2025-11-25 12:39:48,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46166494 failed! 2025-11-25 12:39:48,619 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58213317:ctest-vn1-54307434 is 219.170.175.193 and allocation pool is NOT set 2025-11-25 12:39:48,619 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58213317:ctest-vn1-54307434 is 204.197.76.1 and allocation pool is NOT set 2025-11-25 12:39:52,716 - 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 1032ms') 2025-11-25 12:39:52,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46166494 failed! 2025-11-25 12:39:52,775 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58213317:ctest-vn1-54307434 is 219.170.175.193 and allocation pool is NOT set 2025-11-25 12:39:52,775 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58213317:ctest-vn1-54307434 is 204.197.76.1 and allocation pool is NOT set 2025-11-25 12:39:54,838 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.636 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.636/1.855/3.074/1.219 ms') 2025-11-25 12:39:54,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46166494 passed 2025-11-25 12:39:54,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:39:54,995 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46166494, IP 219.170.175.197, Port 22 2025-11-25 12:39:55,169 - DEBUG - VM ctest-vn1-vm1-46166494 is ready for SSH connections 2025-11-25 12:39:55,170 - INFO - Waiting for VM ctest-vn1-vm2-73165110 to be up.. 2025-11-25 12:39:55,275 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:39:55,275 - INFO - VM name : ctest-vn1-vm2-73165110 2025-11-25 12:39:55,367 - DEBUG - VM ctest-vn1-vm2-73165110 ID is f20ac5a4-5730-46b3-a014-e926904c9a03 2025-11-25 12:39:55,367 - DEBUG - VM ctest-vn1-vm2-73165110 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:39:55,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f20ac5a4-5730-46b3-a014-e926904c9a03 2025-11-25 12:39:55,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5199f331-2bbc-45f3-b066-0a0401b0d9f6 2025-11-25 12:39:56,724 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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.869/2.266/3.663/1.397 ms') 2025-11-25 12:39:56,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73165110 passed 2025-11-25 12:39:56,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:39:56,883 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73165110, IP 204.197.76.5, Port 22 2025-11-25 12:39:57,053 - DEBUG - VM ctest-vn1-vm2-73165110 is ready for SSH connections 2025-11-25 12:39:57,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:39:57,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:39:57,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:39:57,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.170.175.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:39:57,054 - DEBUG - ping -s 56 -c 3 -W 1 219.170.175.197 2025-11-25 12:39:59,845 - DEBUG - PING 219.170.175.197 (219.170.175.197): 56 data bytes 64 bytes from 219.170.175.197: seq=0 ttl=63 time=5.407 ms 64 bytes from 219.170.175.197: seq=1 ttl=63 time=1.195 ms 64 bytes from 219.170.175.197: seq=2 ttl=63 time=1.028 ms --- 219.170.175.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/2.543/5.407 ms 2025-11-25 12:39:59,846 - INFO - Ping to IP 219.170.175.197 from VM ctest-vn1-vm2-73165110 passed 2025-11-25 12:39:59,846 - INFO - Detaching port 5199f331-2bbc-45f3-b066-0a0401b0d9f6 from VM ctest-vn1-vm2-73165110 2025-11-25 12:39:59,920 - INFO - Deleting VM ctest-vn1-vm2-73165110 2025-11-25 12:39:59,998 - INFO - Detaching port 48a5054c-eec1-4d98-aff8-fcbfa6ba350f from VM ctest-vn1-vm1-46166494 2025-11-25 12:40:00,052 - INFO - Deleting VM ctest-vn1-vm1-46166494 2025-11-25 12:40:00,371 - DEBUG - Response for delete_port : () 2025-11-25 12:40:00,646 - DEBUG - Response for delete_port : () 2025-11-25 12:40:00,647 - INFO - Deleting VN ctest-vn1-54307434 2025-11-25 12:40:00,859 - DEBUG - Response for deleting network () 2025-11-25 12:40:01,125 - DEBUG - No XMPP flaps were noticed during the test 2025-11-25 12:40:01,126 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-11-25 12:40:01,126 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:40:01,884 - INFO - Deleted project: ctest-TestPorts-58213317, ID : 7ae0f5eb-f380-4b12-a1ed-328c76bef964