2025-10-09 01:59:36,043 - INFO - Domain Default found not creating
2025-10-09 01:59:36,171 - INFO - Project ctest-TestPorts-29648333 not found, creating it
2025-10-09 01:59:36,590 - INFO - Created Project:ctest-TestPorts-29648333, ID : 60a35ca8-773f-4333-bf96-c112f43e3f2f
2025-10-09 01:59:37,992 - INFO - ================================================================================
2025-10-09 01:59:37,992 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 01:59:37,992 - 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 01:59:38,255 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-09 01:59:38,255 - INFO - Initial checks done. Running the testcase now
2025-10-09 01:59:38,255 - INFO -
2025-10-09 01:59:38,779 - DEBUG - Response for create_network : {'network': {'id': '31878549-c6bb-4ac8-abd0-7322062c4f99', 'name': 'ctest-vn-22095273', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'project_id': '60a35ca8773f4333bf96c112f43e3f2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29648333', 'ctest-vn-22095273'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 01:59:38,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '6457974c-a063-479d-a878-74e5ba7d4609', 'name': '', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '31878549-c6bb-4ac8-abd0-7322062c4f99', 'ip_version': 4, 'cidr': '73.9.235.0/26', 'allocation_pools': [{'start': '73.9.235.2', 'end': '73.9.235.62'}], 'gateway_ip': '73.9.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.9.235.2', 'tags': [], 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:38,978 - INFO - Created VN ctest-vn-22095273
2025-10-09 01:59:39,029 - DEBUG - VN ctest-vn-22095273 UUID is 31878549-c6bb-4ac8-abd0-7322062c4f99
2025-10-09 01:59:39,132 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-29648333', 'ctest-vmi-73082845']}
2025-10-09 01:59:39,400 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73082845', 'id': '30525246-9ff6-4053-9e40-9166cf75dc93', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '31878549-c6bb-4ac8-abd0-7322062c4f99', 'mac_address': '02:30:52:52:46:9f', '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': '73.9.235.3', 'subnet_id': '6457974c-a063-479d-a878-74e5ba7d4609'}], 'security_groups': ['c2b0e95e-331c-41fb-92f3-818f0aeca0b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:39,400 - DEBUG - Created port 30525246-9ff6-4053-9e40-9166cf75dc93
2025-10-09 01:59:39,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30525246-9ff6-4053-9e40-9166cf75dc93
2025-10-09 01:59:39,791 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30525246-9ff6-4053-9e40-9166cf75dc93
2025-10-09 01:59:39,820 - INFO - VMI 30525246-9ff6-4053-9e40-9166cf75dc93 verification in API Server passed
2025-10-09 01:59:39,901 - DEBUG - Response for delete_port : ()
2025-10-09 01:59:39,901 - INFO - Deleted port 30525246-9ff6-4053-9e40-9166cf75dc93
2025-10-09 01:59:39,901 - INFO - Deleting VN ctest-vn-22095273
2025-10-09 01:59:40,002 - DEBUG - Response for deleting network ()
2025-10-09 01:59:40,262 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 01:59:40,262 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 01:59:40,262 - INFO - --------------------------------------------------------------------------------
2025-10-09 01:59:40,265 - INFO - ================================================================================
2025-10-09 01:59:40,265 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 01:59:40,265 - 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 01:59:40,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-09 01:59:40,550 - INFO - Initial checks done. Running the testcase now
2025-10-09 01:59:40,550 - INFO -
2025-10-09 01:59:40,712 - DEBUG - Response for create_network : {'network': {'id': '8b8d04fd-6ffa-4105-9167-63c815fb212b', 'name': 'ctest-vn1-80050409', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'project_id': '60a35ca8773f4333bf96c112f43e3f2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29648333', 'ctest-vn1-80050409'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 01:59:40,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '819c464f-8dc1-4a2f-9c1b-bd6d542c606c', 'name': '', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '8b8d04fd-6ffa-4105-9167-63c815fb212b', 'ip_version': 4, 'cidr': '89.61.65.0/26', 'allocation_pools': [{'start': '89.61.65.2', 'end': '89.61.65.62'}], 'gateway_ip': '89.61.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.61.65.2', 'tags': [], 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:41,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ec65149-a886-40f5-9f2d-5fc840832aa1', 'name': '', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '8b8d04fd-6ffa-4105-9167-63c815fb212b', 'ip_version': 4, 'cidr': '29.26.143.0/26', 'allocation_pools': [{'start': '29.26.143.2', 'end': '29.26.143.62'}], 'gateway_ip': '29.26.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.26.143.2', 'tags': [], 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:41,060 - INFO - Created VN ctest-vn1-80050409
2025-10-09 01:59:41,113 - DEBUG - VN ctest-vn1-80050409 UUID is 8b8d04fd-6ffa-4105-9167-63c815fb212b
2025-10-09 01:59:41,403 - DEBUG - Response for create_port : {'port': {'name': 'ba4d42dd-a285-4263-ab7d-e8f956a1281f', 'id': 'ba4d42dd-a285-4263-ab7d-e8f956a1281f', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '8b8d04fd-6ffa-4105-9167-63c815fb212b', 'mac_address': '02:ba:4d:42:dd:a2', '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': '89.61.65.5', 'subnet_id': '819c464f-8dc1-4a2f-9c1b-bd6d542c606c'}], 'security_groups': ['c2b0e95e-331c-41fb-92f3-818f0aeca0b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:41,557 - DEBUG - Response for create_port : {'port': {'name': '2dfbeb00-b0c0-4a4e-b60c-06fe63400b17', 'id': '2dfbeb00-b0c0-4a4e-b60c-06fe63400b17', 'tenant_id': '60a35ca8773f4333bf96c112f43e3f2f', 'network_id': '8b8d04fd-6ffa-4105-9167-63c815fb212b', 'mac_address': '02:2d:fb:eb:00:b0', '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': '29.26.143.5', 'subnet_id': '7ec65149-a886-40f5-9f2d-5fc840832aa1'}], 'security_groups': ['c2b0e95e-331c-41fb-92f3-818f0aeca0b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60a35ca8773f4333bf96c112f43e3f2f'}}
2025-10-09 01:59:41,606 - DEBUG - Services list from nova: [, , ]
2025-10-09 01:59:41,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4251-1)
2025-10-09 01:59:42,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4251-1)
2025-10-09 01:59:42,256 - INFO - Waiting for VM ctest-vn1-vm1-39264094 to be up..
2025-10-09 01:59:42,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 01:59:47,362 - DEBUG - VM is in ACTIVE state now
2025-10-09 01:59:47,362 - INFO - VM name : ctest-vn1-vm1-39264094
2025-10-09 01:59:47,425 - DEBUG - VM ctest-vn1-vm1-39264094 ID is 2742fc38-22c2-4e85-aa1c-5faca9e7e820
2025-10-09 01:59:47,443 - DEBUG - VM ctest-vn1-vm1-39264094 launched on Node cn-jenkins-deploy-platform-ansible-os-4251-1
2025-10-09 01:59:47,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2742fc38-22c2-4e85-aa1c-5faca9e7e820
2025-10-09 01:59:47,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ba4d42dd-a285-4263-ab7d-e8f956a1281f
2025-10-09 01:59:50,781 - 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-10-09 01:59:50,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39264094 failed!
2025-10-09 01:59:50,837 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29648333:ctest-vn1-80050409 is 89.61.65.1 and allocation pool is NOT set
2025-10-09 01:59:50,837 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29648333:ctest-vn1-80050409 is 29.26.143.1 and allocation pool is NOT set
2025-10-09 01:59:52,902 - 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=4.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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.348/2.696/4.044/1.348 ms')
2025-10-09 01:59:52,902 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39264094 passed
2025-10-09 01:59:53,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 01:59:53,050 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39264094, IP 89.61.65.5, Port 22
2025-10-09 01:59:53,116 - 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 01:59:53,188 - DEBUG - VM ctest-vn1-vm1-39264094 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 01:59:58,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 01:59:58,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39264094, IP 89.61.65.5, Port 22
2025-10-09 01:59:58,349 - DEBUG - VM ctest-vn1-vm1-39264094 is ready for SSH connections
2025-10-09 01:59:58,349 - INFO - Waiting for VM ctest-vn1-vm2-09671540 to be up..
2025-10-09 01:59:58,416 - DEBUG - VM is in ACTIVE state now
2025-10-09 01:59:58,416 - INFO - VM name : ctest-vn1-vm2-09671540
2025-10-09 01:59:58,484 - DEBUG - VM ctest-vn1-vm2-09671540 ID is 1f3c8029-9263-4ddb-90df-34fe42495ed9
2025-10-09 01:59:58,485 - DEBUG - VM ctest-vn1-vm2-09671540 launched on Node cn-jenkins-deploy-platform-ansible-os-4251-1
2025-10-09 01:59:58,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f3c8029-9263-4ddb-90df-34fe42495ed9
2025-10-09 01:59:58,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2dfbeb00-b0c0-4a4e-b60c-06fe63400b17
2025-10-09 01:59:59,797 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.709/3.011/1.302 ms')
2025-10-09 01:59:59,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09671540 passed
2025-10-09 01:59:59,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 01:59:59,942 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09671540, IP 29.26.143.5, Port 22
2025-10-09 02:00:00,097 - DEBUG - VM ctest-vn1-vm2-09671540 is ready for SSH connections
2025-10-09 02:00:00,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 02:00:00,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 02:00:00,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 02:00:00,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.61.65.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-09 02:00:00,098 - DEBUG - ping -s 56 -c 3 -W 1 89.61.65.5
2025-10-09 02:00:02,761 - DEBUG - PING 89.61.65.5 (89.61.65.5): 56 data bytes
64 bytes from 89.61.65.5: seq=0 ttl=63 time=3.435 ms
64 bytes from 89.61.65.5: seq=1 ttl=63 time=0.859 ms
64 bytes from 89.61.65.5: seq=2 ttl=63 time=0.858 ms
--- 89.61.65.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.858/1.717/3.435 ms
2025-10-09 02:00:02,761 - INFO - Ping to IP 89.61.65.5 from VM ctest-vn1-vm2-09671540 passed
2025-10-09 02:00:02,761 - INFO - Detaching port 2dfbeb00-b0c0-4a4e-b60c-06fe63400b17 from VM ctest-vn1-vm2-09671540
2025-10-09 02:00:02,808 - INFO - Deleting VM ctest-vn1-vm2-09671540
2025-10-09 02:00:02,874 - INFO - Detaching port ba4d42dd-a285-4263-ab7d-e8f956a1281f from VM ctest-vn1-vm1-39264094
2025-10-09 02:00:02,905 - INFO - Deleting VM ctest-vn1-vm1-39264094
2025-10-09 02:00:03,115 - DEBUG - Response for delete_port : ()
2025-10-09 02:00:03,245 - DEBUG - Response for delete_port : ()
2025-10-09 02:00:03,245 - INFO - Deleting VN ctest-vn1-80050409
2025-10-09 02:00:03,370 - DEBUG - Response for deleting network ()
2025-10-09 02:00:03,630 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 02:00:03,630 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-09 02:00:03,630 - INFO - --------------------------------------------------------------------------------
2025-10-09 02:00:04,373 - INFO - Deleted project: ctest-TestPorts-29648333, ID : 60a35ca8-773f-4333-bf96-c112f43e3f2f