2025-08-18 17:58:16,027 - INFO - Domain Default found not creating
2025-08-18 17:58:16,159 - INFO - Project ctest-TestPorts-99286364 not found, creating it
2025-08-18 17:58:16,595 - INFO - Created Project:ctest-TestPorts-99286364, ID : 1a761604-c424-4724-adf6-44c71d0bd3ad
2025-08-18 17:58:17,920 - INFO - ================================================================================
2025-08-18 17:58:17,920 - INFO - STARTING TEST : test_ports_bindings
2025-08-18 17:58:17,920 - 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-18 17:58:18,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-18 17:58:18,191 - INFO - Initial checks done. Running the testcase now
2025-08-18 17:58:18,191 - INFO -
2025-08-18 17:58:18,733 - DEBUG - Response for create_network : {'network': {'id': 'b4b1815c-28e0-4b03-b501-ca8c7b9ac27e', 'name': 'ctest-vn-01859196', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'project_id': '1a761604c4244724adf644c71d0bd3ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99286364', 'ctest-vn-01859196'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 17:58:18,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d506dc0-7a11-48b2-a88b-071c787d6ac3', 'name': '', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': 'b4b1815c-28e0-4b03-b501-ca8c7b9ac27e', 'ip_version': 4, 'cidr': '9.62.159.128/26', 'allocation_pools': [{'start': '9.62.159.130', 'end': '9.62.159.190'}], 'gateway_ip': '9.62.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.62.159.130', 'tags': [], 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:18,938 - INFO - Created VN ctest-vn-01859196
2025-08-18 17:58:18,989 - DEBUG - VN ctest-vn-01859196 UUID is b4b1815c-28e0-4b03-b501-ca8c7b9ac27e
2025-08-18 17:58:19,085 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99286364', 'ctest-vmi-64027530']}
2025-08-18 17:58:19,341 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64027530', 'id': '974b6905-e3b9-4127-a0ce-76eb3b024ee9', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': 'b4b1815c-28e0-4b03-b501-ca8c7b9ac27e', 'mac_address': '02:97:4b:69:05:e3', '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': '9.62.159.131', 'subnet_id': '6d506dc0-7a11-48b2-a88b-071c787d6ac3'}], 'security_groups': ['94ce9cf5-9610-41e3-bb49-04c9a32fffe9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:19,341 - DEBUG - Created port 974b6905-e3b9-4127-a0ce-76eb3b024ee9
2025-08-18 17:58:19,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/974b6905-e3b9-4127-a0ce-76eb3b024ee9
2025-08-18 17:58:19,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/974b6905-e3b9-4127-a0ce-76eb3b024ee9
2025-08-18 17:58:19,765 - INFO - VMI 974b6905-e3b9-4127-a0ce-76eb3b024ee9 verification in API Server passed
2025-08-18 17:58:19,840 - DEBUG - Response for delete_port : ()
2025-08-18 17:58:19,840 - INFO - Deleted port 974b6905-e3b9-4127-a0ce-76eb3b024ee9
2025-08-18 17:58:19,840 - INFO - Deleting VN ctest-vn-01859196
2025-08-18 17:58:19,929 - DEBUG - Response for deleting network ()
2025-08-18 17:58:20,182 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 17:58:20,182 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-18 17:58:20,182 - INFO - --------------------------------------------------------------------------------
2025-08-18 17:58:20,184 - INFO - ================================================================================
2025-08-18 17:58:20,185 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-18 17:58:20,185 - 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-18 17:58:20,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-18 17:58:20,467 - INFO - Initial checks done. Running the testcase now
2025-08-18 17:58:20,467 - INFO -
2025-08-18 17:58:20,647 - DEBUG - Response for create_network : {'network': {'id': '5a2ca0b6-273b-4e82-b468-c07c05558372', 'name': 'ctest-vn1-14397019', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'project_id': '1a761604c4244724adf644c71d0bd3ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99286364', 'ctest-vn1-14397019'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 17:58:20,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ddb4461-2ec0-4479-b8ea-03d15f71cbcd', 'name': '', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': '5a2ca0b6-273b-4e82-b468-c07c05558372', 'ip_version': 4, 'cidr': '186.131.113.0/26', 'allocation_pools': [{'start': '186.131.113.2', 'end': '186.131.113.62'}], 'gateway_ip': '186.131.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.131.113.2', 'tags': [], 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:21,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e4415a2-7e87-4ed4-ac77-47350f5fc4a4', 'name': '', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': '5a2ca0b6-273b-4e82-b468-c07c05558372', 'ip_version': 4, 'cidr': '41.190.169.128/26', 'allocation_pools': [{'start': '41.190.169.130', 'end': '41.190.169.190'}], 'gateway_ip': '41.190.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.190.169.130', 'tags': [], 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:21,046 - INFO - Created VN ctest-vn1-14397019
2025-08-18 17:58:21,097 - DEBUG - VN ctest-vn1-14397019 UUID is 5a2ca0b6-273b-4e82-b468-c07c05558372
2025-08-18 17:58:21,369 - DEBUG - Response for create_port : {'port': {'name': '9a471724-9844-4606-9365-1010c2a47f02', 'id': '9a471724-9844-4606-9365-1010c2a47f02', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': '5a2ca0b6-273b-4e82-b468-c07c05558372', 'mac_address': '02:9a:47:17:24:98', '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': '186.131.113.5', 'subnet_id': '8ddb4461-2ec0-4479-b8ea-03d15f71cbcd'}], 'security_groups': ['94ce9cf5-9610-41e3-bb49-04c9a32fffe9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:21,518 - DEBUG - Response for create_port : {'port': {'name': '41a91b15-b640-4140-b71e-300af9f98bbf', 'id': '41a91b15-b640-4140-b71e-300af9f98bbf', 'tenant_id': '1a761604c4244724adf644c71d0bd3ad', 'network_id': '5a2ca0b6-273b-4e82-b468-c07c05558372', 'mac_address': '02:41:a9:1b:15:b6', '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': '41.190.169.133', 'subnet_id': '2e4415a2-7e87-4ed4-ac77-47350f5fc4a4'}], 'security_groups': ['94ce9cf5-9610-41e3-bb49-04c9a32fffe9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a761604c4244724adf644c71d0bd3ad'}}
2025-08-18 17:58:21,567 - DEBUG - Services list from nova: [, , ]
2025-08-18 17:58:21,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1)
2025-08-18 17:58:22,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1)
2025-08-18 17:58:22,185 - INFO - Waiting for VM ctest-vn1-vm1-84673898 to be up..
2025-08-18 17:58:22,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 17:58:27,280 - DEBUG - VM is in ACTIVE state now
2025-08-18 17:58:27,281 - INFO - VM name : ctest-vn1-vm1-84673898
2025-08-18 17:58:27,340 - DEBUG - VM ctest-vn1-vm1-84673898 ID is 8de14c19-8208-4845-a75a-f738ad8f7694
2025-08-18 17:58:27,356 - DEBUG - VM ctest-vn1-vm1-84673898 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1
2025-08-18 17:58:27,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8de14c19-8208-4845-a75a-f738ad8f7694
2025-08-18 17:58:27,421 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a471724-9844-4606-9365-1010c2a47f02
2025-08-18 17:58:30,674 - 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-08-18 17:58:30,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84673898 failed!
2025-08-18 17:58:30,729 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99286364:ctest-vn1-14397019 is 186.131.113.1 and allocation pool is NOT set
2025-08-18 17:58:30,730 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99286364:ctest-vn1-14397019 is 41.190.169.129 and allocation pool is NOT set
2025-08-18 17:58:32,786 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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.281/2.481/3.681/1.200 ms')
2025-08-18 17:58:32,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84673898 passed
2025-08-18 17:58:32,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:32,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84673898, IP 186.131.113.5, Port 22
2025-08-18 17:58:32,993 - 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-18 17:58:33,059 - DEBUG - VM ctest-vn1-vm1-84673898 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-18 17:58:38,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:38,060 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84673898, IP 186.131.113.5, Port 22
2025-08-18 17:58:38,217 - DEBUG - VM ctest-vn1-vm1-84673898 is ready for SSH connections
2025-08-18 17:58:38,217 - INFO - Waiting for VM ctest-vn1-vm2-42732932 to be up..
2025-08-18 17:58:38,278 - DEBUG - VM is in ACTIVE state now
2025-08-18 17:58:38,278 - INFO - VM name : ctest-vn1-vm2-42732932
2025-08-18 17:58:38,335 - DEBUG - VM ctest-vn1-vm2-42732932 ID is 8e659853-4d4f-40ad-9d3e-f2e23a7c3abd
2025-08-18 17:58:38,335 - DEBUG - VM ctest-vn1-vm2-42732932 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1
2025-08-18 17:58:38,393 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e659853-4d4f-40ad-9d3e-f2e23a7c3abd
2025-08-18 17:58:38,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/41a91b15-b640-4140-b71e-300af9f98bbf
2025-08-18 17:58:39,631 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 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.309/1.542/2.775/1.233 ms')
2025-08-18 17:58:39,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42732932 passed
2025-08-18 17:58:39,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:39,778 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42732932, IP 41.190.169.133, Port 22
2025-08-18 17:58:39,936 - DEBUG - VM ctest-vn1-vm2-42732932 is ready for SSH connections
2025-08-18 17:58:39,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:39,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:39,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 17:58:39,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.131.113.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-18 17:58:39,937 - DEBUG - ping -s 56 -c 3 -W 1 186.131.113.5
2025-08-18 17:58:42,553 - DEBUG - PING 186.131.113.5 (186.131.113.5): 56 data bytes
64 bytes from 186.131.113.5: seq=0 ttl=63 time=4.419 ms
64 bytes from 186.131.113.5: seq=1 ttl=63 time=0.861 ms
64 bytes from 186.131.113.5: seq=2 ttl=63 time=0.692 ms
--- 186.131.113.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.692/1.990/4.419 ms
2025-08-18 17:58:42,553 - INFO - Ping to IP 186.131.113.5 from VM ctest-vn1-vm2-42732932 passed
2025-08-18 17:58:42,553 - INFO - Detaching port 41a91b15-b640-4140-b71e-300af9f98bbf from VM ctest-vn1-vm2-42732932
2025-08-18 17:58:42,596 - INFO - Deleting VM ctest-vn1-vm2-42732932
2025-08-18 17:58:42,653 - INFO - Detaching port 9a471724-9844-4606-9365-1010c2a47f02 from VM ctest-vn1-vm1-84673898
2025-08-18 17:58:42,683 - INFO - Deleting VM ctest-vn1-vm1-84673898
2025-08-18 17:58:42,874 - DEBUG - Response for delete_port : ()
2025-08-18 17:58:43,035 - DEBUG - Response for delete_port : ()
2025-08-18 17:58:43,035 - INFO - Deleting VN ctest-vn1-14397019
2025-08-18 17:58:43,183 - DEBUG - Response for deleting network ()
2025-08-18 17:58:43,442 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 17:58:43,442 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-18 17:58:43,442 - INFO - --------------------------------------------------------------------------------
2025-08-18 17:58:44,142 - INFO - Deleted project: ctest-TestPorts-99286364, ID : 1a761604-c424-4724-adf6-44c71d0bd3ad