2025-07-23 13:04:52,452 - INFO - Domain Default found not creating
2025-07-23 13:04:52,599 - INFO - Project ctest-TestPorts-15028549 not found, creating it
2025-07-23 13:04:53,066 - INFO - Created Project:ctest-TestPorts-15028549, ID : 20ec8639-7362-4306-99ed-9fdfea8915ce
2025-07-23 13:04:54,466 - INFO - ================================================================================
2025-07-23 13:04:54,466 - INFO - STARTING TEST : test_ports_bindings
2025-07-23 13:04:54,466 - 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-07-23 13:04:54,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-07-23 13:04:54,722 - INFO - Initial checks done. Running the testcase now
2025-07-23 13:04:54,722 - INFO -
2025-07-23 13:04:55,262 - DEBUG - Response for create_network : {'network': {'id': '4f1ca4eb-93ea-429f-91a0-e4df34ef9c25', 'name': 'ctest-vn-17029794', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'project_id': '20ec86397362430699ed9fdfea8915ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15028549', 'ctest-vn-17029794'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:04:55,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '88282d7a-ad38-4d10-b1a0-d15720d27af7', 'name': '', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '4f1ca4eb-93ea-429f-91a0-e4df34ef9c25', 'ip_version': 4, 'cidr': '178.12.117.128/26', 'allocation_pools': [{'start': '178.12.117.130', 'end': '178.12.117.190'}], 'gateway_ip': '178.12.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.12.117.130', 'tags': [], 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:55,449 - INFO - Created VN ctest-vn-17029794
2025-07-23 13:04:55,506 - DEBUG - VN ctest-vn-17029794 UUID is 4f1ca4eb-93ea-429f-91a0-e4df34ef9c25
2025-07-23 13:04:55,612 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15028549', 'ctest-vmi-27821958']}
2025-07-23 13:04:55,904 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27821958', 'id': '96985ff3-4b78-4a72-b0c4-7018e1bdb7fa', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '4f1ca4eb-93ea-429f-91a0-e4df34ef9c25', 'mac_address': '02:96:98:5f:f3:4b', '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': '178.12.117.131', 'subnet_id': '88282d7a-ad38-4d10-b1a0-d15720d27af7'}], 'security_groups': ['f2b02827-5418-4f76-aec7-3a1987f3de27'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:55,905 - DEBUG - Created port 96985ff3-4b78-4a72-b0c4-7018e1bdb7fa
2025-07-23 13:04:56,010 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/96985ff3-4b78-4a72-b0c4-7018e1bdb7fa
2025-07-23 13:04:56,305 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/96985ff3-4b78-4a72-b0c4-7018e1bdb7fa
2025-07-23 13:04:56,336 - INFO - VMI 96985ff3-4b78-4a72-b0c4-7018e1bdb7fa verification in API Server passed
2025-07-23 13:04:56,426 - DEBUG - Response for delete_port : ()
2025-07-23 13:04:56,426 - INFO - Deleted port 96985ff3-4b78-4a72-b0c4-7018e1bdb7fa
2025-07-23 13:04:56,427 - INFO - Deleting VN ctest-vn-17029794
2025-07-23 13:04:56,543 - DEBUG - Response for deleting network ()
2025-07-23 13:04:56,797 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:04:56,798 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 13:04:56,798 - INFO - --------------------------------------------------------------------------------
2025-07-23 13:04:56,801 - INFO - ================================================================================
2025-07-23 13:04:56,801 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-23 13:04:56,801 - 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-07-23 13:04:57,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-07-23 13:04:57,084 - INFO - Initial checks done. Running the testcase now
2025-07-23 13:04:57,084 - INFO -
2025-07-23 13:04:57,267 - DEBUG - Response for create_network : {'network': {'id': '0a03f930-8e4c-4faf-b1a5-6c4ad666f422', 'name': 'ctest-vn1-14210408', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'project_id': '20ec86397362430699ed9fdfea8915ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15028549', 'ctest-vn1-14210408'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:04:57,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '25056235-2e97-40e6-9218-8e2c907ee838', 'name': '', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '0a03f930-8e4c-4faf-b1a5-6c4ad666f422', 'ip_version': 4, 'cidr': '160.204.118.192/26', 'allocation_pools': [{'start': '160.204.118.194', 'end': '160.204.118.254'}], 'gateway_ip': '160.204.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.204.118.194', 'tags': [], 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:57,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe24cac6-324e-43f2-b4d6-f417d797f726', 'name': '', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '0a03f930-8e4c-4faf-b1a5-6c4ad666f422', 'ip_version': 4, 'cidr': '14.40.121.128/26', 'allocation_pools': [{'start': '14.40.121.130', 'end': '14.40.121.190'}], 'gateway_ip': '14.40.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.40.121.130', 'tags': [], 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:57,704 - INFO - Created VN ctest-vn1-14210408
2025-07-23 13:04:57,758 - DEBUG - VN ctest-vn1-14210408 UUID is 0a03f930-8e4c-4faf-b1a5-6c4ad666f422
2025-07-23 13:04:58,072 - DEBUG - Response for create_port : {'port': {'name': '1aca32fd-c7cf-4290-a875-bd65ac344db8', 'id': '1aca32fd-c7cf-4290-a875-bd65ac344db8', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '0a03f930-8e4c-4faf-b1a5-6c4ad666f422', 'mac_address': '02:1a:ca:32:fd:c7', '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': '160.204.118.197', 'subnet_id': '25056235-2e97-40e6-9218-8e2c907ee838'}], 'security_groups': ['f2b02827-5418-4f76-aec7-3a1987f3de27'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:58,271 - DEBUG - Response for create_port : {'port': {'name': 'f91c0057-b729-4051-8ab6-1dcecf748ec1', 'id': 'f91c0057-b729-4051-8ab6-1dcecf748ec1', 'tenant_id': '20ec86397362430699ed9fdfea8915ce', 'network_id': '0a03f930-8e4c-4faf-b1a5-6c4ad666f422', 'mac_address': '02:f9:1c:00:57:b7', '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': '14.40.121.133', 'subnet_id': 'fe24cac6-324e-43f2-b4d6-f417d797f726'}], 'security_groups': ['f2b02827-5418-4f76-aec7-3a1987f3de27'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20ec86397362430699ed9fdfea8915ce'}}
2025-07-23 13:04:58,333 - DEBUG - Services list from nova: [, , ]
2025-07-23 13:04:58,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1)
2025-07-23 13:04:59,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1)
2025-07-23 13:04:59,105 - INFO - Waiting for VM ctest-vn1-vm1-46830505 to be up..
2025-07-23 13:04:59,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 13:05:04,225 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:05:04,225 - INFO - VM name : ctest-vn1-vm1-46830505
2025-07-23 13:05:04,300 - DEBUG - VM ctest-vn1-vm1-46830505 ID is 03f9d985-0d2c-4dbe-a4db-e8a04967f323
2025-07-23 13:05:04,324 - DEBUG - VM ctest-vn1-vm1-46830505 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1
2025-07-23 13:05:04,404 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/03f9d985-0d2c-4dbe-a4db-e8a04967f323
2025-07-23 13:05:04,414 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1aca32fd-c7cf-4290-a875-bd65ac344db8
2025-07-23 13:05:07,693 - 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 1027ms')
2025-07-23 13:05:07,693 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-46830505 failed!
2025-07-23 13:05:07,750 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15028549:ctest-vn1-14210408 is 160.204.118.193 and allocation pool is NOT set
2025-07-23 13:05:07,750 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15028549:ctest-vn1-14210408 is 14.40.121.129 and allocation pool is NOT set
2025-07-23 13:05:09,811 - 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=7.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.591 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.591/4.153/7.716/3.562 ms')
2025-07-23 13:05:09,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-46830505 passed
2025-07-23 13:05:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:09,962 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46830505, IP 160.204.118.197, Port 22
2025-07-23 13:05:10,023 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 13:05:10,099 - DEBUG - VM ctest-vn1-vm1-46830505 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 13:05:15,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:15,101 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46830505, IP 160.204.118.197, Port 22
2025-07-23 13:05:15,276 - DEBUG - VM ctest-vn1-vm1-46830505 is ready for SSH connections
2025-07-23 13:05:15,276 - INFO - Waiting for VM ctest-vn1-vm2-64695803 to be up..
2025-07-23 13:05:15,352 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:05:15,353 - INFO - VM name : ctest-vn1-vm2-64695803
2025-07-23 13:05:15,428 - DEBUG - VM ctest-vn1-vm2-64695803 ID is 4a615971-8436-455e-a1f2-5eda9f21e741
2025-07-23 13:05:15,428 - DEBUG - VM ctest-vn1-vm2-64695803 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1
2025-07-23 13:05:15,503 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4a615971-8436-455e-a1f2-5eda9f21e741
2025-07-23 13:05:15,512 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f91c0057-b729-4051-8ab6-1dcecf748ec1
2025-07-23 13:05:16,775 - 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=3.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/1.915/3.342/1.426 ms')
2025-07-23 13:05:16,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-64695803 passed
2025-07-23 13:05:16,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:16,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64695803, IP 14.40.121.133, Port 22
2025-07-23 13:05:17,082 - DEBUG - VM ctest-vn1-vm2-64695803 is ready for SSH connections
2025-07-23 13:05:17,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:17,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:17,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:05:17,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.204.118.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-07-23 13:05:17,083 - DEBUG - ping -s 56 -c 3 -W 1 160.204.118.197
2025-07-23 13:05:21,082 - DEBUG - PING 160.204.118.197 (160.204.118.197): 56 data bytes
64 bytes from 160.204.118.197: seq=0 ttl=63 time=3.903 ms
64 bytes from 160.204.118.197: seq=1 ttl=63 time=1.150 ms
64 bytes from 160.204.118.197: seq=2 ttl=63 time=1.065 ms
--- 160.204.118.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.065/2.039/3.903 ms
2025-07-23 13:05:21,083 - INFO - Ping to IP 160.204.118.197 from VM ctest-vn1-vm2-64695803 passed
2025-07-23 13:05:21,083 - INFO - Detaching port f91c0057-b729-4051-8ab6-1dcecf748ec1 from VM ctest-vn1-vm2-64695803
2025-07-23 13:05:21,135 - INFO - Deleting VM ctest-vn1-vm2-64695803
2025-07-23 13:05:21,207 - INFO - Detaching port 1aca32fd-c7cf-4290-a875-bd65ac344db8 from VM ctest-vn1-vm1-46830505
2025-07-23 13:05:21,248 - INFO - Deleting VM ctest-vn1-vm1-46830505
2025-07-23 13:05:21,496 - DEBUG - Response for delete_port : ()
2025-07-23 13:05:21,673 - DEBUG - Response for delete_port : ()
2025-07-23 13:05:21,673 - INFO - Deleting VN ctest-vn1-14210408
2025-07-23 13:05:21,848 - DEBUG - Response for deleting network ()
2025-07-23 13:05:22,119 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:05:22,120 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-07-23 13:05:22,120 - INFO - --------------------------------------------------------------------------------
2025-07-23 13:05:22,842 - INFO - Deleted project: ctest-TestPorts-15028549, ID : 20ec8639-7362-4306-99ed-9fdfea8915ce