2025-09-08 11:59:03,673 - INFO - Domain Default found not creating
2025-09-08 11:59:03,829 - INFO - Project ctest-TestPorts-83694532 not found, creating it
2025-09-08 11:59:04,283 - INFO - Created Project:ctest-TestPorts-83694532, ID : 3f8e5f5b-9153-49a2-9b51-26145a26d7c0
2025-09-08 11:59:05,652 - INFO - ================================================================================
2025-09-08 11:59:05,652 - INFO - STARTING TEST : test_ports_bindings
2025-09-08 11:59:05,652 - 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-09-08 11:59:05,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-08 11:59:05,905 - INFO - Initial checks done. Running the testcase now
2025-09-08 11:59:05,905 - INFO -
2025-09-08 11:59:06,438 - DEBUG - Response for create_network : {'network': {'id': '18b54b9f-f63f-4de7-832d-1843e51912a6', 'name': 'ctest-vn-05667269', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'project_id': '3f8e5f5b915349a29b5126145a26d7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83694532', 'ctest-vn-05667269'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 11:59:06,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '3126db76-7c01-4094-82a5-f9eb1ce370f0', 'name': '', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': '18b54b9f-f63f-4de7-832d-1843e51912a6', 'ip_version': 4, 'cidr': '137.162.140.128/26', 'allocation_pools': [{'start': '137.162.140.130', 'end': '137.162.140.190'}], 'gateway_ip': '137.162.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.162.140.130', 'tags': [], 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:06,669 - INFO - Created VN ctest-vn-05667269
2025-09-08 11:59:06,720 - DEBUG - VN ctest-vn-05667269 UUID is 18b54b9f-f63f-4de7-832d-1843e51912a6
2025-09-08 11:59:06,827 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83694532', 'ctest-vmi-85666486']}
2025-09-08 11:59:07,054 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85666486', 'id': 'c4f397c4-b366-44dd-a31a-e385d0456fcd', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': '18b54b9f-f63f-4de7-832d-1843e51912a6', 'mac_address': '02:c4:f3:97:c4:b3', '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': '137.162.140.131', 'subnet_id': '3126db76-7c01-4094-82a5-f9eb1ce370f0'}], 'security_groups': ['d3b4fbe9-575d-4827-adce-afb259573635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:07,055 - DEBUG - Created port c4f397c4-b366-44dd-a31a-e385d0456fcd
2025-09-08 11:59:07,164 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c4f397c4-b366-44dd-a31a-e385d0456fcd
2025-09-08 11:59:07,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c4f397c4-b366-44dd-a31a-e385d0456fcd
2025-09-08 11:59:07,491 - INFO - VMI c4f397c4-b366-44dd-a31a-e385d0456fcd verification in API Server passed
2025-09-08 11:59:07,576 - DEBUG - Response for delete_port : ()
2025-09-08 11:59:07,576 - INFO - Deleted port c4f397c4-b366-44dd-a31a-e385d0456fcd
2025-09-08 11:59:07,576 - INFO - Deleting VN ctest-vn-05667269
2025-09-08 11:59:07,666 - DEBUG - Response for deleting network ()
2025-09-08 11:59:07,921 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 11:59:07,921 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-08 11:59:07,921 - INFO - --------------------------------------------------------------------------------
2025-09-08 11:59:07,924 - INFO - ================================================================================
2025-09-08 11:59:07,924 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-08 11:59:07,924 - 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-09-08 11:59:08,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-08 11:59:08,211 - INFO - Initial checks done. Running the testcase now
2025-09-08 11:59:08,211 - INFO -
2025-09-08 11:59:08,393 - DEBUG - Response for create_network : {'network': {'id': 'afd25163-1150-4c92-879a-9a67508de76a', 'name': 'ctest-vn1-51790177', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'project_id': '3f8e5f5b915349a29b5126145a26d7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83694532', 'ctest-vn1-51790177'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 11:59:08,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c943e3c-2026-4171-89f2-1772fc71fcce', 'name': '', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': 'afd25163-1150-4c92-879a-9a67508de76a', 'ip_version': 4, 'cidr': '36.222.77.64/26', 'allocation_pools': [{'start': '36.222.77.66', 'end': '36.222.77.126'}], 'gateway_ip': '36.222.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.222.77.66', 'tags': [], 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:08,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dadaa402-44b0-4f50-b2a8-c662d864b9c3', 'name': '', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': 'afd25163-1150-4c92-879a-9a67508de76a', 'ip_version': 4, 'cidr': '97.230.6.0/26', 'allocation_pools': [{'start': '97.230.6.2', 'end': '97.230.6.62'}], 'gateway_ip': '97.230.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.230.6.2', 'tags': [], 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:08,822 - INFO - Created VN ctest-vn1-51790177
2025-09-08 11:59:08,872 - DEBUG - VN ctest-vn1-51790177 UUID is afd25163-1150-4c92-879a-9a67508de76a
2025-09-08 11:59:09,168 - DEBUG - Response for create_port : {'port': {'name': '49d2c1d7-944d-4b6a-ab9c-ab2124e8dd63', 'id': '49d2c1d7-944d-4b6a-ab9c-ab2124e8dd63', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': 'afd25163-1150-4c92-879a-9a67508de76a', 'mac_address': '02:49:d2:c1:d7:94', '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': '36.222.77.69', 'subnet_id': '5c943e3c-2026-4171-89f2-1772fc71fcce'}], 'security_groups': ['d3b4fbe9-575d-4827-adce-afb259573635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:09,343 - DEBUG - Response for create_port : {'port': {'name': '8c7d0204-6fba-4623-89c0-dcd797bd0110', 'id': '8c7d0204-6fba-4623-89c0-dcd797bd0110', 'tenant_id': '3f8e5f5b915349a29b5126145a26d7c0', 'network_id': 'afd25163-1150-4c92-879a-9a67508de76a', 'mac_address': '02:8c:7d:02:04:6f', '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.230.6.5', 'subnet_id': 'dadaa402-44b0-4f50-b2a8-c662d864b9c3'}], 'security_groups': ['d3b4fbe9-575d-4827-adce-afb259573635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f8e5f5b915349a29b5126145a26d7c0'}}
2025-09-08 11:59:09,395 - DEBUG - Services list from nova: [, , ]
2025-09-08 11:59:09,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1)
2025-09-08 11:59:10,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1)
2025-09-08 11:59:10,043 - INFO - Waiting for VM ctest-vn1-vm1-13302117 to be up..
2025-09-08 11:59:10,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 11:59:15,155 - DEBUG - VM is in ACTIVE state now
2025-09-08 11:59:15,155 - INFO - VM name : ctest-vn1-vm1-13302117
2025-09-08 11:59:15,224 - DEBUG - VM ctest-vn1-vm1-13302117 ID is 391e8fc1-e2e3-4a1d-9c80-215fa954ccac
2025-09-08 11:59:15,244 - DEBUG - VM ctest-vn1-vm1-13302117 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1
2025-09-08 11:59:15,314 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/391e8fc1-e2e3-4a1d-9c80-215fa954ccac
2025-09-08 11:59:15,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/49d2c1d7-944d-4b6a-ab9c-ab2124e8dd63
2025-09-08 11:59:18,579 - 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 1031ms')
2025-09-08 11:59:18,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13302117 failed!
2025-09-08 11:59:18,636 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83694532:ctest-vn1-51790177 is 36.222.77.65 and allocation pool is NOT set
2025-09-08 11:59:18,636 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83694532:ctest-vn1-51790177 is 97.230.6.1 and allocation pool is NOT set
2025-09-08 11:59:20,702 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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.467/4.487/6.507/2.020 ms')
2025-09-08 11:59:20,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13302117 passed
2025-09-08 11:59:20,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 11:59:20,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13302117, IP 36.222.77.69, Port 22
2025-09-08 11:59:21,007 - DEBUG - VM ctest-vn1-vm1-13302117 is ready for SSH connections
2025-09-08 11:59:21,008 - INFO - Waiting for VM ctest-vn1-vm2-75442112 to be up..
2025-09-08 11:59:21,086 - DEBUG - VM is in ACTIVE state now
2025-09-08 11:59:21,086 - INFO - VM name : ctest-vn1-vm2-75442112
2025-09-08 11:59:21,159 - DEBUG - VM ctest-vn1-vm2-75442112 ID is 8ccf1f4f-1780-4c23-9756-c326e8504413
2025-09-08 11:59:21,160 - DEBUG - VM ctest-vn1-vm2-75442112 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1
2025-09-08 11:59:21,351 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8ccf1f4f-1780-4c23-9756-c326e8504413
2025-09-08 11:59:21,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8c7d0204-6fba-4623-89c0-dcd797bd0110
2025-09-08 11:59:22,598 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/2.465/4.514/2.049 ms')
2025-09-08 11:59:22,598 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75442112 passed
2025-09-08 11:59:22,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 11:59:22,752 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75442112, IP 97.230.6.5, Port 22
2025-09-08 11:59:22,907 - DEBUG - VM ctest-vn1-vm2-75442112 is ready for SSH connections
2025-09-08 11:59:22,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 11:59:22,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 11:59:22,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 11:59:22,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.222.77.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-08 11:59:22,907 - DEBUG - ping -s 56 -c 3 -W 1 36.222.77.69
2025-09-08 11:59:25,860 - DEBUG - PING 36.222.77.69 (36.222.77.69): 56 data bytes
64 bytes from 36.222.77.69: seq=0 ttl=63 time=3.242 ms
64 bytes from 36.222.77.69: seq=1 ttl=63 time=1.033 ms
64 bytes from 36.222.77.69: seq=2 ttl=63 time=0.952 ms
--- 36.222.77.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.952/1.742/3.242 ms
2025-09-08 11:59:25,860 - INFO - Ping to IP 36.222.77.69 from VM ctest-vn1-vm2-75442112 passed
2025-09-08 11:59:25,860 - INFO - Detaching port 8c7d0204-6fba-4623-89c0-dcd797bd0110 from VM ctest-vn1-vm2-75442112
2025-09-08 11:59:25,916 - INFO - Deleting VM ctest-vn1-vm2-75442112
2025-09-08 11:59:25,980 - INFO - Detaching port 49d2c1d7-944d-4b6a-ab9c-ab2124e8dd63 from VM ctest-vn1-vm1-13302117
2025-09-08 11:59:26,014 - INFO - Deleting VM ctest-vn1-vm1-13302117
2025-09-08 11:59:26,235 - DEBUG - Response for delete_port : ()
2025-09-08 11:59:26,400 - DEBUG - Response for delete_port : ()
2025-09-08 11:59:26,401 - INFO - Deleting VN ctest-vn1-51790177
2025-09-08 11:59:26,548 - DEBUG - Response for deleting network ()
2025-09-08 11:59:26,800 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 11:59:26,800 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-08 11:59:26,800 - INFO - --------------------------------------------------------------------------------
2025-09-08 11:59:27,464 - INFO - Deleted project: ctest-TestPorts-83694532, ID : 3f8e5f5b-9153-49a2-9b51-26145a26d7c0