2025-12-25 02:18:20,794 - INFO - Domain Default found not creating
2025-12-25 02:18:20,977 - INFO - Project ctest-TestPorts-08261659 not found, creating it
2025-12-25 02:18:21,443 - INFO - Created Project:ctest-TestPorts-08261659, ID : 940beb75-e95e-45b3-b192-5f48fb5c96ef
2025-12-25 02:18:22,932 - INFO - ================================================================================
2025-12-25 02:18:22,932 - INFO - STARTING TEST : test_ports_bindings
2025-12-25 02:18:22,932 - 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-12-25 02:18:23,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.210': '0'}} with
2025-12-25 02:18:23,185 - INFO - Initial checks done. Running the testcase now
2025-12-25 02:18:23,185 - INFO -
2025-12-25 02:18:23,752 - DEBUG - Response for create_network : {'network': {'id': '55b4e049-9052-49ae-83f6-26639621a4aa', 'name': 'ctest-vn-97650714', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'project_id': '940beb75e95e45b3b1925f48fb5c96ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08261659', 'ctest-vn-97650714'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:18:23,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffee622f-83c8-400d-8381-497965e300ab', 'name': '', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '55b4e049-9052-49ae-83f6-26639621a4aa', 'ip_version': 4, 'cidr': '26.91.110.128/26', 'allocation_pools': [{'start': '26.91.110.130', 'end': '26.91.110.190'}], 'gateway_ip': '26.91.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.91.110.130', 'tags': [], 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:23,909 - INFO - Created VN ctest-vn-97650714
2025-12-25 02:18:23,960 - DEBUG - VN ctest-vn-97650714 UUID is 55b4e049-9052-49ae-83f6-26639621a4aa
2025-12-25 02:18:24,062 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08261659', 'ctest-vmi-02769901']}
2025-12-25 02:18:24,334 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02769901', 'id': 'e35d7254-d788-44e8-b171-1448d907c088', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '55b4e049-9052-49ae-83f6-26639621a4aa', 'mac_address': '02:e3:5d:72:54:d7', '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': '26.91.110.131', 'subnet_id': 'ffee622f-83c8-400d-8381-497965e300ab'}], 'security_groups': ['c6272177-c62f-4655-a49b-75b3912facec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:24,334 - DEBUG - Created port e35d7254-d788-44e8-b171-1448d907c088
2025-12-25 02:18:24,436 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e35d7254-d788-44e8-b171-1448d907c088
2025-12-25 02:18:24,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e35d7254-d788-44e8-b171-1448d907c088
2025-12-25 02:18:24,763 - INFO - VMI e35d7254-d788-44e8-b171-1448d907c088 verification in API Server passed
2025-12-25 02:18:24,861 - DEBUG - Response for delete_port : ()
2025-12-25 02:18:24,862 - INFO - Deleted port e35d7254-d788-44e8-b171-1448d907c088
2025-12-25 02:18:24,862 - INFO - Deleting VN ctest-vn-97650714
2025-12-25 02:18:24,953 - DEBUG - Response for deleting network ()
2025-12-25 02:18:25,205 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:18:25,205 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-25 02:18:25,205 - INFO - --------------------------------------------------------------------------------
2025-12-25 02:18:25,207 - INFO - ================================================================================
2025-12-25 02:18:25,208 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-25 02:18:25,208 - 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-12-25 02:18:25,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.210': '0'}} with
2025-12-25 02:18:25,498 - INFO - Initial checks done. Running the testcase now
2025-12-25 02:18:25,498 - INFO -
2025-12-25 02:18:25,665 - DEBUG - Response for create_network : {'network': {'id': '81861791-61e0-462e-a397-96ab28ad241e', 'name': 'ctest-vn1-64494893', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'project_id': '940beb75e95e45b3b1925f48fb5c96ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08261659', 'ctest-vn1-64494893'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:18:25,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '816d0888-b725-43cb-b5e8-04893d4e2793', 'name': '', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '81861791-61e0-462e-a397-96ab28ad241e', 'ip_version': 4, 'cidr': '11.18.46.64/26', 'allocation_pools': [{'start': '11.18.46.66', 'end': '11.18.46.126'}], 'gateway_ip': '11.18.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.18.46.66', 'tags': [], 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:25,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '018d266a-d365-4551-a705-d28987fbaa42', 'name': '', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '81861791-61e0-462e-a397-96ab28ad241e', 'ip_version': 4, 'cidr': '91.182.222.64/26', 'allocation_pools': [{'start': '91.182.222.66', 'end': '91.182.222.126'}], 'gateway_ip': '91.182.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.182.222.66', 'tags': [], 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:25,999 - INFO - Created VN ctest-vn1-64494893
2025-12-25 02:18:26,052 - DEBUG - VN ctest-vn1-64494893 UUID is 81861791-61e0-462e-a397-96ab28ad241e
2025-12-25 02:18:26,351 - DEBUG - Response for create_port : {'port': {'name': 'db84fd29-32f8-4f8f-9c8d-45f7a2f42f0c', 'id': 'db84fd29-32f8-4f8f-9c8d-45f7a2f42f0c', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '81861791-61e0-462e-a397-96ab28ad241e', 'mac_address': '02:db:84:fd:29:32', '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': '11.18.46.69', 'subnet_id': '816d0888-b725-43cb-b5e8-04893d4e2793'}], 'security_groups': ['c6272177-c62f-4655-a49b-75b3912facec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:26,515 - DEBUG - Response for create_port : {'port': {'name': 'f58631e7-5187-4fc6-823d-8693d4590281', 'id': 'f58631e7-5187-4fc6-823d-8693d4590281', 'tenant_id': '940beb75e95e45b3b1925f48fb5c96ef', 'network_id': '81861791-61e0-462e-a397-96ab28ad241e', 'mac_address': '02:f5:86:31:e7:51', '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': '91.182.222.69', 'subnet_id': '018d266a-d365-4551-a705-d28987fbaa42'}], 'security_groups': ['c6272177-c62f-4655-a49b-75b3912facec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '940beb75e95e45b3b1925f48fb5c96ef'}}
2025-12-25 02:18:26,573 - DEBUG - Services list from nova: [, , ]
2025-12-25 02:18:26,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1)
2025-12-25 02:18:27,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1)
2025-12-25 02:18:27,470 - INFO - Waiting for VM ctest-vn1-vm1-25620780 to be up..
2025-12-25 02:18:27,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-25 02:18:32,602 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:18:32,602 - INFO - VM name : ctest-vn1-vm1-25620780
2025-12-25 02:18:32,686 - DEBUG - VM ctest-vn1-vm1-25620780 ID is f9363283-6438-4748-995d-4d9670c14347
2025-12-25 02:18:32,710 - DEBUG - VM ctest-vn1-vm1-25620780 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1
2025-12-25 02:18:32,791 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f9363283-6438-4748-995d-4d9670c14347
2025-12-25 02:18:32,801 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/db84fd29-32f8-4f8f-9c8d-45f7a2f42f0c
2025-12-25 02:18:36,043 - 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')
2025-12-25 02:18:36,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25620780 failed!
2025-12-25 02:18:36,100 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08261659:ctest-vn1-64494893 is 11.18.46.65 and allocation pool is NOT set
2025-12-25 02:18:36,100 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08261659:ctest-vn1-64494893 is 91.182.222.65 and allocation pool is NOT set
2025-12-25 02:18:38,167 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.43 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.434/5.813/10.192/4.379 ms')
2025-12-25 02:18:38,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25620780 passed
2025-12-25 02:18:38,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:38,320 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25620780, IP 11.18.46.69, Port 22
2025-12-25 02:18:38,386 - 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-12-25 02:18:38,465 - DEBUG - VM ctest-vn1-vm1-25620780 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-25 02:18:43,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:43,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25620780, IP 11.18.46.69, Port 22
2025-12-25 02:18:43,634 - DEBUG - VM ctest-vn1-vm1-25620780 is ready for SSH connections
2025-12-25 02:18:43,634 - INFO - Waiting for VM ctest-vn1-vm2-88559700 to be up..
2025-12-25 02:18:43,713 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:18:43,713 - INFO - VM name : ctest-vn1-vm2-88559700
2025-12-25 02:18:43,785 - DEBUG - VM ctest-vn1-vm2-88559700 ID is 733de10e-168b-4153-bde0-7c061528ac36
2025-12-25 02:18:43,785 - DEBUG - VM ctest-vn1-vm2-88559700 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1
2025-12-25 02:18:43,865 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/733de10e-168b-4153-bde0-7c061528ac36
2025-12-25 02:18:43,874 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f58631e7-5187-4fc6-823d-8693d4590281
2025-12-25 02:18:45,112 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/2.449/4.376/1.926 ms')
2025-12-25 02:18:45,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88559700 passed
2025-12-25 02:18:45,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:45,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88559700, IP 91.182.222.69, Port 22
2025-12-25 02:18:45,417 - DEBUG - VM ctest-vn1-vm2-88559700 is ready for SSH connections
2025-12-25 02:18:45,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:45,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:45,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:18:45,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.18.46.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-25 02:18:45,417 - DEBUG - ping -s 56 -c 3 -W 1 11.18.46.69
2025-12-25 02:18:48,106 - DEBUG - PING 11.18.46.69 (11.18.46.69): 56 data bytes
64 bytes from 11.18.46.69: seq=0 ttl=63 time=3.798 ms
64 bytes from 11.18.46.69: seq=1 ttl=63 time=0.838 ms
64 bytes from 11.18.46.69: seq=2 ttl=63 time=1.934 ms
--- 11.18.46.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.838/2.190/3.798 ms
2025-12-25 02:18:48,106 - INFO - Ping to IP 11.18.46.69 from VM ctest-vn1-vm2-88559700 passed
2025-12-25 02:18:48,106 - INFO - Detaching port f58631e7-5187-4fc6-823d-8693d4590281 from VM ctest-vn1-vm2-88559700
2025-12-25 02:18:48,155 - INFO - Deleting VM ctest-vn1-vm2-88559700
2025-12-25 02:18:48,227 - INFO - Detaching port db84fd29-32f8-4f8f-9c8d-45f7a2f42f0c from VM ctest-vn1-vm1-25620780
2025-12-25 02:18:48,270 - INFO - Deleting VM ctest-vn1-vm1-25620780
2025-12-25 02:18:48,517 - DEBUG - Response for delete_port : ()
2025-12-25 02:18:48,672 - DEBUG - Response for delete_port : ()
2025-12-25 02:18:48,672 - INFO - Deleting VN ctest-vn1-64494893
2025-12-25 02:18:48,806 - DEBUG - Response for deleting network ()
2025-12-25 02:18:49,067 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:18:49,068 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-25 02:18:49,068 - INFO - --------------------------------------------------------------------------------
2025-12-25 02:18:49,773 - INFO - Deleted project: ctest-TestPorts-08261659, ID : 940beb75-e95e-45b3-b192-5f48fb5c96ef