2025-09-16 14:57:59,346 - INFO - Domain Default found not creating
2025-09-16 14:57:59,517 - INFO - Project ctest-TestPorts-30823288 not found, creating it
2025-09-16 14:58:00,032 - INFO - Created Project:ctest-TestPorts-30823288, ID : 3c88e0bb-3656-48f9-80a1-05c5da35ad75
2025-09-16 14:58:01,680 - INFO - ================================================================================
2025-09-16 14:58:01,680 - INFO - STARTING TEST : test_ports_bindings
2025-09-16 14:58:01,680 - 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-16 14:58:01,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-16 14:58:01,938 - INFO - Initial checks done. Running the testcase now
2025-09-16 14:58:01,938 - INFO -
2025-09-16 14:58:02,538 - DEBUG - Response for create_network : {'network': {'id': '4ee62a1d-3907-4ec0-aa62-f88078f54089', 'name': 'ctest-vn-64072082', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'project_id': '3c88e0bb365648f980a105c5da35ad75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30823288', 'ctest-vn-64072082'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 14:58:02,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '5121cc9b-e47a-45e6-86e6-66c58c4cfc80', 'name': '', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '4ee62a1d-3907-4ec0-aa62-f88078f54089', 'ip_version': 4, 'cidr': '194.240.169.64/26', 'allocation_pools': [{'start': '194.240.169.66', 'end': '194.240.169.126'}], 'gateway_ip': '194.240.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.240.169.66', 'tags': [], 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:02,735 - INFO - Created VN ctest-vn-64072082
2025-09-16 14:58:02,788 - DEBUG - VN ctest-vn-64072082 UUID is 4ee62a1d-3907-4ec0-aa62-f88078f54089
2025-09-16 14:58:02,904 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30823288', 'ctest-vmi-25167613']}
2025-09-16 14:58:03,159 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25167613', 'id': 'bcb4e932-4d2c-442c-b621-1c2591555f12', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '4ee62a1d-3907-4ec0-aa62-f88078f54089', 'mac_address': '02:bc:b4:e9:32:4d', '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': '194.240.169.67', 'subnet_id': '5121cc9b-e47a-45e6-86e6-66c58c4cfc80'}], 'security_groups': ['58757e3c-a40b-411a-93a2-61b5a02c4cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:03,159 - DEBUG - Created port bcb4e932-4d2c-442c-b621-1c2591555f12
2025-09-16 14:58:03,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bcb4e932-4d2c-442c-b621-1c2591555f12
2025-09-16 14:58:03,608 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bcb4e932-4d2c-442c-b621-1c2591555f12
2025-09-16 14:58:03,648 - INFO - VMI bcb4e932-4d2c-442c-b621-1c2591555f12 verification in API Server passed
2025-09-16 14:58:03,754 - DEBUG - Response for delete_port : ()
2025-09-16 14:58:03,754 - INFO - Deleted port bcb4e932-4d2c-442c-b621-1c2591555f12
2025-09-16 14:58:03,754 - INFO - Deleting VN ctest-vn-64072082
2025-09-16 14:58:03,866 - DEBUG - Response for deleting network ()
2025-09-16 14:58:04,122 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 14:58:04,122 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-16 14:58:04,122 - INFO - --------------------------------------------------------------------------------
2025-09-16 14:58:04,126 - INFO - ================================================================================
2025-09-16 14:58:04,126 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-16 14:58:04,126 - 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-16 14:58:04,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-16 14:58:04,409 - INFO - Initial checks done. Running the testcase now
2025-09-16 14:58:04,409 - INFO -
2025-09-16 14:58:04,602 - DEBUG - Response for create_network : {'network': {'id': '107ed6e6-2454-4253-8a06-4681fcf461ac', 'name': 'ctest-vn1-55802464', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'project_id': '3c88e0bb365648f980a105c5da35ad75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30823288', 'ctest-vn1-55802464'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 14:58:04,833 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b79465eb-952e-4baf-a02f-0df8cd598363', 'name': '', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '107ed6e6-2454-4253-8a06-4681fcf461ac', 'ip_version': 4, 'cidr': '93.239.195.128/26', 'allocation_pools': [{'start': '93.239.195.130', 'end': '93.239.195.190'}], 'gateway_ip': '93.239.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.239.195.130', 'tags': [], 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:04,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '245850ad-88d7-4bc8-8284-9ff384241ae4', 'name': '', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '107ed6e6-2454-4253-8a06-4681fcf461ac', 'ip_version': 4, 'cidr': '84.16.205.64/26', 'allocation_pools': [{'start': '84.16.205.66', 'end': '84.16.205.126'}], 'gateway_ip': '84.16.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.16.205.66', 'tags': [], 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:05,005 - INFO - Created VN ctest-vn1-55802464
2025-09-16 14:58:05,060 - DEBUG - VN ctest-vn1-55802464 UUID is 107ed6e6-2454-4253-8a06-4681fcf461ac
2025-09-16 14:58:05,367 - DEBUG - Response for create_port : {'port': {'name': 'c63ed169-88ce-4869-a912-6f2c4dd3dd3a', 'id': 'c63ed169-88ce-4869-a912-6f2c4dd3dd3a', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '107ed6e6-2454-4253-8a06-4681fcf461ac', 'mac_address': '02:c6:3e:d1:69:88', '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': '93.239.195.133', 'subnet_id': 'b79465eb-952e-4baf-a02f-0df8cd598363'}], 'security_groups': ['58757e3c-a40b-411a-93a2-61b5a02c4cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:05,548 - DEBUG - Response for create_port : {'port': {'name': '49cb299d-9b94-4882-80ea-a02e697fee71', 'id': '49cb299d-9b94-4882-80ea-a02e697fee71', 'tenant_id': '3c88e0bb365648f980a105c5da35ad75', 'network_id': '107ed6e6-2454-4253-8a06-4681fcf461ac', 'mac_address': '02:49:cb:29:9d:9b', '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': '84.16.205.69', 'subnet_id': '245850ad-88d7-4bc8-8284-9ff384241ae4'}], 'security_groups': ['58757e3c-a40b-411a-93a2-61b5a02c4cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c88e0bb365648f980a105c5da35ad75'}}
2025-09-16 14:58:05,612 - DEBUG - Services list from nova: [, , ]
2025-09-16 14:58:05,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4124-1)
2025-09-16 14:58:06,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4124-1)
2025-09-16 14:58:06,388 - INFO - Waiting for VM ctest-vn1-vm1-47558727 to be up..
2025-09-16 14:58:06,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-16 14:58:11,537 - DEBUG - VM is in ACTIVE state now
2025-09-16 14:58:11,538 - INFO - VM name : ctest-vn1-vm1-47558727
2025-09-16 14:58:11,622 - DEBUG - VM ctest-vn1-vm1-47558727 ID is 029a8d81-525a-45dd-a2ab-deb29359f72f
2025-09-16 14:58:11,644 - DEBUG - VM ctest-vn1-vm1-47558727 launched on Node cn-jenkins-deploy-platform-ansible-os-4124-1
2025-09-16 14:58:11,738 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/029a8d81-525a-45dd-a2ab-deb29359f72f
2025-09-16 14:58:11,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c63ed169-88ce-4869-a912-6f2c4dd3dd3a
2025-09-16 14:58:14,999 - 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-09-16 14:58:14,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47558727 failed!
2025-09-16 14:58:15,056 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30823288:ctest-vn1-55802464 is 93.239.195.129 and allocation pool is NOT set
2025-09-16 14:58:15,056 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30823288:ctest-vn1-55802464 is 84.16.205.65 and allocation pool is NOT set
2025-09-16 14:58:19,130 - 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 1009ms')
2025-09-16 14:58:19,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47558727 failed!
2025-09-16 14:58:19,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30823288:ctest-vn1-55802464 is 93.239.195.129 and allocation pool is NOT set
2025-09-16 14:58:19,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30823288:ctest-vn1-55802464 is 84.16.205.65 and allocation pool is NOT set
2025-09-16 14:58:21,259 - 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=5.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.880 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.880/2.954/5.028/2.074 ms')
2025-09-16 14:58:21,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47558727 passed
2025-09-16 14:58:21,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 14:58:21,416 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47558727, IP 93.239.195.133, Port 22
2025-09-16 14:58:21,575 - DEBUG - VM ctest-vn1-vm1-47558727 is ready for SSH connections
2025-09-16 14:58:21,575 - INFO - Waiting for VM ctest-vn1-vm2-60675601 to be up..
2025-09-16 14:58:21,667 - DEBUG - VM is in ACTIVE state now
2025-09-16 14:58:21,667 - INFO - VM name : ctest-vn1-vm2-60675601
2025-09-16 14:58:21,748 - DEBUG - VM ctest-vn1-vm2-60675601 ID is 3589abc8-228c-4879-b382-b4e25a20726e
2025-09-16 14:58:21,749 - DEBUG - VM ctest-vn1-vm2-60675601 launched on Node cn-jenkins-deploy-platform-ansible-os-4124-1
2025-09-16 14:58:21,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3589abc8-228c-4879-b382-b4e25a20726e
2025-09-16 14:58:21,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49cb299d-9b94-4882-80ea-a02e697fee71
2025-09-16 14:58:23,069 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.598 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.598/1.851/3.104/1.253 ms')
2025-09-16 14:58:23,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60675601 passed
2025-09-16 14:58:23,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 14:58:23,220 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60675601, IP 84.16.205.69, Port 22
2025-09-16 14:58:23,386 - DEBUG - VM ctest-vn1-vm2-60675601 is ready for SSH connections
2025-09-16 14:58:23,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 14:58:23,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 14:58:23,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 14:58:23,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.239.195.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-16 14:58:23,387 - DEBUG - ping -s 56 -c 3 -W 1 93.239.195.133
2025-09-16 14:58:26,121 - DEBUG - PING 93.239.195.133 (93.239.195.133): 56 data bytes
64 bytes from 93.239.195.133: seq=0 ttl=63 time=3.972 ms
64 bytes from 93.239.195.133: seq=1 ttl=63 time=1.062 ms
64 bytes from 93.239.195.133: seq=2 ttl=63 time=0.826 ms
--- 93.239.195.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.826/1.953/3.972 ms
2025-09-16 14:58:26,121 - INFO - Ping to IP 93.239.195.133 from VM ctest-vn1-vm2-60675601 passed
2025-09-16 14:58:26,121 - INFO - Detaching port 49cb299d-9b94-4882-80ea-a02e697fee71 from VM ctest-vn1-vm2-60675601
2025-09-16 14:58:26,173 - INFO - Deleting VM ctest-vn1-vm2-60675601
2025-09-16 14:58:26,245 - INFO - Detaching port c63ed169-88ce-4869-a912-6f2c4dd3dd3a from VM ctest-vn1-vm1-47558727
2025-09-16 14:58:26,299 - INFO - Deleting VM ctest-vn1-vm1-47558727
2025-09-16 14:58:26,555 - DEBUG - Response for delete_port : ()
2025-09-16 14:58:26,731 - DEBUG - Response for delete_port : ()
2025-09-16 14:58:26,731 - INFO - Deleting VN ctest-vn1-55802464
2025-09-16 14:58:26,885 - DEBUG - Response for deleting network ()
2025-09-16 14:58:27,144 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 14:58:27,144 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-16 14:58:27,145 - INFO - --------------------------------------------------------------------------------
2025-09-16 14:58:27,913 - INFO - Deleted project: ctest-TestPorts-30823288, ID : 3c88e0bb-3656-48f9-80a1-05c5da35ad75