2025-10-22 23:00:27,901 - INFO - Domain Default found not creating
2025-10-22 23:00:28,048 - INFO - Project ctest-TestPorts-68009024 not found, creating it
2025-10-22 23:00:28,462 - INFO - Created Project:ctest-TestPorts-68009024, ID : ae4f11ec-bdfb-4960-b896-5bc3414e27e2
2025-10-22 23:00:29,938 - INFO - ================================================================================
2025-10-22 23:00:29,938 - INFO - STARTING TEST : test_ports_bindings
2025-10-22 23:00:29,938 - 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-22 23:00:30,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-22 23:00:30,192 - INFO - Initial checks done. Running the testcase now
2025-10-22 23:00:30,192 - INFO -
2025-10-22 23:00:30,757 - DEBUG - Response for create_network : {'network': {'id': '9a83aadc-f450-4792-86d2-1b623651676d', 'name': 'ctest-vn-49834622', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68009024', 'ctest-vn-49834622'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:00:30,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '6902269a-7a2a-45ac-a640-2a9da947b21f', 'name': '', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '9a83aadc-f450-4792-86d2-1b623651676d', 'ip_version': 4, 'cidr': '41.23.229.64/26', 'allocation_pools': [{'start': '41.23.229.66', 'end': '41.23.229.126'}], 'gateway_ip': '41.23.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.23.229.66', 'tags': [], 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:30,991 - INFO - Created VN ctest-vn-49834622
2025-10-22 23:00:31,042 - DEBUG - VN ctest-vn-49834622 UUID is 9a83aadc-f450-4792-86d2-1b623651676d
2025-10-22 23:00:31,142 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68009024', 'ctest-vmi-32376966']}
2025-10-22 23:00:31,417 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32376966', 'id': 'a01488ac-76fe-445d-bc48-9931c046c0a4', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '9a83aadc-f450-4792-86d2-1b623651676d', 'mac_address': '02:a0:14:88:ac:76', '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': '41.23.229.67', 'subnet_id': '6902269a-7a2a-45ac-a640-2a9da947b21f'}], 'security_groups': ['87946209-48ce-4dc3-8637-4b9059ce3acf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:31,417 - DEBUG - Created port a01488ac-76fe-445d-bc48-9931c046c0a4
2025-10-22 23:00:31,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a01488ac-76fe-445d-bc48-9931c046c0a4
2025-10-22 23:00:31,817 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a01488ac-76fe-445d-bc48-9931c046c0a4
2025-10-22 23:00:31,848 - INFO - VMI a01488ac-76fe-445d-bc48-9931c046c0a4 verification in API Server passed
2025-10-22 23:00:31,956 - DEBUG - Response for delete_port : ()
2025-10-22 23:00:31,956 - INFO - Deleted port a01488ac-76fe-445d-bc48-9931c046c0a4
2025-10-22 23:00:31,956 - INFO - Deleting VN ctest-vn-49834622
2025-10-22 23:00:32,050 - DEBUG - Response for deleting network ()
2025-10-22 23:00:32,303 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 23:00:32,303 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 23:00:32,303 - INFO - --------------------------------------------------------------------------------
2025-10-22 23:00:32,305 - INFO - ================================================================================
2025-10-22 23:00:32,305 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-22 23:00:32,305 - 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-22 23:00:32,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-22 23:00:32,590 - INFO - Initial checks done. Running the testcase now
2025-10-22 23:00:32,590 - INFO -
2025-10-22 23:00:32,764 - DEBUG - Response for create_network : {'network': {'id': '60103208-6c87-4888-ada2-3fefd7289eb8', 'name': 'ctest-vn1-86017121', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68009024', 'ctest-vn1-86017121'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:00:32,982 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3791a1b-2bd9-4c6b-a78e-5533634ed166', 'name': '', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '60103208-6c87-4888-ada2-3fefd7289eb8', 'ip_version': 4, 'cidr': '63.122.222.64/26', 'allocation_pools': [{'start': '63.122.222.66', 'end': '63.122.222.126'}], 'gateway_ip': '63.122.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.122.222.66', 'tags': [], 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:33,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee8fff4b-7908-4766-ae23-971fbfa693f7', 'name': '', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '60103208-6c87-4888-ada2-3fefd7289eb8', 'ip_version': 4, 'cidr': '20.16.94.128/26', 'allocation_pools': [{'start': '20.16.94.130', 'end': '20.16.94.190'}], 'gateway_ip': '20.16.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.16.94.130', 'tags': [], 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:33,207 - INFO - Created VN ctest-vn1-86017121
2025-10-22 23:00:33,258 - DEBUG - VN ctest-vn1-86017121 UUID is 60103208-6c87-4888-ada2-3fefd7289eb8
2025-10-22 23:00:33,551 - DEBUG - Response for create_port : {'port': {'name': '15adfc4b-ef0a-40a5-9221-92688fc67c3f', 'id': '15adfc4b-ef0a-40a5-9221-92688fc67c3f', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '60103208-6c87-4888-ada2-3fefd7289eb8', 'mac_address': '02:15:ad:fc:4b: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': '63.122.222.69', 'subnet_id': 'f3791a1b-2bd9-4c6b-a78e-5533634ed166'}], 'security_groups': ['87946209-48ce-4dc3-8637-4b9059ce3acf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:33,721 - DEBUG - Response for create_port : {'port': {'name': 'c32ddef7-4c67-42e6-888a-4a0b9ffee37b', 'id': 'c32ddef7-4c67-42e6-888a-4a0b9ffee37b', 'tenant_id': 'ae4f11ecbdfb4960b8965bc3414e27e2', 'network_id': '60103208-6c87-4888-ada2-3fefd7289eb8', 'mac_address': '02:c3:2d:de:f7:4c', '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': '20.16.94.133', 'subnet_id': 'ee8fff4b-7908-4766-ae23-971fbfa693f7'}], 'security_groups': ['87946209-48ce-4dc3-8637-4b9059ce3acf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae4f11ecbdfb4960b8965bc3414e27e2'}}
2025-10-22 23:00:33,776 - DEBUG - Services list from nova: [, , ]
2025-10-22 23:00:34,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1)
2025-10-22 23:00:34,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1)
2025-10-22 23:00:34,577 - INFO - Waiting for VM ctest-vn1-vm1-80188261 to be up..
2025-10-22 23:00:34,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 23:00:39,703 - DEBUG - VM is in ACTIVE state now
2025-10-22 23:00:39,704 - INFO - VM name : ctest-vn1-vm1-80188261
2025-10-22 23:00:39,779 - DEBUG - VM ctest-vn1-vm1-80188261 ID is 598cd0f1-883b-4048-b20e-0ecff6d3b3f8
2025-10-22 23:00:39,798 - DEBUG - VM ctest-vn1-vm1-80188261 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1
2025-10-22 23:00:39,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/598cd0f1-883b-4048-b20e-0ecff6d3b3f8
2025-10-22 23:00:39,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/15adfc4b-ef0a-40a5-9221-92688fc67c3f
2025-10-22 23:00:43,148 - 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 1029ms')
2025-10-22 23:00:43,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80188261 failed!
2025-10-22 23:00:43,201 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68009024:ctest-vn1-86017121 is 63.122.222.65 and allocation pool is NOT set
2025-10-22 23:00:43,202 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68009024:ctest-vn1-86017121 is 20.16.94.129 and allocation pool is NOT set
2025-10-22 23:00:45,269 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.571/7.694/12.817/5.123 ms')
2025-10-22 23:00:45,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80188261 passed
2025-10-22 23:00:45,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:00:45,418 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80188261, IP 63.122.222.69, Port 22
2025-10-22 23:00:45,580 - DEBUG - VM ctest-vn1-vm1-80188261 is ready for SSH connections
2025-10-22 23:00:45,580 - INFO - Waiting for VM ctest-vn1-vm2-04060894 to be up..
2025-10-22 23:00:45,668 - DEBUG - VM is in ACTIVE state now
2025-10-22 23:00:45,668 - INFO - VM name : ctest-vn1-vm2-04060894
2025-10-22 23:00:45,746 - DEBUG - VM ctest-vn1-vm2-04060894 ID is ce088988-29c5-412d-9e37-a5405758f4e7
2025-10-22 23:00:45,746 - DEBUG - VM ctest-vn1-vm2-04060894 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1
2025-10-22 23:00:45,822 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ce088988-29c5-412d-9e37-a5405758f4e7
2025-10-22 23:00:45,832 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c32ddef7-4c67-42e6-888a-4a0b9ffee37b
2025-10-22 23:00:47,061 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.577/2.814/1.236 ms')
2025-10-22 23:00:47,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04060894 passed
2025-10-22 23:00:47,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:00:47,210 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04060894, IP 20.16.94.133, Port 22
2025-10-22 23:00:47,375 - DEBUG - VM ctest-vn1-vm2-04060894 is ready for SSH connections
2025-10-22 23:00:47,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:00:47,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:00:47,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:00:47,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.122.222.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-22 23:00:47,375 - DEBUG - ping -s 56 -c 3 -W 1 63.122.222.69
2025-10-22 23:00:50,047 - DEBUG - PING 63.122.222.69 (63.122.222.69): 56 data bytes
64 bytes from 63.122.222.69: seq=0 ttl=63 time=5.069 ms
64 bytes from 63.122.222.69: seq=1 ttl=63 time=0.996 ms
64 bytes from 63.122.222.69: seq=2 ttl=63 time=0.840 ms
--- 63.122.222.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.840/2.301/5.069 ms
2025-10-22 23:00:50,047 - INFO - Ping to IP 63.122.222.69 from VM ctest-vn1-vm2-04060894 passed
2025-10-22 23:00:50,047 - INFO - Detaching port c32ddef7-4c67-42e6-888a-4a0b9ffee37b from VM ctest-vn1-vm2-04060894
2025-10-22 23:00:50,096 - INFO - Deleting VM ctest-vn1-vm2-04060894
2025-10-22 23:00:50,168 - INFO - Detaching port 15adfc4b-ef0a-40a5-9221-92688fc67c3f from VM ctest-vn1-vm1-80188261
2025-10-22 23:00:50,200 - INFO - Deleting VM ctest-vn1-vm1-80188261
2025-10-22 23:00:50,433 - DEBUG - Response for delete_port : ()
2025-10-22 23:00:50,591 - DEBUG - Response for delete_port : ()
2025-10-22 23:00:50,591 - INFO - Deleting VN ctest-vn1-86017121
2025-10-22 23:00:50,719 - DEBUG - Response for deleting network ()
2025-10-22 23:00:50,983 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 23:00:50,983 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-22 23:00:50,983 - INFO - --------------------------------------------------------------------------------
2025-10-22 23:00:51,663 - INFO - Deleted project: ctest-TestPorts-68009024, ID : ae4f11ec-bdfb-4960-b896-5bc3414e27e2