2025-10-23 06:06:56,173 - INFO - Domain Default found not creating
2025-10-23 06:06:56,361 - INFO - Project ctest-TestPorts-65135197 not found, creating it
2025-10-23 06:06:56,856 - INFO - Created Project:ctest-TestPorts-65135197, ID : 57c21852-6435-4527-a826-8f67d45f66c2
2025-10-23 06:06:58,347 - INFO - ================================================================================
2025-10-23 06:06:58,347 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 06:06:58,347 - 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-23 06:06:58,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-23 06:06:58,611 - INFO - Initial checks done. Running the testcase now
2025-10-23 06:06:58,611 - INFO -
2025-10-23 06:06:59,206 - DEBUG - Response for create_network : {'network': {'id': '9c56798a-b103-4bfc-855a-cfb60823aeb6', 'name': 'ctest-vn-31787147', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'project_id': '57c2185264354527a8268f67d45f66c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65135197', 'ctest-vn-31787147'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 06:06:59,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f2cd185-b2b6-4446-a5d3-21a992ee2c6b', 'name': '', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': '9c56798a-b103-4bfc-855a-cfb60823aeb6', 'ip_version': 4, 'cidr': '42.71.28.192/26', 'allocation_pools': [{'start': '42.71.28.194', 'end': '42.71.28.254'}], 'gateway_ip': '42.71.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.71.28.194', 'tags': [], 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:06:59,378 - INFO - Created VN ctest-vn-31787147
2025-10-23 06:06:59,433 - DEBUG - VN ctest-vn-31787147 UUID is 9c56798a-b103-4bfc-855a-cfb60823aeb6
2025-10-23 06:06:59,546 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65135197', 'ctest-vmi-03879981']}
2025-10-23 06:06:59,806 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03879981', 'id': '175712fa-868b-4762-b3cf-04c84724027f', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': '9c56798a-b103-4bfc-855a-cfb60823aeb6', 'mac_address': '02:17:57:12:fa:86', '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': '42.71.28.195', 'subnet_id': '1f2cd185-b2b6-4446-a5d3-21a992ee2c6b'}], 'security_groups': ['16f3e899-d0f9-4a74-9df7-a271e8b5c36d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:06:59,806 - DEBUG - Created port 175712fa-868b-4762-b3cf-04c84724027f
2025-10-23 06:06:59,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/175712fa-868b-4762-b3cf-04c84724027f
2025-10-23 06:07:00,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/175712fa-868b-4762-b3cf-04c84724027f
2025-10-23 06:07:00,268 - INFO - VMI 175712fa-868b-4762-b3cf-04c84724027f verification in API Server passed
2025-10-23 06:07:00,406 - DEBUG - Response for delete_port : ()
2025-10-23 06:07:00,406 - INFO - Deleted port 175712fa-868b-4762-b3cf-04c84724027f
2025-10-23 06:07:00,406 - INFO - Deleting VN ctest-vn-31787147
2025-10-23 06:07:00,535 - DEBUG - Response for deleting network ()
2025-10-23 06:07:00,817 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 06:07:00,817 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 06:07:00,817 - INFO - --------------------------------------------------------------------------------
2025-10-23 06:07:00,820 - INFO - ================================================================================
2025-10-23 06:07:00,820 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 06:07:00,820 - 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-23 06:07:01,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-23 06:07:01,102 - INFO - Initial checks done. Running the testcase now
2025-10-23 06:07:01,102 - INFO -
2025-10-23 06:07:01,313 - DEBUG - Response for create_network : {'network': {'id': 'f284c56b-c2cd-4769-8c54-d845e2cc6da3', 'name': 'ctest-vn1-35708491', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'project_id': '57c2185264354527a8268f67d45f66c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65135197', 'ctest-vn1-35708491'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 06:07:01,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faa01f28-0757-4435-8e33-1b91d69e0864', 'name': '', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': 'f284c56b-c2cd-4769-8c54-d845e2cc6da3', 'ip_version': 4, 'cidr': '30.162.210.64/26', 'allocation_pools': [{'start': '30.162.210.66', 'end': '30.162.210.126'}], 'gateway_ip': '30.162.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.162.210.66', 'tags': [], 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:07:01,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '77974e9a-b1b2-4c91-817b-96aa532642b5', 'name': '', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': 'f284c56b-c2cd-4769-8c54-d845e2cc6da3', 'ip_version': 4, 'cidr': '105.132.40.192/26', 'allocation_pools': [{'start': '105.132.40.194', 'end': '105.132.40.254'}], 'gateway_ip': '105.132.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.132.40.194', 'tags': [], 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:07:01,764 - INFO - Created VN ctest-vn1-35708491
2025-10-23 06:07:01,821 - DEBUG - VN ctest-vn1-35708491 UUID is f284c56b-c2cd-4769-8c54-d845e2cc6da3
2025-10-23 06:07:02,160 - DEBUG - Response for create_port : {'port': {'name': '6cf57a3c-52b3-4efd-a86f-343e9e34f674', 'id': '6cf57a3c-52b3-4efd-a86f-343e9e34f674', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': 'f284c56b-c2cd-4769-8c54-d845e2cc6da3', 'mac_address': '02:6c:f5:7a:3c:52', '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': '30.162.210.69', 'subnet_id': 'faa01f28-0757-4435-8e33-1b91d69e0864'}], 'security_groups': ['16f3e899-d0f9-4a74-9df7-a271e8b5c36d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:07:02,361 - DEBUG - Response for create_port : {'port': {'name': '058fdcd6-5c86-42c6-9d96-c0ea8fbce5c1', 'id': '058fdcd6-5c86-42c6-9d96-c0ea8fbce5c1', 'tenant_id': '57c2185264354527a8268f67d45f66c2', 'network_id': 'f284c56b-c2cd-4769-8c54-d845e2cc6da3', 'mac_address': '02:05:8f:dc:d6:5c', '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': '105.132.40.197', 'subnet_id': '77974e9a-b1b2-4c91-817b-96aa532642b5'}], 'security_groups': ['16f3e899-d0f9-4a74-9df7-a271e8b5c36d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57c2185264354527a8268f67d45f66c2'}}
2025-10-23 06:07:02,430 - DEBUG - Services list from nova: [, , ]
2025-10-23 06:07:02,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4453-1)
2025-10-23 06:07:03,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4453-1)
2025-10-23 06:07:03,236 - INFO - Waiting for VM ctest-vn1-vm1-53938160 to be up..
2025-10-23 06:07:03,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 06:07:08,366 - DEBUG - VM is in ACTIVE state now
2025-10-23 06:07:08,366 - INFO - VM name : ctest-vn1-vm1-53938160
2025-10-23 06:07:08,457 - DEBUG - VM ctest-vn1-vm1-53938160 ID is 8d931170-5200-4ec7-bd88-0887f52ac903
2025-10-23 06:07:08,476 - DEBUG - VM ctest-vn1-vm1-53938160 launched on Node cn-jenkins-deploy-platform-ansible-os-4453-1
2025-10-23 06:07:08,564 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d931170-5200-4ec7-bd88-0887f52ac903
2025-10-23 06:07:08,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6cf57a3c-52b3-4efd-a86f-343e9e34f674
2025-10-23 06:07:11,842 - 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 1018ms')
2025-10-23 06:07:11,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53938160 failed!
2025-10-23 06:07:11,905 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65135197:ctest-vn1-35708491 is 30.162.210.65 and allocation pool is NOT set
2025-10-23 06:07:11,905 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65135197:ctest-vn1-35708491 is 105.132.40.193 and allocation pool is NOT set
2025-10-23 06:07:15,998 - 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=6.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 6.686/6.686/6.686/0.000 ms')
2025-10-23 06:07:15,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53938160 passed
2025-10-23 06:07:16,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:16,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53938160, IP 30.162.210.69, Port 22
2025-10-23 06:07:16,218 - 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-23 06:07:16,325 - DEBUG - VM ctest-vn1-vm1-53938160 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 06:07:21,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:21,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53938160, IP 30.162.210.69, Port 22
2025-10-23 06:07:21,484 - DEBUG - VM ctest-vn1-vm1-53938160 is ready for SSH connections
2025-10-23 06:07:21,485 - INFO - Waiting for VM ctest-vn1-vm2-72568008 to be up..
2025-10-23 06:07:21,567 - DEBUG - VM is in ACTIVE state now
2025-10-23 06:07:21,567 - INFO - VM name : ctest-vn1-vm2-72568008
2025-10-23 06:07:21,646 - DEBUG - VM ctest-vn1-vm2-72568008 ID is acf11c01-97e3-48c3-b9f1-855f382cf96f
2025-10-23 06:07:21,646 - DEBUG - VM ctest-vn1-vm2-72568008 launched on Node cn-jenkins-deploy-platform-ansible-os-4453-1
2025-10-23 06:07:21,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/acf11c01-97e3-48c3-b9f1-855f382cf96f
2025-10-23 06:07:21,741 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/058fdcd6-5c86-42c6-9d96-c0ea8fbce5c1
2025-10-23 06:07:22,983 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.471/1.802/3.134/1.331 ms')
2025-10-23 06:07:22,983 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72568008 passed
2025-10-23 06:07:23,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:23,132 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72568008, IP 105.132.40.197, Port 22
2025-10-23 06:07:23,287 - DEBUG - VM ctest-vn1-vm2-72568008 is ready for SSH connections
2025-10-23 06:07:23,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:23,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:23,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 06:07:23,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.162.210.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-23 06:07:23,288 - DEBUG - ping -s 56 -c 3 -W 1 30.162.210.69
2025-10-23 06:07:26,026 - DEBUG - PING 30.162.210.69 (30.162.210.69): 56 data bytes
64 bytes from 30.162.210.69: seq=0 ttl=63 time=4.615 ms
64 bytes from 30.162.210.69: seq=1 ttl=63 time=0.944 ms
64 bytes from 30.162.210.69: seq=2 ttl=63 time=1.010 ms
--- 30.162.210.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.944/2.189/4.615 ms
2025-10-23 06:07:26,026 - INFO - Ping to IP 30.162.210.69 from VM ctest-vn1-vm2-72568008 passed
2025-10-23 06:07:26,026 - INFO - Detaching port 058fdcd6-5c86-42c6-9d96-c0ea8fbce5c1 from VM ctest-vn1-vm2-72568008
2025-10-23 06:07:26,077 - INFO - Deleting VM ctest-vn1-vm2-72568008
2025-10-23 06:07:26,151 - INFO - Detaching port 6cf57a3c-52b3-4efd-a86f-343e9e34f674 from VM ctest-vn1-vm1-53938160
2025-10-23 06:07:26,194 - INFO - Deleting VM ctest-vn1-vm1-53938160
2025-10-23 06:07:26,494 - DEBUG - Response for delete_port : ()
2025-10-23 06:07:26,695 - DEBUG - Response for delete_port : ()
2025-10-23 06:07:26,695 - INFO - Deleting VN ctest-vn1-35708491
2025-10-23 06:07:26,864 - DEBUG - Response for deleting network ()
2025-10-23 06:07:27,118 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 06:07:27,118 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-23 06:07:27,119 - INFO - --------------------------------------------------------------------------------
2025-10-23 06:07:27,817 - INFO - Deleted project: ctest-TestPorts-65135197, ID : 57c21852-6435-4527-a826-8f67d45f66c2