2025-10-19 23:39:47,706 - INFO - Domain Default found not creating
2025-10-19 23:39:47,844 - INFO - Project ctest-TestPorts-96354875 not found, creating it
2025-10-19 23:39:48,291 - INFO - Created Project:ctest-TestPorts-96354875, ID : cfa1cba7-9570-40b1-9bab-a759a9cb4993
2025-10-19 23:39:50,304 - INFO - ================================================================================
2025-10-19 23:39:50,304 - INFO - STARTING TEST : test_ports_bindings
2025-10-19 23:39:50,304 - 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-19 23:39:50,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-19 23:39:50,564 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:39:50,564 - INFO -
2025-10-19 23:39:51,087 - DEBUG - Response for create_network : {'network': {'id': 'b476e369-e6f9-4056-97d0-784a1add3a09', 'name': 'ctest-vn-30195993', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'project_id': 'cfa1cba7957040b19baba759a9cb4993', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96354875', 'ctest-vn-30195993'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 23:39:51,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb080a54-9076-4824-8e54-4b4af072c440', 'name': '', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': 'b476e369-e6f9-4056-97d0-784a1add3a09', 'ip_version': 4, 'cidr': '14.128.203.192/26', 'allocation_pools': [{'start': '14.128.203.194', 'end': '14.128.203.254'}], 'gateway_ip': '14.128.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.128.203.194', 'tags': [], 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:51,293 - INFO - Created VN ctest-vn-30195993
2025-10-19 23:39:51,343 - DEBUG - VN ctest-vn-30195993 UUID is b476e369-e6f9-4056-97d0-784a1add3a09
2025-10-19 23:39:51,448 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96354875', 'ctest-vmi-88118180']}
2025-10-19 23:39:51,712 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88118180', 'id': '810bb081-0429-42f9-92db-23892ecd9570', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': 'b476e369-e6f9-4056-97d0-784a1add3a09', 'mac_address': '02:81:0b:b0:81:04', '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': '14.128.203.195', 'subnet_id': 'fb080a54-9076-4824-8e54-4b4af072c440'}], 'security_groups': ['9353a47c-dfc9-41df-91f6-a4c5f4719a17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:51,712 - DEBUG - Created port 810bb081-0429-42f9-92db-23892ecd9570
2025-10-19 23:39:51,815 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/810bb081-0429-42f9-92db-23892ecd9570
2025-10-19 23:39:52,115 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/810bb081-0429-42f9-92db-23892ecd9570
2025-10-19 23:39:52,146 - INFO - VMI 810bb081-0429-42f9-92db-23892ecd9570 verification in API Server passed
2025-10-19 23:39:52,240 - DEBUG - Response for delete_port : ()
2025-10-19 23:39:52,240 - INFO - Deleted port 810bb081-0429-42f9-92db-23892ecd9570
2025-10-19 23:39:52,240 - INFO - Deleting VN ctest-vn-30195993
2025-10-19 23:39:52,331 - DEBUG - Response for deleting network ()
2025-10-19 23:39:52,589 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 23:39:52,589 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-19 23:39:52,589 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:39:52,592 - INFO - ================================================================================
2025-10-19 23:39:52,592 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-19 23:39:52,592 - 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-19 23:39:52,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-19 23:39:52,875 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:39:52,875 - INFO -
2025-10-19 23:39:53,063 - DEBUG - Response for create_network : {'network': {'id': '7ea74d20-db4a-4eea-b213-41793519ecd5', 'name': 'ctest-vn1-53923632', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'project_id': 'cfa1cba7957040b19baba759a9cb4993', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96354875', 'ctest-vn1-53923632'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 23:39:53,206 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1a2f270-1617-4f60-ab95-97142683be81', 'name': '', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': '7ea74d20-db4a-4eea-b213-41793519ecd5', 'ip_version': 4, 'cidr': '94.207.44.0/26', 'allocation_pools': [{'start': '94.207.44.2', 'end': '94.207.44.62'}], 'gateway_ip': '94.207.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.207.44.2', 'tags': [], 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:53,434 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7208c87-6853-49d8-a660-a53e66009987', 'name': '', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': '7ea74d20-db4a-4eea-b213-41793519ecd5', 'ip_version': 4, 'cidr': '17.102.227.64/26', 'allocation_pools': [{'start': '17.102.227.66', 'end': '17.102.227.126'}], 'gateway_ip': '17.102.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.102.227.66', 'tags': [], 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:53,456 - INFO - Created VN ctest-vn1-53923632
2025-10-19 23:39:53,511 - DEBUG - VN ctest-vn1-53923632 UUID is 7ea74d20-db4a-4eea-b213-41793519ecd5
2025-10-19 23:39:53,815 - DEBUG - Response for create_port : {'port': {'name': '732bf1f6-d507-459c-a95f-73ea082f88a2', 'id': '732bf1f6-d507-459c-a95f-73ea082f88a2', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': '7ea74d20-db4a-4eea-b213-41793519ecd5', 'mac_address': '02:73:2b:f1:f6:d5', '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': '94.207.44.5', 'subnet_id': 'a1a2f270-1617-4f60-ab95-97142683be81'}], 'security_groups': ['9353a47c-dfc9-41df-91f6-a4c5f4719a17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:53,983 - DEBUG - Response for create_port : {'port': {'name': 'a8b19162-2f5d-4faf-a5eb-2a3c1d960b3a', 'id': 'a8b19162-2f5d-4faf-a5eb-2a3c1d960b3a', 'tenant_id': 'cfa1cba7957040b19baba759a9cb4993', 'network_id': '7ea74d20-db4a-4eea-b213-41793519ecd5', 'mac_address': '02:a8:b1:91:62:2f', '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': '17.102.227.69', 'subnet_id': 'a7208c87-6853-49d8-a660-a53e66009987'}], 'security_groups': ['9353a47c-dfc9-41df-91f6-a4c5f4719a17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfa1cba7957040b19baba759a9cb4993'}}
2025-10-19 23:39:54,035 - DEBUG - Services list from nova: [, , ]
2025-10-19 23:39:54,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:39:54,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:39:54,724 - INFO - Waiting for VM ctest-vn1-vm1-60114169 to be up..
2025-10-19 23:39:54,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-19 23:39:59,834 - DEBUG - VM is in ACTIVE state now
2025-10-19 23:39:59,834 - INFO - VM name : ctest-vn1-vm1-60114169
2025-10-19 23:39:59,900 - DEBUG - VM ctest-vn1-vm1-60114169 ID is 1d36ef3b-e657-4b4a-8ac0-16d0c8ef6cd7
2025-10-19 23:39:59,921 - DEBUG - VM ctest-vn1-vm1-60114169 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1
2025-10-19 23:39:59,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d36ef3b-e657-4b4a-8ac0-16d0c8ef6cd7
2025-10-19 23:40:00,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/732bf1f6-d507-459c-a95f-73ea082f88a2
2025-10-19 23:40:03,246 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2025-10-19 23:40:03,246 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-60114169 failed!
2025-10-19 23:40:03,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96354875:ctest-vn1-53923632 is 94.207.44.1 and allocation pool is NOT set
2025-10-19 23:40:03,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96354875:ctest-vn1-53923632 is 17.102.227.65 and allocation pool is NOT set
2025-10-19 23:40:05,359 - 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=9.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 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 = 2.623/6.167/9.711/3.544 ms')
2025-10-19 23:40:05,359 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-60114169 passed
2025-10-19 23:40:05,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:05,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60114169, IP 94.207.44.5, Port 22
2025-10-19 23:40:05,576 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-19 23:40:05,664 - DEBUG - VM ctest-vn1-vm1-60114169 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-19 23:40:10,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:10,665 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60114169, IP 94.207.44.5, Port 22
2025-10-19 23:40:10,825 - DEBUG - VM ctest-vn1-vm1-60114169 is ready for SSH connections
2025-10-19 23:40:10,826 - INFO - Waiting for VM ctest-vn1-vm2-77936195 to be up..
2025-10-19 23:40:10,903 - DEBUG - VM is in ACTIVE state now
2025-10-19 23:40:10,904 - INFO - VM name : ctest-vn1-vm2-77936195
2025-10-19 23:40:10,974 - DEBUG - VM ctest-vn1-vm2-77936195 ID is e4441813-1d79-4882-9366-e07b88817578
2025-10-19 23:40:10,974 - DEBUG - VM ctest-vn1-vm2-77936195 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1
2025-10-19 23:40:11,043 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e4441813-1d79-4882-9366-e07b88817578
2025-10-19 23:40:11,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a8b19162-2f5d-4faf-a5eb-2a3c1d960b3a
2025-10-19 23:40:12,292 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.621/2.838/1.216 ms')
2025-10-19 23:40:12,292 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-77936195 passed
2025-10-19 23:40:12,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:12,443 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77936195, IP 17.102.227.69, Port 22
2025-10-19 23:40:12,599 - DEBUG - VM ctest-vn1-vm2-77936195 is ready for SSH connections
2025-10-19 23:40:12,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:12,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:12,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 23:40:12,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.207.44.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-19 23:40:12,599 - DEBUG - ping -s 56 -c 3 -W 1 94.207.44.5
2025-10-19 23:40:16,332 - DEBUG - PING 94.207.44.5 (94.207.44.5): 56 data bytes
64 bytes from 94.207.44.5: seq=0 ttl=63 time=3.226 ms
64 bytes from 94.207.44.5: seq=1 ttl=63 time=0.994 ms
64 bytes from 94.207.44.5: seq=2 ttl=63 time=0.914 ms
--- 94.207.44.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.914/1.711/3.226 ms
2025-10-19 23:40:16,332 - INFO - Ping to IP 94.207.44.5 from VM ctest-vn1-vm2-77936195 passed
2025-10-19 23:40:16,332 - INFO - Detaching port a8b19162-2f5d-4faf-a5eb-2a3c1d960b3a from VM ctest-vn1-vm2-77936195
2025-10-19 23:40:16,382 - INFO - Deleting VM ctest-vn1-vm2-77936195
2025-10-19 23:40:16,447 - INFO - Detaching port 732bf1f6-d507-459c-a95f-73ea082f88a2 from VM ctest-vn1-vm1-60114169
2025-10-19 23:40:16,481 - INFO - Deleting VM ctest-vn1-vm1-60114169
2025-10-19 23:40:16,709 - DEBUG - Response for delete_port : ()
2025-10-19 23:40:16,872 - DEBUG - Response for delete_port : ()
2025-10-19 23:40:16,872 - INFO - Deleting VN ctest-vn1-53923632
2025-10-19 23:40:17,002 - DEBUG - Response for deleting network ()
2025-10-19 23:40:17,260 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 23:40:17,260 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-19 23:40:17,260 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:40:17,954 - INFO - Deleted project: ctest-TestPorts-96354875, ID : cfa1cba7-9570-40b1-9bab-a759a9cb4993