2025-09-23 12:47:45,492 - INFO - Domain Default found not creating
2025-09-23 12:47:45,606 - INFO - Project ctest-TestPorts-75759575 not found, creating it
2025-09-23 12:47:46,020 - INFO - Created Project:ctest-TestPorts-75759575, ID : 6d152370-a014-4cc7-890e-1ee156967941
2025-09-23 12:47:47,332 - INFO - ================================================================================
2025-09-23 12:47:47,333 - INFO - STARTING TEST : test_ports_bindings
2025-09-23 12:47:47,333 - 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-23 12:47:47,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-09-23 12:47:47,586 - INFO - Initial checks done. Running the testcase now
2025-09-23 12:47:47,586 - INFO -
2025-09-23 12:47:48,083 - DEBUG - Response for create_network : {'network': {'id': '0c7bcde3-5718-4859-b38b-6cb8f4b30368', 'name': 'ctest-vn-81596772', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'project_id': '6d152370a0144cc7890e1ee156967941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75759575', 'ctest-vn-81596772'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:47:48,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '97d225f4-ecbc-454e-9f4a-cf706b2655ff', 'name': '', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': '0c7bcde3-5718-4859-b38b-6cb8f4b30368', 'ip_version': 4, 'cidr': '218.169.79.192/26', 'allocation_pools': [{'start': '218.169.79.194', 'end': '218.169.79.254'}], 'gateway_ip': '218.169.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.169.79.194', 'tags': [], 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:48,278 - INFO - Created VN ctest-vn-81596772
2025-09-23 12:47:48,333 - DEBUG - VN ctest-vn-81596772 UUID is 0c7bcde3-5718-4859-b38b-6cb8f4b30368
2025-09-23 12:47:48,430 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75759575', 'ctest-vmi-91863257']}
2025-09-23 12:47:48,690 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91863257', 'id': 'f6e9f097-bddb-4f07-81dc-40be92be7619', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': '0c7bcde3-5718-4859-b38b-6cb8f4b30368', 'mac_address': '02:f6:e9:f0:97:bd', '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': '218.169.79.195', 'subnet_id': '97d225f4-ecbc-454e-9f4a-cf706b2655ff'}], 'security_groups': ['be4b4d90-cd23-4ae6-accc-0404a380fd90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:48,690 - DEBUG - Created port f6e9f097-bddb-4f07-81dc-40be92be7619
2025-09-23 12:47:48,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f6e9f097-bddb-4f07-81dc-40be92be7619
2025-09-23 12:47:49,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f6e9f097-bddb-4f07-81dc-40be92be7619
2025-09-23 12:47:49,112 - INFO - VMI f6e9f097-bddb-4f07-81dc-40be92be7619 verification in API Server passed
2025-09-23 12:47:49,179 - DEBUG - Response for delete_port : ()
2025-09-23 12:47:49,180 - INFO - Deleted port f6e9f097-bddb-4f07-81dc-40be92be7619
2025-09-23 12:47:49,180 - INFO - Deleting VN ctest-vn-81596772
2025-09-23 12:47:49,276 - DEBUG - Response for deleting network ()
2025-09-23 12:47:49,530 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:47:49,530 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-23 12:47:49,530 - INFO - --------------------------------------------------------------------------------
2025-09-23 12:47:49,532 - INFO - ================================================================================
2025-09-23 12:47:49,532 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-23 12:47:49,532 - 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-23 12:47:49,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-09-23 12:47:49,821 - INFO - Initial checks done. Running the testcase now
2025-09-23 12:47:49,821 - INFO -
2025-09-23 12:47:49,976 - DEBUG - Response for create_network : {'network': {'id': 'e46ce9dd-fac6-42ca-b1b1-0135e05aa81c', 'name': 'ctest-vn1-48959013', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'project_id': '6d152370a0144cc7890e1ee156967941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75759575', 'ctest-vn1-48959013'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:47:50,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c07c49a-5151-41bc-845c-5cbb4fb45e5f', 'name': '', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': 'e46ce9dd-fac6-42ca-b1b1-0135e05aa81c', 'ip_version': 4, 'cidr': '66.189.156.192/26', 'allocation_pools': [{'start': '66.189.156.194', 'end': '66.189.156.254'}], 'gateway_ip': '66.189.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.189.156.194', 'tags': [], 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:50,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '14ba585e-ce37-421d-8871-0d1763ffba37', 'name': '', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': 'e46ce9dd-fac6-42ca-b1b1-0135e05aa81c', 'ip_version': 4, 'cidr': '126.122.78.0/26', 'allocation_pools': [{'start': '126.122.78.2', 'end': '126.122.78.62'}], 'gateway_ip': '126.122.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.122.78.2', 'tags': [], 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:50,307 - INFO - Created VN ctest-vn1-48959013
2025-09-23 12:47:50,357 - DEBUG - VN ctest-vn1-48959013 UUID is e46ce9dd-fac6-42ca-b1b1-0135e05aa81c
2025-09-23 12:47:50,632 - DEBUG - Response for create_port : {'port': {'name': '1e3edea3-cd70-4614-bb99-72f005edd1af', 'id': '1e3edea3-cd70-4614-bb99-72f005edd1af', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': 'e46ce9dd-fac6-42ca-b1b1-0135e05aa81c', 'mac_address': '02:1e:3e:de:a3:cd', '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': '66.189.156.197', 'subnet_id': '1c07c49a-5151-41bc-845c-5cbb4fb45e5f'}], 'security_groups': ['be4b4d90-cd23-4ae6-accc-0404a380fd90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:50,778 - DEBUG - Response for create_port : {'port': {'name': '57659d18-d76c-42cf-bdad-4727cf860706', 'id': '57659d18-d76c-42cf-bdad-4727cf860706', 'tenant_id': '6d152370a0144cc7890e1ee156967941', 'network_id': 'e46ce9dd-fac6-42ca-b1b1-0135e05aa81c', 'mac_address': '02:57:65:9d:18:d7', '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': '126.122.78.5', 'subnet_id': '14ba585e-ce37-421d-8871-0d1763ffba37'}], 'security_groups': ['be4b4d90-cd23-4ae6-accc-0404a380fd90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d152370a0144cc7890e1ee156967941'}}
2025-09-23 12:47:50,824 - DEBUG - Services list from nova: [, , ]
2025-09-23 12:47:51,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1)
2025-09-23 12:47:51,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1)
2025-09-23 12:47:51,457 - INFO - Waiting for VM ctest-vn1-vm1-83721069 to be up..
2025-09-23 12:47:51,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 12:47:56,557 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:47:56,557 - INFO - VM name : ctest-vn1-vm1-83721069
2025-09-23 12:47:56,625 - DEBUG - VM ctest-vn1-vm1-83721069 ID is ddf18226-3e71-4473-a455-5f5cade11ea4
2025-09-23 12:47:56,642 - DEBUG - VM ctest-vn1-vm1-83721069 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1
2025-09-23 12:47:56,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ddf18226-3e71-4473-a455-5f5cade11ea4
2025-09-23 12:47:56,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e3edea3-cd70-4614-bb99-72f005edd1af
2025-09-23 12:47:59,972 - 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 1026ms')
2025-09-23 12:47:59,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83721069 failed!
2025-09-23 12:48:00,025 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75759575:ctest-vn1-48959013 is 66.189.156.193 and allocation pool is NOT set
2025-09-23 12:48:00,026 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75759575:ctest-vn1-48959013 is 126.122.78.1 and allocation pool is NOT set
2025-09-23 12:48:02,087 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.382/2.621/2.860/0.239 ms')
2025-09-23 12:48:02,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83721069 passed
2025-09-23 12:48:02,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:02,238 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83721069, IP 66.189.156.197, Port 22
2025-09-23 12:48:02,293 - 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-23 12:48:02,361 - DEBUG - VM ctest-vn1-vm1-83721069 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-23 12:48:07,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:07,362 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83721069, IP 66.189.156.197, Port 22
2025-09-23 12:48:07,517 - DEBUG - VM ctest-vn1-vm1-83721069 is ready for SSH connections
2025-09-23 12:48:07,517 - INFO - Waiting for VM ctest-vn1-vm2-47490325 to be up..
2025-09-23 12:48:07,579 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:48:07,580 - INFO - VM name : ctest-vn1-vm2-47490325
2025-09-23 12:48:07,638 - DEBUG - VM ctest-vn1-vm2-47490325 ID is 05d2fbcf-925d-4665-892a-18c51ff7e4b4
2025-09-23 12:48:07,638 - DEBUG - VM ctest-vn1-vm2-47490325 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1
2025-09-23 12:48:07,698 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/05d2fbcf-925d-4665-892a-18c51ff7e4b4
2025-09-23 12:48:07,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57659d18-d76c-42cf-bdad-4727cf860706
2025-09-23 12:48:08,938 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.326 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.326/1.394/2.463/1.068 ms')
2025-09-23 12:48:08,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47490325 passed
2025-09-23 12:48:09,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:09,086 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47490325, IP 126.122.78.5, Port 22
2025-09-23 12:48:09,241 - DEBUG - VM ctest-vn1-vm2-47490325 is ready for SSH connections
2025-09-23 12:48:09,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:09,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:09,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:48:09,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.189.156.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-23 12:48:09,242 - DEBUG - ping -s 56 -c 3 -W 1 66.189.156.197
2025-09-23 12:48:11,877 - DEBUG - PING 66.189.156.197 (66.189.156.197): 56 data bytes
64 bytes from 66.189.156.197: seq=0 ttl=63 time=3.589 ms
64 bytes from 66.189.156.197: seq=1 ttl=63 time=0.785 ms
64 bytes from 66.189.156.197: seq=2 ttl=63 time=0.890 ms
--- 66.189.156.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.785/1.754/3.589 ms
2025-09-23 12:48:11,877 - INFO - Ping to IP 66.189.156.197 from VM ctest-vn1-vm2-47490325 passed
2025-09-23 12:48:11,877 - INFO - Detaching port 57659d18-d76c-42cf-bdad-4727cf860706 from VM ctest-vn1-vm2-47490325
2025-09-23 12:48:11,921 - INFO - Deleting VM ctest-vn1-vm2-47490325
2025-09-23 12:48:11,989 - INFO - Detaching port 1e3edea3-cd70-4614-bb99-72f005edd1af from VM ctest-vn1-vm1-83721069
2025-09-23 12:48:12,019 - INFO - Deleting VM ctest-vn1-vm1-83721069
2025-09-23 12:48:12,247 - DEBUG - Response for delete_port : ()
2025-09-23 12:48:12,431 - DEBUG - Response for delete_port : ()
2025-09-23 12:48:12,431 - INFO - Deleting VN ctest-vn1-48959013
2025-09-23 12:48:12,597 - DEBUG - Response for deleting network ()
2025-09-23 12:48:12,869 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:48:12,869 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-23 12:48:12,869 - INFO - --------------------------------------------------------------------------------
2025-09-23 12:48:13,574 - INFO - Deleted project: ctest-TestPorts-75759575, ID : 6d152370-a014-4cc7-890e-1ee156967941