2025-10-15 10:44:56,495 - INFO - Domain Default found not creating 2025-10-15 10:44:56,642 - INFO - Project ctest-TestPorts-63318272 not found, creating it 2025-10-15 10:44:57,086 - INFO - Created Project:ctest-TestPorts-63318272, ID : 48c06126-2f94-4e3b-9492-029e0c66d875 2025-10-15 10:44:58,475 - INFO - ================================================================================ 2025-10-15 10:44:58,475 - INFO - STARTING TEST : test_ports_bindings 2025-10-15 10:44:58,475 - 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-15 10:44:58,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.145': '0'}} with 2025-10-15 10:44:58,730 - INFO - Initial checks done. Running the testcase now 2025-10-15 10:44:58,730 - INFO - 2025-10-15 10:44:59,263 - DEBUG - Response for create_network : {'network': {'id': 'ae6003f5-0a4f-4814-b52c-6a04e568ab99', 'name': 'ctest-vn-76163622', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'project_id': '48c061262f944e3b9492029e0c66d875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63318272', 'ctest-vn-76163622'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:44:59,472 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df109bcf-b89d-47da-9b8e-08906d0d56e7', 'name': '', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': 'ae6003f5-0a4f-4814-b52c-6a04e568ab99', 'ip_version': 4, 'cidr': '195.40.143.192/26', 'allocation_pools': [{'start': '195.40.143.194', 'end': '195.40.143.254'}], 'gateway_ip': '195.40.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.40.143.194', 'tags': [], 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:44:59,491 - INFO - Created VN ctest-vn-76163622 2025-10-15 10:44:59,548 - DEBUG - VN ctest-vn-76163622 UUID is ae6003f5-0a4f-4814-b52c-6a04e568ab99 2025-10-15 10:44:59,658 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63318272', 'ctest-vmi-64732340']} 2025-10-15 10:44:59,942 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64732340', 'id': '041200ef-e740-4f63-8366-04c2b0c1448e', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': 'ae6003f5-0a4f-4814-b52c-6a04e568ab99', 'mac_address': '02:04:12:00:ef:e7', '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': '195.40.143.195', 'subnet_id': 'df109bcf-b89d-47da-9b8e-08906d0d56e7'}], 'security_groups': ['3fe6dedf-fb32-4634-b7c8-2568dee59d48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:44:59,943 - DEBUG - Created port 041200ef-e740-4f63-8366-04c2b0c1448e 2025-10-15 10:45:00,048 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/041200ef-e740-4f63-8366-04c2b0c1448e 2025-10-15 10:45:00,341 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/041200ef-e740-4f63-8366-04c2b0c1448e 2025-10-15 10:45:00,375 - INFO - VMI 041200ef-e740-4f63-8366-04c2b0c1448e verification in API Server passed 2025-10-15 10:45:00,472 - DEBUG - Response for delete_port : () 2025-10-15 10:45:00,472 - INFO - Deleted port 041200ef-e740-4f63-8366-04c2b0c1448e 2025-10-15 10:45:00,472 - INFO - Deleting VN ctest-vn-76163622 2025-10-15 10:45:00,580 - DEBUG - Response for deleting network () 2025-10-15 10:45:00,840 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 10:45:00,840 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-15 10:45:00,840 - INFO - -------------------------------------------------------------------------------- 2025-10-15 10:45:00,842 - INFO - ================================================================================ 2025-10-15 10:45:00,843 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-15 10:45:00,843 - 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-15 10:45:01,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.145': '0'}} with 2025-10-15 10:45:01,129 - INFO - Initial checks done. Running the testcase now 2025-10-15 10:45:01,129 - INFO - 2025-10-15 10:45:01,301 - DEBUG - Response for create_network : {'network': {'id': '3788887d-15e5-4538-beb8-d9c228de0a9f', 'name': 'ctest-vn1-48403480', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'project_id': '48c061262f944e3b9492029e0c66d875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63318272', 'ctest-vn1-48403480'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:45:01,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c65fd6f6-c974-4d37-aa5b-31308996a022', 'name': '', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': '3788887d-15e5-4538-beb8-d9c228de0a9f', 'ip_version': 4, 'cidr': '48.104.27.64/26', 'allocation_pools': [{'start': '48.104.27.66', 'end': '48.104.27.126'}], 'gateway_ip': '48.104.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.104.27.66', 'tags': [], 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:45:01,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fcaaef9-9b6c-4278-ad02-6b53bc8428e7', 'name': '', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': '3788887d-15e5-4538-beb8-d9c228de0a9f', 'ip_version': 4, 'cidr': '210.99.129.0/26', 'allocation_pools': [{'start': '210.99.129.2', 'end': '210.99.129.62'}], 'gateway_ip': '210.99.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.99.129.2', 'tags': [], 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:45:01,681 - INFO - Created VN ctest-vn1-48403480 2025-10-15 10:45:01,736 - DEBUG - VN ctest-vn1-48403480 UUID is 3788887d-15e5-4538-beb8-d9c228de0a9f 2025-10-15 10:45:02,070 - DEBUG - Response for create_port : {'port': {'name': 'c14020d3-3021-4dec-8e3c-5a5a473a7537', 'id': 'c14020d3-3021-4dec-8e3c-5a5a473a7537', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': '3788887d-15e5-4538-beb8-d9c228de0a9f', 'mac_address': '02:c1:40:20:d3:30', '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': '48.104.27.69', 'subnet_id': 'c65fd6f6-c974-4d37-aa5b-31308996a022'}], 'security_groups': ['3fe6dedf-fb32-4634-b7c8-2568dee59d48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:45:02,265 - DEBUG - Response for create_port : {'port': {'name': 'c1181bee-ace1-4c60-a3ae-3ff09e29dc0b', 'id': 'c1181bee-ace1-4c60-a3ae-3ff09e29dc0b', 'tenant_id': '48c061262f944e3b9492029e0c66d875', 'network_id': '3788887d-15e5-4538-beb8-d9c228de0a9f', 'mac_address': '02:c1:18:1b:ee:ac', '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': '210.99.129.5', 'subnet_id': '8fcaaef9-9b6c-4278-ad02-6b53bc8428e7'}], 'security_groups': ['3fe6dedf-fb32-4634-b7c8-2568dee59d48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48c061262f944e3b9492029e0c66d875'}} 2025-10-15 10:45:02,330 - DEBUG - Services list from nova: [, , ] 2025-10-15 10:45:02,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:45:03,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:45:03,106 - INFO - Waiting for VM ctest-vn1-vm1-06515328 to be up.. 2025-10-15 10:45:03,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 10:45:08,234 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:45:08,234 - INFO - VM name : ctest-vn1-vm1-06515328 2025-10-15 10:45:08,325 - DEBUG - VM ctest-vn1-vm1-06515328 ID is a0a9b62d-db17-43c8-a50a-e95812a1afdb 2025-10-15 10:45:08,344 - DEBUG - VM ctest-vn1-vm1-06515328 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:45:08,428 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a0a9b62d-db17-43c8-a50a-e95812a1afdb 2025-10-15 10:45:08,437 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/c14020d3-3021-4dec-8e3c-5a5a473a7537 2025-10-15 10:45:11,701 - 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 1021ms') 2025-10-15 10:45:11,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06515328 failed! 2025-10-15 10:45:11,760 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63318272:ctest-vn1-48403480 is 48.104.27.65 and allocation pool is NOT set 2025-10-15 10:45:11,760 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63318272:ctest-vn1-48403480 is 210.99.129.1 and allocation pool is NOT set 2025-10-15 10:45:13,818 - 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=12.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.99 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.993/7.476/11.960/4.483 ms') 2025-10-15 10:45:13,818 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06515328 passed 2025-10-15 10:45:13,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:13,968 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06515328, IP 48.104.27.69, Port 22 2025-10-15 10:45:14,024 - 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-10-15 10:45:14,099 - DEBUG - VM ctest-vn1-vm1-06515328 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 10:45:19,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:19,100 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06515328, IP 48.104.27.69, Port 22 2025-10-15 10:45:19,259 - DEBUG - VM ctest-vn1-vm1-06515328 is ready for SSH connections 2025-10-15 10:45:19,259 - INFO - Waiting for VM ctest-vn1-vm2-38998555 to be up.. 2025-10-15 10:45:19,337 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:45:19,337 - INFO - VM name : ctest-vn1-vm2-38998555 2025-10-15 10:45:19,411 - DEBUG - VM ctest-vn1-vm2-38998555 ID is cfcacb61-3b83-4f86-b540-dfab31c3df63 2025-10-15 10:45:19,411 - DEBUG - VM ctest-vn1-vm2-38998555 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:45:19,488 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/cfcacb61-3b83-4f86-b540-dfab31c3df63 2025-10-15 10:45:19,497 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/c1181bee-ace1-4c60-a3ae-3ff09e29dc0b 2025-10-15 10:45:20,733 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.565/2.748/1.183 ms') 2025-10-15 10:45:20,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38998555 passed 2025-10-15 10:45:20,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:20,884 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38998555, IP 210.99.129.5, Port 22 2025-10-15 10:45:21,039 - DEBUG - VM ctest-vn1-vm2-38998555 is ready for SSH connections 2025-10-15 10:45:21,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:21,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:21,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:45:21,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.104.27.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-15 10:45:21,040 - DEBUG - ping -s 56 -c 3 -W 1 48.104.27.69 2025-10-15 10:45:23,739 - DEBUG - PING 48.104.27.69 (48.104.27.69): 56 data bytes 64 bytes from 48.104.27.69: seq=0 ttl=63 time=4.652 ms 64 bytes from 48.104.27.69: seq=1 ttl=63 time=0.833 ms 64 bytes from 48.104.27.69: seq=2 ttl=63 time=0.905 ms --- 48.104.27.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/2.130/4.652 ms 2025-10-15 10:45:23,739 - INFO - Ping to IP 48.104.27.69 from VM ctest-vn1-vm2-38998555 passed 2025-10-15 10:45:23,739 - INFO - Detaching port c1181bee-ace1-4c60-a3ae-3ff09e29dc0b from VM ctest-vn1-vm2-38998555 2025-10-15 10:45:23,787 - INFO - Deleting VM ctest-vn1-vm2-38998555 2025-10-15 10:45:23,855 - INFO - Detaching port c14020d3-3021-4dec-8e3c-5a5a473a7537 from VM ctest-vn1-vm1-06515328 2025-10-15 10:45:23,888 - INFO - Deleting VM ctest-vn1-vm1-06515328 2025-10-15 10:45:24,420 - DEBUG - Response for delete_port : () 2025-10-15 10:45:24,654 - DEBUG - Response for delete_port : () 2025-10-15 10:45:24,654 - INFO - Deleting VN ctest-vn1-48403480 2025-10-15 10:45:24,800 - DEBUG - Response for deleting network () 2025-10-15 10:45:25,065 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 10:45:25,065 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-15 10:45:25,065 - INFO - -------------------------------------------------------------------------------- 2025-10-15 10:45:25,745 - INFO - Deleted project: ctest-TestPorts-63318272, ID : 48c06126-2f94-4e3b-9492-029e0c66d875