2025-09-11 16:53:56,841 - INFO - Domain Default found not creating 2025-09-11 16:53:57,156 - INFO - Project ctest-TestPorts-32568601 not found, creating it 2025-09-11 16:53:57,725 - INFO - Created Project:ctest-TestPorts-32568601, ID : c316c5ac-c700-4482-921b-49ffc7a71f85 2025-09-11 16:53:59,937 - INFO - ================================================================================ 2025-09-11 16:53:59,938 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 16:53:59,938 - 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-09-11 16:54:00,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 16:54:00,238 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:54:00,238 - INFO - 2025-09-11 16:54:00,908 - DEBUG - Response for create_network : {'network': {'id': '2878da9e-12da-45b1-a253-4c4cb1bd766c', 'name': 'ctest-vn-79772692', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'project_id': 'c316c5acc7004482921b49ffc7a71f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32568601', 'ctest-vn-79772692'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:54:01,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c4a6d2d-2d75-45ac-afcd-24ff80343f0d', 'name': '', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '2878da9e-12da-45b1-a253-4c4cb1bd766c', 'ip_version': 4, 'cidr': '23.198.23.192/26', 'allocation_pools': [{'start': '23.198.23.194', 'end': '23.198.23.254'}], 'gateway_ip': '23.198.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.198.23.194', 'tags': [], 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:01,194 - INFO - Created VN ctest-vn-79772692 2025-09-11 16:54:01,251 - DEBUG - VN ctest-vn-79772692 UUID is 2878da9e-12da-45b1-a253-4c4cb1bd766c 2025-09-11 16:54:01,378 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32568601', 'ctest-vmi-12213332']} 2025-09-11 16:54:01,650 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12213332', 'id': 'f8c19745-491e-4c04-abf2-f19a6d03b950', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '2878da9e-12da-45b1-a253-4c4cb1bd766c', 'mac_address': '02:f8:c1:97:45:49', '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': '23.198.23.195', 'subnet_id': '6c4a6d2d-2d75-45ac-afcd-24ff80343f0d'}], 'security_groups': ['559fced8-54f7-4b9c-9b7a-1c44859db139'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:01,650 - DEBUG - Created port f8c19745-491e-4c04-abf2-f19a6d03b950 2025-09-11 16:54:01,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f8c19745-491e-4c04-abf2-f19a6d03b950 2025-09-11 16:54:02,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f8c19745-491e-4c04-abf2-f19a6d03b950 2025-09-11 16:54:02,150 - INFO - VMI f8c19745-491e-4c04-abf2-f19a6d03b950 verification in API Server passed 2025-09-11 16:54:02,321 - DEBUG - Response for delete_port : () 2025-09-11 16:54:02,321 - INFO - Deleted port f8c19745-491e-4c04-abf2-f19a6d03b950 2025-09-11 16:54:02,321 - INFO - Deleting VN ctest-vn-79772692 2025-09-11 16:54:02,439 - DEBUG - Response for deleting network () 2025-09-11 16:54:02,743 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:54:02,743 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-11 16:54:02,744 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:54:02,752 - INFO - ================================================================================ 2025-09-11 16:54:02,752 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 16:54:02,752 - 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-09-11 16:54:03,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 16:54:03,084 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:54:03,085 - INFO - 2025-09-11 16:54:03,386 - DEBUG - Response for create_network : {'network': {'id': '68e3a9df-1f54-4228-99b5-3b69c9325542', 'name': 'ctest-vn1-64624772', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'project_id': 'c316c5acc7004482921b49ffc7a71f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32568601', 'ctest-vn1-64624772'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:54:03,581 - DEBUG - Response for create_subnet : {'subnet': {'id': '0989d898-f05a-4fdf-8ac0-793ffa301608', 'name': '', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '68e3a9df-1f54-4228-99b5-3b69c9325542', 'ip_version': 4, 'cidr': '141.3.213.64/26', 'allocation_pools': [{'start': '141.3.213.66', 'end': '141.3.213.126'}], 'gateway_ip': '141.3.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.3.213.66', 'tags': [], 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:03,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2a8ee4c-3664-41c4-8c33-ebf4d321b370', 'name': '', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '68e3a9df-1f54-4228-99b5-3b69c9325542', 'ip_version': 4, 'cidr': '22.239.16.128/26', 'allocation_pools': [{'start': '22.239.16.130', 'end': '22.239.16.190'}], 'gateway_ip': '22.239.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.239.16.130', 'tags': [], 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:03,864 - INFO - Created VN ctest-vn1-64624772 2025-09-11 16:54:03,919 - DEBUG - VN ctest-vn1-64624772 UUID is 68e3a9df-1f54-4228-99b5-3b69c9325542 2025-09-11 16:54:04,463 - DEBUG - Response for create_port : {'port': {'name': '3e95a061-cc69-46e8-81b5-499ee7217bb8', 'id': '3e95a061-cc69-46e8-81b5-499ee7217bb8', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '68e3a9df-1f54-4228-99b5-3b69c9325542', 'mac_address': '02:3e:95:a0:61:cc', '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': '141.3.213.69', 'subnet_id': '0989d898-f05a-4fdf-8ac0-793ffa301608'}], 'security_groups': ['559fced8-54f7-4b9c-9b7a-1c44859db139'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:04,756 - DEBUG - Response for create_port : {'port': {'name': '96a5b702-1ecd-48d5-94b7-aa0e6b096473', 'id': '96a5b702-1ecd-48d5-94b7-aa0e6b096473', 'tenant_id': 'c316c5acc7004482921b49ffc7a71f85', 'network_id': '68e3a9df-1f54-4228-99b5-3b69c9325542', 'mac_address': '02:96:a5:b7:02:1e', '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': '22.239.16.133', 'subnet_id': 'f2a8ee4c-3664-41c4-8c33-ebf4d321b370'}], 'security_groups': ['559fced8-54f7-4b9c-9b7a-1c44859db139'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c316c5acc7004482921b49ffc7a71f85'}} 2025-09-11 16:54:04,841 - DEBUG - Services list from nova: [, , ] 2025-09-11 16:54:05,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1) 2025-09-11 16:54:06,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1) 2025-09-11 16:54:06,288 - INFO - Waiting for VM ctest-vn1-vm1-72217540 to be up.. 2025-09-11 16:54:06,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 16:54:11,502 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:54:11,503 - INFO - VM name : ctest-vn1-vm1-72217540 2025-09-11 16:54:11,644 - DEBUG - VM ctest-vn1-vm1-72217540 ID is 01dc6ee0-50dd-49eb-8788-319816141410 2025-09-11 16:54:11,687 - DEBUG - VM ctest-vn1-vm1-72217540 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1 2025-09-11 16:54:11,838 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/01dc6ee0-50dd-49eb-8788-319816141410 2025-09-11 16:54:11,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3e95a061-cc69-46e8-81b5-499ee7217bb8 2025-09-11 16:54:15,163 - 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 1001ms') 2025-09-11 16:54:15,163 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72217540 failed! 2025-09-11 16:54:15,231 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32568601:ctest-vn1-64624772 is 141.3.213.65 and allocation pool is NOT set 2025-09-11 16:54:15,232 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32568601:ctest-vn1-64624772 is 22.239.16.129 and allocation pool is NOT set 2025-09-11 16:54:19,326 - 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=8.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.566/8.566/8.566/0.000 ms') 2025-09-11 16:54:19,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72217540 passed 2025-09-11 16:54:19,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:19,515 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72217540, IP 141.3.213.69, Port 22 2025-09-11 16:54:19,717 - DEBUG - VM ctest-vn1-vm1-72217540 is ready for SSH connections 2025-09-11 16:54:19,718 - INFO - Waiting for VM ctest-vn1-vm2-23748629 to be up.. 2025-09-11 16:54:19,917 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:54:19,917 - INFO - VM name : ctest-vn1-vm2-23748629 2025-09-11 16:54:20,059 - DEBUG - VM ctest-vn1-vm2-23748629 ID is dfaae25a-79c7-49dd-af4a-c3963f05e575 2025-09-11 16:54:20,060 - DEBUG - VM ctest-vn1-vm2-23748629 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1 2025-09-11 16:54:20,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dfaae25a-79c7-49dd-af4a-c3963f05e575 2025-09-11 16:54:20,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/96a5b702-1ecd-48d5-94b7-aa0e6b096473 2025-09-11 16:54:21,549 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.062/3.122/4.183/1.060 ms') 2025-09-11 16:54:21,549 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23748629 passed 2025-09-11 16:54:21,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:21,711 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23748629, IP 22.239.16.133, Port 22 2025-09-11 16:54:21,793 - 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-09-11 16:54:21,984 - DEBUG - VM ctest-vn1-vm2-23748629 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 16:54:26,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:26,985 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23748629, IP 22.239.16.133, Port 22 2025-09-11 16:54:27,184 - DEBUG - VM ctest-vn1-vm2-23748629 is ready for SSH connections 2025-09-11 16:54:27,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:27,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:27,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:54:27,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.3.213.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 16:54:27,184 - DEBUG - ping -s 56 -c 3 -W 1 141.3.213.69 2025-09-11 16:54:30,509 - DEBUG - PING 141.3.213.69 (141.3.213.69): 56 data bytes 64 bytes from 141.3.213.69: seq=0 ttl=63 time=7.862 ms 64 bytes from 141.3.213.69: seq=1 ttl=63 time=2.026 ms 64 bytes from 141.3.213.69: seq=2 ttl=63 time=3.590 ms --- 141.3.213.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.026/4.492/7.862 ms 2025-09-11 16:54:30,509 - INFO - Ping to IP 141.3.213.69 from VM ctest-vn1-vm2-23748629 passed 2025-09-11 16:54:30,509 - INFO - Detaching port 96a5b702-1ecd-48d5-94b7-aa0e6b096473 from VM ctest-vn1-vm2-23748629 2025-09-11 16:54:30,637 - INFO - Deleting VM ctest-vn1-vm2-23748629 2025-09-11 16:54:30,781 - INFO - Detaching port 3e95a061-cc69-46e8-81b5-499ee7217bb8 from VM ctest-vn1-vm1-72217540 2025-09-11 16:54:30,818 - INFO - Deleting VM ctest-vn1-vm1-72217540 2025-09-11 16:54:31,098 - DEBUG - Response for delete_port : () 2025-09-11 16:54:31,256 - DEBUG - Response for delete_port : () 2025-09-11 16:54:31,257 - INFO - Deleting VN ctest-vn1-64624772 2025-09-11 16:54:31,377 - DEBUG - Response for deleting network () 2025-09-11 16:54:31,635 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:54:31,635 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-09-11 16:54:31,635 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:54:32,515 - INFO - Deleted project: ctest-TestPorts-32568601, ID : c316c5ac-c700-4482-921b-49ffc7a71f85