2025-10-13 16:24:16,940 - INFO - Domain Default found not creating 2025-10-13 16:24:17,092 - INFO - Project ctest-TestPorts-82666397 not found, creating it 2025-10-13 16:24:17,565 - INFO - Created Project:ctest-TestPorts-82666397, ID : 0d609e13-9500-497b-a0d4-e14399f3e7ac 2025-10-13 16:24:19,117 - INFO - ================================================================================ 2025-10-13 16:24:19,117 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 16:24:19,117 - 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-10-13 16:24:19,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 16:24:19,393 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:24:19,393 - INFO - 2025-10-13 16:24:19,999 - DEBUG - Response for create_network : {'network': {'id': 'ba6f2439-ec34-4da8-8841-51fcba2dae2a', 'name': 'ctest-vn-82716327', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'project_id': '0d609e139500497ba0d4e14399f3e7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82666397', 'ctest-vn-82716327'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:24:20,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '319abd67-ff5e-4010-89b5-c2fb35dfb00f', 'name': '', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'ba6f2439-ec34-4da8-8841-51fcba2dae2a', 'ip_version': 4, 'cidr': '54.206.127.0/26', 'allocation_pools': [{'start': '54.206.127.2', 'end': '54.206.127.62'}], 'gateway_ip': '54.206.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.206.127.2', 'tags': [], 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:20,193 - INFO - Created VN ctest-vn-82716327 2025-10-13 16:24:20,248 - DEBUG - VN ctest-vn-82716327 UUID is ba6f2439-ec34-4da8-8841-51fcba2dae2a 2025-10-13 16:24:20,356 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82666397', 'ctest-vmi-91360570']} 2025-10-13 16:24:20,597 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91360570', 'id': 'b98bcc7c-3164-4825-b885-1e6660049760', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'ba6f2439-ec34-4da8-8841-51fcba2dae2a', 'mac_address': '02:b9:8b:cc:7c:31', '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': '54.206.127.3', 'subnet_id': '319abd67-ff5e-4010-89b5-c2fb35dfb00f'}], 'security_groups': ['50c148e0-53a7-4429-ab9f-748e711552cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:20,597 - DEBUG - Created port b98bcc7c-3164-4825-b885-1e6660049760 2025-10-13 16:24:20,704 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b98bcc7c-3164-4825-b885-1e6660049760 2025-10-13 16:24:21,046 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b98bcc7c-3164-4825-b885-1e6660049760 2025-10-13 16:24:21,082 - INFO - VMI b98bcc7c-3164-4825-b885-1e6660049760 verification in API Server passed 2025-10-13 16:24:21,181 - DEBUG - Response for delete_port : () 2025-10-13 16:24:21,181 - INFO - Deleted port b98bcc7c-3164-4825-b885-1e6660049760 2025-10-13 16:24:21,181 - INFO - Deleting VN ctest-vn-82716327 2025-10-13 16:24:21,285 - DEBUG - Response for deleting network () 2025-10-13 16:24:21,541 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:24:21,542 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-13 16:24:21,542 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:24:21,544 - INFO - ================================================================================ 2025-10-13 16:24:21,544 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 16:24:21,544 - 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-10-13 16:24:21,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 16:24:21,845 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:24:21,845 - INFO - 2025-10-13 16:24:22,066 - DEBUG - Response for create_network : {'network': {'id': 'e254675f-7499-4405-a6f8-720a803988fb', 'name': 'ctest-vn1-70958402', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'project_id': '0d609e139500497ba0d4e14399f3e7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82666397', 'ctest-vn1-70958402'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:24:22,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '1680c28b-fdb2-420d-ba4a-8280a24e8a99', 'name': '', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'e254675f-7499-4405-a6f8-720a803988fb', 'ip_version': 4, 'cidr': '209.226.180.0/26', 'allocation_pools': [{'start': '209.226.180.2', 'end': '209.226.180.62'}], 'gateway_ip': '209.226.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.226.180.2', 'tags': [], 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:22,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '99bf8f81-714a-4f37-a0cc-9f9b20688d30', 'name': '', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'e254675f-7499-4405-a6f8-720a803988fb', 'ip_version': 4, 'cidr': '88.129.96.128/26', 'allocation_pools': [{'start': '88.129.96.130', 'end': '88.129.96.190'}], 'gateway_ip': '88.129.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.129.96.130', 'tags': [], 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:22,448 - INFO - Created VN ctest-vn1-70958402 2025-10-13 16:24:22,504 - DEBUG - VN ctest-vn1-70958402 UUID is e254675f-7499-4405-a6f8-720a803988fb 2025-10-13 16:24:22,845 - DEBUG - Response for create_port : {'port': {'name': 'a23b349f-a55b-49fd-a530-a2cb41d01d4f', 'id': 'a23b349f-a55b-49fd-a530-a2cb41d01d4f', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'e254675f-7499-4405-a6f8-720a803988fb', 'mac_address': '02:a2:3b:34:9f:a5', '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': '209.226.180.5', 'subnet_id': '1680c28b-fdb2-420d-ba4a-8280a24e8a99'}], 'security_groups': ['50c148e0-53a7-4429-ab9f-748e711552cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:23,043 - DEBUG - Response for create_port : {'port': {'name': '0becc179-e1e7-4896-ac0e-36cbb0fb0d50', 'id': '0becc179-e1e7-4896-ac0e-36cbb0fb0d50', 'tenant_id': '0d609e139500497ba0d4e14399f3e7ac', 'network_id': 'e254675f-7499-4405-a6f8-720a803988fb', 'mac_address': '02:0b:ec:c1:79:e1', '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': '88.129.96.133', 'subnet_id': '99bf8f81-714a-4f37-a0cc-9f9b20688d30'}], 'security_groups': ['50c148e0-53a7-4429-ab9f-748e711552cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d609e139500497ba0d4e14399f3e7ac'}} 2025-10-13 16:24:23,105 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:24:23,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:24:23,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:24:23,919 - INFO - Waiting for VM ctest-vn1-vm1-38018817 to be up.. 2025-10-13 16:24:23,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:24:29,056 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:24:29,056 - INFO - VM name : ctest-vn1-vm1-38018817 2025-10-13 16:24:29,140 - DEBUG - VM ctest-vn1-vm1-38018817 ID is 96769d6e-7828-495e-88f4-adeefb7a6fb0 2025-10-13 16:24:29,164 - DEBUG - VM ctest-vn1-vm1-38018817 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:24:29,239 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/96769d6e-7828-495e-88f4-adeefb7a6fb0 2025-10-13 16:24:29,252 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a23b349f-a55b-49fd-a530-a2cb41d01d4f 2025-10-13 16:24:32,506 - 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 1006ms') 2025-10-13 16:24:32,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38018817 failed! 2025-10-13 16:24:32,560 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82666397:ctest-vn1-70958402 is 209.226.180.1 and allocation pool is NOT set 2025-10-13 16:24:32,560 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82666397:ctest-vn1-70958402 is 88.129.96.129 and allocation pool is NOT set 2025-10-13 16:24:36,634 - 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=2 ttl=63 time=7.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.990/7.990/7.990/0.000 ms') 2025-10-13 16:24:36,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38018817 passed 2025-10-13 16:24:36,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:24:36,792 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38018817, IP 209.226.180.5, Port 22 2025-10-13 16:24:36,951 - DEBUG - VM ctest-vn1-vm1-38018817 is ready for SSH connections 2025-10-13 16:24:36,951 - INFO - Waiting for VM ctest-vn1-vm2-45196579 to be up.. 2025-10-13 16:24:37,042 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:24:37,042 - INFO - VM name : ctest-vn1-vm2-45196579 2025-10-13 16:24:37,130 - DEBUG - VM ctest-vn1-vm2-45196579 ID is b21ced83-9c62-440f-87a0-05ae7181d438 2025-10-13 16:24:37,130 - DEBUG - VM ctest-vn1-vm2-45196579 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:24:37,205 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b21ced83-9c62-440f-87a0-05ae7181d438 2025-10-13 16:24:37,215 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0becc179-e1e7-4896-ac0e-36cbb0fb0d50 2025-10-13 16:24:38,452 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/2.031/3.621/1.589 ms') 2025-10-13 16:24:38,452 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45196579 passed 2025-10-13 16:24:38,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:24:38,600 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45196579, IP 88.129.96.133, Port 22 2025-10-13 16:24:38,765 - DEBUG - VM ctest-vn1-vm2-45196579 is ready for SSH connections 2025-10-13 16:24:38,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:24:38,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:24:38,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:24:38,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.226.180.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 16:24:38,765 - DEBUG - ping -s 56 -c 3 -W 1 209.226.180.5 2025-10-13 16:24:41,467 - DEBUG - PING 209.226.180.5 (209.226.180.5): 56 data bytes 64 bytes from 209.226.180.5: seq=0 ttl=63 time=3.954 ms 64 bytes from 209.226.180.5: seq=1 ttl=63 time=1.182 ms 64 bytes from 209.226.180.5: seq=2 ttl=63 time=0.765 ms --- 209.226.180.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.967/3.954 ms 2025-10-13 16:24:41,467 - INFO - Ping to IP 209.226.180.5 from VM ctest-vn1-vm2-45196579 passed 2025-10-13 16:24:41,467 - INFO - Detaching port 0becc179-e1e7-4896-ac0e-36cbb0fb0d50 from VM ctest-vn1-vm2-45196579 2025-10-13 16:24:41,520 - INFO - Deleting VM ctest-vn1-vm2-45196579 2025-10-13 16:24:41,601 - INFO - Detaching port a23b349f-a55b-49fd-a530-a2cb41d01d4f from VM ctest-vn1-vm1-38018817 2025-10-13 16:24:41,639 - INFO - Deleting VM ctest-vn1-vm1-38018817 2025-10-13 16:24:41,901 - DEBUG - Response for delete_port : () 2025-10-13 16:24:42,069 - DEBUG - Response for delete_port : () 2025-10-13 16:24:42,070 - INFO - Deleting VN ctest-vn1-70958402 2025-10-13 16:24:42,190 - DEBUG - Response for deleting network () 2025-10-13 16:24:42,454 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:24:42,454 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-13 16:24:42,454 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:24:43,211 - INFO - Deleted project: ctest-TestPorts-82666397, ID : 0d609e13-9500-497b-a0d4-e14399f3e7ac