2025-11-03 10:25:14,478 - INFO - Domain Default found not creating 2025-11-03 10:25:14,749 - INFO - Project ctest-TestPorts-39769927 not found, creating it 2025-11-03 10:25:15,400 - INFO - Created Project:ctest-TestPorts-39769927, ID : d4273e90-75be-4e65-93c9-39582b62ec95 2025-11-03 10:25:17,386 - INFO - ================================================================================ 2025-11-03 10:25:17,386 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 10:25:17,386 - 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-03 10:25:17,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 10:25:17,691 - INFO - Initial checks done. Running the testcase now 2025-11-03 10:25:17,691 - INFO - 2025-11-03 10:25:18,480 - DEBUG - Response for create_network : {'network': {'id': '76cab131-8895-457c-aa79-d1ded33eaf2e', 'name': 'ctest-vn-42990523', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'project_id': 'd4273e9075be4e6593c939582b62ec95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39769927', 'ctest-vn-42990523'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:25:18,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '7239f4ee-617f-4534-85e2-bb87300ad043', 'name': '', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': '76cab131-8895-457c-aa79-d1ded33eaf2e', 'ip_version': 4, 'cidr': '19.235.245.0/26', 'allocation_pools': [{'start': '19.235.245.2', 'end': '19.235.245.62'}], 'gateway_ip': '19.235.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.235.245.2', 'tags': [], 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:18,703 - INFO - Created VN ctest-vn-42990523 2025-11-03 10:25:18,753 - DEBUG - VN ctest-vn-42990523 UUID is 76cab131-8895-457c-aa79-d1ded33eaf2e 2025-11-03 10:25:18,942 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39769927', 'ctest-vmi-51896022']} 2025-11-03 10:25:19,277 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51896022', 'id': 'd7326e19-aaca-4b31-b89a-5835c4e83dcc', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': '76cab131-8895-457c-aa79-d1ded33eaf2e', 'mac_address': '02:d7:32:6e:19:aa', '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': '19.235.245.3', 'subnet_id': '7239f4ee-617f-4534-85e2-bb87300ad043'}], 'security_groups': ['bf7ca997-aa00-432a-a5e0-6c6e70e803b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:19,277 - DEBUG - Created port d7326e19-aaca-4b31-b89a-5835c4e83dcc 2025-11-03 10:25:19,401 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d7326e19-aaca-4b31-b89a-5835c4e83dcc 2025-11-03 10:25:19,767 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d7326e19-aaca-4b31-b89a-5835c4e83dcc 2025-11-03 10:25:19,850 - INFO - VMI d7326e19-aaca-4b31-b89a-5835c4e83dcc verification in API Server passed 2025-11-03 10:25:20,027 - DEBUG - Response for delete_port : () 2025-11-03 10:25:20,027 - INFO - Deleted port d7326e19-aaca-4b31-b89a-5835c4e83dcc 2025-11-03 10:25:20,028 - INFO - Deleting VN ctest-vn-42990523 2025-11-03 10:25:20,134 - DEBUG - Response for deleting network () 2025-11-03 10:25:20,430 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 10:25:20,430 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-03 10:25:20,430 - INFO - -------------------------------------------------------------------------------- 2025-11-03 10:25:20,435 - INFO - ================================================================================ 2025-11-03 10:25:20,435 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 10:25:20,436 - 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-03 10:25:20,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 10:25:20,775 - INFO - Initial checks done. Running the testcase now 2025-11-03 10:25:20,776 - INFO - 2025-11-03 10:25:21,094 - DEBUG - Response for create_network : {'network': {'id': 'c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c', 'name': 'ctest-vn1-91511405', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'project_id': 'd4273e9075be4e6593c939582b62ec95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39769927', 'ctest-vn1-91511405'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:25:21,338 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9d11dcf-a829-42e7-9993-3641ef1e4ac6', 'name': '', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': 'c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c', 'ip_version': 4, 'cidr': '89.146.98.192/26', 'allocation_pools': [{'start': '89.146.98.194', 'end': '89.146.98.254'}], 'gateway_ip': '89.146.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.146.98.194', 'tags': [], 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:21,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '68fda933-7be4-4e45-99c5-5f0a9c6dbd99', 'name': '', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': 'c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c', 'ip_version': 4, 'cidr': '97.116.144.192/26', 'allocation_pools': [{'start': '97.116.144.194', 'end': '97.116.144.254'}], 'gateway_ip': '97.116.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.116.144.194', 'tags': [], 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:21,626 - INFO - Created VN ctest-vn1-91511405 2025-11-03 10:25:21,690 - DEBUG - VN ctest-vn1-91511405 UUID is c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c 2025-11-03 10:25:22,167 - DEBUG - Response for create_port : {'port': {'name': '50e79f5e-ef89-4bdd-895c-c448e6b5f2fb', 'id': '50e79f5e-ef89-4bdd-895c-c448e6b5f2fb', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': 'c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c', 'mac_address': '02:50:e7:9f:5e:ef', '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': '89.146.98.197', 'subnet_id': 'c9d11dcf-a829-42e7-9993-3641ef1e4ac6'}], 'security_groups': ['bf7ca997-aa00-432a-a5e0-6c6e70e803b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:22,398 - DEBUG - Response for create_port : {'port': {'name': '52b116f0-ef13-4795-b6ec-7f20ea329195', 'id': '52b116f0-ef13-4795-b6ec-7f20ea329195', 'tenant_id': 'd4273e9075be4e6593c939582b62ec95', 'network_id': 'c6f6eccc-c44c-40ab-b7ef-fbde4dc0102c', 'mac_address': '02:52:b1:16:f0:ef', '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': '97.116.144.197', 'subnet_id': '68fda933-7be4-4e45-99c5-5f0a9c6dbd99'}], 'security_groups': ['bf7ca997-aa00-432a-a5e0-6c6e70e803b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4273e9075be4e6593c939582b62ec95'}} 2025-11-03 10:25:22,482 - DEBUG - Services list from nova: [, , ] 2025-11-03 10:25:23,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:25:23,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:25:23,887 - INFO - Waiting for VM ctest-vn1-vm1-02516775 to be up.. 2025-11-03 10:25:23,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 10:25:29,145 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:25:29,146 - INFO - VM name : ctest-vn1-vm1-02516775 2025-11-03 10:25:29,295 - DEBUG - VM ctest-vn1-vm1-02516775 ID is 36748ff2-b142-4a82-b742-762b2596924a 2025-11-03 10:25:29,336 - DEBUG - VM ctest-vn1-vm1-02516775 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:25:29,433 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/36748ff2-b142-4a82-b742-762b2596924a 2025-11-03 10:25:29,445 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/50e79f5e-ef89-4bdd-895c-c448e6b5f2fb 2025-11-03 10:25:32,736 - 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 1011ms') 2025-11-03 10:25:32,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02516775 failed! 2025-11-03 10:25:32,793 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39769927:ctest-vn1-91511405 is 89.146.98.193 and allocation pool is NOT set 2025-11-03 10:25:32,793 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39769927:ctest-vn1-91511405 is 97.116.144.193 and allocation pool is NOT set 2025-11-03 10:25:36,870 - 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 1007ms') 2025-11-03 10:25:36,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02516775 failed! 2025-11-03 10:25:36,942 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39769927:ctest-vn1-91511405 is 89.146.98.193 and allocation pool is NOT set 2025-11-03 10:25:36,943 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39769927:ctest-vn1-91511405 is 97.116.144.193 and allocation pool is NOT set 2025-11-03 10:25:39,007 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.951 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.951/2.600/4.250/1.649 ms') 2025-11-03 10:25:39,007 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02516775 passed 2025-11-03 10:25:39,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:25:39,198 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02516775, IP 89.146.98.197, Port 22 2025-11-03 10:25:39,400 - DEBUG - VM ctest-vn1-vm1-02516775 is ready for SSH connections 2025-11-03 10:25:39,401 - INFO - Waiting for VM ctest-vn1-vm2-43247206 to be up.. 2025-11-03 10:25:39,571 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:25:39,572 - INFO - VM name : ctest-vn1-vm2-43247206 2025-11-03 10:25:39,694 - DEBUG - VM ctest-vn1-vm2-43247206 ID is 87585cfc-5d4f-4403-8e90-226af4e31201 2025-11-03 10:25:39,694 - DEBUG - VM ctest-vn1-vm2-43247206 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:25:39,802 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/87585cfc-5d4f-4403-8e90-226af4e31201 2025-11-03 10:25:39,811 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/52b116f0-ef13-4795-b6ec-7f20ea329195 2025-11-03 10:25:41,079 - 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=7.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.895/4.220/7.546/3.325 ms') 2025-11-03 10:25:41,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43247206 passed 2025-11-03 10:25:41,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:25:41,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43247206, IP 97.116.144.197, Port 22 2025-11-03 10:25:41,452 - DEBUG - VM ctest-vn1-vm2-43247206 is ready for SSH connections 2025-11-03 10:25:41,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:25:41,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:25:41,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:25:41,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.146.98.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:25:41,453 - DEBUG - ping -s 56 -c 3 -W 1 89.146.98.197 2025-11-03 10:25:44,553 - DEBUG - PING 89.146.98.197 (89.146.98.197): 56 data bytes 64 bytes from 89.146.98.197: seq=0 ttl=63 time=5.700 ms 64 bytes from 89.146.98.197: seq=1 ttl=63 time=2.592 ms 64 bytes from 89.146.98.197: seq=2 ttl=63 time=1.519 ms --- 89.146.98.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.519/3.270/5.700 ms 2025-11-03 10:25:44,553 - INFO - Ping to IP 89.146.98.197 from VM ctest-vn1-vm2-43247206 passed 2025-11-03 10:25:44,554 - INFO - Detaching port 52b116f0-ef13-4795-b6ec-7f20ea329195 from VM ctest-vn1-vm2-43247206 2025-11-03 10:25:44,650 - INFO - Deleting VM ctest-vn1-vm2-43247206 2025-11-03 10:25:44,751 - INFO - Detaching port 50e79f5e-ef89-4bdd-895c-c448e6b5f2fb from VM ctest-vn1-vm1-02516775 2025-11-03 10:25:44,812 - INFO - Deleting VM ctest-vn1-vm1-02516775 2025-11-03 10:25:45,224 - DEBUG - Response for delete_port : () 2025-11-03 10:25:45,429 - DEBUG - Response for delete_port : () 2025-11-03 10:25:45,429 - INFO - Deleting VN ctest-vn1-91511405 2025-11-03 10:25:45,559 - DEBUG - Response for deleting network () 2025-11-03 10:25:45,861 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 10:25:45,861 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-03 10:25:45,861 - INFO - -------------------------------------------------------------------------------- 2025-11-03 10:25:46,697 - INFO - Deleted project: ctest-TestPorts-39769927, ID : d4273e90-75be-4e65-93c9-39582b62ec95