2025-08-25 14:23:47,311 - INFO - Domain Default found not creating
2025-08-25 14:23:47,462 - INFO - Project ctest-TestPorts-62857793 not found, creating it
2025-08-25 14:23:47,951 - INFO - Created Project:ctest-TestPorts-62857793, ID : f6855ad0-671c-4159-abed-6e00cf9f1a50
2025-08-25 14:23:49,532 - INFO - ================================================================================
2025-08-25 14:23:49,532 - INFO - STARTING TEST : test_ports_bindings
2025-08-25 14:23:49,532 - 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-25 14:23:49,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-08-25 14:23:49,792 - INFO - Initial checks done. Running the testcase now
2025-08-25 14:23:49,792 - INFO -
2025-08-25 14:23:50,404 - DEBUG - Response for create_network : {'network': {'id': 'cfa16139-a435-4ef1-a8da-287e8e63f9ca', 'name': 'ctest-vn-36344071', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62857793', 'ctest-vn-36344071'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 14:23:50,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '9071e813-38d1-45fe-9734-c465db7cc1c5', 'name': '', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': 'cfa16139-a435-4ef1-a8da-287e8e63f9ca', 'ip_version': 4, 'cidr': '122.136.199.0/26', 'allocation_pools': [{'start': '122.136.199.2', 'end': '122.136.199.62'}], 'gateway_ip': '122.136.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.136.199.2', 'tags': [], 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:50,593 - INFO - Created VN ctest-vn-36344071
2025-08-25 14:23:50,645 - DEBUG - VN ctest-vn-36344071 UUID is cfa16139-a435-4ef1-a8da-287e8e63f9ca
2025-08-25 14:23:50,753 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62857793', 'ctest-vmi-77864346']}
2025-08-25 14:23:51,019 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77864346', 'id': '55275dfe-8283-4b82-92cc-810916288e34', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': 'cfa16139-a435-4ef1-a8da-287e8e63f9ca', 'mac_address': '02:55:27:5d:fe:82', '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': '122.136.199.3', 'subnet_id': '9071e813-38d1-45fe-9734-c465db7cc1c5'}], 'security_groups': ['28b86239-1b58-4eb6-a8b8-5947b0394af9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:51,019 - DEBUG - Created port 55275dfe-8283-4b82-92cc-810916288e34
2025-08-25 14:23:51,125 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/55275dfe-8283-4b82-92cc-810916288e34
2025-08-25 14:23:51,455 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/55275dfe-8283-4b82-92cc-810916288e34
2025-08-25 14:23:51,487 - INFO - VMI 55275dfe-8283-4b82-92cc-810916288e34 verification in API Server passed
2025-08-25 14:23:51,586 - DEBUG - Response for delete_port : ()
2025-08-25 14:23:51,587 - INFO - Deleted port 55275dfe-8283-4b82-92cc-810916288e34
2025-08-25 14:23:51,587 - INFO - Deleting VN ctest-vn-36344071
2025-08-25 14:23:51,730 - DEBUG - Response for deleting network ()
2025-08-25 14:23:51,990 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:23:51,990 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-25 14:23:51,991 - INFO - --------------------------------------------------------------------------------
2025-08-25 14:23:51,993 - INFO - ================================================================================
2025-08-25 14:23:51,993 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-25 14:23:51,994 - 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-25 14:23:52,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-08-25 14:23:52,279 - INFO - Initial checks done. Running the testcase now
2025-08-25 14:23:52,279 - INFO -
2025-08-25 14:23:52,476 - DEBUG - Response for create_network : {'network': {'id': '11238139-efa0-4473-993d-0c9be9260076', 'name': 'ctest-vn1-98341213', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62857793', 'ctest-vn1-98341213'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 14:23:52,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '18ef4c73-393a-4b28-adda-f29cd30371f8', 'name': '', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': '11238139-efa0-4473-993d-0c9be9260076', 'ip_version': 4, 'cidr': '197.255.214.192/26', 'allocation_pools': [{'start': '197.255.214.194', 'end': '197.255.214.254'}], 'gateway_ip': '197.255.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.255.214.194', 'tags': [], 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:52,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '6042f5f9-ab7b-4973-96ae-95a9f7c5299b', 'name': '', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': '11238139-efa0-4473-993d-0c9be9260076', 'ip_version': 4, 'cidr': '50.27.92.0/26', 'allocation_pools': [{'start': '50.27.92.2', 'end': '50.27.92.62'}], 'gateway_ip': '50.27.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.27.92.2', 'tags': [], 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:52,879 - INFO - Created VN ctest-vn1-98341213
2025-08-25 14:23:52,933 - DEBUG - VN ctest-vn1-98341213 UUID is 11238139-efa0-4473-993d-0c9be9260076
2025-08-25 14:23:53,257 - DEBUG - Response for create_port : {'port': {'name': '86584043-ff41-44e5-8878-48f17ef61ccd', 'id': '86584043-ff41-44e5-8878-48f17ef61ccd', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': '11238139-efa0-4473-993d-0c9be9260076', 'mac_address': '02:86:58:40:43:ff', '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': '197.255.214.197', 'subnet_id': '18ef4c73-393a-4b28-adda-f29cd30371f8'}], 'security_groups': ['28b86239-1b58-4eb6-a8b8-5947b0394af9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:53,449 - DEBUG - Response for create_port : {'port': {'name': '990b0341-d3a8-400e-907f-dbf3d2fcaef7', 'id': '990b0341-d3a8-400e-907f-dbf3d2fcaef7', 'tenant_id': 'f6855ad0671c4159abed6e00cf9f1a50', 'network_id': '11238139-efa0-4473-993d-0c9be9260076', 'mac_address': '02:99:0b:03:41:d3', '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': '50.27.92.5', 'subnet_id': '6042f5f9-ab7b-4973-96ae-95a9f7c5299b'}], 'security_groups': ['28b86239-1b58-4eb6-a8b8-5947b0394af9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6855ad0671c4159abed6e00cf9f1a50'}}
2025-08-25 14:23:53,510 - DEBUG - Services list from nova: [, , ]
2025-08-25 14:23:53,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1)
2025-08-25 14:23:54,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1)
2025-08-25 14:23:54,299 - INFO - Waiting for VM ctest-vn1-vm1-27376447 to be up..
2025-08-25 14:23:54,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-25 14:23:59,421 - DEBUG - VM is in ACTIVE state now
2025-08-25 14:23:59,422 - INFO - VM name : ctest-vn1-vm1-27376447
2025-08-25 14:23:59,505 - DEBUG - VM ctest-vn1-vm1-27376447 ID is dac0a7bc-5b25-4bed-b9d0-08f8bb8591a0
2025-08-25 14:23:59,525 - DEBUG - VM ctest-vn1-vm1-27376447 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1
2025-08-25 14:23:59,607 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dac0a7bc-5b25-4bed-b9d0-08f8bb8591a0
2025-08-25 14:23:59,619 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/86584043-ff41-44e5-8878-48f17ef61ccd
2025-08-25 14:24:02,892 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-08-25 14:24:02,892 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27376447 failed!
2025-08-25 14:24:02,949 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62857793:ctest-vn1-98341213 is 197.255.214.193 and allocation pool is NOT set
2025-08-25 14:24:02,949 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62857793:ctest-vn1-98341213 is 50.27.92.1 and allocation pool is NOT set
2025-08-25 14:24:07,024 - 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=2 ttl=63 time=12.5 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 12.497/12.497/12.497/0.000 ms')
2025-08-25 14:24:07,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27376447 passed
2025-08-25 14:24:07,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:07,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27376447, IP 197.255.214.197, Port 22
2025-08-25 14:24:07,258 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-25 14:24:07,349 - DEBUG - VM ctest-vn1-vm1-27376447 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-25 14:24:12,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:12,349 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27376447, IP 197.255.214.197, Port 22
2025-08-25 14:24:12,512 - DEBUG - VM ctest-vn1-vm1-27376447 is ready for SSH connections
2025-08-25 14:24:12,512 - INFO - Waiting for VM ctest-vn1-vm2-37460704 to be up..
2025-08-25 14:24:12,589 - DEBUG - VM is in ACTIVE state now
2025-08-25 14:24:12,590 - INFO - VM name : ctest-vn1-vm2-37460704
2025-08-25 14:24:12,660 - DEBUG - VM ctest-vn1-vm2-37460704 ID is 783aba46-c635-4d07-af4d-e44e46f96a7a
2025-08-25 14:24:12,661 - DEBUG - VM ctest-vn1-vm2-37460704 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1
2025-08-25 14:24:12,733 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/783aba46-c635-4d07-af4d-e44e46f96a7a
2025-08-25 14:24:12,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/990b0341-d3a8-400e-907f-dbf3d2fcaef7
2025-08-25 14:24:13,989 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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 = 0.368/1.788/3.209/1.420 ms')
2025-08-25 14:24:13,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-37460704 passed
2025-08-25 14:24:14,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:14,145 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37460704, IP 50.27.92.5, Port 22
2025-08-25 14:24:14,304 - DEBUG - VM ctest-vn1-vm2-37460704 is ready for SSH connections
2025-08-25 14:24:14,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:14,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:14,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:24:14,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.255.214.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-25 14:24:14,305 - DEBUG - ping -s 56 -c 3 -W 1 197.255.214.197
2025-08-25 14:24:18,331 - DEBUG - PING 197.255.214.197 (197.255.214.197): 56 data bytes
64 bytes from 197.255.214.197: seq=0 ttl=63 time=3.550 ms
64 bytes from 197.255.214.197: seq=1 ttl=63 time=0.855 ms
64 bytes from 197.255.214.197: seq=2 ttl=63 time=1.013 ms
--- 197.255.214.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.855/1.806/3.550 ms
2025-08-25 14:24:18,331 - INFO - Ping to IP 197.255.214.197 from VM ctest-vn1-vm2-37460704 passed
2025-08-25 14:24:18,331 - INFO - Detaching port 990b0341-d3a8-400e-907f-dbf3d2fcaef7 from VM ctest-vn1-vm2-37460704
2025-08-25 14:24:18,382 - INFO - Deleting VM ctest-vn1-vm2-37460704
2025-08-25 14:24:18,452 - INFO - Detaching port 86584043-ff41-44e5-8878-48f17ef61ccd from VM ctest-vn1-vm1-27376447
2025-08-25 14:24:18,492 - INFO - Deleting VM ctest-vn1-vm1-27376447
2025-08-25 14:24:18,774 - DEBUG - Response for delete_port : ()
2025-08-25 14:24:18,939 - DEBUG - Response for delete_port : ()
2025-08-25 14:24:18,939 - INFO - Deleting VN ctest-vn1-98341213
2025-08-25 14:24:19,074 - DEBUG - Response for deleting network ()
2025-08-25 14:24:19,342 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:24:19,342 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-08-25 14:24:19,343 - INFO - --------------------------------------------------------------------------------
2025-08-25 14:24:20,143 - INFO - Deleted project: ctest-TestPorts-62857793, ID : f6855ad0-671c-4159-abed-6e00cf9f1a50