2025-08-11 15:42:22,339 - INFO - Domain Default found not creating 2025-08-11 15:42:22,491 - INFO - Project ctest-TestPorts-80386586 not found, creating it 2025-08-11 15:42:22,994 - INFO - Created Project:ctest-TestPorts-80386586, ID : cc457f45-e68a-425c-adbe-52142856611c 2025-08-11 15:42:24,302 - INFO - ================================================================================ 2025-08-11 15:42:24,303 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 15:42:24,303 - 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-08-11 15:42:24,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-08-11 15:42:24,559 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:42:24,559 - INFO - 2025-08-11 15:42:25,069 - DEBUG - Response for create_network : {'network': {'id': '1576f9db-6051-4c6f-adf9-e26706546f8b', 'name': 'ctest-vn-74690529', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'project_id': 'cc457f45e68a425cadbe52142856611c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80386586', 'ctest-vn-74690529'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:42:25,271 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb58156a-bd32-413c-9715-cb4258ffee73', 'name': '', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': '1576f9db-6051-4c6f-adf9-e26706546f8b', 'ip_version': 4, 'cidr': '142.105.150.192/26', 'allocation_pools': [{'start': '142.105.150.194', 'end': '142.105.150.254'}], 'gateway_ip': '142.105.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.105.150.194', 'tags': [], 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:25,286 - INFO - Created VN ctest-vn-74690529 2025-08-11 15:42:25,338 - DEBUG - VN ctest-vn-74690529 UUID is 1576f9db-6051-4c6f-adf9-e26706546f8b 2025-08-11 15:42:25,434 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80386586', 'ctest-vmi-85225719']} 2025-08-11 15:42:25,697 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85225719', 'id': 'd876f69f-2766-4fd9-8b70-c9d72631c0cb', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': '1576f9db-6051-4c6f-adf9-e26706546f8b', 'mac_address': '02:d8:76:f6:9f:27', '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': '142.105.150.195', 'subnet_id': 'eb58156a-bd32-413c-9715-cb4258ffee73'}], 'security_groups': ['ab089287-a428-4870-90ec-d4ac5af8cb9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:25,697 - DEBUG - Created port d876f69f-2766-4fd9-8b70-c9d72631c0cb 2025-08-11 15:42:25,802 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d876f69f-2766-4fd9-8b70-c9d72631c0cb 2025-08-11 15:42:26,091 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d876f69f-2766-4fd9-8b70-c9d72631c0cb 2025-08-11 15:42:26,118 - INFO - VMI d876f69f-2766-4fd9-8b70-c9d72631c0cb verification in API Server passed 2025-08-11 15:42:26,203 - DEBUG - Response for delete_port : () 2025-08-11 15:42:26,203 - INFO - Deleted port d876f69f-2766-4fd9-8b70-c9d72631c0cb 2025-08-11 15:42:26,203 - INFO - Deleting VN ctest-vn-74690529 2025-08-11 15:42:26,290 - DEBUG - Response for deleting network () 2025-08-11 15:42:26,549 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:42:26,549 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-11 15:42:26,549 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:42:26,553 - INFO - ================================================================================ 2025-08-11 15:42:26,553 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 15:42:26,553 - 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-08-11 15:42:26,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-08-11 15:42:26,835 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:42:26,835 - INFO - 2025-08-11 15:42:27,005 - DEBUG - Response for create_network : {'network': {'id': 'ad270e59-00cb-403c-ae54-58d609ab0a46', 'name': 'ctest-vn1-64230465', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'project_id': 'cc457f45e68a425cadbe52142856611c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80386586', 'ctest-vn1-64230465'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:42:27,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3303ccb-5df0-4722-83fd-0605cc5b98c4', 'name': '', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': 'ad270e59-00cb-403c-ae54-58d609ab0a46', 'ip_version': 4, 'cidr': '79.129.231.128/26', 'allocation_pools': [{'start': '79.129.231.130', 'end': '79.129.231.190'}], 'gateway_ip': '79.129.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.129.231.130', 'tags': [], 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:27,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '8da21072-4f20-4dd8-89db-932e1a38b0f6', 'name': '', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': 'ad270e59-00cb-403c-ae54-58d609ab0a46', 'ip_version': 4, 'cidr': '39.245.95.64/26', 'allocation_pools': [{'start': '39.245.95.66', 'end': '39.245.95.126'}], 'gateway_ip': '39.245.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.245.95.66', 'tags': [], 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:27,355 - INFO - Created VN ctest-vn1-64230465 2025-08-11 15:42:27,406 - DEBUG - VN ctest-vn1-64230465 UUID is ad270e59-00cb-403c-ae54-58d609ab0a46 2025-08-11 15:42:27,684 - DEBUG - Response for create_port : {'port': {'name': 'b868fa63-7a36-4662-b00b-0c8dfdcc241d', 'id': 'b868fa63-7a36-4662-b00b-0c8dfdcc241d', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': 'ad270e59-00cb-403c-ae54-58d609ab0a46', 'mac_address': '02:b8:68:fa:63:7a', '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': '79.129.231.133', 'subnet_id': 'c3303ccb-5df0-4722-83fd-0605cc5b98c4'}], 'security_groups': ['ab089287-a428-4870-90ec-d4ac5af8cb9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:27,833 - DEBUG - Response for create_port : {'port': {'name': '87ea9d30-cba0-436d-95d4-f9707c960bb4', 'id': '87ea9d30-cba0-436d-95d4-f9707c960bb4', 'tenant_id': 'cc457f45e68a425cadbe52142856611c', 'network_id': 'ad270e59-00cb-403c-ae54-58d609ab0a46', 'mac_address': '02:87:ea:9d:30:cb', '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': '39.245.95.69', 'subnet_id': '8da21072-4f20-4dd8-89db-932e1a38b0f6'}], 'security_groups': ['ab089287-a428-4870-90ec-d4ac5af8cb9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc457f45e68a425cadbe52142856611c'}} 2025-08-11 15:42:27,881 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:42:28,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:42:28,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:42:28,580 - INFO - Waiting for VM ctest-vn1-vm1-93517922 to be up.. 2025-08-11 15:42:28,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:42:33,676 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:42:33,676 - INFO - VM name : ctest-vn1-vm1-93517922 2025-08-11 15:42:33,736 - DEBUG - VM ctest-vn1-vm1-93517922 ID is 59e6695d-61f9-429c-8ca5-1cbbbedb8f96 2025-08-11 15:42:33,752 - DEBUG - VM ctest-vn1-vm1-93517922 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:42:33,812 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/59e6695d-61f9-429c-8ca5-1cbbbedb8f96 2025-08-11 15:42:33,820 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b868fa63-7a36-4662-b00b-0c8dfdcc241d 2025-08-11 15:42:37,082 - 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 1028ms') 2025-08-11 15:42:37,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93517922 failed! 2025-08-11 15:42:37,138 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80386586:ctest-vn1-64230465 is 79.129.231.129 and allocation pool is NOT set 2025-08-11 15:42:37,138 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80386586:ctest-vn1-64230465 is 39.245.95.65 and allocation pool is NOT set 2025-08-11 15:42:39,206 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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.489/2.933/3.378/0.444 ms') 2025-08-11 15:42:39,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93517922 passed 2025-08-11 15:42:39,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:39,354 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93517922, IP 79.129.231.133, Port 22 2025-08-11 15:42:39,410 - 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-08-11 15:42:39,473 - DEBUG - VM ctest-vn1-vm1-93517922 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 15:42:44,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:44,474 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93517922, IP 79.129.231.133, Port 22 2025-08-11 15:42:44,625 - DEBUG - VM ctest-vn1-vm1-93517922 is ready for SSH connections 2025-08-11 15:42:44,627 - INFO - Waiting for VM ctest-vn1-vm2-20274253 to be up.. 2025-08-11 15:42:44,691 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:42:44,691 - INFO - VM name : ctest-vn1-vm2-20274253 2025-08-11 15:42:44,757 - DEBUG - VM ctest-vn1-vm2-20274253 ID is ff774111-040c-41bc-8417-d35dd97669e9 2025-08-11 15:42:44,757 - DEBUG - VM ctest-vn1-vm2-20274253 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:42:44,821 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ff774111-040c-41bc-8417-d35dd97669e9 2025-08-11 15:42:44,829 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/87ea9d30-cba0-436d-95d4-f9707c960bb4 2025-08-11 15:42:46,068 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.389/2.099/3.809/1.710 ms') 2025-08-11 15:42:46,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-20274253 passed 2025-08-11 15:42:46,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:46,254 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20274253, IP 39.245.95.69, Port 22 2025-08-11 15:42:46,425 - DEBUG - VM ctest-vn1-vm2-20274253 is ready for SSH connections 2025-08-11 15:42:46,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:46,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:46,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:42:46,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.129.231.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 15:42:46,426 - DEBUG - ping -s 56 -c 3 -W 1 79.129.231.133 2025-08-11 15:42:49,015 - DEBUG - PING 79.129.231.133 (79.129.231.133): 56 data bytes 64 bytes from 79.129.231.133: seq=0 ttl=63 time=3.484 ms 64 bytes from 79.129.231.133: seq=1 ttl=63 time=0.712 ms 64 bytes from 79.129.231.133: seq=2 ttl=63 time=0.753 ms --- 79.129.231.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.712/1.649/3.484 ms 2025-08-11 15:42:49,015 - INFO - Ping to IP 79.129.231.133 from VM ctest-vn1-vm2-20274253 passed 2025-08-11 15:42:49,016 - INFO - Detaching port 87ea9d30-cba0-436d-95d4-f9707c960bb4 from VM ctest-vn1-vm2-20274253 2025-08-11 15:42:49,057 - INFO - Deleting VM ctest-vn1-vm2-20274253 2025-08-11 15:42:49,116 - INFO - Detaching port b868fa63-7a36-4662-b00b-0c8dfdcc241d from VM ctest-vn1-vm1-93517922 2025-08-11 15:42:49,147 - INFO - Deleting VM ctest-vn1-vm1-93517922 2025-08-11 15:42:49,327 - DEBUG - Response for delete_port : () 2025-08-11 15:42:49,461 - DEBUG - Response for delete_port : () 2025-08-11 15:42:49,461 - INFO - Deleting VN ctest-vn1-64230465 2025-08-11 15:42:49,575 - DEBUG - Response for deleting network () 2025-08-11 15:42:49,829 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:42:49,829 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-08-11 15:42:49,830 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:42:50,487 - INFO - Deleted project: ctest-TestPorts-80386586, ID : cc457f45-e68a-425c-adbe-52142856611c