2025-10-22 16:14:23,297 - INFO - Reading existing Domain with UUID 46535b60-2514-4548-ad8b-3c79fd57b8eb 2025-10-22 16:14:23,310 - INFO - Using existing domain ['admin_domain'](46535b60-2514-4548-ad8b-3c79fd57b8eb) 2025-10-22 16:14:23,493 - INFO - Project ctest-TestPorts-54765725 not found, creating it 2025-10-22 16:14:24,000 - INFO - Created Project:ctest-TestPorts-54765725, ID : f54283fa-88e1-41d2-99bc-155635e21be5 2025-10-22 16:14:25,678 - INFO - ================================================================================ 2025-10-22 16:14:25,678 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 16:14:25,679 - 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-22 16:14:26,062 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2025-10-22 16:14:26,062 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:14:26,063 - INFO - 2025-10-22 16:14:26,826 - DEBUG - Response for create_network : {'network': {'id': '65d6a074-d1b3-4c55-a8b3-cfff2f4abdeb', 'name': 'ctest-vn-06337571', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'project_id': 'f54283fa88e141d299bc155635e21be5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-54765725', 'ctest-vn-06337571'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 16:14:27,093 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b55d9840-4955-455e-9df0-07ca5f2df2a4', 'name': '', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '65d6a074-d1b3-4c55-a8b3-cfff2f4abdeb', 'ip_version': 4, 'cidr': '21.28.222.0/26', 'allocation_pools': [{'start': '21.28.222.2', 'end': '21.28.222.62'}], 'gateway_ip': '21.28.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T16:14:26.976218', 'updated_at': '2025-10-22T16:14:26.976218', 'dns_server_address': '21.28.222.2', 'tags': [], 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:27,159 - INFO - Created VN ctest-vn-06337571 2025-10-22 16:14:27,213 - DEBUG - VN ctest-vn-06337571 UUID is 65d6a074-d1b3-4c55-a8b3-cfff2f4abdeb 2025-10-22 16:14:27,423 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-54765725', 'ctest-vmi-16392091']} 2025-10-22 16:14:27,735 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16392091', 'id': '9fa48b9d-b87a-496a-a474-b3b3575cbc3b', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '65d6a074-d1b3-4c55-a8b3-cfff2f4abdeb', 'mac_address': '02:9f:a4:8b:9d:b8', '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': '21.28.222.3', 'subnet_id': 'b55d9840-4955-455e-9df0-07ca5f2df2a4'}], 'security_groups': ['7926b144-f854-4347-ab09-468a3eec6101'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T16:14:27.543086', 'updated_at': '2025-10-22T16:14:27.609907', 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:27,735 - DEBUG - Created port 9fa48b9d-b87a-496a-a474-b3b3575cbc3b 2025-10-22 16:14:27,841 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/9fa48b9d-b87a-496a-a474-b3b3575cbc3b 2025-10-22 16:14:28,191 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/9fa48b9d-b87a-496a-a474-b3b3575cbc3b 2025-10-22 16:14:28,274 - INFO - VMI 9fa48b9d-b87a-496a-a474-b3b3575cbc3b verification in API Server passed 2025-10-22 16:14:28,439 - DEBUG - Response for delete_port : () 2025-10-22 16:14:28,439 - INFO - Deleted port 9fa48b9d-b87a-496a-a474-b3b3575cbc3b 2025-10-22 16:14:28,440 - INFO - Deleting VN ctest-vn-06337571 2025-10-22 16:14:28,610 - DEBUG - Response for deleting network () 2025-10-22 16:14:29,006 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 16:14:29,006 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-22 16:14:29,006 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:14:29,009 - INFO - ================================================================================ 2025-10-22 16:14:29,009 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 16:14:29,009 - 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-22 16:14:29,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2025-10-22 16:14:29,398 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:14:29,398 - INFO - 2025-10-22 16:14:29,681 - DEBUG - Response for create_network : {'network': {'id': '45193bd0-1ba6-4cfc-a4ce-17acec00ff8e', 'name': 'ctest-vn1-41388362', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'project_id': 'f54283fa88e141d299bc155635e21be5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-54765725', 'ctest-vn1-41388362'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 16:14:29,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '93c66c19-20d1-4c81-87e4-a2909e7acd51', 'name': '', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '45193bd0-1ba6-4cfc-a4ce-17acec00ff8e', 'ip_version': 4, 'cidr': '60.207.40.64/26', 'allocation_pools': [{'start': '60.207.40.66', 'end': '60.207.40.126'}], 'gateway_ip': '60.207.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T16:14:29.831458', 'updated_at': '2025-10-22T16:14:29.831458', 'dns_server_address': '60.207.40.66', 'tags': [], 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:30,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '10c78e91-dde4-41f6-9c62-c412af0c9cd7', 'name': '', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '45193bd0-1ba6-4cfc-a4ce-17acec00ff8e', 'ip_version': 4, 'cidr': '154.216.204.0/26', 'allocation_pools': [{'start': '154.216.204.2', 'end': '154.216.204.62'}], 'gateway_ip': '154.216.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T16:14:30.083555', 'updated_at': '2025-10-22T16:14:30.083555', 'dns_server_address': '154.216.204.2', 'tags': [], 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:30,255 - INFO - Created VN ctest-vn1-41388362 2025-10-22 16:14:30,309 - DEBUG - VN ctest-vn1-41388362 UUID is 45193bd0-1ba6-4cfc-a4ce-17acec00ff8e 2025-10-22 16:14:30,850 - DEBUG - Response for create_port : {'port': {'name': '22110501-f27c-419e-b5e2-6a3f78dddd65', 'id': '22110501-f27c-419e-b5e2-6a3f78dddd65', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '45193bd0-1ba6-4cfc-a4ce-17acec00ff8e', 'mac_address': '02:22:11:05:01:f2', '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': '60.207.40.69', 'subnet_id': '93c66c19-20d1-4c81-87e4-a2909e7acd51'}], 'security_groups': ['7926b144-f854-4347-ab09-468a3eec6101'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T16:14:30.650941', 'updated_at': '2025-10-22T16:14:30.720801', 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:31,102 - DEBUG - Response for create_port : {'port': {'name': 'c1a8a5ae-5617-47e8-9cc6-e0c6dfccb76e', 'id': 'c1a8a5ae-5617-47e8-9cc6-e0c6dfccb76e', 'tenant_id': 'f54283fa88e141d299bc155635e21be5', 'network_id': '45193bd0-1ba6-4cfc-a4ce-17acec00ff8e', 'mac_address': '02:c1:a8:a5:ae:56', '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': '154.216.204.5', 'subnet_id': '10c78e91-dde4-41f6-9c62-c412af0c9cd7'}], 'security_groups': ['7926b144-f854-4347-ab09-468a3eec6101'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T16:14:30.918432', 'updated_at': '2025-10-22T16:14:30.983859', 'project_id': 'f54283fa88e141d299bc155635e21be5'}} 2025-10-22 16:14:31,161 - DEBUG - Services list from nova: [, , ] 2025-10-22 16:14:32,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-602-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-602-1) 2025-10-22 16:14:33,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-602-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-602-1) 2025-10-22 16:14:33,385 - INFO - Waiting for VM ctest-vn1-vm1-49153186 to be up.. 2025-10-22 16:14:33,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 16:14:38,637 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:14:38,638 - INFO - VM name : ctest-vn1-vm1-49153186 2025-10-22 16:14:38,773 - DEBUG - VM ctest-vn1-vm1-49153186 ID is 378f35be-6bf7-4ece-b88a-5150b9ae2ad4 2025-10-22 16:14:38,808 - DEBUG - VM ctest-vn1-vm1-49153186 launched on Node cn-jenkins-deploy-platform-juju-os-602-1 2025-10-22 16:14:38,949 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/378f35be-6bf7-4ece-b88a-5150b9ae2ad4 2025-10-22 16:14:39,002 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/22110501-f27c-419e-b5e2-6a3f78dddd65 2025-10-22 16:14:42,459 - 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 1007ms') 2025-10-22 16:14:42,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49153186 failed! 2025-10-22 16:14:42,521 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-54765725:ctest-vn1-41388362 is 60.207.40.65 and allocation pool is NOT set 2025-10-22 16:14:42,521 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-54765725:ctest-vn1-41388362 is 154.216.204.1 and allocation pool is NOT set 2025-10-22 16:14:46,629 - 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=2 ttl=63 time=11.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 11.541/11.541/11.541/0.000 ms') 2025-10-22 16:14:46,630 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49153186 passed 2025-10-22 16:14:46,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:46,797 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49153186, IP 60.207.40.69, Port 22 2025-10-22 16:14:46,884 - 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-22 16:14:47,034 - DEBUG - VM ctest-vn1-vm1-49153186 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 16:14:52,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:52,036 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49153186, IP 60.207.40.69, Port 22 2025-10-22 16:14:52,385 - DEBUG - VM ctest-vn1-vm1-49153186 is ready for SSH connections 2025-10-22 16:14:52,386 - INFO - Waiting for VM ctest-vn1-vm2-57765441 to be up.. 2025-10-22 16:14:52,589 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:14:52,589 - INFO - VM name : ctest-vn1-vm2-57765441 2025-10-22 16:14:52,827 - DEBUG - VM ctest-vn1-vm2-57765441 ID is 196cdabb-fcf4-454f-a068-206519cc012a 2025-10-22 16:14:52,827 - DEBUG - VM ctest-vn1-vm2-57765441 launched on Node cn-jenkins-deploy-platform-juju-os-602-1 2025-10-22 16:14:53,007 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/196cdabb-fcf4-454f-a068-206519cc012a 2025-10-22 16:14:53,070 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/c1a8a5ae-5617-47e8-9cc6-e0c6dfccb76e 2025-10-22 16:14:54,645 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.53 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 = 1.534/2.118/2.702/0.584 ms') 2025-10-22 16:14:54,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57765441 passed 2025-10-22 16:14:54,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:54,825 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57765441, IP 154.216.204.5, Port 22 2025-10-22 16:14:55,092 - DEBUG - VM ctest-vn1-vm2-57765441 is ready for SSH connections 2025-10-22 16:14:55,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:55,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:55,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:14:55,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.207.40.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 16:14:55,095 - DEBUG - ping -s 56 -c 3 -W 1 60.207.40.69 2025-10-22 16:14:58,170 - DEBUG - PING 60.207.40.69 (60.207.40.69): 56 data bytes 64 bytes from 60.207.40.69: seq=0 ttl=63 time=9.513 ms 64 bytes from 60.207.40.69: seq=1 ttl=63 time=1.488 ms 64 bytes from 60.207.40.69: seq=2 ttl=63 time=0.969 ms --- 60.207.40.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/3.990/9.513 ms 2025-10-22 16:14:58,170 - INFO - Ping to IP 60.207.40.69 from VM ctest-vn1-vm2-57765441 passed 2025-10-22 16:14:58,170 - INFO - Detaching port c1a8a5ae-5617-47e8-9cc6-e0c6dfccb76e from VM ctest-vn1-vm2-57765441 2025-10-22 16:14:58,369 - INFO - Deleting VM ctest-vn1-vm2-57765441 2025-10-22 16:14:58,827 - INFO - Detaching port 22110501-f27c-419e-b5e2-6a3f78dddd65 from VM ctest-vn1-vm1-49153186 2025-10-22 16:14:58,959 - INFO - Deleting VM ctest-vn1-vm1-49153186 2025-10-22 16:14:59,558 - DEBUG - Response for delete_port : () 2025-10-22 16:14:59,968 - DEBUG - Response for delete_port : () 2025-10-22 16:14:59,968 - INFO - Deleting VN ctest-vn1-41388362 2025-10-22 16:15:00,301 - DEBUG - Response for deleting network () 2025-10-22 16:15:00,690 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 16:15:00,690 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:31] 2025-10-22 16:15:00,691 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:15:01,656 - INFO - Deleted project: ctest-TestPorts-54765725, ID : f54283fa-88e1-41d2-99bc-155635e21be5