2025-10-09 20:24:34,272 - INFO - Domain Default found not creating
2025-10-09 20:24:34,610 - INFO - Project ctest-TestPorts-22377126 not found, creating it
2025-10-09 20:24:35,318 - INFO - Created Project:ctest-TestPorts-22377126, ID : 85d8e55e-2bd9-44e5-8add-678df6d9d744
2025-10-09 20:24:38,108 - INFO - ================================================================================
2025-10-09 20:24:38,108 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 20:24:38,108 - 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-09 20:24:38,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-10-09 20:24:38,439 - INFO - Initial checks done. Running the testcase now
2025-10-09 20:24:38,439 - INFO -
2025-10-09 20:24:39,224 - DEBUG - Response for create_network : {'network': {'id': 'e7311c3d-cf19-4aa4-b1f4-978f4db0699d', 'name': 'ctest-vn-54327329', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'project_id': '85d8e55e2bd944e58add678df6d9d744', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22377126', 'ctest-vn-54327329'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 20:24:39,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f44b90-101f-4e4f-8e23-b7abd3a7f6e4', 'name': '', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': 'e7311c3d-cf19-4aa4-b1f4-978f4db0699d', 'ip_version': 4, 'cidr': '18.239.174.128/26', 'allocation_pools': [{'start': '18.239.174.130', 'end': '18.239.174.190'}], 'gateway_ip': '18.239.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.239.174.130', 'tags': [], 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:39,496 - INFO - Created VN ctest-vn-54327329
2025-10-09 20:24:39,560 - DEBUG - VN ctest-vn-54327329 UUID is e7311c3d-cf19-4aa4-b1f4-978f4db0699d
2025-10-09 20:24:39,727 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22377126', 'ctest-vmi-32919894']}
2025-10-09 20:24:40,091 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32919894', 'id': '5fed9516-d4e5-422e-b7a1-7ee089e66277', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': 'e7311c3d-cf19-4aa4-b1f4-978f4db0699d', 'mac_address': '02:5f:ed:95:16:d4', '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': '18.239.174.131', 'subnet_id': '57f44b90-101f-4e4f-8e23-b7abd3a7f6e4'}], 'security_groups': ['23c42974-6e02-4e68-8f68-90fbc1ad7a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:40,091 - DEBUG - Created port 5fed9516-d4e5-422e-b7a1-7ee089e66277
2025-10-09 20:24:40,216 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5fed9516-d4e5-422e-b7a1-7ee089e66277
2025-10-09 20:24:40,576 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5fed9516-d4e5-422e-b7a1-7ee089e66277
2025-10-09 20:24:40,624 - INFO - VMI 5fed9516-d4e5-422e-b7a1-7ee089e66277 verification in API Server passed
2025-10-09 20:24:40,818 - DEBUG - Response for delete_port : ()
2025-10-09 20:24:40,818 - INFO - Deleted port 5fed9516-d4e5-422e-b7a1-7ee089e66277
2025-10-09 20:24:40,818 - INFO - Deleting VN ctest-vn-54327329
2025-10-09 20:24:40,950 - DEBUG - Response for deleting network ()
2025-10-09 20:24:41,241 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:24:41,241 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 20:24:41,241 - INFO - --------------------------------------------------------------------------------
2025-10-09 20:24:41,245 - INFO - ================================================================================
2025-10-09 20:24:41,245 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 20:24:41,245 - 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-09 20:24:41,580 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-10-09 20:24:41,580 - INFO - Initial checks done. Running the testcase now
2025-10-09 20:24:41,580 - INFO -
2025-10-09 20:24:41,898 - DEBUG - Response for create_network : {'network': {'id': '4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a', 'name': 'ctest-vn1-24745761', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'project_id': '85d8e55e2bd944e58add678df6d9d744', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22377126', 'ctest-vn1-24745761'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 20:24:42,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e3337ff-ba01-4307-9ac8-3d2ed377c955', 'name': '', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': '4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a', 'ip_version': 4, 'cidr': '199.153.221.192/26', 'allocation_pools': [{'start': '199.153.221.194', 'end': '199.153.221.254'}], 'gateway_ip': '199.153.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.153.221.194', 'tags': [], 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:42,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '612cf5bc-26c7-4533-b243-7ce9e5003ca5', 'name': '', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': '4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a', 'ip_version': 4, 'cidr': '137.198.229.192/26', 'allocation_pools': [{'start': '137.198.229.194', 'end': '137.198.229.254'}], 'gateway_ip': '137.198.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.198.229.194', 'tags': [], 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:42,472 - INFO - Created VN ctest-vn1-24745761
2025-10-09 20:24:42,532 - DEBUG - VN ctest-vn1-24745761 UUID is 4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a
2025-10-09 20:24:42,969 - DEBUG - Response for create_port : {'port': {'name': '948bea54-a1dd-4eea-a0d1-0ba1c2d1226a', 'id': '948bea54-a1dd-4eea-a0d1-0ba1c2d1226a', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': '4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a', 'mac_address': '02:94:8b:ea:54:a1', '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': '199.153.221.197', 'subnet_id': '3e3337ff-ba01-4307-9ac8-3d2ed377c955'}], 'security_groups': ['23c42974-6e02-4e68-8f68-90fbc1ad7a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:43,203 - DEBUG - Response for create_port : {'port': {'name': '670f3bc0-57c0-4d41-9c29-ace5a957e5dd', 'id': '670f3bc0-57c0-4d41-9c29-ace5a957e5dd', 'tenant_id': '85d8e55e2bd944e58add678df6d9d744', 'network_id': '4b3daf68-f0d4-4071-9cdb-2fd37d6abb8a', 'mac_address': '02:67:0f:3b:c0:57', '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': '137.198.229.197', 'subnet_id': '612cf5bc-26c7-4533-b243-7ce9e5003ca5'}], 'security_groups': ['23c42974-6e02-4e68-8f68-90fbc1ad7a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85d8e55e2bd944e58add678df6d9d744'}}
2025-10-09 20:24:43,273 - DEBUG - Services list from nova: [, , ]
2025-10-09 20:24:43,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1)
2025-10-09 20:24:44,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1)
2025-10-09 20:24:44,698 - INFO - Waiting for VM ctest-vn1-vm1-63895649 to be up..
2025-10-09 20:24:44,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 20:24:49,940 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:24:49,940 - INFO - VM name : ctest-vn1-vm1-63895649
2025-10-09 20:24:50,089 - DEBUG - VM ctest-vn1-vm1-63895649 ID is 0aaaebda-7d9a-492c-926f-81b815aa87bb
2025-10-09 20:24:50,140 - DEBUG - VM ctest-vn1-vm1-63895649 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1
2025-10-09 20:24:50,301 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0aaaebda-7d9a-492c-926f-81b815aa87bb
2025-10-09 20:24:50,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/948bea54-a1dd-4eea-a0d1-0ba1c2d1226a
2025-10-09 20:24:53,655 - 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 1007ms')
2025-10-09 20:24:53,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63895649 failed!
2025-10-09 20:24:53,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22377126:ctest-vn1-24745761 is 199.153.221.193 and allocation pool is NOT set
2025-10-09 20:24:53,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22377126:ctest-vn1-24745761 is 137.198.229.193 and allocation pool is NOT set
2025-10-09 20:24:57,814 - 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=7.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 7.226/7.226/7.226/0.000 ms')
2025-10-09 20:24:57,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63895649 passed
2025-10-09 20:24:57,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:24:57,992 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63895649, IP 199.153.221.197, Port 22
2025-10-09 20:24:58,064 - 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-10-09 20:24:58,208 - DEBUG - VM ctest-vn1-vm1-63895649 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 20:25:03,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:25:03,209 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63895649, IP 199.153.221.197, Port 22
2025-10-09 20:25:03,418 - DEBUG - VM ctest-vn1-vm1-63895649 is ready for SSH connections
2025-10-09 20:25:03,418 - INFO - Waiting for VM ctest-vn1-vm2-14727051 to be up..
2025-10-09 20:25:03,616 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:25:03,617 - INFO - VM name : ctest-vn1-vm2-14727051
2025-10-09 20:25:03,794 - DEBUG - VM ctest-vn1-vm2-14727051 ID is 9b42dde6-3176-4479-ae7f-2dd1dea4466e
2025-10-09 20:25:03,794 - DEBUG - VM ctest-vn1-vm2-14727051 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1
2025-10-09 20:25:03,977 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9b42dde6-3176-4479-ae7f-2dd1dea4466e
2025-10-09 20:25:03,996 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/670f3bc0-57c0-4d41-9c29-ace5a957e5dd
2025-10-09 20:25:05,311 - 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=4.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 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.891/2.752/4.614/1.861 ms')
2025-10-09 20:25:05,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14727051 passed
2025-10-09 20:25:05,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:25:05,497 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14727051, IP 137.198.229.197, Port 22
2025-10-09 20:25:05,699 - DEBUG - VM ctest-vn1-vm2-14727051 is ready for SSH connections
2025-10-09 20:25:05,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:25:05,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:25:05,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:25:05,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.153.221.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-09 20:25:05,700 - DEBUG - ping -s 56 -c 3 -W 1 199.153.221.197
2025-10-09 20:25:08,683 - DEBUG - PING 199.153.221.197 (199.153.221.197): 56 data bytes
64 bytes from 199.153.221.197: seq=0 ttl=63 time=10.782 ms
64 bytes from 199.153.221.197: seq=1 ttl=63 time=0.980 ms
64 bytes from 199.153.221.197: seq=2 ttl=63 time=1.732 ms
--- 199.153.221.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.980/4.498/10.782 ms
2025-10-09 20:25:08,683 - INFO - Ping to IP 199.153.221.197 from VM ctest-vn1-vm2-14727051 passed
2025-10-09 20:25:08,683 - INFO - Detaching port 670f3bc0-57c0-4d41-9c29-ace5a957e5dd from VM ctest-vn1-vm2-14727051
2025-10-09 20:25:08,803 - INFO - Deleting VM ctest-vn1-vm2-14727051
2025-10-09 20:25:08,902 - INFO - Detaching port 948bea54-a1dd-4eea-a0d1-0ba1c2d1226a from VM ctest-vn1-vm1-63895649
2025-10-09 20:25:08,953 - INFO - Deleting VM ctest-vn1-vm1-63895649
2025-10-09 20:25:09,260 - DEBUG - Response for delete_port : ()
2025-10-09 20:25:09,424 - DEBUG - Response for delete_port : ()
2025-10-09 20:25:09,424 - INFO - Deleting VN ctest-vn1-24745761
2025-10-09 20:25:09,587 - DEBUG - Response for deleting network ()
2025-10-09 20:25:09,872 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:25:09,872 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-10-09 20:25:09,873 - INFO - --------------------------------------------------------------------------------
2025-10-09 20:25:10,770 - INFO - Deleted project: ctest-TestPorts-22377126, ID : 85d8e55e-2bd9-44e5-8add-678df6d9d744