2025-11-15 20:27:58,013 - INFO - Domain Default found not creating
2025-11-15 20:27:58,153 - INFO - Project ctest-TestPorts-24527498 not found, creating it
2025-11-15 20:27:58,584 - INFO - Created Project:ctest-TestPorts-24527498, ID : 54681b2b-4bf3-4d5a-9a9c-492c570bb6aa
2025-11-15 20:28:00,376 - INFO - ================================================================================
2025-11-15 20:28:00,376 - INFO - STARTING TEST : test_ports_bindings
2025-11-15 20:28:00,376 - 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-15 20:28:00,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-11-15 20:28:00,630 - INFO - Initial checks done. Running the testcase now
2025-11-15 20:28:00,631 - INFO -
2025-11-15 20:28:01,202 - DEBUG - Response for create_network : {'network': {'id': 'f00dc13d-3ff9-4d0d-a6ca-e4014536e236', 'name': 'ctest-vn-34884281', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24527498', 'ctest-vn-34884281'], 'port_security_enabled': True, 'description': ''}}
2025-11-15 20:28:01,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f205382-546e-4581-bf8e-5d69efba0dcd', 'name': '', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'f00dc13d-3ff9-4d0d-a6ca-e4014536e236', 'ip_version': 4, 'cidr': '109.218.14.192/26', 'allocation_pools': [{'start': '109.218.14.194', 'end': '109.218.14.254'}], 'gateway_ip': '109.218.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.218.14.194', 'tags': [], 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:01,395 - INFO - Created VN ctest-vn-34884281
2025-11-15 20:28:01,445 - DEBUG - VN ctest-vn-34884281 UUID is f00dc13d-3ff9-4d0d-a6ca-e4014536e236
2025-11-15 20:28:01,557 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24527498', 'ctest-vmi-88443722']}
2025-11-15 20:28:01,801 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88443722', 'id': 'c6ac630b-0f2e-4e73-a7d0-d36db94a167f', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'f00dc13d-3ff9-4d0d-a6ca-e4014536e236', 'mac_address': '02:c6:ac:63:0b:0f', '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': '109.218.14.195', 'subnet_id': '9f205382-546e-4581-bf8e-5d69efba0dcd'}], 'security_groups': ['05b05d08-56df-4855-b9d9-eed5f5b4b276'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:01,801 - DEBUG - Created port c6ac630b-0f2e-4e73-a7d0-d36db94a167f
2025-11-15 20:28:01,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6ac630b-0f2e-4e73-a7d0-d36db94a167f
2025-11-15 20:28:02,201 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6ac630b-0f2e-4e73-a7d0-d36db94a167f
2025-11-15 20:28:02,232 - INFO - VMI c6ac630b-0f2e-4e73-a7d0-d36db94a167f verification in API Server passed
2025-11-15 20:28:02,316 - DEBUG - Response for delete_port : ()
2025-11-15 20:28:02,316 - INFO - Deleted port c6ac630b-0f2e-4e73-a7d0-d36db94a167f
2025-11-15 20:28:02,316 - INFO - Deleting VN ctest-vn-34884281
2025-11-15 20:28:02,408 - DEBUG - Response for deleting network ()
2025-11-15 20:28:02,667 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 20:28:02,667 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-15 20:28:02,667 - INFO - --------------------------------------------------------------------------------
2025-11-15 20:28:02,670 - INFO - ================================================================================
2025-11-15 20:28:02,670 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-15 20:28:02,670 - 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-15 20:28:02,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-11-15 20:28:02,954 - INFO - Initial checks done. Running the testcase now
2025-11-15 20:28:02,954 - INFO -
2025-11-15 20:28:03,139 - DEBUG - Response for create_network : {'network': {'id': 'e3e363fa-9139-4266-b04a-7c59783f6bc6', 'name': 'ctest-vn1-52405124', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24527498', 'ctest-vn1-52405124'], 'port_security_enabled': True, 'description': ''}}
2025-11-15 20:28:03,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '445f59d7-6ef0-43c5-897d-59aed3b3f336', 'name': '', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'e3e363fa-9139-4266-b04a-7c59783f6bc6', 'ip_version': 4, 'cidr': '53.41.80.64/26', 'allocation_pools': [{'start': '53.41.80.66', 'end': '53.41.80.126'}], 'gateway_ip': '53.41.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.41.80.66', 'tags': [], 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:03,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '131f8e9f-582d-4c47-9d4b-3dca2d3c44f6', 'name': '', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'e3e363fa-9139-4266-b04a-7c59783f6bc6', 'ip_version': 4, 'cidr': '180.191.82.0/26', 'allocation_pools': [{'start': '180.191.82.2', 'end': '180.191.82.62'}], 'gateway_ip': '180.191.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.191.82.2', 'tags': [], 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:03,464 - INFO - Created VN ctest-vn1-52405124
2025-11-15 20:28:03,517 - DEBUG - VN ctest-vn1-52405124 UUID is e3e363fa-9139-4266-b04a-7c59783f6bc6
2025-11-15 20:28:03,829 - DEBUG - Response for create_port : {'port': {'name': '3f0efe4c-0c73-4b21-9c8a-2ee5ca7b5409', 'id': '3f0efe4c-0c73-4b21-9c8a-2ee5ca7b5409', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'e3e363fa-9139-4266-b04a-7c59783f6bc6', 'mac_address': '02:3f:0e:fe:4c:0c', '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': '53.41.80.69', 'subnet_id': '445f59d7-6ef0-43c5-897d-59aed3b3f336'}], 'security_groups': ['05b05d08-56df-4855-b9d9-eed5f5b4b276'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:03,989 - DEBUG - Response for create_port : {'port': {'name': '0004e1f8-a93e-4b1b-8583-7f614ed8cd58', 'id': '0004e1f8-a93e-4b1b-8583-7f614ed8cd58', 'tenant_id': '54681b2b4bf34d5a9a9c492c570bb6aa', 'network_id': 'e3e363fa-9139-4266-b04a-7c59783f6bc6', 'mac_address': '02:00:04:e1:f8:a9', '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': '180.191.82.5', 'subnet_id': '131f8e9f-582d-4c47-9d4b-3dca2d3c44f6'}], 'security_groups': ['05b05d08-56df-4855-b9d9-eed5f5b4b276'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54681b2b4bf34d5a9a9c492c570bb6aa'}}
2025-11-15 20:28:04,042 - DEBUG - Services list from nova: [, , ]
2025-11-15 20:28:04,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1)
2025-11-15 20:28:04,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1)
2025-11-15 20:28:04,731 - INFO - Waiting for VM ctest-vn1-vm1-67405399 to be up..
2025-11-15 20:28:04,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-15 20:28:09,834 - DEBUG - VM is in ACTIVE state now
2025-11-15 20:28:09,835 - INFO - VM name : ctest-vn1-vm1-67405399
2025-11-15 20:28:09,904 - DEBUG - VM ctest-vn1-vm1-67405399 ID is abec6648-5998-430b-a4f1-97fd261ee110
2025-11-15 20:28:09,920 - DEBUG - VM ctest-vn1-vm1-67405399 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1
2025-11-15 20:28:09,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/abec6648-5998-430b-a4f1-97fd261ee110
2025-11-15 20:28:09,994 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3f0efe4c-0c73-4b21-9c8a-2ee5ca7b5409
2025-11-15 20:28:13,264 - 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 1025ms')
2025-11-15 20:28:13,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67405399 failed!
2025-11-15 20:28:13,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24527498:ctest-vn1-52405124 is 53.41.80.65 and allocation pool is NOT set
2025-11-15 20:28:13,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24527498:ctest-vn1-52405124 is 180.191.82.1 and allocation pool is NOT set
2025-11-15 20:28:15,385 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.83 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 = 3.697/3.764/3.831/0.067 ms')
2025-11-15 20:28:15,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67405399 passed
2025-11-15 20:28:15,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:15,533 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67405399, IP 53.41.80.69, Port 22
2025-11-15 20:28:15,589 - 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-11-15 20:28:15,656 - DEBUG - VM ctest-vn1-vm1-67405399 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-15 20:28:20,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:20,657 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67405399, IP 53.41.80.69, Port 22
2025-11-15 20:28:20,809 - DEBUG - VM ctest-vn1-vm1-67405399 is ready for SSH connections
2025-11-15 20:28:20,809 - INFO - Waiting for VM ctest-vn1-vm2-48470797 to be up..
2025-11-15 20:28:20,873 - DEBUG - VM is in ACTIVE state now
2025-11-15 20:28:20,874 - INFO - VM name : ctest-vn1-vm2-48470797
2025-11-15 20:28:20,934 - DEBUG - VM ctest-vn1-vm2-48470797 ID is 706d6202-2793-42ef-826f-9082a294100f
2025-11-15 20:28:20,934 - DEBUG - VM ctest-vn1-vm2-48470797 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1
2025-11-15 20:28:20,998 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/706d6202-2793-42ef-826f-9082a294100f
2025-11-15 20:28:21,005 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0004e1f8-a93e-4b1b-8583-7f614ed8cd58
2025-11-15 20:28:22,235 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.573/2.809/1.235 ms')
2025-11-15 20:28:22,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48470797 passed
2025-11-15 20:28:22,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:22,385 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48470797, IP 180.191.82.5, Port 22
2025-11-15 20:28:22,540 - DEBUG - VM ctest-vn1-vm2-48470797 is ready for SSH connections
2025-11-15 20:28:22,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:22,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:22,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 20:28:22,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.41.80.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-15 20:28:22,541 - DEBUG - ping -s 56 -c 3 -W 1 53.41.80.69
2025-11-15 20:28:25,497 - DEBUG - PING 53.41.80.69 (53.41.80.69): 56 data bytes
64 bytes from 53.41.80.69: seq=0 ttl=63 time=3.576 ms
64 bytes from 53.41.80.69: seq=1 ttl=63 time=0.704 ms
64 bytes from 53.41.80.69: seq=2 ttl=63 time=0.983 ms
--- 53.41.80.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.704/1.754/3.576 ms
2025-11-15 20:28:25,497 - INFO - Ping to IP 53.41.80.69 from VM ctest-vn1-vm2-48470797 passed
2025-11-15 20:28:25,497 - INFO - Detaching port 0004e1f8-a93e-4b1b-8583-7f614ed8cd58 from VM ctest-vn1-vm2-48470797
2025-11-15 20:28:25,545 - INFO - Deleting VM ctest-vn1-vm2-48470797
2025-11-15 20:28:25,621 - INFO - Detaching port 3f0efe4c-0c73-4b21-9c8a-2ee5ca7b5409 from VM ctest-vn1-vm1-67405399
2025-11-15 20:28:25,662 - INFO - Deleting VM ctest-vn1-vm1-67405399
2025-11-15 20:28:25,861 - DEBUG - Response for delete_port : ()
2025-11-15 20:28:25,996 - DEBUG - Response for delete_port : ()
2025-11-15 20:28:25,996 - INFO - Deleting VN ctest-vn1-52405124
2025-11-15 20:28:26,105 - DEBUG - Response for deleting network ()
2025-11-15 20:28:26,361 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 20:28:26,362 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-15 20:28:26,362 - INFO - --------------------------------------------------------------------------------
2025-11-15 20:28:27,027 - INFO - Deleted project: ctest-TestPorts-24527498, ID : 54681b2b-4bf3-4d5a-9a9c-492c570bb6aa