2025-11-05 19:29:55,230 - INFO - Domain Default found not creating
2025-11-05 19:29:55,399 - INFO - Project ctest-TestPorts-23909692 not found, creating it
2025-11-05 19:29:55,900 - INFO - Created Project:ctest-TestPorts-23909692, ID : f354011b-d8a0-405e-97f3-0594cec3f111
2025-11-05 19:29:57,419 - INFO - ================================================================================
2025-11-05 19:29:57,419 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 19:29:57,419 - 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-05 19:29:57,679 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-05 19:29:57,680 - INFO - Initial checks done. Running the testcase now
2025-11-05 19:29:57,680 - INFO -
2025-11-05 19:29:58,286 - DEBUG - Response for create_network : {'network': {'id': '5b37c9e4-b58c-4cce-b365-439030b1ee3c', 'name': 'ctest-vn-62606049', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'project_id': 'f354011bd8a0405e97f30594cec3f111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23909692', 'ctest-vn-62606049'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 19:29:58,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '1186f1d4-05e1-44a3-94fe-275d1a9be239', 'name': '', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '5b37c9e4-b58c-4cce-b365-439030b1ee3c', 'ip_version': 4, 'cidr': '13.204.204.128/26', 'allocation_pools': [{'start': '13.204.204.130', 'end': '13.204.204.190'}], 'gateway_ip': '13.204.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.204.204.130', 'tags': [], 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:29:58,530 - INFO - Created VN ctest-vn-62606049
2025-11-05 19:29:58,581 - DEBUG - VN ctest-vn-62606049 UUID is 5b37c9e4-b58c-4cce-b365-439030b1ee3c
2025-11-05 19:29:58,709 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23909692', 'ctest-vmi-61271615']}
2025-11-05 19:29:58,975 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61271615', 'id': 'ee2c6aee-d15e-4a56-9286-3a09d497a97a', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '5b37c9e4-b58c-4cce-b365-439030b1ee3c', 'mac_address': '02:ee:2c:6a:ee:d1', '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': '13.204.204.131', 'subnet_id': '1186f1d4-05e1-44a3-94fe-275d1a9be239'}], 'security_groups': ['7e66d4df-aa6a-4dd6-8f1e-95c100fbb4a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:29:58,975 - DEBUG - Created port ee2c6aee-d15e-4a56-9286-3a09d497a97a
2025-11-05 19:29:59,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee2c6aee-d15e-4a56-9286-3a09d497a97a
2025-11-05 19:29:59,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee2c6aee-d15e-4a56-9286-3a09d497a97a
2025-11-05 19:29:59,435 - INFO - VMI ee2c6aee-d15e-4a56-9286-3a09d497a97a verification in API Server passed
2025-11-05 19:29:59,532 - DEBUG - Response for delete_port : ()
2025-11-05 19:29:59,532 - INFO - Deleted port ee2c6aee-d15e-4a56-9286-3a09d497a97a
2025-11-05 19:29:59,532 - INFO - Deleting VN ctest-vn-62606049
2025-11-05 19:29:59,645 - DEBUG - Response for deleting network ()
2025-11-05 19:29:59,917 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 19:29:59,917 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 19:29:59,917 - INFO - --------------------------------------------------------------------------------
2025-11-05 19:29:59,921 - INFO - ================================================================================
2025-11-05 19:29:59,921 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 19:29:59,921 - 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-05 19:30:00,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-05 19:30:00,215 - INFO - Initial checks done. Running the testcase now
2025-11-05 19:30:00,215 - INFO -
2025-11-05 19:30:00,389 - DEBUG - Response for create_network : {'network': {'id': '8b1a359d-9931-44ab-8519-d535f281f20d', 'name': 'ctest-vn1-71607079', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'project_id': 'f354011bd8a0405e97f30594cec3f111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23909692', 'ctest-vn1-71607079'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 19:30:00,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc603b93-3f7a-499b-af90-d3f530cc16bd', 'name': '', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '8b1a359d-9931-44ab-8519-d535f281f20d', 'ip_version': 4, 'cidr': '197.181.113.0/26', 'allocation_pools': [{'start': '197.181.113.2', 'end': '197.181.113.62'}], 'gateway_ip': '197.181.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.181.113.2', 'tags': [], 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:30:00,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b48c85d-0d93-4d13-a592-2cb17f2f0c33', 'name': '', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '8b1a359d-9931-44ab-8519-d535f281f20d', 'ip_version': 4, 'cidr': '105.54.150.128/26', 'allocation_pools': [{'start': '105.54.150.130', 'end': '105.54.150.190'}], 'gateway_ip': '105.54.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.54.150.130', 'tags': [], 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:30:00,800 - INFO - Created VN ctest-vn1-71607079
2025-11-05 19:30:00,853 - DEBUG - VN ctest-vn1-71607079 UUID is 8b1a359d-9931-44ab-8519-d535f281f20d
2025-11-05 19:30:01,175 - DEBUG - Response for create_port : {'port': {'name': '6eb551ce-2762-454d-9412-c2e3cca331a6', 'id': '6eb551ce-2762-454d-9412-c2e3cca331a6', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '8b1a359d-9931-44ab-8519-d535f281f20d', 'mac_address': '02:6e:b5:51:ce:27', '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': '197.181.113.5', 'subnet_id': 'cc603b93-3f7a-499b-af90-d3f530cc16bd'}], 'security_groups': ['7e66d4df-aa6a-4dd6-8f1e-95c100fbb4a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:30:01,375 - DEBUG - Response for create_port : {'port': {'name': 'e34fa2ae-be8f-41b0-95e6-3a652c6d953d', 'id': 'e34fa2ae-be8f-41b0-95e6-3a652c6d953d', 'tenant_id': 'f354011bd8a0405e97f30594cec3f111', 'network_id': '8b1a359d-9931-44ab-8519-d535f281f20d', 'mac_address': '02:e3:4f:a2:ae:be', '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': '105.54.150.133', 'subnet_id': '2b48c85d-0d93-4d13-a592-2cb17f2f0c33'}], 'security_groups': ['7e66d4df-aa6a-4dd6-8f1e-95c100fbb4a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f354011bd8a0405e97f30594cec3f111'}}
2025-11-05 19:30:01,445 - DEBUG - Services list from nova: [, , ]
2025-11-05 19:30:01,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1)
2025-11-05 19:30:02,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1)
2025-11-05 19:30:02,294 - INFO - Waiting for VM ctest-vn1-vm1-90740207 to be up..
2025-11-05 19:30:02,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 19:30:07,427 - DEBUG - VM is in ACTIVE state now
2025-11-05 19:30:07,428 - INFO - VM name : ctest-vn1-vm1-90740207
2025-11-05 19:30:07,518 - DEBUG - VM ctest-vn1-vm1-90740207 ID is c5119645-f8ef-48fa-8210-0b06066a529d
2025-11-05 19:30:07,540 - DEBUG - VM ctest-vn1-vm1-90740207 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1
2025-11-05 19:30:07,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5119645-f8ef-48fa-8210-0b06066a529d
2025-11-05 19:30:07,630 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6eb551ce-2762-454d-9412-c2e3cca331a6
2025-11-05 19:30:10,901 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms')
2025-11-05 19:30:10,902 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-90740207 failed!
2025-11-05 19:30:10,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23909692:ctest-vn1-71607079 is 197.181.113.1 and allocation pool is NOT set
2025-11-05 19:30:10,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23909692:ctest-vn1-71607079 is 105.54.150.129 and allocation pool is NOT set
2025-11-05 19:30:15,034 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2025-11-05 19:30:15,035 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-90740207 failed!
2025-11-05 19:30:15,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23909692:ctest-vn1-71607079 is 197.181.113.1 and allocation pool is NOT set
2025-11-05 19:30:15,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23909692:ctest-vn1-71607079 is 105.54.150.129 and allocation pool is NOT set
2025-11-05 19:30:17,154 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/1.889/3.228/1.338 ms')
2025-11-05 19:30:17,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-90740207 passed
2025-11-05 19:30:17,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 19:30:17,305 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90740207, IP 197.181.113.5, Port 22
2025-11-05 19:30:17,474 - DEBUG - VM ctest-vn1-vm1-90740207 is ready for SSH connections
2025-11-05 19:30:17,475 - INFO - Waiting for VM ctest-vn1-vm2-95781281 to be up..
2025-11-05 19:30:17,560 - DEBUG - VM is in ACTIVE state now
2025-11-05 19:30:17,561 - INFO - VM name : ctest-vn1-vm2-95781281
2025-11-05 19:30:17,645 - DEBUG - VM ctest-vn1-vm2-95781281 ID is 9ab42bd7-4bb6-49c5-bc7d-8533f8627722
2025-11-05 19:30:17,646 - DEBUG - VM ctest-vn1-vm2-95781281 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1
2025-11-05 19:30:17,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ab42bd7-4bb6-49c5-bc7d-8533f8627722
2025-11-05 19:30:17,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e34fa2ae-be8f-41b0-95e6-3a652c6d953d
2025-11-05 19:30:18,972 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/2.558/4.651/2.092 ms')
2025-11-05 19:30:18,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-95781281 passed
2025-11-05 19:30:19,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 19:30:19,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95781281, IP 105.54.150.133, Port 22
2025-11-05 19:30:19,291 - DEBUG - VM ctest-vn1-vm2-95781281 is ready for SSH connections
2025-11-05 19:30:19,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 19:30:19,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 19:30:19,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 19:30:19,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.181.113.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 19:30:19,292 - DEBUG - ping -s 56 -c 3 -W 1 197.181.113.5
2025-11-05 19:30:23,003 - DEBUG - PING 197.181.113.5 (197.181.113.5): 56 data bytes
64 bytes from 197.181.113.5: seq=0 ttl=63 time=4.000 ms
64 bytes from 197.181.113.5: seq=1 ttl=63 time=1.030 ms
64 bytes from 197.181.113.5: seq=2 ttl=63 time=1.343 ms
--- 197.181.113.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.030/2.124/4.000 ms
2025-11-05 19:30:23,004 - INFO - Ping to IP 197.181.113.5 from VM ctest-vn1-vm2-95781281 passed
2025-11-05 19:30:23,004 - INFO - Detaching port e34fa2ae-be8f-41b0-95e6-3a652c6d953d from VM ctest-vn1-vm2-95781281
2025-11-05 19:30:23,052 - INFO - Deleting VM ctest-vn1-vm2-95781281
2025-11-05 19:30:23,115 - INFO - Detaching port 6eb551ce-2762-454d-9412-c2e3cca331a6 from VM ctest-vn1-vm1-90740207
2025-11-05 19:30:23,150 - INFO - Deleting VM ctest-vn1-vm1-90740207
2025-11-05 19:30:23,420 - DEBUG - Response for delete_port : ()
2025-11-05 19:30:23,599 - DEBUG - Response for delete_port : ()
2025-11-05 19:30:23,599 - INFO - Deleting VN ctest-vn1-71607079
2025-11-05 19:30:23,758 - DEBUG - Response for deleting network ()
2025-11-05 19:30:24,035 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 19:30:24,035 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-05 19:30:24,035 - INFO - --------------------------------------------------------------------------------
2025-11-05 19:30:24,739 - INFO - Deleted project: ctest-TestPorts-23909692, ID : f354011b-d8a0-405e-97f3-0594cec3f111