2025-09-15 09:14:18,598 - INFO - Domain Default found not creating
2025-09-15 09:14:18,756 - INFO - Project ctest-TestPorts-42008093 not found, creating it
2025-09-15 09:14:19,228 - INFO - Created Project:ctest-TestPorts-42008093, ID : 3f7bd695-ce43-4496-9702-26293887ca70
2025-09-15 09:14:20,665 - INFO - ================================================================================
2025-09-15 09:14:20,665 - INFO - STARTING TEST : test_ports_bindings
2025-09-15 09:14:20,665 - 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-15 09:14:20,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-15 09:14:20,920 - INFO - Initial checks done. Running the testcase now
2025-09-15 09:14:20,920 - INFO -
2025-09-15 09:14:21,461 - DEBUG - Response for create_network : {'network': {'id': '3257aa11-120d-4b36-ae9b-8c1531d4758d', 'name': 'ctest-vn-44935914', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'project_id': '3f7bd695ce434496970226293887ca70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42008093', 'ctest-vn-44935914'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 09:14:21,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eafcd8d-d7be-449f-901d-4da6bf7c22bb', 'name': '', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '3257aa11-120d-4b36-ae9b-8c1531d4758d', 'ip_version': 4, 'cidr': '168.254.206.128/26', 'allocation_pools': [{'start': '168.254.206.130', 'end': '168.254.206.190'}], 'gateway_ip': '168.254.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.254.206.130', 'tags': [], 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:21,633 - INFO - Created VN ctest-vn-44935914
2025-09-15 09:14:21,682 - DEBUG - VN ctest-vn-44935914 UUID is 3257aa11-120d-4b36-ae9b-8c1531d4758d
2025-09-15 09:14:21,794 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42008093', 'ctest-vmi-83661923']}
2025-09-15 09:14:22,039 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83661923', 'id': '757e7e89-aed8-48bf-b2cf-cd51f66f7cee', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '3257aa11-120d-4b36-ae9b-8c1531d4758d', 'mac_address': '02:75:7e:7e:89:ae', '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': '168.254.206.131', 'subnet_id': '7eafcd8d-d7be-449f-901d-4da6bf7c22bb'}], 'security_groups': ['6fc19d40-b8bd-4c5e-8334-931ffbe5de6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:22,039 - DEBUG - Created port 757e7e89-aed8-48bf-b2cf-cd51f66f7cee
2025-09-15 09:14:22,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/757e7e89-aed8-48bf-b2cf-cd51f66f7cee
2025-09-15 09:14:22,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/757e7e89-aed8-48bf-b2cf-cd51f66f7cee
2025-09-15 09:14:22,535 - INFO - VMI 757e7e89-aed8-48bf-b2cf-cd51f66f7cee verification in API Server passed
2025-09-15 09:14:22,627 - DEBUG - Response for delete_port : ()
2025-09-15 09:14:22,627 - INFO - Deleted port 757e7e89-aed8-48bf-b2cf-cd51f66f7cee
2025-09-15 09:14:22,627 - INFO - Deleting VN ctest-vn-44935914
2025-09-15 09:14:22,730 - DEBUG - Response for deleting network ()
2025-09-15 09:14:23,002 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 09:14:23,003 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-15 09:14:23,003 - INFO - --------------------------------------------------------------------------------
2025-09-15 09:14:23,005 - INFO - ================================================================================
2025-09-15 09:14:23,005 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-15 09:14:23,005 - 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-15 09:14:23,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-15 09:14:23,283 - INFO - Initial checks done. Running the testcase now
2025-09-15 09:14:23,283 - INFO -
2025-09-15 09:14:23,470 - DEBUG - Response for create_network : {'network': {'id': '875a27e7-dc74-456d-b5a3-423a73cb96a4', 'name': 'ctest-vn1-31635946', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'project_id': '3f7bd695ce434496970226293887ca70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42008093', 'ctest-vn1-31635946'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 09:14:23,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '98db5bfa-1ad8-4d22-ac1b-d877da0920ad', 'name': '', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '875a27e7-dc74-456d-b5a3-423a73cb96a4', 'ip_version': 4, 'cidr': '162.10.105.0/26', 'allocation_pools': [{'start': '162.10.105.2', 'end': '162.10.105.62'}], 'gateway_ip': '162.10.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.10.105.2', 'tags': [], 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:23,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fafe7c4-55c3-49a3-a9bc-1581ad159644', 'name': '', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '875a27e7-dc74-456d-b5a3-423a73cb96a4', 'ip_version': 4, 'cidr': '88.229.145.192/26', 'allocation_pools': [{'start': '88.229.145.194', 'end': '88.229.145.254'}], 'gateway_ip': '88.229.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.229.145.194', 'tags': [], 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:23,887 - INFO - Created VN ctest-vn1-31635946
2025-09-15 09:14:23,938 - DEBUG - VN ctest-vn1-31635946 UUID is 875a27e7-dc74-456d-b5a3-423a73cb96a4
2025-09-15 09:14:24,274 - DEBUG - Response for create_port : {'port': {'name': '476754ae-2fe8-46fd-86a6-44365448f2a6', 'id': '476754ae-2fe8-46fd-86a6-44365448f2a6', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '875a27e7-dc74-456d-b5a3-423a73cb96a4', 'mac_address': '02:47:67:54:ae:2f', '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': '162.10.105.5', 'subnet_id': '98db5bfa-1ad8-4d22-ac1b-d877da0920ad'}], 'security_groups': ['6fc19d40-b8bd-4c5e-8334-931ffbe5de6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:24,442 - DEBUG - Response for create_port : {'port': {'name': '98f2de90-67cb-4b42-980b-2e7f1f2d67d3', 'id': '98f2de90-67cb-4b42-980b-2e7f1f2d67d3', 'tenant_id': '3f7bd695ce434496970226293887ca70', 'network_id': '875a27e7-dc74-456d-b5a3-423a73cb96a4', 'mac_address': '02:98:f2:de:90:67', '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': '88.229.145.197', 'subnet_id': '2fafe7c4-55c3-49a3-a9bc-1581ad159644'}], 'security_groups': ['6fc19d40-b8bd-4c5e-8334-931ffbe5de6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f7bd695ce434496970226293887ca70'}}
2025-09-15 09:14:24,503 - DEBUG - Services list from nova: [, , ]
2025-09-15 09:14:24,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1)
2025-09-15 09:14:25,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1)
2025-09-15 09:14:25,394 - INFO - Waiting for VM ctest-vn1-vm1-83854715 to be up..
2025-09-15 09:14:25,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 09:14:30,505 - DEBUG - VM is in ACTIVE state now
2025-09-15 09:14:30,506 - INFO - VM name : ctest-vn1-vm1-83854715
2025-09-15 09:14:30,587 - DEBUG - VM ctest-vn1-vm1-83854715 ID is 2c75d357-6b55-44a9-a93c-01359d7f7016
2025-09-15 09:14:30,611 - DEBUG - VM ctest-vn1-vm1-83854715 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1
2025-09-15 09:14:30,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2c75d357-6b55-44a9-a93c-01359d7f7016
2025-09-15 09:14:30,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/476754ae-2fe8-46fd-86a6-44365448f2a6
2025-09-15 09:14:33,974 - 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 1027ms')
2025-09-15 09:14:33,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83854715 failed!
2025-09-15 09:14:34,030 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42008093:ctest-vn1-31635946 is 162.10.105.1 and allocation pool is NOT set
2025-09-15 09:14:34,031 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42008093:ctest-vn1-31635946 is 88.229.145.193 and allocation pool is NOT set
2025-09-15 09:14:36,097 - 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=5.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.57 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 = 3.567/4.439/5.311/0.872 ms')
2025-09-15 09:14:36,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83854715 passed
2025-09-15 09:14:36,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:36,248 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83854715, IP 162.10.105.5, Port 22
2025-09-15 09:14:36,306 - 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-15 09:14:36,385 - DEBUG - VM ctest-vn1-vm1-83854715 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 09:14:41,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:41,386 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83854715, IP 162.10.105.5, Port 22
2025-09-15 09:14:41,542 - DEBUG - VM ctest-vn1-vm1-83854715 is ready for SSH connections
2025-09-15 09:14:41,542 - INFO - Waiting for VM ctest-vn1-vm2-57277179 to be up..
2025-09-15 09:14:41,618 - DEBUG - VM is in ACTIVE state now
2025-09-15 09:14:41,618 - INFO - VM name : ctest-vn1-vm2-57277179
2025-09-15 09:14:41,691 - DEBUG - VM ctest-vn1-vm2-57277179 ID is 61d079e5-c149-4883-8374-5f757847d289
2025-09-15 09:14:41,691 - DEBUG - VM ctest-vn1-vm2-57277179 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1
2025-09-15 09:14:41,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/61d079e5-c149-4883-8374-5f757847d289
2025-09-15 09:14:41,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98f2de90-67cb-4b42-980b-2e7f1f2d67d3
2025-09-15 09:14:43,011 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.027/3.641/1.613 ms')
2025-09-15 09:14:43,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57277179 passed
2025-09-15 09:14:43,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:43,167 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57277179, IP 88.229.145.197, Port 22
2025-09-15 09:14:43,334 - DEBUG - VM ctest-vn1-vm2-57277179 is ready for SSH connections
2025-09-15 09:14:43,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:43,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:43,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:14:43,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.10.105.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-15 09:14:43,334 - DEBUG - ping -s 56 -c 3 -W 1 162.10.105.5
2025-09-15 09:14:46,320 - DEBUG - PING 162.10.105.5 (162.10.105.5): 56 data bytes
64 bytes from 162.10.105.5: seq=0 ttl=63 time=3.569 ms
64 bytes from 162.10.105.5: seq=1 ttl=63 time=1.130 ms
64 bytes from 162.10.105.5: seq=2 ttl=63 time=0.884 ms
--- 162.10.105.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.884/1.861/3.569 ms
2025-09-15 09:14:46,320 - INFO - Ping to IP 162.10.105.5 from VM ctest-vn1-vm2-57277179 passed
2025-09-15 09:14:46,320 - INFO - Detaching port 98f2de90-67cb-4b42-980b-2e7f1f2d67d3 from VM ctest-vn1-vm2-57277179
2025-09-15 09:14:46,370 - INFO - Deleting VM ctest-vn1-vm2-57277179
2025-09-15 09:14:46,436 - INFO - Detaching port 476754ae-2fe8-46fd-86a6-44365448f2a6 from VM ctest-vn1-vm1-83854715
2025-09-15 09:14:46,465 - INFO - Deleting VM ctest-vn1-vm1-83854715
2025-09-15 09:14:46,699 - DEBUG - Response for delete_port : ()
2025-09-15 09:14:46,906 - DEBUG - Response for delete_port : ()
2025-09-15 09:14:46,907 - INFO - Deleting VN ctest-vn1-31635946
2025-09-15 09:14:47,046 - DEBUG - Response for deleting network ()
2025-09-15 09:14:47,308 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 09:14:47,308 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-15 09:14:47,308 - INFO - --------------------------------------------------------------------------------
2025-09-15 09:14:47,978 - INFO - Deleted project: ctest-TestPorts-42008093, ID : 3f7bd695-ce43-4496-9702-26293887ca70