2025-08-12 15:58:04,279 - INFO - Domain Default found not creating
2025-08-12 15:58:04,389 - INFO - Project ctest-TestPorts-19000462 not found, creating it
2025-08-12 15:58:04,846 - INFO - Created Project:ctest-TestPorts-19000462, ID : 3bdb21aa-0e7b-4f83-91c9-852f49fdd3ba
2025-08-12 15:58:06,188 - INFO - ================================================================================
2025-08-12 15:58:06,188 - INFO - STARTING TEST : test_ports_bindings
2025-08-12 15:58:06,189 - 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-08-12 15:58:06,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with
2025-08-12 15:58:06,443 - INFO - Initial checks done. Running the testcase now
2025-08-12 15:58:06,443 - INFO -
2025-08-12 15:58:06,954 - DEBUG - Response for create_network : {'network': {'id': '43f0c8f2-6df6-43aa-b004-50f79b8e0c09', 'name': 'ctest-vn-58941636', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19000462', 'ctest-vn-58941636'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 15:58:07,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '094828c8-8d3e-4ec0-b198-4d3957e87e5c', 'name': '', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': '43f0c8f2-6df6-43aa-b004-50f79b8e0c09', 'ip_version': 4, 'cidr': '95.118.246.64/26', 'allocation_pools': [{'start': '95.118.246.66', 'end': '95.118.246.126'}], 'gateway_ip': '95.118.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.118.246.66', 'tags': [], 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:07,179 - INFO - Created VN ctest-vn-58941636
2025-08-12 15:58:07,230 - DEBUG - VN ctest-vn-58941636 UUID is 43f0c8f2-6df6-43aa-b004-50f79b8e0c09
2025-08-12 15:58:07,324 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19000462', 'ctest-vmi-45089512']}
2025-08-12 15:58:07,597 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45089512', 'id': 'c6b670a9-1007-4849-a2b8-818482d7862d', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': '43f0c8f2-6df6-43aa-b004-50f79b8e0c09', 'mac_address': '02:c6:b6:70:a9:10', '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': '95.118.246.67', 'subnet_id': '094828c8-8d3e-4ec0-b198-4d3957e87e5c'}], 'security_groups': ['ca823890-47f4-4f05-b49c-605f1e6e6ed3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:07,597 - DEBUG - Created port c6b670a9-1007-4849-a2b8-818482d7862d
2025-08-12 15:58:07,702 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/c6b670a9-1007-4849-a2b8-818482d7862d
2025-08-12 15:58:07,988 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/c6b670a9-1007-4849-a2b8-818482d7862d
2025-08-12 15:58:08,015 - INFO - VMI c6b670a9-1007-4849-a2b8-818482d7862d verification in API Server passed
2025-08-12 15:58:08,096 - DEBUG - Response for delete_port : ()
2025-08-12 15:58:08,096 - INFO - Deleted port c6b670a9-1007-4849-a2b8-818482d7862d
2025-08-12 15:58:08,097 - INFO - Deleting VN ctest-vn-58941636
2025-08-12 15:58:08,217 - DEBUG - Response for deleting network ()
2025-08-12 15:58:08,466 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 15:58:08,466 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 15:58:08,466 - INFO - --------------------------------------------------------------------------------
2025-08-12 15:58:08,471 - INFO - ================================================================================
2025-08-12 15:58:08,471 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-12 15:58:08,471 - 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-08-12 15:58:08,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with
2025-08-12 15:58:08,755 - INFO - Initial checks done. Running the testcase now
2025-08-12 15:58:08,755 - INFO -
2025-08-12 15:58:08,923 - DEBUG - Response for create_network : {'network': {'id': 'e41d753b-c078-4b9d-8c0b-918130f20f03', 'name': 'ctest-vn1-21443538', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19000462', 'ctest-vn1-21443538'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 15:58:09,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '1edb450e-6361-42eb-8cc6-a49e36098748', 'name': '', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': 'e41d753b-c078-4b9d-8c0b-918130f20f03', 'ip_version': 4, 'cidr': '157.162.160.64/26', 'allocation_pools': [{'start': '157.162.160.66', 'end': '157.162.160.126'}], 'gateway_ip': '157.162.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.162.160.66', 'tags': [], 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:09,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e36e09c-a98c-494d-9d8c-f1dbdfe45718', 'name': '', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': 'e41d753b-c078-4b9d-8c0b-918130f20f03', 'ip_version': 4, 'cidr': '71.105.151.192/26', 'allocation_pools': [{'start': '71.105.151.194', 'end': '71.105.151.254'}], 'gateway_ip': '71.105.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.105.151.194', 'tags': [], 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:09,263 - INFO - Created VN ctest-vn1-21443538
2025-08-12 15:58:09,318 - DEBUG - VN ctest-vn1-21443538 UUID is e41d753b-c078-4b9d-8c0b-918130f20f03
2025-08-12 15:58:09,590 - DEBUG - Response for create_port : {'port': {'name': 'a72e8b54-6d41-4ce7-8b8d-5408b918683e', 'id': 'a72e8b54-6d41-4ce7-8b8d-5408b918683e', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': 'e41d753b-c078-4b9d-8c0b-918130f20f03', 'mac_address': '02:a7:2e:8b:54:6d', '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': '157.162.160.69', 'subnet_id': '1edb450e-6361-42eb-8cc6-a49e36098748'}], 'security_groups': ['ca823890-47f4-4f05-b49c-605f1e6e6ed3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:09,754 - DEBUG - Response for create_port : {'port': {'name': 'a9f2c39a-d03c-4801-9334-a29723b21013', 'id': 'a9f2c39a-d03c-4801-9334-a29723b21013', 'tenant_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba', 'network_id': 'e41d753b-c078-4b9d-8c0b-918130f20f03', 'mac_address': '02:a9:f2:c3:9a:d0', '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': '71.105.151.197', 'subnet_id': '9e36e09c-a98c-494d-9d8c-f1dbdfe45718'}], 'security_groups': ['ca823890-47f4-4f05-b49c-605f1e6e6ed3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdb21aa0e7b4f8391c9852f49fdd3ba'}}
2025-08-12 15:58:09,805 - DEBUG - Services list from nova: [, , ]
2025-08-12 15:58:10,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1)
2025-08-12 15:58:10,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1)
2025-08-12 15:58:10,503 - INFO - Waiting for VM ctest-vn1-vm1-96595026 to be up..
2025-08-12 15:58:10,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 15:58:15,596 - DEBUG - VM is in ACTIVE state now
2025-08-12 15:58:15,596 - INFO - VM name : ctest-vn1-vm1-96595026
2025-08-12 15:58:15,651 - DEBUG - VM ctest-vn1-vm1-96595026 ID is 26abe2a0-8d0b-4198-9708-646333c4bf8a
2025-08-12 15:58:15,666 - DEBUG - VM ctest-vn1-vm1-96595026 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1
2025-08-12 15:58:15,722 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/26abe2a0-8d0b-4198-9708-646333c4bf8a
2025-08-12 15:58:15,729 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/a72e8b54-6d41-4ce7-8b8d-5408b918683e
2025-08-12 15:58:18,987 - 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 1020ms')
2025-08-12 15:58:18,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96595026 failed!
2025-08-12 15:58:19,042 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19000462:ctest-vn1-21443538 is 157.162.160.65 and allocation pool is NOT set
2025-08-12 15:58:19,042 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19000462:ctest-vn1-21443538 is 71.105.151.193 and allocation pool is NOT set
2025-08-12 15:58:21,106 - 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=2.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.351/2.341/0.989 ms')
2025-08-12 15:58:21,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96595026 passed
2025-08-12 15:58:21,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 15:58:21,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96595026, IP 157.162.160.69, Port 22
2025-08-12 15:58:21,413 - DEBUG - VM ctest-vn1-vm1-96595026 is ready for SSH connections
2025-08-12 15:58:21,413 - INFO - Waiting for VM ctest-vn1-vm2-88827618 to be up..
2025-08-12 15:58:21,473 - DEBUG - VM is in ACTIVE state now
2025-08-12 15:58:21,473 - INFO - VM name : ctest-vn1-vm2-88827618
2025-08-12 15:58:21,526 - DEBUG - VM ctest-vn1-vm2-88827618 ID is 477bd8f3-b814-457d-8ec1-709c3730151f
2025-08-12 15:58:21,526 - DEBUG - VM ctest-vn1-vm2-88827618 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1
2025-08-12 15:58:21,577 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/477bd8f3-b814-457d-8ec1-709c3730151f
2025-08-12 15:58:21,584 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/a9f2c39a-d03c-4801-9334-a29723b21013
2025-08-12 15:58:22,821 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.315 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.315/1.474/2.633/1.159 ms')
2025-08-12 15:58:22,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88827618 passed
2025-08-12 15:58:22,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 15:58:22,982 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88827618, IP 71.105.151.197, Port 22
2025-08-12 15:58:23,148 - DEBUG - VM ctest-vn1-vm2-88827618 is ready for SSH connections
2025-08-12 15:58:23,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 15:58:23,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 15:58:23,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 15:58:23,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.162.160.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-08-12 15:58:23,148 - DEBUG - ping -s 56 -c 3 -W 1 157.162.160.69
2025-08-12 15:58:26,041 - DEBUG - PING 157.162.160.69 (157.162.160.69): 56 data bytes
64 bytes from 157.162.160.69: seq=0 ttl=63 time=3.124 ms
64 bytes from 157.162.160.69: seq=1 ttl=63 time=0.710 ms
64 bytes from 157.162.160.69: seq=2 ttl=63 time=0.852 ms
--- 157.162.160.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.710/1.562/3.124 ms
2025-08-12 15:58:26,041 - INFO - Ping to IP 157.162.160.69 from VM ctest-vn1-vm2-88827618 passed
2025-08-12 15:58:26,041 - INFO - Detaching port a9f2c39a-d03c-4801-9334-a29723b21013 from VM ctest-vn1-vm2-88827618
2025-08-12 15:58:26,084 - INFO - Deleting VM ctest-vn1-vm2-88827618
2025-08-12 15:58:26,135 - INFO - Detaching port a72e8b54-6d41-4ce7-8b8d-5408b918683e from VM ctest-vn1-vm1-96595026
2025-08-12 15:58:26,159 - INFO - Deleting VM ctest-vn1-vm1-96595026
2025-08-12 15:58:26,341 - DEBUG - Response for delete_port : ()
2025-08-12 15:58:26,475 - DEBUG - Response for delete_port : ()
2025-08-12 15:58:26,475 - INFO - Deleting VN ctest-vn1-21443538
2025-08-12 15:58:26,597 - DEBUG - Response for deleting network ()
2025-08-12 15:58:26,855 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 15:58:26,855 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-12 15:58:26,855 - INFO - --------------------------------------------------------------------------------
2025-08-12 15:58:27,482 - INFO - Deleted project: ctest-TestPorts-19000462, ID : 3bdb21aa-0e7b-4f83-91c9-852f49fdd3ba