2025-08-20 13:38:20,436 - INFO - Domain Default found not creating
2025-08-20 13:38:20,564 - INFO - Project ctest-TestPorts-29076183 not found, creating it
2025-08-20 13:38:21,010 - INFO - Created Project:ctest-TestPorts-29076183, ID : 942dcd47-fd55-4636-84dc-224c7e1e7695
2025-08-20 13:38:23,002 - INFO - ================================================================================
2025-08-20 13:38:23,002 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 13:38:23,002 - 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-08-20 13:38:23,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-08-20 13:38:23,261 - INFO - Initial checks done. Running the testcase now
2025-08-20 13:38:23,261 - INFO -
2025-08-20 13:38:23,786 - DEBUG - Response for create_network : {'network': {'id': 'd65c9ee9-71e3-457a-aa51-c4d835022b83', 'name': 'ctest-vn-75476811', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'project_id': '942dcd47fd55463684dc224c7e1e7695', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29076183', 'ctest-vn-75476811'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:38:24,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f46815a5-6b2b-4ac6-bd14-8018a0376c4d', 'name': '', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': 'd65c9ee9-71e3-457a-aa51-c4d835022b83', 'ip_version': 4, 'cidr': '26.218.63.64/26', 'allocation_pools': [{'start': '26.218.63.66', 'end': '26.218.63.126'}], 'gateway_ip': '26.218.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.218.63.66', 'tags': [], 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:24,025 - INFO - Created VN ctest-vn-75476811
2025-08-20 13:38:24,078 - DEBUG - VN ctest-vn-75476811 UUID is d65c9ee9-71e3-457a-aa51-c4d835022b83
2025-08-20 13:38:24,186 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-29076183', 'ctest-vmi-35381508']}
2025-08-20 13:38:24,462 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35381508', 'id': 'f3b496c1-9645-4611-9a31-fff38f3d441e', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': 'd65c9ee9-71e3-457a-aa51-c4d835022b83', 'mac_address': '02:f3:b4:96:c1:96', '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.218.63.67', 'subnet_id': 'f46815a5-6b2b-4ac6-bd14-8018a0376c4d'}], 'security_groups': ['14c0f73b-7b26-474d-a7f8-1cde604f664b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:24,462 - DEBUG - Created port f3b496c1-9645-4611-9a31-fff38f3d441e
2025-08-20 13:38:24,566 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f3b496c1-9645-4611-9a31-fff38f3d441e
2025-08-20 13:38:24,857 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f3b496c1-9645-4611-9a31-fff38f3d441e
2025-08-20 13:38:24,889 - INFO - VMI f3b496c1-9645-4611-9a31-fff38f3d441e verification in API Server passed
2025-08-20 13:38:24,966 - DEBUG - Response for delete_port : ()
2025-08-20 13:38:24,966 - INFO - Deleted port f3b496c1-9645-4611-9a31-fff38f3d441e
2025-08-20 13:38:24,966 - INFO - Deleting VN ctest-vn-75476811
2025-08-20 13:38:25,058 - DEBUG - Response for deleting network ()
2025-08-20 13:38:25,307 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:38:25,307 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 13:38:25,308 - INFO - --------------------------------------------------------------------------------
2025-08-20 13:38:25,310 - INFO - ================================================================================
2025-08-20 13:38:25,310 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 13:38:25,310 - 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-08-20 13:38:25,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-08-20 13:38:25,604 - INFO - Initial checks done. Running the testcase now
2025-08-20 13:38:25,604 - INFO -
2025-08-20 13:38:25,779 - DEBUG - Response for create_network : {'network': {'id': '244da8be-1ccb-4039-8a86-5bcd4970b2a1', 'name': 'ctest-vn1-03035865', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'project_id': '942dcd47fd55463684dc224c7e1e7695', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29076183', 'ctest-vn1-03035865'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:38:25,942 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8ea8894-3321-4ead-a3a9-bd05b65372fa', 'name': '', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': '244da8be-1ccb-4039-8a86-5bcd4970b2a1', 'ip_version': 4, 'cidr': '105.182.4.64/26', 'allocation_pools': [{'start': '105.182.4.66', 'end': '105.182.4.126'}], 'gateway_ip': '105.182.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.182.4.66', 'tags': [], 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:26,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '3835dd8e-58c7-40df-95b1-81bf6dc767c7', 'name': '', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': '244da8be-1ccb-4039-8a86-5bcd4970b2a1', 'ip_version': 4, 'cidr': '59.171.61.192/26', 'allocation_pools': [{'start': '59.171.61.194', 'end': '59.171.61.254'}], 'gateway_ip': '59.171.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.171.61.194', 'tags': [], 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:26,163 - INFO - Created VN ctest-vn1-03035865
2025-08-20 13:38:26,214 - DEBUG - VN ctest-vn1-03035865 UUID is 244da8be-1ccb-4039-8a86-5bcd4970b2a1
2025-08-20 13:38:26,521 - DEBUG - Response for create_port : {'port': {'name': '4e4daaaf-8a8a-4dad-b851-6437e6c67b36', 'id': '4e4daaaf-8a8a-4dad-b851-6437e6c67b36', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': '244da8be-1ccb-4039-8a86-5bcd4970b2a1', 'mac_address': '02:4e:4d:aa:af:8a', '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': '105.182.4.69', 'subnet_id': 'f8ea8894-3321-4ead-a3a9-bd05b65372fa'}], 'security_groups': ['14c0f73b-7b26-474d-a7f8-1cde604f664b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:26,759 - DEBUG - Response for create_port : {'port': {'name': 'f5864d6d-0d03-4674-88bd-8a1558119b1a', 'id': 'f5864d6d-0d03-4674-88bd-8a1558119b1a', 'tenant_id': '942dcd47fd55463684dc224c7e1e7695', 'network_id': '244da8be-1ccb-4039-8a86-5bcd4970b2a1', 'mac_address': '02:f5:86:4d:6d:0d', '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': '59.171.61.197', 'subnet_id': '3835dd8e-58c7-40df-95b1-81bf6dc767c7'}], 'security_groups': ['14c0f73b-7b26-474d-a7f8-1cde604f664b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '942dcd47fd55463684dc224c7e1e7695'}}
2025-08-20 13:38:26,811 - DEBUG - Services list from nova: [, , ]
2025-08-20 13:38:27,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3897-1)
2025-08-20 13:38:27,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3897-1)
2025-08-20 13:38:27,476 - INFO - Waiting for VM ctest-vn1-vm1-06210027 to be up..
2025-08-20 13:38:27,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 13:38:32,591 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:38:32,591 - INFO - VM name : ctest-vn1-vm1-06210027
2025-08-20 13:38:32,663 - DEBUG - VM ctest-vn1-vm1-06210027 ID is 4446a592-e9e3-4a84-9bf4-7ae1626489dc
2025-08-20 13:38:32,682 - DEBUG - VM ctest-vn1-vm1-06210027 launched on Node cn-jenkins-deploy-platform-ansible-os-3897-1
2025-08-20 13:38:32,755 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4446a592-e9e3-4a84-9bf4-7ae1626489dc
2025-08-20 13:38:32,772 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4e4daaaf-8a8a-4dad-b851-6437e6c67b36
2025-08-20 13:38:36,049 - 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 1031ms')
2025-08-20 13:38:36,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06210027 failed!
2025-08-20 13:38:36,102 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29076183:ctest-vn1-03035865 is 105.182.4.65 and allocation pool is NOT set
2025-08-20 13:38:36,102 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29076183:ctest-vn1-03035865 is 59.171.61.193 and allocation pool is NOT set
2025-08-20 13:38:38,165 - 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=7.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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 = 0.527/4.024/7.521/3.497 ms')
2025-08-20 13:38:38,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06210027 passed
2025-08-20 13:38:38,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:38,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06210027, IP 105.182.4.69, Port 22
2025-08-20 13:38:38,377 - 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-08-20 13:38:38,447 - DEBUG - VM ctest-vn1-vm1-06210027 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-20 13:38:43,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:43,448 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06210027, IP 105.182.4.69, Port 22
2025-08-20 13:38:43,610 - DEBUG - VM ctest-vn1-vm1-06210027 is ready for SSH connections
2025-08-20 13:38:43,610 - INFO - Waiting for VM ctest-vn1-vm2-51764241 to be up..
2025-08-20 13:38:43,682 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:38:43,682 - INFO - VM name : ctest-vn1-vm2-51764241
2025-08-20 13:38:43,757 - DEBUG - VM ctest-vn1-vm2-51764241 ID is 2166db33-5294-4a22-b0b7-e6b7dbbffb00
2025-08-20 13:38:43,757 - DEBUG - VM ctest-vn1-vm2-51764241 launched on Node cn-jenkins-deploy-platform-ansible-os-3897-1
2025-08-20 13:38:43,829 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2166db33-5294-4a22-b0b7-e6b7dbbffb00
2025-08-20 13:38:43,838 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f5864d6d-0d03-4674-88bd-8a1558119b1a
2025-08-20 13:38:45,075 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.270 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.270/1.476/2.683/1.206 ms')
2025-08-20 13:38:45,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51764241 passed
2025-08-20 13:38:45,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:45,226 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51764241, IP 59.171.61.197, Port 22
2025-08-20 13:38:45,386 - DEBUG - VM ctest-vn1-vm2-51764241 is ready for SSH connections
2025-08-20 13:38:45,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:45,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:45,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:45,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.182.4.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-08-20 13:38:45,386 - DEBUG - ping -s 56 -c 3 -W 1 105.182.4.69
2025-08-20 13:38:48,327 - DEBUG - PING 105.182.4.69 (105.182.4.69): 56 data bytes
64 bytes from 105.182.4.69: seq=0 ttl=63 time=5.075 ms
64 bytes from 105.182.4.69: seq=1 ttl=63 time=0.910 ms
64 bytes from 105.182.4.69: seq=2 ttl=63 time=0.804 ms
--- 105.182.4.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.804/2.263/5.075 ms
2025-08-20 13:38:48,327 - INFO - Ping to IP 105.182.4.69 from VM ctest-vn1-vm2-51764241 passed
2025-08-20 13:38:48,327 - INFO - Detaching port f5864d6d-0d03-4674-88bd-8a1558119b1a from VM ctest-vn1-vm2-51764241
2025-08-20 13:38:48,373 - INFO - Deleting VM ctest-vn1-vm2-51764241
2025-08-20 13:38:48,438 - INFO - Detaching port 4e4daaaf-8a8a-4dad-b851-6437e6c67b36 from VM ctest-vn1-vm1-06210027
2025-08-20 13:38:48,477 - INFO - Deleting VM ctest-vn1-vm1-06210027
2025-08-20 13:38:48,692 - DEBUG - Response for delete_port : ()
2025-08-20 13:38:48,865 - DEBUG - Response for delete_port : ()
2025-08-20 13:38:48,866 - INFO - Deleting VN ctest-vn1-03035865
2025-08-20 13:38:49,015 - DEBUG - Response for deleting network ()
2025-08-20 13:38:49,275 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:38:49,276 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-20 13:38:49,276 - INFO - --------------------------------------------------------------------------------
2025-08-20 13:38:49,945 - INFO - Deleted project: ctest-TestPorts-29076183, ID : 942dcd47-fd55-4636-84dc-224c7e1e7695