2025-09-15 10:48:19,084 - INFO - Domain Default found not creating
2025-09-15 10:48:19,247 - INFO - Project ctest-TestPorts-03293806 not found, creating it
2025-09-15 10:48:19,713 - INFO - Created Project:ctest-TestPorts-03293806, ID : 472529ef-3cd4-4959-a400-90e7fadaa476
2025-09-15 10:48:21,347 - INFO - ================================================================================
2025-09-15 10:48:21,347 - INFO - STARTING TEST : test_ports_bindings
2025-09-15 10:48:21,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-09-15 10:48:21,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-09-15 10:48:21,604 - INFO - Initial checks done. Running the testcase now
2025-09-15 10:48:21,604 - INFO -
2025-09-15 10:48:22,223 - DEBUG - Response for create_network : {'network': {'id': 'fa5b5203-39ad-494b-a021-9982571ff642', 'name': 'ctest-vn-86848412', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'project_id': '472529ef3cd44959a40090e7fadaa476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03293806', 'ctest-vn-86848412'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 10:48:22,423 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1bfda3d-c11b-4b7c-b194-8f3044a8698a', 'name': '', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': 'fa5b5203-39ad-494b-a021-9982571ff642', 'ip_version': 4, 'cidr': '194.213.43.128/26', 'allocation_pools': [{'start': '194.213.43.130', 'end': '194.213.43.190'}], 'gateway_ip': '194.213.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.213.43.130', 'tags': [], 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:22,443 - INFO - Created VN ctest-vn-86848412
2025-09-15 10:48:22,498 - DEBUG - VN ctest-vn-86848412 UUID is fa5b5203-39ad-494b-a021-9982571ff642
2025-09-15 10:48:22,613 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03293806', 'ctest-vmi-59464302']}
2025-09-15 10:48:22,878 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59464302', 'id': '276081d6-3dc4-40f1-83ab-2b3213ed9edb', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': 'fa5b5203-39ad-494b-a021-9982571ff642', 'mac_address': '02:27:60:81:d6:3d', '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': '194.213.43.131', 'subnet_id': 'f1bfda3d-c11b-4b7c-b194-8f3044a8698a'}], 'security_groups': ['972fad4d-f387-4912-80c6-e57c24781da0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:22,879 - DEBUG - Created port 276081d6-3dc4-40f1-83ab-2b3213ed9edb
2025-09-15 10:48:22,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/276081d6-3dc4-40f1-83ab-2b3213ed9edb
2025-09-15 10:48:23,331 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/276081d6-3dc4-40f1-83ab-2b3213ed9edb
2025-09-15 10:48:23,367 - INFO - VMI 276081d6-3dc4-40f1-83ab-2b3213ed9edb verification in API Server passed
2025-09-15 10:48:23,477 - DEBUG - Response for delete_port : ()
2025-09-15 10:48:23,477 - INFO - Deleted port 276081d6-3dc4-40f1-83ab-2b3213ed9edb
2025-09-15 10:48:23,477 - INFO - Deleting VN ctest-vn-86848412
2025-09-15 10:48:23,591 - DEBUG - Response for deleting network ()
2025-09-15 10:48:23,847 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 10:48:23,847 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-15 10:48:23,848 - INFO - --------------------------------------------------------------------------------
2025-09-15 10:48:23,850 - INFO - ================================================================================
2025-09-15 10:48:23,850 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-15 10:48:23,850 - 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-09-15 10:48:24,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-09-15 10:48:24,135 - INFO - Initial checks done. Running the testcase now
2025-09-15 10:48:24,135 - INFO -
2025-09-15 10:48:24,318 - DEBUG - Response for create_network : {'network': {'id': '3c16baa8-18e1-41b3-b0c0-dfea3149362b', 'name': 'ctest-vn1-69108920', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'project_id': '472529ef3cd44959a40090e7fadaa476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03293806', 'ctest-vn1-69108920'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 10:48:24,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '748b195a-7e64-4624-a85a-e177db111444', 'name': '', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': '3c16baa8-18e1-41b3-b0c0-dfea3149362b', 'ip_version': 4, 'cidr': '93.148.212.192/26', 'allocation_pools': [{'start': '93.148.212.194', 'end': '93.148.212.254'}], 'gateway_ip': '93.148.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.148.212.194', 'tags': [], 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:24,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '38ca3afc-8eab-47b7-8c75-40af31818a3a', 'name': '', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': '3c16baa8-18e1-41b3-b0c0-dfea3149362b', 'ip_version': 4, 'cidr': '131.47.112.64/26', 'allocation_pools': [{'start': '131.47.112.66', 'end': '131.47.112.126'}], 'gateway_ip': '131.47.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.47.112.66', 'tags': [], 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:24,748 - INFO - Created VN ctest-vn1-69108920
2025-09-15 10:48:24,802 - DEBUG - VN ctest-vn1-69108920 UUID is 3c16baa8-18e1-41b3-b0c0-dfea3149362b
2025-09-15 10:48:25,124 - DEBUG - Response for create_port : {'port': {'name': '24059689-2d97-47ed-8642-f183ba30213b', 'id': '24059689-2d97-47ed-8642-f183ba30213b', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': '3c16baa8-18e1-41b3-b0c0-dfea3149362b', 'mac_address': '02:24:05:96:89:2d', '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': '93.148.212.197', 'subnet_id': '748b195a-7e64-4624-a85a-e177db111444'}], 'security_groups': ['972fad4d-f387-4912-80c6-e57c24781da0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:25,317 - DEBUG - Response for create_port : {'port': {'name': 'bcf44a50-315a-40cf-afc4-88e312eed9a0', 'id': 'bcf44a50-315a-40cf-afc4-88e312eed9a0', 'tenant_id': '472529ef3cd44959a40090e7fadaa476', 'network_id': '3c16baa8-18e1-41b3-b0c0-dfea3149362b', 'mac_address': '02:bc:f4:4a:50:31', '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': '131.47.112.69', 'subnet_id': '38ca3afc-8eab-47b7-8c75-40af31818a3a'}], 'security_groups': ['972fad4d-f387-4912-80c6-e57c24781da0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '472529ef3cd44959a40090e7fadaa476'}}
2025-09-15 10:48:25,385 - DEBUG - Services list from nova: [, , ]
2025-09-15 10:48:25,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1)
2025-09-15 10:48:26,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1)
2025-09-15 10:48:26,193 - INFO - Waiting for VM ctest-vn1-vm1-55127958 to be up..
2025-09-15 10:48:26,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 10:48:31,334 - DEBUG - VM is in ACTIVE state now
2025-09-15 10:48:31,335 - INFO - VM name : ctest-vn1-vm1-55127958
2025-09-15 10:48:31,427 - DEBUG - VM ctest-vn1-vm1-55127958 ID is d9efd3df-01a4-4eda-9826-b52a992b845a
2025-09-15 10:48:31,450 - DEBUG - VM ctest-vn1-vm1-55127958 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1
2025-09-15 10:48:31,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9efd3df-01a4-4eda-9826-b52a992b845a
2025-09-15 10:48:31,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24059689-2d97-47ed-8642-f183ba30213b
2025-09-15 10:48:34,787 - 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 1006ms')
2025-09-15 10:48:34,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55127958 failed!
2025-09-15 10:48:34,846 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03293806:ctest-vn1-69108920 is 93.148.212.193 and allocation pool is NOT set
2025-09-15 10:48:34,846 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03293806:ctest-vn1-69108920 is 131.47.112.65 and allocation pool is NOT set
2025-09-15 10:48:38,914 - 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=14.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 14.136/14.136/14.136/0.000 ms')
2025-09-15 10:48:38,915 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55127958 passed
2025-09-15 10:48:39,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:39,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55127958, IP 93.148.212.197, Port 22
2025-09-15 10:48:39,141 - 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-09-15 10:48:39,230 - DEBUG - VM ctest-vn1-vm1-55127958 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 10:48:44,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:44,231 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55127958, IP 93.148.212.197, Port 22
2025-09-15 10:48:44,390 - DEBUG - VM ctest-vn1-vm1-55127958 is ready for SSH connections
2025-09-15 10:48:44,390 - INFO - Waiting for VM ctest-vn1-vm2-92416752 to be up..
2025-09-15 10:48:44,468 - DEBUG - VM is in ACTIVE state now
2025-09-15 10:48:44,469 - INFO - VM name : ctest-vn1-vm2-92416752
2025-09-15 10:48:44,546 - DEBUG - VM ctest-vn1-vm2-92416752 ID is eab0225a-59ac-48d1-b4d9-79927cabcd36
2025-09-15 10:48:44,546 - DEBUG - VM ctest-vn1-vm2-92416752 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1
2025-09-15 10:48:44,627 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/eab0225a-59ac-48d1-b4d9-79927cabcd36
2025-09-15 10:48:44,638 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bcf44a50-315a-40cf-afc4-88e312eed9a0
2025-09-15 10:48:45,886 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.938/3.465/1.526 ms')
2025-09-15 10:48:45,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92416752 passed
2025-09-15 10:48:46,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:46,038 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92416752, IP 131.47.112.69, Port 22
2025-09-15 10:48:46,207 - DEBUG - VM ctest-vn1-vm2-92416752 is ready for SSH connections
2025-09-15 10:48:46,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:46,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:46,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 10:48:46,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.148.212.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-15 10:48:46,208 - DEBUG - ping -s 56 -c 3 -W 1 93.148.212.197
2025-09-15 10:48:48,960 - DEBUG - PING 93.148.212.197 (93.148.212.197): 56 data bytes
64 bytes from 93.148.212.197: seq=0 ttl=63 time=4.029 ms
64 bytes from 93.148.212.197: seq=1 ttl=63 time=1.040 ms
64 bytes from 93.148.212.197: seq=2 ttl=63 time=1.132 ms
--- 93.148.212.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.040/2.067/4.029 ms
2025-09-15 10:48:48,960 - INFO - Ping to IP 93.148.212.197 from VM ctest-vn1-vm2-92416752 passed
2025-09-15 10:48:48,960 - INFO - Detaching port bcf44a50-315a-40cf-afc4-88e312eed9a0 from VM ctest-vn1-vm2-92416752
2025-09-15 10:48:49,017 - INFO - Deleting VM ctest-vn1-vm2-92416752
2025-09-15 10:48:49,113 - INFO - Detaching port 24059689-2d97-47ed-8642-f183ba30213b from VM ctest-vn1-vm1-55127958
2025-09-15 10:48:49,155 - INFO - Deleting VM ctest-vn1-vm1-55127958
2025-09-15 10:48:49,529 - DEBUG - Response for delete_port : ()
2025-09-15 10:48:49,736 - DEBUG - Response for delete_port : ()
2025-09-15 10:48:49,736 - INFO - Deleting VN ctest-vn1-69108920
2025-09-15 10:48:49,915 - DEBUG - Response for deleting network ()
2025-09-15 10:48:50,176 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 10:48:50,176 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-09-15 10:48:50,176 - INFO - --------------------------------------------------------------------------------
2025-09-15 10:48:50,912 - INFO - Deleted project: ctest-TestPorts-03293806, ID : 472529ef-3cd4-4959-a400-90e7fadaa476