2025-10-29 18:11:40,418 - INFO - Domain Default found not creating 2025-10-29 18:11:40,584 - INFO - Project ctest-TestPorts-80609867 not found, creating it 2025-10-29 18:11:41,183 - INFO - Created Project:ctest-TestPorts-80609867, ID : 966aa751-68be-4eb4-b93e-8dc0dc3769b1 2025-10-29 18:11:42,745 - INFO - ================================================================================ 2025-10-29 18:11:42,745 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 18:11:42,745 - 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-29 18:11:44,144 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0', '10.20.0.200': '0'}, '10.0.0.27': {'10.20.0.201': '0', '10.20.0.200': '0'}} with 2025-10-29 18:11:44,145 - INFO - Initial checks done. Running the testcase now 2025-10-29 18:11:44,145 - INFO - 2025-10-29 18:11:44,972 - DEBUG - Response for create_network : {'network': {'id': '005f0b23-068b-4548-a362-2f089ee67e4a', 'name': 'ctest-vn-84015457', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80609867', 'ctest-vn-84015457'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:11:45,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '58d1cdf1-e981-40d5-9c60-83ccaa373f2b', 'name': '', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '005f0b23-068b-4548-a362-2f089ee67e4a', 'ip_version': 4, 'cidr': '205.62.154.128/26', 'allocation_pools': [{'start': '205.62.154.130', 'end': '205.62.154.190'}], 'gateway_ip': '205.62.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.62.154.130', 'tags': [], 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:45,310 - INFO - Created VN ctest-vn-84015457 2025-10-29 18:11:45,324 - DEBUG - VN ctest-vn-84015457 UUID is 005f0b23-068b-4548-a362-2f089ee67e4a 2025-10-29 18:11:45,413 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80609867', 'ctest-vmi-90377133']} 2025-10-29 18:11:45,759 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90377133', 'id': '6dbf5373-4029-4eb4-8f5e-be0435d577c6', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '005f0b23-068b-4548-a362-2f089ee67e4a', 'mac_address': '02:6d:bf:53:73:40', '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': '205.62.154.131', 'subnet_id': '58d1cdf1-e981-40d5-9c60-83ccaa373f2b'}], 'security_groups': ['9688cc4c-45b6-4d96-83c9-4e205f1f5f3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:45,759 - DEBUG - Created port 6dbf5373-4029-4eb4-8f5e-be0435d577c6 2025-10-29 18:11:45,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6dbf5373-4029-4eb4-8f5e-be0435d577c6 2025-10-29 18:11:46,241 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6dbf5373-4029-4eb4-8f5e-be0435d577c6 2025-10-29 18:11:46,320 - INFO - VMI 6dbf5373-4029-4eb4-8f5e-be0435d577c6 verification in API Server passed 2025-10-29 18:11:46,507 - DEBUG - Response for delete_port : () 2025-10-29 18:11:46,507 - INFO - Deleted port 6dbf5373-4029-4eb4-8f5e-be0435d577c6 2025-10-29 18:11:46,508 - INFO - Deleting VN ctest-vn-84015457 2025-10-29 18:11:46,669 - DEBUG - Response for deleting network () 2025-10-29 18:11:48,086 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 18:11:48,086 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06] 2025-10-29 18:11:48,086 - INFO - -------------------------------------------------------------------------------- 2025-10-29 18:11:48,089 - INFO - ================================================================================ 2025-10-29 18:11:48,089 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 18:11:48,089 - 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-29 18:11:49,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0', '10.20.0.200': '0'}, '10.0.0.27': {'10.20.0.201': '0', '10.20.0.200': '0'}} with 2025-10-29 18:11:49,534 - INFO - Initial checks done. Running the testcase now 2025-10-29 18:11:49,534 - INFO - 2025-10-29 18:11:49,844 - DEBUG - Response for create_network : {'network': {'id': '1b68f2f0-1b77-4045-b653-909dbd4fc5fa', 'name': 'ctest-vn1-69847572', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80609867', 'ctest-vn1-69847572'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:11:50,071 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa4fe8ca-f2b7-4af4-b847-d5fc2fb18b5b', 'name': '', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '1b68f2f0-1b77-4045-b653-909dbd4fc5fa', 'ip_version': 4, 'cidr': '69.82.42.64/26', 'allocation_pools': [{'start': '69.82.42.66', 'end': '69.82.42.126'}], 'gateway_ip': '69.82.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.82.42.66', 'tags': [], 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:50,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '467a2c9b-08b6-4eee-b3ec-8fc8082d4c08', 'name': '', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '1b68f2f0-1b77-4045-b653-909dbd4fc5fa', 'ip_version': 4, 'cidr': '66.164.54.192/26', 'allocation_pools': [{'start': '66.164.54.194', 'end': '66.164.54.254'}], 'gateway_ip': '66.164.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.164.54.194', 'tags': [], 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:50,340 - INFO - Created VN ctest-vn1-69847572 2025-10-29 18:11:50,352 - DEBUG - VN ctest-vn1-69847572 UUID is 1b68f2f0-1b77-4045-b653-909dbd4fc5fa 2025-10-29 18:11:50,766 - DEBUG - Response for create_port : {'port': {'name': '15778caf-e13d-47bd-9d58-aed14a31d05c', 'id': '15778caf-e13d-47bd-9d58-aed14a31d05c', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '1b68f2f0-1b77-4045-b653-909dbd4fc5fa', 'mac_address': '02:15:77:8c:af:e1', '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': '69.82.42.69', 'subnet_id': 'aa4fe8ca-f2b7-4af4-b847-d5fc2fb18b5b'}], 'security_groups': ['9688cc4c-45b6-4d96-83c9-4e205f1f5f3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:51,034 - DEBUG - Response for create_port : {'port': {'name': 'f81d74b8-8723-4d56-9d6e-05d5052189a4', 'id': 'f81d74b8-8723-4d56-9d6e-05d5052189a4', 'tenant_id': '966aa75168be4eb4b93e8dc0dc3769b1', 'network_id': '1b68f2f0-1b77-4045-b653-909dbd4fc5fa', 'mac_address': '02:f8:1d:74:b8:87', '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': '66.164.54.197', 'subnet_id': '467a2c9b-08b6-4eee-b3ec-8fc8082d4c08'}], 'security_groups': ['9688cc4c-45b6-4d96-83c9-4e205f1f5f3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '966aa75168be4eb4b93e8dc0dc3769b1'}} 2025-10-29 18:11:51,089 - DEBUG - Services list from nova: [, , , ] 2025-10-29 18:11:51,949 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-2) 2025-10-29 18:11:52,545 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-1) 2025-10-29 18:11:52,545 - INFO - Waiting for VM ctest-vn1-vm1-65931213 to be up.. 2025-10-29 18:11:52,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 18:11:57,774 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:11:57,774 - INFO - VM name : ctest-vn1-vm1-65931213 2025-10-29 18:11:57,904 - DEBUG - VM ctest-vn1-vm1-65931213 ID is 72fa4a56-34e3-4075-9df0-5d018d058757 2025-10-29 18:11:57,952 - DEBUG - VM ctest-vn1-vm1-65931213 launched on Node an-jenkins-deploy-platform-ansible-os-4526-2 2025-10-29 18:11:58,082 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/72fa4a56-34e3-4075-9df0-5d018d058757 2025-10-29 18:11:58,393 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/72fa4a56-34e3-4075-9df0-5d018d058757 2025-10-29 18:11:58,428 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/15778caf-e13d-47bd-9d58-aed14a31d05c 2025-10-29 18:12:01,627 - 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 1035ms') 2025-10-29 18:12:01,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65931213 failed! 2025-10-29 18:12:01,651 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80609867:ctest-vn1-69847572 is 69.82.42.65 and allocation pool is NOT set 2025-10-29 18:12:01,651 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80609867:ctest-vn1-69847572 is 66.164.54.193 and allocation pool is NOT set 2025-10-29 18:12:03,716 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.41 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 = 3.411/3.721/4.032/0.310 ms') 2025-10-29 18:12:03,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65931213 passed 2025-10-29 18:12:03,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:03,800 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65931213, IP 69.82.42.69, Port 22 2025-10-29 18:12:03,958 - DEBUG - VM ctest-vn1-vm1-65931213 is ready for SSH connections 2025-10-29 18:12:03,959 - INFO - Waiting for VM ctest-vn1-vm2-38454380 to be up.. 2025-10-29 18:12:04,152 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:12:04,152 - INFO - VM name : ctest-vn1-vm2-38454380 2025-10-29 18:12:04,304 - DEBUG - VM ctest-vn1-vm2-38454380 ID is 7267189d-cc8f-4c6e-825f-b07b0cd573c7 2025-10-29 18:12:04,304 - DEBUG - VM ctest-vn1-vm2-38454380 launched on Node an-jenkins-deploy-platform-ansible-os-4526-1 2025-10-29 18:12:04,498 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/7267189d-cc8f-4c6e-825f-b07b0cd573c7 2025-10-29 18:12:04,514 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f81d74b8-8723-4d56-9d6e-05d5052189a4 2025-10-29 18:12:05,757 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/2.439/4.407/1.968 ms') 2025-10-29 18:12:05,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-38454380 passed 2025-10-29 18:12:05,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:05,831 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38454380, IP 66.164.54.197, Port 22 2025-10-29 18:12:06,030 - DEBUG - VM ctest-vn1-vm2-38454380 is ready for SSH connections 2025-10-29 18:12:06,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:06,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:06,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:06,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.82.42.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 18:12:06,031 - DEBUG - ping -s 56 -c 3 -W 1 69.82.42.69 2025-10-29 18:12:09,421 - DEBUG - PING 69.82.42.69 (69.82.42.69): 56 data bytes 64 bytes from 69.82.42.69: seq=0 ttl=63 time=7.592 ms 64 bytes from 69.82.42.69: seq=1 ttl=63 time=2.235 ms 64 bytes from 69.82.42.69: seq=2 ttl=63 time=1.447 ms --- 69.82.42.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.447/3.758/7.592 ms 2025-10-29 18:12:09,421 - INFO - Ping to IP 69.82.42.69 from VM ctest-vn1-vm2-38454380 passed 2025-10-29 18:12:09,421 - INFO - Detaching port f81d74b8-8723-4d56-9d6e-05d5052189a4 from VM ctest-vn1-vm2-38454380 2025-10-29 18:12:09,532 - INFO - Deleting VM ctest-vn1-vm2-38454380 2025-10-29 18:12:09,658 - INFO - Detaching port 15778caf-e13d-47bd-9d58-aed14a31d05c from VM ctest-vn1-vm1-65931213 2025-10-29 18:12:09,705 - INFO - Deleting VM ctest-vn1-vm1-65931213 2025-10-29 18:12:10,202 - DEBUG - Response for delete_port : () 2025-10-29 18:12:10,519 - DEBUG - Response for delete_port : () 2025-10-29 18:12:10,519 - INFO - Deleting VN ctest-vn1-69847572 2025-10-29 18:12:10,735 - DEBUG - Response for deleting network () 2025-10-29 18:12:12,095 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 18:12:12,095 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-29 18:12:12,095 - INFO - -------------------------------------------------------------------------------- 2025-10-29 18:12:12,900 - INFO - Deleted project: ctest-TestPorts-80609867, ID : 966aa751-68be-4eb4-b93e-8dc0dc3769b1