2025-10-09 13:42:14,111 - INFO - Reading existing Domain with UUID 8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:42:14,124 - INFO - Using existing domain ['admin_domain'](8ad80d2d-2369-4ab9-896f-7a17fd6c7f55) 2025-10-09 13:42:14,369 - INFO - Project ctest-TestPorts-56304314 not found, creating it 2025-10-09 13:42:14,904 - INFO - Created Project:ctest-TestPorts-56304314, ID : 2c017660-4df3-4a27-a795-699b9f098eff 2025-10-09 13:42:16,887 - INFO - ================================================================================ 2025-10-09 13:42:16,887 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 13:42:16,887 - 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 13:42:17,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2025-10-09 13:42:17,285 - INFO - Initial checks done. Running the testcase now 2025-10-09 13:42:17,285 - INFO - 2025-10-09 13:42:18,163 - DEBUG - Response for create_network : {'network': {'id': 'b2e98aea-7990-43ee-9587-a158411ea923', 'name': 'ctest-vn-47711247', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'project_id': '2c0176604df34a27a795699b9f098eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-56304314', 'ctest-vn-47711247'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:42:18,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '632304a7-54c0-4a8b-b21c-1f3d2e358107', 'name': '', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': 'b2e98aea-7990-43ee-9587-a158411ea923', 'ip_version': 4, 'cidr': '112.199.104.128/26', 'allocation_pools': [{'start': '112.199.104.130', 'end': '112.199.104.190'}], 'gateway_ip': '112.199.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:42:18.285408', 'updated_at': '2025-10-09T13:42:18.285408', 'dns_server_address': '112.199.104.130', 'tags': [], 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:18,449 - INFO - Created VN ctest-vn-47711247 2025-10-09 13:42:18,507 - DEBUG - VN ctest-vn-47711247 UUID is b2e98aea-7990-43ee-9587-a158411ea923 2025-10-09 13:42:18,721 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-56304314', 'ctest-vmi-77705610']} 2025-10-09 13:42:19,064 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77705610', 'id': '01b4cff6-dd96-4d55-ba04-44f15468bb09', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': 'b2e98aea-7990-43ee-9587-a158411ea923', 'mac_address': '02:01:b4:cf:f6:dd', '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': '112.199.104.131', 'subnet_id': '632304a7-54c0-4a8b-b21c-1f3d2e358107'}], 'security_groups': ['128329a4-e31c-459b-a1c3-d37b916f0200'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T13:42:18.845388', 'updated_at': '2025-10-09T13:42:18.922596', 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:19,064 - DEBUG - Created port 01b4cff6-dd96-4d55-ba04-44f15468bb09 2025-10-09 13:42:19,174 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/01b4cff6-dd96-4d55-ba04-44f15468bb09 2025-10-09 13:42:19,569 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/01b4cff6-dd96-4d55-ba04-44f15468bb09 2025-10-09 13:42:19,660 - INFO - VMI 01b4cff6-dd96-4d55-ba04-44f15468bb09 verification in API Server passed 2025-10-09 13:42:19,818 - DEBUG - Response for delete_port : () 2025-10-09 13:42:19,818 - INFO - Deleted port 01b4cff6-dd96-4d55-ba04-44f15468bb09 2025-10-09 13:42:19,818 - INFO - Deleting VN ctest-vn-47711247 2025-10-09 13:42:19,992 - DEBUG - Response for deleting network () 2025-10-09 13:42:20,408 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:42:20,408 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-10-09 13:42:20,408 - INFO - -------------------------------------------------------------------------------- 2025-10-09 13:42:20,410 - INFO - ================================================================================ 2025-10-09 13:42:20,410 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 13:42:20,410 - 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 13:42:20,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2025-10-09 13:42:20,828 - INFO - Initial checks done. Running the testcase now 2025-10-09 13:42:20,828 - INFO - 2025-10-09 13:42:21,128 - DEBUG - Response for create_network : {'network': {'id': '2d421ceb-af4f-4924-8cd8-ffc1fe5893ba', 'name': 'ctest-vn1-94323002', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'project_id': '2c0176604df34a27a795699b9f098eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-56304314', 'ctest-vn1-94323002'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:42:21,356 - DEBUG - Response for create_subnet : {'subnet': {'id': '98db19b7-ee1c-42f3-a433-96c6f4c2fb23', 'name': '', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': '2d421ceb-af4f-4924-8cd8-ffc1fe5893ba', 'ip_version': 4, 'cidr': '179.212.113.64/26', 'allocation_pools': [{'start': '179.212.113.66', 'end': '179.212.113.126'}], 'gateway_ip': '179.212.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:42:21.235263', 'updated_at': '2025-10-09T13:42:21.235263', 'dns_server_address': '179.212.113.66', 'tags': [], 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:21,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e9ced05-3cde-47b0-a691-8c45a8760934', 'name': '', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': '2d421ceb-af4f-4924-8cd8-ffc1fe5893ba', 'ip_version': 4, 'cidr': '218.77.141.0/26', 'allocation_pools': [{'start': '218.77.141.2', 'end': '218.77.141.62'}], 'gateway_ip': '218.77.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:42:21.477312', 'updated_at': '2025-10-09T13:42:21.477312', 'dns_server_address': '218.77.141.2', 'tags': [], 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:21,661 - INFO - Created VN ctest-vn1-94323002 2025-10-09 13:42:21,714 - DEBUG - VN ctest-vn1-94323002 UUID is 2d421ceb-af4f-4924-8cd8-ffc1fe5893ba 2025-10-09 13:42:22,272 - DEBUG - Response for create_port : {'port': {'name': '8c332280-d2eb-4068-b253-a0ebf2f8debf', 'id': '8c332280-d2eb-4068-b253-a0ebf2f8debf', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': '2d421ceb-af4f-4924-8cd8-ffc1fe5893ba', 'mac_address': '02:8c:33:22:80:d2', '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': '179.212.113.69', 'subnet_id': '98db19b7-ee1c-42f3-a433-96c6f4c2fb23'}], 'security_groups': ['128329a4-e31c-459b-a1c3-d37b916f0200'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T13:42:22.075738', 'updated_at': '2025-10-09T13:42:22.151270', 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:22,527 - DEBUG - Response for create_port : {'port': {'name': '99677ccb-6d04-4c9c-997b-d742662c2010', 'id': '99677ccb-6d04-4c9c-997b-d742662c2010', 'tenant_id': '2c0176604df34a27a795699b9f098eff', 'network_id': '2d421ceb-af4f-4924-8cd8-ffc1fe5893ba', 'mac_address': '02:99:67:7c:cb:6d', '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': '218.77.141.5', 'subnet_id': '4e9ced05-3cde-47b0-a691-8c45a8760934'}], 'security_groups': ['128329a4-e31c-459b-a1c3-d37b916f0200'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T13:42:22.337744', 'updated_at': '2025-10-09T13:42:22.403235', 'project_id': '2c0176604df34a27a795699b9f098eff'}} 2025-10-09 13:42:22,647 - DEBUG - Services list from nova: [, , ] 2025-10-09 13:42:23,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:42:24,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:42:24,393 - INFO - Waiting for VM ctest-vn1-vm1-12482923 to be up.. 2025-10-09 13:42:24,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 13:42:29,650 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:42:29,650 - INFO - VM name : ctest-vn1-vm1-12482923 2025-10-09 13:42:29,791 - DEBUG - VM ctest-vn1-vm1-12482923 ID is ecca2253-a8dc-4b60-9816-f5e59f18be4c 2025-10-09 13:42:29,830 - DEBUG - VM ctest-vn1-vm1-12482923 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:42:29,985 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/ecca2253-a8dc-4b60-9816-f5e59f18be4c 2025-10-09 13:42:30,043 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/8c332280-d2eb-4068-b253-a0ebf2f8debf 2025-10-09 13:42:33,548 - 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 1022ms') 2025-10-09 13:42:33,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12482923 failed! 2025-10-09 13:42:33,606 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-56304314:ctest-vn1-94323002 is 179.212.113.65 and allocation pool is NOT set 2025-10-09 13:42:33,606 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-56304314:ctest-vn1-94323002 is 218.77.141.1 and allocation pool is NOT set 2025-10-09 13:42:37,708 - 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 1004ms') 2025-10-09 13:42:37,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12482923 failed! 2025-10-09 13:42:37,770 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-56304314:ctest-vn1-94323002 is 179.212.113.65 and allocation pool is NOT set 2025-10-09 13:42:37,770 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-56304314:ctest-vn1-94323002 is 218.77.141.1 and allocation pool is NOT set 2025-10-09 13:42:39,871 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.604/7.346/12.089/4.742 ms') 2025-10-09 13:42:39,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12482923 passed 2025-10-09 13:42:40,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:40,034 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12482923, IP 179.212.113.69, Port 22 2025-10-09 13:42:40,131 - 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 13:42:40,275 - DEBUG - VM ctest-vn1-vm1-12482923 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 13:42:45,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:45,277 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12482923, IP 179.212.113.69, Port 22 2025-10-09 13:42:45,515 - DEBUG - VM ctest-vn1-vm1-12482923 is ready for SSH connections 2025-10-09 13:42:45,515 - INFO - Waiting for VM ctest-vn1-vm2-68179156 to be up.. 2025-10-09 13:42:45,673 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:42:45,673 - INFO - VM name : ctest-vn1-vm2-68179156 2025-10-09 13:42:45,836 - DEBUG - VM ctest-vn1-vm2-68179156 ID is e2266a68-06a0-4ee7-a578-3b5ea8201eca 2025-10-09 13:42:45,837 - DEBUG - VM ctest-vn1-vm2-68179156 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:42:45,999 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/e2266a68-06a0-4ee7-a578-3b5ea8201eca 2025-10-09 13:42:46,055 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/99677ccb-6d04-4c9c-997b-d742662c2010 2025-10-09 13:42:47,514 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.663 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.663/1.978/3.293/1.315 ms') 2025-10-09 13:42:47,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68179156 passed 2025-10-09 13:42:47,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:47,671 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68179156, IP 218.77.141.5, Port 22 2025-10-09 13:42:47,897 - DEBUG - VM ctest-vn1-vm2-68179156 is ready for SSH connections 2025-10-09 13:42:47,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:47,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:47,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:42:47,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.212.113.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:42:47,897 - DEBUG - ping -s 56 -c 3 -W 1 179.212.113.69 2025-10-09 13:42:51,060 - DEBUG - PING 179.212.113.69 (179.212.113.69): 56 data bytes 64 bytes from 179.212.113.69: seq=0 ttl=63 time=4.361 ms 64 bytes from 179.212.113.69: seq=1 ttl=63 time=1.141 ms 64 bytes from 179.212.113.69: seq=2 ttl=63 time=1.081 ms --- 179.212.113.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/2.194/4.361 ms 2025-10-09 13:42:51,060 - INFO - Ping to IP 179.212.113.69 from VM ctest-vn1-vm2-68179156 passed 2025-10-09 13:42:51,060 - INFO - Detaching port 99677ccb-6d04-4c9c-997b-d742662c2010 from VM ctest-vn1-vm2-68179156 2025-10-09 13:42:51,160 - INFO - Deleting VM ctest-vn1-vm2-68179156 2025-10-09 13:42:51,426 - INFO - Detaching port 8c332280-d2eb-4068-b253-a0ebf2f8debf from VM ctest-vn1-vm1-12482923 2025-10-09 13:42:51,505 - INFO - Deleting VM ctest-vn1-vm1-12482923 2025-10-09 13:42:52,132 - DEBUG - Response for delete_port : () 2025-10-09 13:42:52,575 - DEBUG - Response for delete_port : () 2025-10-09 13:42:52,575 - INFO - Deleting VN ctest-vn1-94323002 2025-10-09 13:42:52,870 - DEBUG - Response for deleting network () 2025-10-09 13:42:53,276 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:42:53,276 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:33]
2025-10-09 13:42:53,276 - INFO - -------------------------------------------------------------------------------- 2025-10-09 13:42:54,108 - INFO - Deleted project: ctest-TestPorts-56304314, ID : 2c017660-4df3-4a27-a795-699b9f098eff