2025-12-04 13:44:11,610 - INFO - Domain Default found not creating
2025-12-04 13:44:11,862 - INFO - Project ctest-TestPorts-28913429 not found, creating it
2025-12-04 13:44:12,395 - INFO - Created Project:ctest-TestPorts-28913429, ID : a52e7752-30c9-49c3-bc39-739f0b5798e4
2025-12-04 13:44:14,269 - INFO - ================================================================================
2025-12-04 13:44:14,269 - INFO - STARTING TEST : test_ports_bindings
2025-12-04 13:44:14,269 - 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-12-04 13:44:14,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-12-04 13:44:14,550 - INFO - Initial checks done. Running the testcase now
2025-12-04 13:44:14,550 - INFO -
2025-12-04 13:44:15,209 - DEBUG - Response for create_network : {'network': {'id': 'c6c6eb3f-1f7c-4c75-b511-772b4674c7b8', 'name': 'ctest-vn-42473184', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'project_id': 'a52e775230c949c3bc39739f0b5798e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28913429', 'ctest-vn-42473184'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:44:15,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '41f28c38-82c4-44b9-bc6d-f1bedd4479b3', 'name': '', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': 'c6c6eb3f-1f7c-4c75-b511-772b4674c7b8', 'ip_version': 4, 'cidr': '186.134.115.192/26', 'allocation_pools': [{'start': '186.134.115.194', 'end': '186.134.115.254'}], 'gateway_ip': '186.134.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.134.115.194', 'tags': [], 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:15,422 - INFO - Created VN ctest-vn-42473184
2025-12-04 13:44:15,478 - DEBUG - VN ctest-vn-42473184 UUID is c6c6eb3f-1f7c-4c75-b511-772b4674c7b8
2025-12-04 13:44:15,609 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28913429', 'ctest-vmi-31738758']}
2025-12-04 13:44:15,930 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31738758', 'id': '7c9f8bf2-20e4-46a2-a135-80671df75f70', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': 'c6c6eb3f-1f7c-4c75-b511-772b4674c7b8', 'mac_address': '02:7c:9f:8b:f2:20', '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': '186.134.115.195', 'subnet_id': '41f28c38-82c4-44b9-bc6d-f1bedd4479b3'}], 'security_groups': ['cd08f1c8-e86d-4302-8150-cffd52e2a655'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:15,930 - DEBUG - Created port 7c9f8bf2-20e4-46a2-a135-80671df75f70
2025-12-04 13:44:16,050 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7c9f8bf2-20e4-46a2-a135-80671df75f70
2025-12-04 13:44:16,359 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7c9f8bf2-20e4-46a2-a135-80671df75f70
2025-12-04 13:44:16,411 - INFO - VMI 7c9f8bf2-20e4-46a2-a135-80671df75f70 verification in API Server passed
2025-12-04 13:44:16,532 - DEBUG - Response for delete_port : ()
2025-12-04 13:44:16,532 - INFO - Deleted port 7c9f8bf2-20e4-46a2-a135-80671df75f70
2025-12-04 13:44:16,532 - INFO - Deleting VN ctest-vn-42473184
2025-12-04 13:44:16,707 - DEBUG - Response for deleting network ()
2025-12-04 13:44:16,979 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 13:44:16,979 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-04 13:44:16,980 - INFO - --------------------------------------------------------------------------------
2025-12-04 13:44:16,984 - INFO - ================================================================================
2025-12-04 13:44:16,984 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-04 13:44:16,984 - 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-12-04 13:44:17,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-12-04 13:44:17,279 - INFO - Initial checks done. Running the testcase now
2025-12-04 13:44:17,279 - INFO -
2025-12-04 13:44:17,485 - DEBUG - Response for create_network : {'network': {'id': '344c5ad0-bc86-4c85-8c48-0f5437ea0a5d', 'name': 'ctest-vn1-19429371', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'project_id': 'a52e775230c949c3bc39739f0b5798e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28913429', 'ctest-vn1-19429371'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:44:17,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '958271d4-1826-4faa-9e2a-55ad2bca0a5b', 'name': '', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': '344c5ad0-bc86-4c85-8c48-0f5437ea0a5d', 'ip_version': 4, 'cidr': '32.117.165.0/26', 'allocation_pools': [{'start': '32.117.165.2', 'end': '32.117.165.62'}], 'gateway_ip': '32.117.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.117.165.2', 'tags': [], 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:17,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b6c63ab-29c8-41fc-8c2a-2970a5fa5fc1', 'name': '', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': '344c5ad0-bc86-4c85-8c48-0f5437ea0a5d', 'ip_version': 4, 'cidr': '138.154.32.192/26', 'allocation_pools': [{'start': '138.154.32.194', 'end': '138.154.32.254'}], 'gateway_ip': '138.154.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.154.32.194', 'tags': [], 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:17,903 - INFO - Created VN ctest-vn1-19429371
2025-12-04 13:44:17,958 - DEBUG - VN ctest-vn1-19429371 UUID is 344c5ad0-bc86-4c85-8c48-0f5437ea0a5d
2025-12-04 13:44:18,361 - DEBUG - Response for create_port : {'port': {'name': '0dd25634-b87b-4912-bbe7-3c9d75043544', 'id': '0dd25634-b87b-4912-bbe7-3c9d75043544', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': '344c5ad0-bc86-4c85-8c48-0f5437ea0a5d', 'mac_address': '02:0d:d2:56:34:b8', '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': '32.117.165.5', 'subnet_id': '958271d4-1826-4faa-9e2a-55ad2bca0a5b'}], 'security_groups': ['cd08f1c8-e86d-4302-8150-cffd52e2a655'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:18,578 - DEBUG - Response for create_port : {'port': {'name': 'ac154e14-23b5-41c0-bd0c-4799e76a5517', 'id': 'ac154e14-23b5-41c0-bd0c-4799e76a5517', 'tenant_id': 'a52e775230c949c3bc39739f0b5798e4', 'network_id': '344c5ad0-bc86-4c85-8c48-0f5437ea0a5d', 'mac_address': '02:ac:15:4e:14:23', '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': '138.154.32.197', 'subnet_id': '6b6c63ab-29c8-41fc-8c2a-2970a5fa5fc1'}], 'security_groups': ['cd08f1c8-e86d-4302-8150-cffd52e2a655'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a52e775230c949c3bc39739f0b5798e4'}}
2025-12-04 13:44:18,655 - DEBUG - Services list from nova: [, , ]
2025-12-04 13:44:19,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:44:19,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:44:19,708 - INFO - Waiting for VM ctest-vn1-vm1-62740864 to be up..
2025-12-04 13:44:19,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 13:44:24,884 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:44:24,884 - INFO - VM name : ctest-vn1-vm1-62740864
2025-12-04 13:44:24,999 - DEBUG - VM ctest-vn1-vm1-62740864 ID is 45fdb2a9-2583-431d-95c4-147983627fa9
2025-12-04 13:44:25,026 - DEBUG - VM ctest-vn1-vm1-62740864 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:44:25,122 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/45fdb2a9-2583-431d-95c4-147983627fa9
2025-12-04 13:44:25,133 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0dd25634-b87b-4912-bbe7-3c9d75043544
2025-12-04 13:44:28,420 - 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-12-04 13:44:28,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62740864 failed!
2025-12-04 13:44:28,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28913429:ctest-vn1-19429371 is 32.117.165.1 and allocation pool is NOT set
2025-12-04 13:44:28,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28913429:ctest-vn1-19429371 is 138.154.32.193 and allocation pool is NOT set
2025-12-04 13:44:32,545 - 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 1003ms')
2025-12-04 13:44:32,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62740864 failed!
2025-12-04 13:44:32,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28913429:ctest-vn1-19429371 is 32.117.165.1 and allocation pool is NOT set
2025-12-04 13:44:32,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28913429:ctest-vn1-19429371 is 138.154.32.193 and allocation pool is NOT set
2025-12-04 13:44:34,665 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.661 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 = 0.661/2.205/3.749/1.544 ms')
2025-12-04 13:44:34,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62740864 passed
2025-12-04 13:44:34,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:44:34,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62740864, IP 32.117.165.5, Port 22
2025-12-04 13:44:34,991 - DEBUG - VM ctest-vn1-vm1-62740864 is ready for SSH connections
2025-12-04 13:44:34,992 - INFO - Waiting for VM ctest-vn1-vm2-11172870 to be up..
2025-12-04 13:44:35,093 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:44:35,093 - INFO - VM name : ctest-vn1-vm2-11172870
2025-12-04 13:44:35,206 - DEBUG - VM ctest-vn1-vm2-11172870 ID is 8e3ce97e-1e1f-4e22-9309-e70b728bf76d
2025-12-04 13:44:35,206 - DEBUG - VM ctest-vn1-vm2-11172870 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:44:35,323 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8e3ce97e-1e1f-4e22-9309-e70b728bf76d
2025-12-04 13:44:35,335 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ac154e14-23b5-41c0-bd0c-4799e76a5517
2025-12-04 13:44:36,589 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/2.166/3.874/1.707 ms')
2025-12-04 13:44:36,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11172870 passed
2025-12-04 13:44:36,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:44:36,750 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11172870, IP 138.154.32.197, Port 22
2025-12-04 13:44:36,920 - DEBUG - VM ctest-vn1-vm2-11172870 is ready for SSH connections
2025-12-04 13:44:36,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:44:36,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:44:36,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:44:36,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.117.165.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:44:36,921 - DEBUG - ping -s 56 -c 3 -W 1 32.117.165.5
2025-12-04 13:44:39,678 - DEBUG - PING 32.117.165.5 (32.117.165.5): 56 data bytes
64 bytes from 32.117.165.5: seq=0 ttl=63 time=5.240 ms
64 bytes from 32.117.165.5: seq=1 ttl=63 time=1.198 ms
64 bytes from 32.117.165.5: seq=2 ttl=63 time=1.126 ms
--- 32.117.165.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.126/2.521/5.240 ms
2025-12-04 13:44:39,678 - INFO - Ping to IP 32.117.165.5 from VM ctest-vn1-vm2-11172870 passed
2025-12-04 13:44:39,678 - INFO - Detaching port ac154e14-23b5-41c0-bd0c-4799e76a5517 from VM ctest-vn1-vm2-11172870
2025-12-04 13:44:39,747 - INFO - Deleting VM ctest-vn1-vm2-11172870
2025-12-04 13:44:39,842 - INFO - Detaching port 0dd25634-b87b-4912-bbe7-3c9d75043544 from VM ctest-vn1-vm1-62740864
2025-12-04 13:44:39,888 - INFO - Deleting VM ctest-vn1-vm1-62740864
2025-12-04 13:44:40,248 - DEBUG - Response for delete_port : ()
2025-12-04 13:44:40,520 - DEBUG - Response for delete_port : ()
2025-12-04 13:44:40,520 - INFO - Deleting VN ctest-vn1-19429371
2025-12-04 13:44:40,716 - DEBUG - Response for deleting network ()
2025-12-04 13:44:40,997 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 13:44:40,997 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-04 13:44:40,997 - INFO - --------------------------------------------------------------------------------
2025-12-04 13:44:41,787 - INFO - Deleted project: ctest-TestPorts-28913429, ID : a52e7752-30c9-49c3-bc39-739f0b5798e4