2026-04-03 16:52:38,436 - INFO - Domain Default found not creating
2026-04-03 16:52:38,597 - INFO - Project ctest-TestPorts-38244286 not found, creating it
2026-04-03 16:52:39,203 - INFO - Created Project:ctest-TestPorts-38244286, ID : 3d9706c7-f121-42b8-b321-caccc32f773a
2026-04-03 16:52:40,650 - INFO - ================================================================================
2026-04-03 16:52:40,650 - INFO - STARTING TEST : test_ports_bindings
2026-04-03 16:52:40,650 - 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
2026-04-03 16:52:41,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2026-04-03 16:52:41,936 - INFO - Initial checks done. Running the testcase now
2026-04-03 16:52:41,936 - INFO -
2026-04-03 16:52:42,671 - DEBUG - Response for create_network : {'network': {'id': '22f824e1-f1bb-41ae-af78-3cacca998074', 'name': 'ctest-vn-74241163', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'project_id': '3d9706c7f12142b8b321caccc32f773a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38244286', 'ctest-vn-74241163'], 'port_security_enabled': True, 'description': ''}}
2026-04-03 16:52:42,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '53f80ce4-05c7-4eec-bcd3-77682954f673', 'name': '', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '22f824e1-f1bb-41ae-af78-3cacca998074', 'ip_version': 4, 'cidr': '44.95.108.0/26', 'allocation_pools': [{'start': '44.95.108.2', 'end': '44.95.108.62'}], 'gateway_ip': '44.95.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.95.108.2', 'tags': [], 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:43,009 - INFO - Created VN ctest-vn-74241163
2026-04-03 16:52:43,026 - DEBUG - VN ctest-vn-74241163 UUID is 22f824e1-f1bb-41ae-af78-3cacca998074
2026-04-03 16:52:43,113 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38244286', 'ctest-vmi-41832230']}
2026-04-03 16:52:43,386 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41832230', 'id': '58d75f0a-5ca4-4692-b6e2-c703295b0b0b', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '22f824e1-f1bb-41ae-af78-3cacca998074', 'mac_address': '02:58:d7:5f:0a:5c', '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': '44.95.108.3', 'subnet_id': '53f80ce4-05c7-4eec-bcd3-77682954f673'}], 'security_groups': ['97f8e43a-b603-4239-b578-85d5fb13debf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:43,386 - DEBUG - Created port 58d75f0a-5ca4-4692-b6e2-c703295b0b0b
2026-04-03 16:52:43,455 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/58d75f0a-5ca4-4692-b6e2-c703295b0b0b
2026-04-03 16:52:43,766 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/58d75f0a-5ca4-4692-b6e2-c703295b0b0b
2026-04-03 16:52:43,806 - INFO - VMI 58d75f0a-5ca4-4692-b6e2-c703295b0b0b verification in API Server passed
2026-04-03 16:52:43,961 - DEBUG - Response for delete_port : ()
2026-04-03 16:52:43,961 - INFO - Deleted port 58d75f0a-5ca4-4692-b6e2-c703295b0b0b
2026-04-03 16:52:43,961 - INFO - Deleting VN ctest-vn-74241163
2026-04-03 16:52:44,152 - DEBUG - Response for deleting network ()
2026-04-03 16:52:45,438 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 16:52:45,439 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-04-03 16:52:45,439 - INFO - --------------------------------------------------------------------------------
2026-04-03 16:52:45,442 - INFO - ================================================================================
2026-04-03 16:52:45,442 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-03 16:52:45,442 - 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
2026-04-03 16:52:46,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2026-04-03 16:52:46,730 - INFO - Initial checks done. Running the testcase now
2026-04-03 16:52:46,731 - INFO -
2026-04-03 16:52:47,042 - DEBUG - Response for create_network : {'network': {'id': '32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb', 'name': 'ctest-vn1-25305237', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'project_id': '3d9706c7f12142b8b321caccc32f773a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38244286', 'ctest-vn1-25305237'], 'port_security_enabled': True, 'description': ''}}
2026-04-03 16:52:47,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '257d5b9a-bc3b-4a43-93aa-a41ecb90c32f', 'name': '', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb', 'ip_version': 4, 'cidr': '203.65.167.64/26', 'allocation_pools': [{'start': '203.65.167.66', 'end': '203.65.167.126'}], 'gateway_ip': '203.65.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.65.167.66', 'tags': [], 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:47,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '5147f0a9-fe0f-4c9c-9199-dfaf6e27c870', 'name': '', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb', 'ip_version': 4, 'cidr': '15.114.138.0/26', 'allocation_pools': [{'start': '15.114.138.2', 'end': '15.114.138.62'}], 'gateway_ip': '15.114.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.114.138.2', 'tags': [], 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:47,520 - INFO - Created VN ctest-vn1-25305237
2026-04-03 16:52:47,535 - DEBUG - VN ctest-vn1-25305237 UUID is 32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb
2026-04-03 16:52:47,937 - DEBUG - Response for create_port : {'port': {'name': 'e8f59d42-4d6a-42d6-86e0-d0fe54e8dfbb', 'id': 'e8f59d42-4d6a-42d6-86e0-d0fe54e8dfbb', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb', 'mac_address': '02:e8:f5:9d:42:4d', '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': '203.65.167.69', 'subnet_id': '257d5b9a-bc3b-4a43-93aa-a41ecb90c32f'}], 'security_groups': ['97f8e43a-b603-4239-b578-85d5fb13debf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:48,199 - DEBUG - Response for create_port : {'port': {'name': 'e9cc24ef-aaa4-43a4-ac03-0c00624a24c4', 'id': 'e9cc24ef-aaa4-43a4-ac03-0c00624a24c4', 'tenant_id': '3d9706c7f12142b8b321caccc32f773a', 'network_id': '32d9cc1e-0dab-4f00-bfc3-3c3debb8c0cb', 'mac_address': '02:e9:cc:24:ef:aa', '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': '15.114.138.5', 'subnet_id': '5147f0a9-fe0f-4c9c-9199-dfaf6e27c870'}], 'security_groups': ['97f8e43a-b603-4239-b578-85d5fb13debf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d9706c7f12142b8b321caccc32f773a'}}
2026-04-03 16:52:48,269 - DEBUG - Services list from nova: [, , , ]
2026-04-03 16:52:48,819 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5589-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5589-2)
2026-04-03 16:52:49,414 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5589-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5589-1)
2026-04-03 16:52:49,414 - INFO - Waiting for VM ctest-vn1-vm1-20204868 to be up..
2026-04-03 16:52:49,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-03 16:52:54,560 - DEBUG - VM is in ACTIVE state now
2026-04-03 16:52:54,561 - INFO - VM name : ctest-vn1-vm1-20204868
2026-04-03 16:52:54,658 - DEBUG - VM ctest-vn1-vm1-20204868 ID is 272befb1-a490-4b83-8ea6-312fda4afb01
2026-04-03 16:52:54,682 - DEBUG - VM ctest-vn1-vm1-20204868 launched on Node an-jenkins-deploy-platform-ansible-os-5589-2
2026-04-03 16:52:54,760 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/272befb1-a490-4b83-8ea6-312fda4afb01
2026-04-03 16:52:55,083 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/272befb1-a490-4b83-8ea6-312fda4afb01
2026-04-03 16:52:55,126 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e8f59d42-4d6a-42d6-86e0-d0fe54e8dfbb
2026-04-03 16:52:58,310 - 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 1016ms')
2026-04-03 16:52:58,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20204868 failed!
2026-04-03 16:52:58,324 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38244286:ctest-vn1-25305237 is 203.65.167.65 and allocation pool is NOT set
2026-04-03 16:52:58,324 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38244286:ctest-vn1-25305237 is 15.114.138.1 and allocation pool is NOT set
2026-04-03 16:53:00,393 - 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=4.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.605/3.448/4.291/0.843 ms')
2026-04-03 16:53:00,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20204868 passed
2026-04-03 16:53:00,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:00,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20204868, IP 203.65.167.69, Port 22
2026-04-03 16:53:00,619 - DEBUG - VM ctest-vn1-vm1-20204868 is ready for SSH connections
2026-04-03 16:53:00,620 - INFO - Waiting for VM ctest-vn1-vm2-62344203 to be up..
2026-04-03 16:53:00,709 - DEBUG - VM is in ACTIVE state now
2026-04-03 16:53:00,709 - INFO - VM name : ctest-vn1-vm2-62344203
2026-04-03 16:53:00,794 - DEBUG - VM ctest-vn1-vm2-62344203 ID is aa324049-00fa-49de-8da9-40a9ec5ea1f6
2026-04-03 16:53:00,794 - DEBUG - VM ctest-vn1-vm2-62344203 launched on Node an-jenkins-deploy-platform-ansible-os-5589-1
2026-04-03 16:53:00,871 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/aa324049-00fa-49de-8da9-40a9ec5ea1f6
2026-04-03 16:53:00,882 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e9cc24ef-aaa4-43a4-ac03-0c00624a24c4
2026-04-03 16:53:02,044 - 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=8.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.68 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 = 5.679/6.916/8.153/1.237 ms')
2026-04-03 16:53:02,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-62344203 passed
2026-04-03 16:53:02,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:02,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62344203, IP 15.114.138.5, Port 22
2026-04-03 16:53:02,180 - 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': ''}
2026-04-03 16:53:02,258 - DEBUG - VM ctest-vn1-vm2-62344203 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-03 16:53:07,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:07,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62344203, IP 15.114.138.5, Port 22
2026-04-03 16:53:07,436 - DEBUG - VM ctest-vn1-vm2-62344203 is ready for SSH connections
2026-04-03 16:53:07,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:07,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:07,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 16:53:07,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.65.167.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-03 16:53:07,437 - DEBUG - ping -s 56 -c 3 -W 1 203.65.167.69
2026-04-03 16:53:10,469 - DEBUG - PING 203.65.167.69 (203.65.167.69): 56 data bytes
64 bytes from 203.65.167.69: seq=0 ttl=63 time=6.630 ms
64 bytes from 203.65.167.69: seq=1 ttl=63 time=3.118 ms
64 bytes from 203.65.167.69: seq=2 ttl=63 time=1.590 ms
--- 203.65.167.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.590/3.779/6.630 ms
2026-04-03 16:53:10,469 - INFO - Ping to IP 203.65.167.69 from VM ctest-vn1-vm2-62344203 passed
2026-04-03 16:53:10,469 - INFO - Detaching port e9cc24ef-aaa4-43a4-ac03-0c00624a24c4 from VM ctest-vn1-vm2-62344203
2026-04-03 16:53:10,524 - INFO - Deleting VM ctest-vn1-vm2-62344203
2026-04-03 16:53:10,589 - INFO - Detaching port e8f59d42-4d6a-42d6-86e0-d0fe54e8dfbb from VM ctest-vn1-vm1-20204868
2026-04-03 16:53:10,620 - INFO - Deleting VM ctest-vn1-vm1-20204868
2026-04-03 16:53:10,959 - DEBUG - Response for delete_port : ()
2026-04-03 16:53:11,274 - DEBUG - Response for delete_port : ()
2026-04-03 16:53:11,274 - INFO - Deleting VN ctest-vn1-25305237
2026-04-03 16:53:11,445 - DEBUG - Response for deleting network ()
2026-04-03 16:53:12,762 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 16:53:12,763 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-04-03 16:53:12,763 - INFO - --------------------------------------------------------------------------------
2026-04-03 16:53:13,515 - INFO - Deleted project: ctest-TestPorts-38244286, ID : 3d9706c7-f121-42b8-b321-caccc32f773a