2025-08-28 02:39:19,347 - INFO - Domain Default found not creating
2025-08-28 02:39:19,522 - INFO - Project ctest-TestPorts-24538005 not found, creating it
2025-08-28 02:39:19,988 - INFO - Created Project:ctest-TestPorts-24538005, ID : 1f97201a-93fd-4ad1-8e73-c1d316c731f3
2025-08-28 02:39:21,763 - INFO - ================================================================================
2025-08-28 02:39:21,764 - INFO - STARTING TEST : test_ports_bindings
2025-08-28 02:39:21,764 - 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-28 02:39:22,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with
2025-08-28 02:39:22,042 - INFO - Initial checks done. Running the testcase now
2025-08-28 02:39:22,043 - INFO -
2025-08-28 02:39:23,300 - DEBUG - Response for create_network : {'network': {'id': '9e14aeec-6c6d-4b07-8fc4-6e522e6c65c9', 'name': 'ctest-vn-73988970', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'project_id': '1f97201a93fd4ad18e73c1d316c731f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24538005', 'ctest-vn-73988970'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 02:39:23,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '08857955-a370-4bf0-a4a8-5562342790f0', 'name': '', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': '9e14aeec-6c6d-4b07-8fc4-6e522e6c65c9', 'ip_version': 4, 'cidr': '144.124.57.192/26', 'allocation_pools': [{'start': '144.124.57.194', 'end': '144.124.57.254'}], 'gateway_ip': '144.124.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.124.57.194', 'tags': [], 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:23,473 - INFO - Created VN ctest-vn-73988970
2025-08-28 02:39:23,525 - DEBUG - VN ctest-vn-73988970 UUID is 9e14aeec-6c6d-4b07-8fc4-6e522e6c65c9
2025-08-28 02:39:23,641 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24538005', 'ctest-vmi-88963291']}
2025-08-28 02:39:23,899 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88963291', 'id': 'c9c4a9b6-0c86-41ae-984f-f804d4b7f13a', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': '9e14aeec-6c6d-4b07-8fc4-6e522e6c65c9', 'mac_address': '02:c9:c4:a9:b6: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': '144.124.57.195', 'subnet_id': '08857955-a370-4bf0-a4a8-5562342790f0'}], 'security_groups': ['e0015d2c-f91d-421f-9825-78ac6be030db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:23,900 - DEBUG - Created port c9c4a9b6-0c86-41ae-984f-f804d4b7f13a
2025-08-28 02:39:24,005 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c9c4a9b6-0c86-41ae-984f-f804d4b7f13a
2025-08-28 02:39:24,352 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c9c4a9b6-0c86-41ae-984f-f804d4b7f13a
2025-08-28 02:39:24,389 - INFO - VMI c9c4a9b6-0c86-41ae-984f-f804d4b7f13a verification in API Server passed
2025-08-28 02:39:24,484 - DEBUG - Response for delete_port : ()
2025-08-28 02:39:24,484 - INFO - Deleted port c9c4a9b6-0c86-41ae-984f-f804d4b7f13a
2025-08-28 02:39:24,484 - INFO - Deleting VN ctest-vn-73988970
2025-08-28 02:39:24,605 - DEBUG - Response for deleting network ()
2025-08-28 02:39:24,862 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:39:24,863 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-28 02:39:24,863 - INFO - --------------------------------------------------------------------------------
2025-08-28 02:39:24,866 - INFO - ================================================================================
2025-08-28 02:39:24,866 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-28 02:39:24,866 - 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-28 02:39:25,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with
2025-08-28 02:39:25,167 - INFO - Initial checks done. Running the testcase now
2025-08-28 02:39:25,167 - INFO -
2025-08-28 02:39:25,353 - DEBUG - Response for create_network : {'network': {'id': 'dfe933de-39f2-4bde-b80c-fd702d825e50', 'name': 'ctest-vn1-83357013', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'project_id': '1f97201a93fd4ad18e73c1d316c731f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24538005', 'ctest-vn1-83357013'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 02:39:25,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '4102f3e3-a291-46c5-8e3a-ece2b4d8d0c3', 'name': '', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': 'dfe933de-39f2-4bde-b80c-fd702d825e50', 'ip_version': 4, 'cidr': '52.28.217.192/26', 'allocation_pools': [{'start': '52.28.217.194', 'end': '52.28.217.254'}], 'gateway_ip': '52.28.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.28.217.194', 'tags': [], 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:25,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '6958a41a-86b9-4868-8f23-c1a7b1fe1661', 'name': '', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': 'dfe933de-39f2-4bde-b80c-fd702d825e50', 'ip_version': 4, 'cidr': '199.157.48.0/26', 'allocation_pools': [{'start': '199.157.48.2', 'end': '199.157.48.62'}], 'gateway_ip': '199.157.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.157.48.2', 'tags': [], 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:25,738 - INFO - Created VN ctest-vn1-83357013
2025-08-28 02:39:25,789 - DEBUG - VN ctest-vn1-83357013 UUID is dfe933de-39f2-4bde-b80c-fd702d825e50
2025-08-28 02:39:26,112 - DEBUG - Response for create_port : {'port': {'name': 'e77f6b79-d056-4a1e-ac42-8cc2c6534821', 'id': 'e77f6b79-d056-4a1e-ac42-8cc2c6534821', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': 'dfe933de-39f2-4bde-b80c-fd702d825e50', 'mac_address': '02:e7:7f:6b:79:d0', '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': '52.28.217.197', 'subnet_id': '4102f3e3-a291-46c5-8e3a-ece2b4d8d0c3'}], 'security_groups': ['e0015d2c-f91d-421f-9825-78ac6be030db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:26,298 - DEBUG - Response for create_port : {'port': {'name': 'b3646f0d-1c2e-4f9f-869a-a05fb3f31258', 'id': 'b3646f0d-1c2e-4f9f-869a-a05fb3f31258', 'tenant_id': '1f97201a93fd4ad18e73c1d316c731f3', 'network_id': 'dfe933de-39f2-4bde-b80c-fd702d825e50', 'mac_address': '02:b3:64:6f:0d:1c', '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': '199.157.48.5', 'subnet_id': '6958a41a-86b9-4868-8f23-c1a7b1fe1661'}], 'security_groups': ['e0015d2c-f91d-421f-9825-78ac6be030db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f97201a93fd4ad18e73c1d316c731f3'}}
2025-08-28 02:39:26,370 - DEBUG - Services list from nova: [, , ]
2025-08-28 02:39:26,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1)
2025-08-28 02:39:27,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1)
2025-08-28 02:39:27,243 - INFO - Waiting for VM ctest-vn1-vm1-00422947 to be up..
2025-08-28 02:39:27,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-28 02:39:32,404 - DEBUG - VM is in ACTIVE state now
2025-08-28 02:39:32,404 - INFO - VM name : ctest-vn1-vm1-00422947
2025-08-28 02:39:32,502 - DEBUG - VM ctest-vn1-vm1-00422947 ID is 74a220d5-8af1-43b5-abab-16a92360c2be
2025-08-28 02:39:32,535 - DEBUG - VM ctest-vn1-vm1-00422947 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1
2025-08-28 02:39:32,621 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/74a220d5-8af1-43b5-abab-16a92360c2be
2025-08-28 02:39:32,631 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e77f6b79-d056-4a1e-ac42-8cc2c6534821
2025-08-28 02:39:35,920 - 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 1033ms')
2025-08-28 02:39:35,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00422947 failed!
2025-08-28 02:39:35,978 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24538005:ctest-vn1-83357013 is 52.28.217.193 and allocation pool is NOT set
2025-08-28 02:39:35,978 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24538005:ctest-vn1-83357013 is 199.157.48.1 and allocation pool is NOT set
2025-08-28 02:39:40,035 - 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 1001ms')
2025-08-28 02:39:40,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00422947 failed!
2025-08-28 02:39:40,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24538005:ctest-vn1-83357013 is 52.28.217.193 and allocation pool is NOT set
2025-08-28 02:39:40,090 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24538005:ctest-vn1-83357013 is 199.157.48.1 and allocation pool is NOT set
2025-08-28 02:39:42,147 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.845/3.214/1.369 ms')
2025-08-28 02:39:42,147 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00422947 passed
2025-08-28 02:39:42,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 02:39:42,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00422947, IP 52.28.217.197, Port 22
2025-08-28 02:39:42,436 - DEBUG - VM ctest-vn1-vm1-00422947 is ready for SSH connections
2025-08-28 02:39:42,436 - INFO - Waiting for VM ctest-vn1-vm2-38860739 to be up..
2025-08-28 02:39:42,536 - DEBUG - VM is in ACTIVE state now
2025-08-28 02:39:42,536 - INFO - VM name : ctest-vn1-vm2-38860739
2025-08-28 02:39:42,626 - DEBUG - VM ctest-vn1-vm2-38860739 ID is 19b8b9a5-38b9-4b35-b8e1-6d2380575fb5
2025-08-28 02:39:42,626 - DEBUG - VM ctest-vn1-vm2-38860739 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1
2025-08-28 02:39:42,709 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/19b8b9a5-38b9-4b35-b8e1-6d2380575fb5
2025-08-28 02:39:42,718 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b3646f0d-1c2e-4f9f-869a-a05fb3f31258
2025-08-28 02:39:43,962 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.604 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.604/2.371/4.139/1.767 ms')
2025-08-28 02:39:43,962 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38860739 passed
2025-08-28 02:39:44,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 02:39:44,118 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38860739, IP 199.157.48.5, Port 22
2025-08-28 02:39:44,286 - DEBUG - VM ctest-vn1-vm2-38860739 is ready for SSH connections
2025-08-28 02:39:44,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 02:39:44,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 02:39:44,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 02:39:44,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.28.217.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-28 02:39:44,286 - DEBUG - ping -s 56 -c 3 -W 1 52.28.217.197
2025-08-28 02:39:47,013 - DEBUG - PING 52.28.217.197 (52.28.217.197): 56 data bytes
64 bytes from 52.28.217.197: seq=0 ttl=63 time=4.830 ms
64 bytes from 52.28.217.197: seq=1 ttl=63 time=1.043 ms
64 bytes from 52.28.217.197: seq=2 ttl=63 time=0.920 ms
--- 52.28.217.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.920/2.264/4.830 ms
2025-08-28 02:39:47,013 - INFO - Ping to IP 52.28.217.197 from VM ctest-vn1-vm2-38860739 passed
2025-08-28 02:39:47,013 - INFO - Detaching port b3646f0d-1c2e-4f9f-869a-a05fb3f31258 from VM ctest-vn1-vm2-38860739
2025-08-28 02:39:47,080 - INFO - Deleting VM ctest-vn1-vm2-38860739
2025-08-28 02:39:47,168 - INFO - Detaching port e77f6b79-d056-4a1e-ac42-8cc2c6534821 from VM ctest-vn1-vm1-00422947
2025-08-28 02:39:47,215 - INFO - Deleting VM ctest-vn1-vm1-00422947
2025-08-28 02:39:47,504 - DEBUG - Response for delete_port : ()
2025-08-28 02:39:47,679 - DEBUG - Response for delete_port : ()
2025-08-28 02:39:47,679 - INFO - Deleting VN ctest-vn1-83357013
2025-08-28 02:39:47,819 - DEBUG - Response for deleting network ()
2025-08-28 02:39:48,102 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:39:48,102 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-28 02:39:48,102 - INFO - --------------------------------------------------------------------------------
2025-08-28 02:39:48,973 - INFO - Deleted project: ctest-TestPorts-24538005, ID : 1f97201a-93fd-4ad1-8e73-c1d316c731f3