2026-06-04 02:23:36,901 - INFO - Domain Default found not creating 2026-06-04 02:23:37,065 - INFO - Project ctest-TestPorts-56166297 not found, creating it 2026-06-04 02:23:37,505 - INFO - Created Project:ctest-TestPorts-56166297, ID : e08a45e9-b7a3-4ee7-896a-7283f2f4a525 2026-06-04 02:23:38,991 - INFO - ================================================================================ 2026-06-04 02:23:38,991 - INFO - STARTING TEST : test_ports_bindings 2026-06-04 02:23:38,991 - 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 2026-06-04 02:23:39,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-06-04 02:23:39,245 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:23:39,245 - INFO - 2026-06-04 02:23:39,769 - DEBUG - Response for create_network : {'network': {'id': '9d1a5740-bb35-4cab-b7d8-de5d9de76ee7', 'name': 'ctest-vn-78522357', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56166297', 'ctest-vn-78522357'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:23:39,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6f8b45b-1fdc-48c4-972c-88fde249c3bc', 'name': '', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': '9d1a5740-bb35-4cab-b7d8-de5d9de76ee7', 'ip_version': 4, 'cidr': '41.85.197.0/26', 'allocation_pools': [{'start': '41.85.197.2', 'end': '41.85.197.62'}], 'gateway_ip': '41.85.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.85.197.2', 'tags': [], 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:40,008 - INFO - Created VN ctest-vn-78522357 2026-06-04 02:23:40,059 - DEBUG - VN ctest-vn-78522357 UUID is 9d1a5740-bb35-4cab-b7d8-de5d9de76ee7 2026-06-04 02:23:40,163 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56166297', 'ctest-vmi-99614496']} 2026-06-04 02:23:40,408 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99614496', 'id': '9e1f1c18-0ab4-48d2-84cc-5063a67e60ab', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': '9d1a5740-bb35-4cab-b7d8-de5d9de76ee7', 'mac_address': '02:9e:1f:1c:18:0a', '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.85.197.3', 'subnet_id': 'd6f8b45b-1fdc-48c4-972c-88fde249c3bc'}], 'security_groups': ['eb600def-1631-4cdb-9d67-96b753ee35d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:40,408 - DEBUG - Created port 9e1f1c18-0ab4-48d2-84cc-5063a67e60ab 2026-06-04 02:23:40,511 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9e1f1c18-0ab4-48d2-84cc-5063a67e60ab 2026-06-04 02:23:40,802 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9e1f1c18-0ab4-48d2-84cc-5063a67e60ab 2026-06-04 02:23:40,833 - INFO - VMI 9e1f1c18-0ab4-48d2-84cc-5063a67e60ab verification in API Server passed 2026-06-04 02:23:40,912 - DEBUG - Response for delete_port : () 2026-06-04 02:23:40,912 - INFO - Deleted port 9e1f1c18-0ab4-48d2-84cc-5063a67e60ab 2026-06-04 02:23:40,913 - INFO - Deleting VN ctest-vn-78522357 2026-06-04 02:23:41,006 - DEBUG - Response for deleting network () 2026-06-04 02:23:41,260 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:23:41,260 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-06-04 02:23:41,261 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:23:41,263 - INFO - ================================================================================ 2026-06-04 02:23:41,263 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-06-04 02:23:41,263 - 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 2026-06-04 02:23:41,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-06-04 02:23:41,552 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:23:41,552 - INFO - 2026-06-04 02:23:41,737 - DEBUG - Response for create_network : {'network': {'id': 'dde16ca1-f767-410d-acc7-14e97f475404', 'name': 'ctest-vn1-55756940', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56166297', 'ctest-vn1-55756940'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:23:41,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '16bc517a-5388-4d41-b69f-581fcbb86ee7', 'name': '', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': 'dde16ca1-f767-410d-acc7-14e97f475404', 'ip_version': 4, 'cidr': '35.239.175.64/26', 'allocation_pools': [{'start': '35.239.175.66', 'end': '35.239.175.126'}], 'gateway_ip': '35.239.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.239.175.66', 'tags': [], 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:42,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '808187a6-3c86-4635-a59e-267a61491da0', 'name': '', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': 'dde16ca1-f767-410d-acc7-14e97f475404', 'ip_version': 4, 'cidr': '47.246.231.192/26', 'allocation_pools': [{'start': '47.246.231.194', 'end': '47.246.231.254'}], 'gateway_ip': '47.246.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.246.231.194', 'tags': [], 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:42,088 - INFO - Created VN ctest-vn1-55756940 2026-06-04 02:23:42,139 - DEBUG - VN ctest-vn1-55756940 UUID is dde16ca1-f767-410d-acc7-14e97f475404 2026-06-04 02:23:42,415 - DEBUG - Response for create_port : {'port': {'name': '8ea7b3e3-bda2-4d51-a4be-adca13f47b90', 'id': '8ea7b3e3-bda2-4d51-a4be-adca13f47b90', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': 'dde16ca1-f767-410d-acc7-14e97f475404', 'mac_address': '02:8e:a7:b3:e3:bd', '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': '35.239.175.69', 'subnet_id': '16bc517a-5388-4d41-b69f-581fcbb86ee7'}], 'security_groups': ['eb600def-1631-4cdb-9d67-96b753ee35d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:42,588 - DEBUG - Response for create_port : {'port': {'name': 'd31bf1fb-399c-477b-8242-2c0e8a2b7661', 'id': 'd31bf1fb-399c-477b-8242-2c0e8a2b7661', 'tenant_id': 'e08a45e9b7a34ee7896a7283f2f4a525', 'network_id': 'dde16ca1-f767-410d-acc7-14e97f475404', 'mac_address': '02:d3:1b:f1:fb:39', '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': '47.246.231.197', 'subnet_id': '808187a6-3c86-4635-a59e-267a61491da0'}], 'security_groups': ['eb600def-1631-4cdb-9d67-96b753ee35d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e08a45e9b7a34ee7896a7283f2f4a525'}} 2026-06-04 02:23:42,650 - DEBUG - Services list from nova: [, , ] 2026-06-04 02:23:42,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5887-1) 2026-06-04 02:23:43,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5887-1) 2026-06-04 02:23:43,372 - INFO - Waiting for VM ctest-vn1-vm1-43533104 to be up.. 2026-06-04 02:23:43,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:23:48,488 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:23:48,488 - INFO - VM name : ctest-vn1-vm1-43533104 2026-06-04 02:23:48,565 - DEBUG - VM ctest-vn1-vm1-43533104 ID is 51bb60d9-d31e-4c87-b26e-b2e704deaf7b 2026-06-04 02:23:48,584 - DEBUG - VM ctest-vn1-vm1-43533104 launched on Node cn-jenkins-deploy-platform-ansible-os-5887-1 2026-06-04 02:23:48,656 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/51bb60d9-d31e-4c87-b26e-b2e704deaf7b 2026-06-04 02:23:48,663 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8ea7b3e3-bda2-4d51-a4be-adca13f47b90 2026-06-04 02:23:51,917 - 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 1018ms') 2026-06-04 02:23:51,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43533104 failed! 2026-06-04 02:23:51,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56166297:ctest-vn1-55756940 is 35.239.175.65 and allocation pool is NOT set 2026-06-04 02:23:51,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56166297:ctest-vn1-55756940 is 47.246.231.193 and allocation pool is NOT set 2026-06-04 02:23:54,032 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.362/4.649/6.937/2.287 ms') 2026-06-04 02:23:54,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43533104 passed 2026-06-04 02:23:54,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:23:54,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43533104, IP 35.239.175.69, Port 22 2026-06-04 02:23:54,245 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 02:23:54,333 - DEBUG - VM ctest-vn1-vm1-43533104 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 02:23:59,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:23:59,335 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43533104, IP 35.239.175.69, Port 22 2026-06-04 02:23:59,491 - DEBUG - VM ctest-vn1-vm1-43533104 is ready for SSH connections 2026-06-04 02:23:59,491 - INFO - Waiting for VM ctest-vn1-vm2-45032525 to be up.. 2026-06-04 02:23:59,566 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:23:59,567 - INFO - VM name : ctest-vn1-vm2-45032525 2026-06-04 02:23:59,645 - DEBUG - VM ctest-vn1-vm2-45032525 ID is d1d0f3b8-9164-4698-a84d-a86a4da4ebcb 2026-06-04 02:23:59,645 - DEBUG - VM ctest-vn1-vm2-45032525 launched on Node cn-jenkins-deploy-platform-ansible-os-5887-1 2026-06-04 02:23:59,717 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d1d0f3b8-9164-4698-a84d-a86a4da4ebcb 2026-06-04 02:23:59,725 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d31bf1fb-399c-477b-8242-2c0e8a2b7661 2026-06-04 02:24:00,965 - 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.04 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.689/3.037/1.348 ms') 2026-06-04 02:24:00,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45032525 passed 2026-06-04 02:24:01,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:24:01,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45032525, IP 47.246.231.197, Port 22 2026-06-04 02:24:01,275 - DEBUG - VM ctest-vn1-vm2-45032525 is ready for SSH connections 2026-06-04 02:24:01,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:24:01,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:24:01,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:24:01,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.239.175.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-04 02:24:01,275 - DEBUG - ping -s 56 -c 3 -W 1 35.239.175.69 2026-06-04 02:24:03,960 - DEBUG - PING 35.239.175.69 (35.239.175.69): 56 data bytes 64 bytes from 35.239.175.69: seq=0 ttl=63 time=3.675 ms 64 bytes from 35.239.175.69: seq=1 ttl=63 time=0.733 ms 64 bytes from 35.239.175.69: seq=2 ttl=63 time=1.107 ms --- 35.239.175.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.838/3.675 ms 2026-06-04 02:24:03,960 - INFO - Ping to IP 35.239.175.69 from VM ctest-vn1-vm2-45032525 passed 2026-06-04 02:24:03,960 - INFO - Detaching port d31bf1fb-399c-477b-8242-2c0e8a2b7661 from VM ctest-vn1-vm2-45032525 2026-06-04 02:24:04,011 - INFO - Deleting VM ctest-vn1-vm2-45032525 2026-06-04 02:24:04,078 - INFO - Detaching port 8ea7b3e3-bda2-4d51-a4be-adca13f47b90 from VM ctest-vn1-vm1-43533104 2026-06-04 02:24:04,117 - INFO - Deleting VM ctest-vn1-vm1-43533104 2026-06-04 02:24:04,377 - DEBUG - Response for delete_port : () 2026-06-04 02:24:04,568 - DEBUG - Response for delete_port : () 2026-06-04 02:24:04,568 - INFO - Deleting VN ctest-vn1-55756940 2026-06-04 02:24:04,694 - DEBUG - Response for deleting network () 2026-06-04 02:24:04,948 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:24:04,948 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-06-04 02:24:04,948 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:24:05,640 - INFO - Deleted project: ctest-TestPorts-56166297, ID : e08a45e9-b7a3-4ee7-896a-7283f2f4a525