2025-11-17 20:44:08,040 - INFO - Domain Default found not creating
2025-11-17 20:44:08,182 - INFO - Project ctest-TestPorts-70595538 not found, creating it
2025-11-17 20:44:08,606 - INFO - Created Project:ctest-TestPorts-70595538, ID : 79e928a9-c619-44d3-9b6d-5e4f4285ff45
2025-11-17 20:44:09,967 - INFO - ================================================================================
2025-11-17 20:44:09,967 - INFO - STARTING TEST : test_ports_bindings
2025-11-17 20:44:09,967 - 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-11-17 20:44:10,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-11-17 20:44:10,232 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:44:10,232 - INFO -
2025-11-17 20:44:10,873 - DEBUG - Response for create_network : {'network': {'id': 'cc033d36-8bd5-4c99-a842-78f9f09bce49', 'name': 'ctest-vn-13491908', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'project_id': '79e928a9c61944d39b6d5e4f4285ff45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70595538', 'ctest-vn-13491908'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:44:11,084 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7bdf90a-69d4-49c4-99a6-bba73f5ca621', 'name': '', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': 'cc033d36-8bd5-4c99-a842-78f9f09bce49', 'ip_version': 4, 'cidr': '52.46.225.64/26', 'allocation_pools': [{'start': '52.46.225.66', 'end': '52.46.225.126'}], 'gateway_ip': '52.46.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.46.225.66', 'tags': [], 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:11,101 - INFO - Created VN ctest-vn-13491908
2025-11-17 20:44:11,152 - DEBUG - VN ctest-vn-13491908 UUID is cc033d36-8bd5-4c99-a842-78f9f09bce49
2025-11-17 20:44:11,252 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70595538', 'ctest-vmi-15488340']}
2025-11-17 20:44:11,519 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-15488340', 'id': '18796e74-2433-46a6-b145-b2573056c321', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': 'cc033d36-8bd5-4c99-a842-78f9f09bce49', 'mac_address': '02:18:79:6e:74:24', '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': '52.46.225.67', 'subnet_id': 'd7bdf90a-69d4-49c4-99a6-bba73f5ca621'}], 'security_groups': ['7d54b4a8-a413-48a1-9926-2329e9d05a72'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:11,519 - DEBUG - Created port 18796e74-2433-46a6-b145-b2573056c321
2025-11-17 20:44:11,624 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/18796e74-2433-46a6-b145-b2573056c321
2025-11-17 20:44:11,928 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/18796e74-2433-46a6-b145-b2573056c321
2025-11-17 20:44:11,966 - INFO - VMI 18796e74-2433-46a6-b145-b2573056c321 verification in API Server passed
2025-11-17 20:44:12,039 - DEBUG - Response for delete_port : ()
2025-11-17 20:44:12,039 - INFO - Deleted port 18796e74-2433-46a6-b145-b2573056c321
2025-11-17 20:44:12,039 - INFO - Deleting VN ctest-vn-13491908
2025-11-17 20:44:12,134 - DEBUG - Response for deleting network ()
2025-11-17 20:44:12,388 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:44:12,388 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-17 20:44:12,388 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:44:12,390 - INFO - ================================================================================
2025-11-17 20:44:12,390 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-17 20:44:12,390 - 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-11-17 20:44:12,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-11-17 20:44:12,681 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:44:12,681 - INFO -
2025-11-17 20:44:12,850 - DEBUG - Response for create_network : {'network': {'id': '74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8', 'name': 'ctest-vn1-67163460', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'project_id': '79e928a9c61944d39b6d5e4f4285ff45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70595538', 'ctest-vn1-67163460'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:44:13,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '35d993fc-b431-4b21-9dcf-f620cea1d8a5', 'name': '', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': '74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8', 'ip_version': 4, 'cidr': '178.242.7.64/26', 'allocation_pools': [{'start': '178.242.7.66', 'end': '178.242.7.126'}], 'gateway_ip': '178.242.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.242.7.66', 'tags': [], 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:13,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '9262d3eb-7e5e-475f-a1b6-cc752fe38452', 'name': '', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': '74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8', 'ip_version': 4, 'cidr': '140.21.22.64/26', 'allocation_pools': [{'start': '140.21.22.66', 'end': '140.21.22.126'}], 'gateway_ip': '140.21.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.21.22.66', 'tags': [], 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:13,236 - INFO - Created VN ctest-vn1-67163460
2025-11-17 20:44:13,288 - DEBUG - VN ctest-vn1-67163460 UUID is 74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8
2025-11-17 20:44:13,590 - DEBUG - Response for create_port : {'port': {'name': '0672b183-3bbe-40f1-b55d-79d858498a78', 'id': '0672b183-3bbe-40f1-b55d-79d858498a78', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': '74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8', 'mac_address': '02:06:72:b1:83:3b', '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': '178.242.7.69', 'subnet_id': '35d993fc-b431-4b21-9dcf-f620cea1d8a5'}], 'security_groups': ['7d54b4a8-a413-48a1-9926-2329e9d05a72'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:13,749 - DEBUG - Response for create_port : {'port': {'name': 'eae0b919-81c2-49e2-af31-d597a88a6f48', 'id': 'eae0b919-81c2-49e2-af31-d597a88a6f48', 'tenant_id': '79e928a9c61944d39b6d5e4f4285ff45', 'network_id': '74812f6d-51c1-4b8f-aecc-2fe89fd0ceb8', 'mac_address': '02:ea:e0:b9:19:81', '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': '140.21.22.69', 'subnet_id': '9262d3eb-7e5e-475f-a1b6-cc752fe38452'}], 'security_groups': ['7d54b4a8-a413-48a1-9926-2329e9d05a72'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79e928a9c61944d39b6d5e4f4285ff45'}}
2025-11-17 20:44:13,801 - DEBUG - Services list from nova: [, , ]
2025-11-17 20:44:14,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1)
2025-11-17 20:44:14,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1)
2025-11-17 20:44:14,480 - INFO - Waiting for VM ctest-vn1-vm1-42103993 to be up..
2025-11-17 20:44:14,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 20:44:19,586 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:44:19,586 - INFO - VM name : ctest-vn1-vm1-42103993
2025-11-17 20:44:19,654 - DEBUG - VM ctest-vn1-vm1-42103993 ID is 58c90c65-46fa-43b9-9a9b-d06b325aa839
2025-11-17 20:44:19,672 - DEBUG - VM ctest-vn1-vm1-42103993 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1
2025-11-17 20:44:19,869 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/58c90c65-46fa-43b9-9a9b-d06b325aa839
2025-11-17 20:44:19,877 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0672b183-3bbe-40f1-b55d-79d858498a78
2025-11-17 20:44:23,133 - 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 1019ms')
2025-11-17 20:44:23,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42103993 failed!
2025-11-17 20:44:23,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70595538:ctest-vn1-67163460 is 178.242.7.65 and allocation pool is NOT set
2025-11-17 20:44:23,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70595538:ctest-vn1-67163460 is 140.21.22.65 and allocation pool is NOT set
2025-11-17 20:44:25,257 - 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=7.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.682 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 = 0.682/4.257/7.832/3.575 ms')
2025-11-17 20:44:25,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42103993 passed
2025-11-17 20:44:25,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:44:25,408 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42103993, IP 178.242.7.69, Port 22
2025-11-17 20:44:25,582 - DEBUG - VM ctest-vn1-vm1-42103993 is ready for SSH connections
2025-11-17 20:44:25,582 - INFO - Waiting for VM ctest-vn1-vm2-07477699 to be up..
2025-11-17 20:44:25,654 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:44:25,654 - INFO - VM name : ctest-vn1-vm2-07477699
2025-11-17 20:44:25,725 - DEBUG - VM ctest-vn1-vm2-07477699 ID is 3c4f34cb-7400-456a-8190-01d43d5d8975
2025-11-17 20:44:25,725 - DEBUG - VM ctest-vn1-vm2-07477699 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1
2025-11-17 20:44:25,793 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3c4f34cb-7400-456a-8190-01d43d5d8975
2025-11-17 20:44:25,800 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/eae0b919-81c2-49e2-af31-d597a88a6f48
2025-11-17 20:44:27,035 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.20 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 = 3.628/3.912/4.197/0.284 ms')
2025-11-17 20:44:27,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07477699 passed
2025-11-17 20:44:27,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:44:27,192 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07477699, IP 140.21.22.69, Port 22
2025-11-17 20:44:27,362 - DEBUG - VM ctest-vn1-vm2-07477699 is ready for SSH connections
2025-11-17 20:44:27,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:44:27,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:44:27,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:44:27,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.242.7.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-17 20:44:27,362 - DEBUG - ping -s 56 -c 3 -W 1 178.242.7.69
2025-11-17 20:44:30,287 - DEBUG - PING 178.242.7.69 (178.242.7.69): 56 data bytes
64 bytes from 178.242.7.69: seq=0 ttl=63 time=3.733 ms
64 bytes from 178.242.7.69: seq=1 ttl=63 time=1.154 ms
64 bytes from 178.242.7.69: seq=2 ttl=63 time=0.774 ms
--- 178.242.7.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.774/1.887/3.733 ms
2025-11-17 20:44:30,287 - INFO - Ping to IP 178.242.7.69 from VM ctest-vn1-vm2-07477699 passed
2025-11-17 20:44:30,287 - INFO - Detaching port eae0b919-81c2-49e2-af31-d597a88a6f48 from VM ctest-vn1-vm2-07477699
2025-11-17 20:44:30,337 - INFO - Deleting VM ctest-vn1-vm2-07477699
2025-11-17 20:44:30,408 - INFO - Detaching port 0672b183-3bbe-40f1-b55d-79d858498a78 from VM ctest-vn1-vm1-42103993
2025-11-17 20:44:30,448 - INFO - Deleting VM ctest-vn1-vm1-42103993
2025-11-17 20:44:30,747 - DEBUG - Response for delete_port : ()
2025-11-17 20:44:30,953 - DEBUG - Response for delete_port : ()
2025-11-17 20:44:30,953 - INFO - Deleting VN ctest-vn1-67163460
2025-11-17 20:44:31,095 - DEBUG - Response for deleting network ()
2025-11-17 20:44:31,356 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:44:31,356 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-17 20:44:31,357 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:44:32,034 - INFO - Deleted project: ctest-TestPorts-70595538, ID : 79e928a9-c619-44d3-9b6d-5e4f4285ff45