2025-11-07 09:31:29,691 - INFO - Domain Default found not creating
2025-11-07 09:31:29,831 - INFO - Project ctest-TestPorts-45741149 not found, creating it
2025-11-07 09:31:30,257 - INFO - Created Project:ctest-TestPorts-45741149, ID : 4e5a4592-adf9-4cdb-8603-9bc521824370
2025-11-07 09:31:32,312 - INFO - ================================================================================
2025-11-07 09:31:32,313 - INFO - STARTING TEST : test_ports_bindings
2025-11-07 09:31:32,313 - 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-11-07 09:31:32,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-11-07 09:31:32,565 - INFO - Initial checks done. Running the testcase now
2025-11-07 09:31:32,566 - INFO -
2025-11-07 09:31:33,070 - DEBUG - Response for create_network : {'network': {'id': 'afa1e74b-d7ad-4bd1-abaa-d2e39cf545b5', 'name': 'ctest-vn-15306012', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'project_id': '4e5a4592adf94cdb86039bc521824370', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45741149', 'ctest-vn-15306012'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 09:31:33,246 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f0218ca-8c8c-40c5-9238-92ba94b31513', 'name': '', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'afa1e74b-d7ad-4bd1-abaa-d2e39cf545b5', 'ip_version': 4, 'cidr': '23.37.84.128/26', 'allocation_pools': [{'start': '23.37.84.130', 'end': '23.37.84.190'}], 'gateway_ip': '23.37.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.37.84.130', 'tags': [], 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:33,264 - INFO - Created VN ctest-vn-15306012
2025-11-07 09:31:33,316 - DEBUG - VN ctest-vn-15306012 UUID is afa1e74b-d7ad-4bd1-abaa-d2e39cf545b5
2025-11-07 09:31:33,412 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45741149', 'ctest-vmi-88992270']}
2025-11-07 09:31:33,684 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88992270', 'id': '92246c47-9773-4eb6-a935-568d8b5df2d8', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'afa1e74b-d7ad-4bd1-abaa-d2e39cf545b5', 'mac_address': '02:92:24:6c:47:97', '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': '23.37.84.131', 'subnet_id': '3f0218ca-8c8c-40c5-9238-92ba94b31513'}], 'security_groups': ['a489af7d-233d-4647-99b9-8decab269c8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:33,684 - DEBUG - Created port 92246c47-9773-4eb6-a935-568d8b5df2d8
2025-11-07 09:31:33,788 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/92246c47-9773-4eb6-a935-568d8b5df2d8
2025-11-07 09:31:34,080 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/92246c47-9773-4eb6-a935-568d8b5df2d8
2025-11-07 09:31:34,109 - INFO - VMI 92246c47-9773-4eb6-a935-568d8b5df2d8 verification in API Server passed
2025-11-07 09:31:34,194 - DEBUG - Response for delete_port : ()
2025-11-07 09:31:34,194 - INFO - Deleted port 92246c47-9773-4eb6-a935-568d8b5df2d8
2025-11-07 09:31:34,194 - INFO - Deleting VN ctest-vn-15306012
2025-11-07 09:31:34,302 - DEBUG - Response for deleting network ()
2025-11-07 09:31:34,558 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 09:31:34,558 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-07 09:31:34,558 - INFO - --------------------------------------------------------------------------------
2025-11-07 09:31:34,561 - INFO - ================================================================================
2025-11-07 09:31:34,561 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-07 09:31:34,561 - 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-11-07 09:31:34,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-11-07 09:31:34,846 - INFO - Initial checks done. Running the testcase now
2025-11-07 09:31:34,846 - INFO -
2025-11-07 09:31:35,020 - DEBUG - Response for create_network : {'network': {'id': 'e2e83177-f547-4966-ad6b-37df3c55d399', 'name': 'ctest-vn1-46776690', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'project_id': '4e5a4592adf94cdb86039bc521824370', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45741149', 'ctest-vn1-46776690'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 09:31:35,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '542605fe-3613-4a4f-af26-0287ec41bfc5', 'name': '', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'e2e83177-f547-4966-ad6b-37df3c55d399', 'ip_version': 4, 'cidr': '91.159.156.128/26', 'allocation_pools': [{'start': '91.159.156.130', 'end': '91.159.156.190'}], 'gateway_ip': '91.159.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.159.156.130', 'tags': [], 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:35,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '26555664-0a62-43f9-a19b-cba3198e1a74', 'name': '', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'e2e83177-f547-4966-ad6b-37df3c55d399', 'ip_version': 4, 'cidr': '76.16.62.128/26', 'allocation_pools': [{'start': '76.16.62.130', 'end': '76.16.62.190'}], 'gateway_ip': '76.16.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.16.62.130', 'tags': [], 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:35,431 - INFO - Created VN ctest-vn1-46776690
2025-11-07 09:31:35,484 - DEBUG - VN ctest-vn1-46776690 UUID is e2e83177-f547-4966-ad6b-37df3c55d399
2025-11-07 09:31:35,799 - DEBUG - Response for create_port : {'port': {'name': '6c64b585-8dc1-47c1-ad12-0666cee38d10', 'id': '6c64b585-8dc1-47c1-ad12-0666cee38d10', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'e2e83177-f547-4966-ad6b-37df3c55d399', 'mac_address': '02:6c:64:b5:85:8d', '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': '91.159.156.133', 'subnet_id': '542605fe-3613-4a4f-af26-0287ec41bfc5'}], 'security_groups': ['a489af7d-233d-4647-99b9-8decab269c8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:35,976 - DEBUG - Response for create_port : {'port': {'name': '23c5c713-1777-416e-84f9-6ad5cd897f6c', 'id': '23c5c713-1777-416e-84f9-6ad5cd897f6c', 'tenant_id': '4e5a4592adf94cdb86039bc521824370', 'network_id': 'e2e83177-f547-4966-ad6b-37df3c55d399', 'mac_address': '02:23:c5:c7:13:17', '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': '76.16.62.133', 'subnet_id': '26555664-0a62-43f9-a19b-cba3198e1a74'}], 'security_groups': ['a489af7d-233d-4647-99b9-8decab269c8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e5a4592adf94cdb86039bc521824370'}}
2025-11-07 09:31:36,035 - DEBUG - Services list from nova: [, , ]
2025-11-07 09:31:36,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1)
2025-11-07 09:31:36,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1)
2025-11-07 09:31:36,892 - INFO - Waiting for VM ctest-vn1-vm1-12277564 to be up..
2025-11-07 09:31:36,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 09:31:42,016 - DEBUG - VM is in ACTIVE state now
2025-11-07 09:31:42,017 - INFO - VM name : ctest-vn1-vm1-12277564
2025-11-07 09:31:42,091 - DEBUG - VM ctest-vn1-vm1-12277564 ID is a13edaf8-d201-4cd6-8b4e-ed0a89a3fc13
2025-11-07 09:31:42,116 - DEBUG - VM ctest-vn1-vm1-12277564 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1
2025-11-07 09:31:42,194 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a13edaf8-d201-4cd6-8b4e-ed0a89a3fc13
2025-11-07 09:31:42,203 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6c64b585-8dc1-47c1-ad12-0666cee38d10
2025-11-07 09:31:45,462 - 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-11-07 09:31:45,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12277564 failed!
2025-11-07 09:31:45,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45741149:ctest-vn1-46776690 is 91.159.156.129 and allocation pool is NOT set
2025-11-07 09:31:45,517 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45741149:ctest-vn1-46776690 is 76.16.62.129 and allocation pool is NOT set
2025-11-07 09:31:47,582 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.533/6.685/10.837/4.152 ms')
2025-11-07 09:31:47,582 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12277564 passed
2025-11-07 09:31:47,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:47,737 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12277564, IP 91.159.156.133, Port 22
2025-11-07 09:31:47,792 - 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': ''}
2025-11-07 09:31:47,867 - DEBUG - VM ctest-vn1-vm1-12277564 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-07 09:31:52,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:52,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12277564, IP 91.159.156.133, Port 22
2025-11-07 09:31:53,024 - DEBUG - VM ctest-vn1-vm1-12277564 is ready for SSH connections
2025-11-07 09:31:53,024 - INFO - Waiting for VM ctest-vn1-vm2-50210309 to be up..
2025-11-07 09:31:53,091 - DEBUG - VM is in ACTIVE state now
2025-11-07 09:31:53,091 - INFO - VM name : ctest-vn1-vm2-50210309
2025-11-07 09:31:53,154 - DEBUG - VM ctest-vn1-vm2-50210309 ID is abf77907-be68-45d3-bde3-67acbbb8b32e
2025-11-07 09:31:53,154 - DEBUG - VM ctest-vn1-vm2-50210309 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1
2025-11-07 09:31:53,220 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/abf77907-be68-45d3-bde3-67acbbb8b32e
2025-11-07 09:31:53,227 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/23c5c713-1777-416e-84f9-6ad5cd897f6c
2025-11-07 09:31:54,465 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.587/2.741/1.153 ms')
2025-11-07 09:31:54,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50210309 passed
2025-11-07 09:31:54,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:54,617 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50210309, IP 76.16.62.133, Port 22
2025-11-07 09:31:54,771 - DEBUG - VM ctest-vn1-vm2-50210309 is ready for SSH connections
2025-11-07 09:31:54,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:54,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:54,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:31:54,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.159.156.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-07 09:31:54,772 - DEBUG - ping -s 56 -c 3 -W 1 91.159.156.133
2025-11-07 09:31:57,721 - DEBUG - PING 91.159.156.133 (91.159.156.133): 56 data bytes
64 bytes from 91.159.156.133: seq=0 ttl=63 time=3.637 ms
64 bytes from 91.159.156.133: seq=1 ttl=63 time=0.812 ms
64 bytes from 91.159.156.133: seq=2 ttl=63 time=0.869 ms
--- 91.159.156.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.812/1.772/3.637 ms
2025-11-07 09:31:57,722 - INFO - Ping to IP 91.159.156.133 from VM ctest-vn1-vm2-50210309 passed
2025-11-07 09:31:57,722 - INFO - Detaching port 23c5c713-1777-416e-84f9-6ad5cd897f6c from VM ctest-vn1-vm2-50210309
2025-11-07 09:31:57,765 - INFO - Deleting VM ctest-vn1-vm2-50210309
2025-11-07 09:31:57,829 - INFO - Detaching port 6c64b585-8dc1-47c1-ad12-0666cee38d10 from VM ctest-vn1-vm1-12277564
2025-11-07 09:31:57,862 - INFO - Deleting VM ctest-vn1-vm1-12277564
2025-11-07 09:31:58,080 - DEBUG - Response for delete_port : ()
2025-11-07 09:31:58,242 - DEBUG - Response for delete_port : ()
2025-11-07 09:31:58,242 - INFO - Deleting VN ctest-vn1-46776690
2025-11-07 09:31:58,366 - DEBUG - Response for deleting network ()
2025-11-07 09:31:58,625 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 09:31:58,625 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-07 09:31:58,625 - INFO - --------------------------------------------------------------------------------
2025-11-07 09:31:59,305 - INFO - Deleted project: ctest-TestPorts-45741149, ID : 4e5a4592-adf9-4cdb-8603-9bc521824370