2026-01-31 16:11:10,358 - INFO - Domain Default found not creating 2026-01-31 16:11:10,534 - INFO - Project ctest-TestPorts-33480340 not found, creating it 2026-01-31 16:11:11,074 - INFO - Created Project:ctest-TestPorts-33480340, ID : f1088874-6fd4-4b6c-8d35-907c91bdd4f1 2026-01-31 16:11:12,620 - INFO - ================================================================================ 2026-01-31 16:11:12,620 - INFO - STARTING TEST : test_ports_bindings 2026-01-31 16:11:12,620 - 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-01-31 16:11:12,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 16:11:12,876 - INFO - Initial checks done. Running the testcase now 2026-01-31 16:11:12,876 - INFO - 2026-01-31 16:11:13,418 - DEBUG - Response for create_network : {'network': {'id': 'b6a9bd1c-7089-4bc3-bba1-40b3131eb0d1', 'name': 'ctest-vn-85921409', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33480340', 'ctest-vn-85921409'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:11:13,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '95f74b01-ee5b-40f9-8515-c276cd5b65e7', 'name': '', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'b6a9bd1c-7089-4bc3-bba1-40b3131eb0d1', 'ip_version': 4, 'cidr': '170.192.85.64/26', 'allocation_pools': [{'start': '170.192.85.66', 'end': '170.192.85.126'}], 'gateway_ip': '170.192.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.192.85.66', 'tags': [], 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:13,597 - INFO - Created VN ctest-vn-85921409 2026-01-31 16:11:13,650 - DEBUG - VN ctest-vn-85921409 UUID is b6a9bd1c-7089-4bc3-bba1-40b3131eb0d1 2026-01-31 16:11:13,763 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33480340', 'ctest-vmi-97293636']} 2026-01-31 16:11:13,996 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97293636', 'id': 'd639b931-c987-45b9-9669-2ac37f4a6c78', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'b6a9bd1c-7089-4bc3-bba1-40b3131eb0d1', 'mac_address': '02:d6:39:b9:31:c9', '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': '170.192.85.67', 'subnet_id': '95f74b01-ee5b-40f9-8515-c276cd5b65e7'}], 'security_groups': ['0081272e-7735-436d-acff-5107ed05b599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:13,996 - DEBUG - Created port d639b931-c987-45b9-9669-2ac37f4a6c78 2026-01-31 16:11:14,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d639b931-c987-45b9-9669-2ac37f4a6c78 2026-01-31 16:11:14,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d639b931-c987-45b9-9669-2ac37f4a6c78 2026-01-31 16:11:14,424 - INFO - VMI d639b931-c987-45b9-9669-2ac37f4a6c78 verification in API Server passed 2026-01-31 16:11:14,504 - DEBUG - Response for delete_port : () 2026-01-31 16:11:14,504 - INFO - Deleted port d639b931-c987-45b9-9669-2ac37f4a6c78 2026-01-31 16:11:14,504 - INFO - Deleting VN ctest-vn-85921409 2026-01-31 16:11:14,592 - DEBUG - Response for deleting network () 2026-01-31 16:11:14,847 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 16:11:14,847 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-31 16:11:14,847 - INFO - -------------------------------------------------------------------------------- 2026-01-31 16:11:14,849 - INFO - ================================================================================ 2026-01-31 16:11:14,849 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-31 16:11:14,849 - 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-01-31 16:11:15,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 16:11:15,135 - INFO - Initial checks done. Running the testcase now 2026-01-31 16:11:15,135 - INFO - 2026-01-31 16:11:15,300 - DEBUG - Response for create_network : {'network': {'id': 'd947704d-3cec-4d7d-8008-21bfa3c4e477', 'name': 'ctest-vn1-72737008', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33480340', 'ctest-vn1-72737008'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:11:15,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a3f4842-fd15-458d-ba87-09a1d785449f', 'name': '', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'd947704d-3cec-4d7d-8008-21bfa3c4e477', 'ip_version': 4, 'cidr': '93.65.177.128/26', 'allocation_pools': [{'start': '93.65.177.130', 'end': '93.65.177.190'}], 'gateway_ip': '93.65.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.65.177.130', 'tags': [], 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:15,711 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcc98169-2799-4fe2-a821-a462e253fcaf', 'name': '', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'd947704d-3cec-4d7d-8008-21bfa3c4e477', 'ip_version': 4, 'cidr': '43.126.71.128/26', 'allocation_pools': [{'start': '43.126.71.130', 'end': '43.126.71.190'}], 'gateway_ip': '43.126.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.126.71.130', 'tags': [], 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:15,729 - INFO - Created VN ctest-vn1-72737008 2026-01-31 16:11:15,782 - DEBUG - VN ctest-vn1-72737008 UUID is d947704d-3cec-4d7d-8008-21bfa3c4e477 2026-01-31 16:11:16,077 - DEBUG - Response for create_port : {'port': {'name': 'b5e51416-2e55-4029-96b0-e756e3af4565', 'id': 'b5e51416-2e55-4029-96b0-e756e3af4565', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'd947704d-3cec-4d7d-8008-21bfa3c4e477', 'mac_address': '02:b5:e5:14:16:2e', '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.65.177.133', 'subnet_id': '9a3f4842-fd15-458d-ba87-09a1d785449f'}], 'security_groups': ['0081272e-7735-436d-acff-5107ed05b599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:16,237 - DEBUG - Response for create_port : {'port': {'name': '6cacf33c-086c-4db2-bec5-0fb6bafa2ee4', 'id': '6cacf33c-086c-4db2-bec5-0fb6bafa2ee4', 'tenant_id': 'f10888746fd44b6c8d35907c91bdd4f1', 'network_id': 'd947704d-3cec-4d7d-8008-21bfa3c4e477', 'mac_address': '02:6c:ac:f3:3c:08', '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': '43.126.71.133', 'subnet_id': 'bcc98169-2799-4fe2-a821-a462e253fcaf'}], 'security_groups': ['0081272e-7735-436d-acff-5107ed05b599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f10888746fd44b6c8d35907c91bdd4f1'}} 2026-01-31 16:11:16,293 - DEBUG - Services list from nova: [, , ] 2026-01-31 16:11:16,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:11:17,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:11:17,077 - INFO - Waiting for VM ctest-vn1-vm1-56722928 to be up.. 2026-01-31 16:11:17,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-31 16:11:22,186 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:11:22,186 - INFO - VM name : ctest-vn1-vm1-56722928 2026-01-31 16:11:22,257 - DEBUG - VM ctest-vn1-vm1-56722928 ID is 87fedbd9-0623-45a0-a4f5-744e81c7f49c 2026-01-31 16:11:22,275 - DEBUG - VM ctest-vn1-vm1-56722928 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:11:22,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87fedbd9-0623-45a0-a4f5-744e81c7f49c 2026-01-31 16:11:22,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b5e51416-2e55-4029-96b0-e756e3af4565 2026-01-31 16:11:25,605 - 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 1015ms') 2026-01-31 16:11:25,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56722928 failed! 2026-01-31 16:11:25,662 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33480340:ctest-vn1-72737008 is 93.65.177.129 and allocation pool is NOT set 2026-01-31 16:11:25,662 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33480340:ctest-vn1-72737008 is 43.126.71.129 and allocation pool is NOT set 2026-01-31 16:11:27,726 - 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=9.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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.048/5.935/9.822/3.887 ms') 2026-01-31 16:11:27,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56722928 passed 2026-01-31 16:11:27,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:27,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56722928, IP 93.65.177.133, Port 22 2026-01-31 16:11:27,938 - 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-01-31 16:11:28,014 - DEBUG - VM ctest-vn1-vm1-56722928 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-31 16:11:33,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:33,016 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56722928, IP 93.65.177.133, Port 22 2026-01-31 16:11:33,182 - DEBUG - VM ctest-vn1-vm1-56722928 is ready for SSH connections 2026-01-31 16:11:33,182 - INFO - Waiting for VM ctest-vn1-vm2-37788006 to be up.. 2026-01-31 16:11:33,255 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:11:33,255 - INFO - VM name : ctest-vn1-vm2-37788006 2026-01-31 16:11:33,325 - DEBUG - VM ctest-vn1-vm2-37788006 ID is b22f31a2-884a-4655-ab45-a275634b1520 2026-01-31 16:11:33,325 - DEBUG - VM ctest-vn1-vm2-37788006 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:11:33,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b22f31a2-884a-4655-ab45-a275634b1520 2026-01-31 16:11:33,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6cacf33c-086c-4db2-bec5-0fb6bafa2ee4 2026-01-31 16:11:34,643 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 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.344/1.652/2.961/1.308 ms') 2026-01-31 16:11:34,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37788006 passed 2026-01-31 16:11:34,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:34,790 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37788006, IP 43.126.71.133, Port 22 2026-01-31 16:11:34,950 - DEBUG - VM ctest-vn1-vm2-37788006 is ready for SSH connections 2026-01-31 16:11:34,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:34,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:34,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:11:34,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.65.177.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 16:11:34,950 - DEBUG - ping -s 56 -c 3 -W 1 93.65.177.133 2026-01-31 16:11:37,619 - DEBUG - PING 93.65.177.133 (93.65.177.133): 56 data bytes 64 bytes from 93.65.177.133: seq=0 ttl=63 time=4.105 ms 64 bytes from 93.65.177.133: seq=1 ttl=63 time=1.122 ms 64 bytes from 93.65.177.133: seq=2 ttl=63 time=0.843 ms --- 93.65.177.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.023/4.105 ms 2026-01-31 16:11:37,619 - INFO - Ping to IP 93.65.177.133 from VM ctest-vn1-vm2-37788006 passed 2026-01-31 16:11:37,619 - INFO - Detaching port 6cacf33c-086c-4db2-bec5-0fb6bafa2ee4 from VM ctest-vn1-vm2-37788006 2026-01-31 16:11:37,667 - INFO - Deleting VM ctest-vn1-vm2-37788006 2026-01-31 16:11:37,738 - INFO - Detaching port b5e51416-2e55-4029-96b0-e756e3af4565 from VM ctest-vn1-vm1-56722928 2026-01-31 16:11:37,767 - INFO - Deleting VM ctest-vn1-vm1-56722928 2026-01-31 16:11:37,961 - DEBUG - Response for delete_port : () 2026-01-31 16:11:38,113 - DEBUG - Response for delete_port : () 2026-01-31 16:11:38,113 - INFO - Deleting VN ctest-vn1-72737008 2026-01-31 16:11:38,229 - DEBUG - Response for deleting network () 2026-01-31 16:11:38,483 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 16:11:38,483 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-31 16:11:38,484 - INFO - -------------------------------------------------------------------------------- 2026-01-31 16:11:39,207 - INFO - Deleted project: ctest-TestPorts-33480340, ID : f1088874-6fd4-4b6c-8d35-907c91bdd4f1