2025-09-16 20:05:21,825 - INFO - Domain Default found not creating
2025-09-16 20:05:21,974 - INFO - Project ctest-TestPorts-48024053 not found, creating it
2025-09-16 20:05:22,411 - INFO - Created Project:ctest-TestPorts-48024053, ID : e070e6bb-a668-454d-9073-c860f2afe14a
2025-09-16 20:05:23,814 - INFO - ================================================================================
2025-09-16 20:05:23,815 - INFO - STARTING TEST : test_ports_bindings
2025-09-16 20:05:23,815 - 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-16 20:05:24,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-09-16 20:05:24,070 - INFO - Initial checks done. Running the testcase now
2025-09-16 20:05:24,070 - INFO -
2025-09-16 20:05:24,627 - DEBUG - Response for create_network : {'network': {'id': '3e15dfab-55a8-46a6-80a9-51864615e730', 'name': 'ctest-vn-15791927', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'project_id': 'e070e6bba668454d9073c860f2afe14a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48024053', 'ctest-vn-15791927'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:05:24,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e9c1e49-1559-44d3-990f-d0d437a4f5ec', 'name': '', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': '3e15dfab-55a8-46a6-80a9-51864615e730', 'ip_version': 4, 'cidr': '169.215.180.64/26', 'allocation_pools': [{'start': '169.215.180.66', 'end': '169.215.180.126'}], 'gateway_ip': '169.215.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.215.180.66', 'tags': [], 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:24,814 - INFO - Created VN ctest-vn-15791927
2025-09-16 20:05:24,865 - DEBUG - VN ctest-vn-15791927 UUID is 3e15dfab-55a8-46a6-80a9-51864615e730
2025-09-16 20:05:24,963 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48024053', 'ctest-vmi-26521074']}
2025-09-16 20:05:25,233 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26521074', 'id': '3f91e572-1934-4c66-bc00-2282e70503d1', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': '3e15dfab-55a8-46a6-80a9-51864615e730', 'mac_address': '02:3f:91:e5:72:19', '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': '169.215.180.67', 'subnet_id': '3e9c1e49-1559-44d3-990f-d0d437a4f5ec'}], 'security_groups': ['c5840115-5a18-4c54-be75-1411cb10697d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:25,234 - DEBUG - Created port 3f91e572-1934-4c66-bc00-2282e70503d1
2025-09-16 20:05:25,341 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3f91e572-1934-4c66-bc00-2282e70503d1
2025-09-16 20:05:25,633 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3f91e572-1934-4c66-bc00-2282e70503d1
2025-09-16 20:05:25,661 - INFO - VMI 3f91e572-1934-4c66-bc00-2282e70503d1 verification in API Server passed
2025-09-16 20:05:25,751 - DEBUG - Response for delete_port : ()
2025-09-16 20:05:25,751 - INFO - Deleted port 3f91e572-1934-4c66-bc00-2282e70503d1
2025-09-16 20:05:25,751 - INFO - Deleting VN ctest-vn-15791927
2025-09-16 20:05:25,858 - DEBUG - Response for deleting network ()
2025-09-16 20:05:26,109 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 20:05:26,109 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-16 20:05:26,109 - INFO - --------------------------------------------------------------------------------
2025-09-16 20:05:26,112 - INFO - ================================================================================
2025-09-16 20:05:26,112 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-16 20:05:26,112 - 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-16 20:05:26,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-09-16 20:05:26,398 - INFO - Initial checks done. Running the testcase now
2025-09-16 20:05:26,398 - INFO -
2025-09-16 20:05:26,564 - DEBUG - Response for create_network : {'network': {'id': 'dbec0419-b6a1-4caf-b36c-687659f4f29c', 'name': 'ctest-vn1-87545457', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'project_id': 'e070e6bba668454d9073c860f2afe14a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48024053', 'ctest-vn1-87545457'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:05:26,753 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3952b81-2d98-4d85-b659-46a3f240738c', 'name': '', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': 'dbec0419-b6a1-4caf-b36c-687659f4f29c', 'ip_version': 4, 'cidr': '213.203.68.64/26', 'allocation_pools': [{'start': '213.203.68.66', 'end': '213.203.68.126'}], 'gateway_ip': '213.203.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.203.68.66', 'tags': [], 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:27,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '9211e137-3f17-421c-9520-01c4579aa4df', 'name': '', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': 'dbec0419-b6a1-4caf-b36c-687659f4f29c', 'ip_version': 4, 'cidr': '9.227.12.64/26', 'allocation_pools': [{'start': '9.227.12.66', 'end': '9.227.12.126'}], 'gateway_ip': '9.227.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.227.12.66', 'tags': [], 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:27,137 - INFO - Created VN ctest-vn1-87545457
2025-09-16 20:05:27,205 - DEBUG - VN ctest-vn1-87545457 UUID is dbec0419-b6a1-4caf-b36c-687659f4f29c
2025-09-16 20:05:27,612 - DEBUG - Response for create_port : {'port': {'name': 'd76d9fc6-9821-4f4d-aa7b-fc596578a153', 'id': 'd76d9fc6-9821-4f4d-aa7b-fc596578a153', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': 'dbec0419-b6a1-4caf-b36c-687659f4f29c', 'mac_address': '02:d7:6d:9f:c6:98', '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': '213.203.68.69', 'subnet_id': 'c3952b81-2d98-4d85-b659-46a3f240738c'}], 'security_groups': ['c5840115-5a18-4c54-be75-1411cb10697d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:27,784 - DEBUG - Response for create_port : {'port': {'name': '7b897760-e0d7-4fde-8747-2d0ea6e3ceaa', 'id': '7b897760-e0d7-4fde-8747-2d0ea6e3ceaa', 'tenant_id': 'e070e6bba668454d9073c860f2afe14a', 'network_id': 'dbec0419-b6a1-4caf-b36c-687659f4f29c', 'mac_address': '02:7b:89:77:60:e0', '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': '9.227.12.69', 'subnet_id': '9211e137-3f17-421c-9520-01c4579aa4df'}], 'security_groups': ['c5840115-5a18-4c54-be75-1411cb10697d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e070e6bba668454d9073c860f2afe14a'}}
2025-09-16 20:05:27,844 - DEBUG - Services list from nova: [, , ]
2025-09-16 20:05:28,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1)
2025-09-16 20:05:28,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1)
2025-09-16 20:05:28,515 - INFO - Waiting for VM ctest-vn1-vm1-56733422 to be up..
2025-09-16 20:05:28,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-16 20:05:33,620 - DEBUG - VM is in ACTIVE state now
2025-09-16 20:05:33,620 - INFO - VM name : ctest-vn1-vm1-56733422
2025-09-16 20:05:33,689 - DEBUG - VM ctest-vn1-vm1-56733422 ID is 6dbe5776-f26f-46c7-809f-5d7cc518093a
2025-09-16 20:05:33,707 - DEBUG - VM ctest-vn1-vm1-56733422 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1
2025-09-16 20:05:33,772 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6dbe5776-f26f-46c7-809f-5d7cc518093a
2025-09-16 20:05:33,780 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d76d9fc6-9821-4f4d-aa7b-fc596578a153
2025-09-16 20:05:37,026 - 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 1011ms')
2025-09-16 20:05:37,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56733422 failed!
2025-09-16 20:05:37,077 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48024053:ctest-vn1-87545457 is 213.203.68.65 and allocation pool is NOT set
2025-09-16 20:05:37,077 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48024053:ctest-vn1-87545457 is 9.227.12.65 and allocation pool is NOT set
2025-09-16 20:05:39,143 - 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=6.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.246/3.767/6.289/2.521 ms')
2025-09-16 20:05:39,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56733422 passed
2025-09-16 20:05:39,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:39,289 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56733422, IP 213.203.68.69, Port 22
2025-09-16 20:05:39,354 - 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-16 20:05:39,444 - DEBUG - VM ctest-vn1-vm1-56733422 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-16 20:05:44,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:44,445 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56733422, IP 213.203.68.69, Port 22
2025-09-16 20:05:44,601 - DEBUG - VM ctest-vn1-vm1-56733422 is ready for SSH connections
2025-09-16 20:05:44,601 - INFO - Waiting for VM ctest-vn1-vm2-52298467 to be up..
2025-09-16 20:05:44,669 - DEBUG - VM is in ACTIVE state now
2025-09-16 20:05:44,669 - INFO - VM name : ctest-vn1-vm2-52298467
2025-09-16 20:05:44,734 - DEBUG - VM ctest-vn1-vm2-52298467 ID is 5877a979-b7cf-4e0d-9242-5ed867167ea5
2025-09-16 20:05:44,734 - DEBUG - VM ctest-vn1-vm2-52298467 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1
2025-09-16 20:05:44,803 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5877a979-b7cf-4e0d-9242-5ed867167ea5
2025-09-16 20:05:44,809 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7b897760-e0d7-4fde-8747-2d0ea6e3ceaa
2025-09-16 20:05:46,044 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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 = 0.363/1.645/2.928/1.282 ms')
2025-09-16 20:05:46,044 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52298467 passed
2025-09-16 20:05:46,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:46,201 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52298467, IP 9.227.12.69, Port 22
2025-09-16 20:05:46,367 - DEBUG - VM ctest-vn1-vm2-52298467 is ready for SSH connections
2025-09-16 20:05:46,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:46,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:46,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:05:46,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.203.68.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-16 20:05:46,368 - DEBUG - ping -s 56 -c 3 -W 1 213.203.68.69
2025-09-16 20:05:49,297 - DEBUG - PING 213.203.68.69 (213.203.68.69): 56 data bytes
64 bytes from 213.203.68.69: seq=0 ttl=63 time=3.677 ms
64 bytes from 213.203.68.69: seq=1 ttl=63 time=0.982 ms
64 bytes from 213.203.68.69: seq=2 ttl=63 time=0.878 ms
--- 213.203.68.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.878/1.845/3.677 ms
2025-09-16 20:05:49,297 - INFO - Ping to IP 213.203.68.69 from VM ctest-vn1-vm2-52298467 passed
2025-09-16 20:05:49,298 - INFO - Detaching port 7b897760-e0d7-4fde-8747-2d0ea6e3ceaa from VM ctest-vn1-vm2-52298467
2025-09-16 20:05:49,344 - INFO - Deleting VM ctest-vn1-vm2-52298467
2025-09-16 20:05:49,422 - INFO - Detaching port d76d9fc6-9821-4f4d-aa7b-fc596578a153 from VM ctest-vn1-vm1-56733422
2025-09-16 20:05:49,456 - INFO - Deleting VM ctest-vn1-vm1-56733422
2025-09-16 20:05:49,661 - DEBUG - Response for delete_port : ()
2025-09-16 20:05:49,806 - DEBUG - Response for delete_port : ()
2025-09-16 20:05:49,806 - INFO - Deleting VN ctest-vn1-87545457
2025-09-16 20:05:49,936 - DEBUG - Response for deleting network ()
2025-09-16 20:05:50,193 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 20:05:50,193 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-16 20:05:50,194 - INFO - --------------------------------------------------------------------------------
2025-09-16 20:05:50,853 - INFO - Deleted project: ctest-TestPorts-48024053, ID : e070e6bb-a668-454d-9073-c860f2afe14a