2025-12-11 17:35:47,630 - INFO - Domain Default found not creating 2025-12-11 17:35:47,822 - INFO - Project ctest-TestPorts-15652651 not found, creating it 2025-12-11 17:35:48,418 - INFO - Created Project:ctest-TestPorts-15652651, ID : 417fc7c0-1cfd-4f78-867f-8d7828980efb 2025-12-11 17:35:50,040 - INFO - ================================================================================ 2025-12-11 17:35:50,040 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 17:35:50,040 - 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-12-11 17:35:50,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-12-11 17:35:50,303 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:35:50,303 - INFO - 2025-12-11 17:35:50,904 - DEBUG - Response for create_network : {'network': {'id': 'f7c367fe-e1eb-44b7-afc2-5c1bb8bb67e9', 'name': 'ctest-vn-41615056', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'project_id': '417fc7c01cfd4f78867f8d7828980efb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15652651', 'ctest-vn-41615056'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:35:51,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '25743b11-a9ee-4b7e-a76f-0db58f3026d7', 'name': '', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': 'f7c367fe-e1eb-44b7-afc2-5c1bb8bb67e9', 'ip_version': 4, 'cidr': '176.131.30.0/26', 'allocation_pools': [{'start': '176.131.30.2', 'end': '176.131.30.62'}], 'gateway_ip': '176.131.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.131.30.2', 'tags': [], 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:51,132 - INFO - Created VN ctest-vn-41615056 2025-12-11 17:35:51,186 - DEBUG - VN ctest-vn-41615056 UUID is f7c367fe-e1eb-44b7-afc2-5c1bb8bb67e9 2025-12-11 17:35:51,292 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15652651', 'ctest-vmi-36534959']} 2025-12-11 17:35:51,542 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36534959', 'id': '4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': 'f7c367fe-e1eb-44b7-afc2-5c1bb8bb67e9', 'mac_address': '02:4e:42:b7:8b:f7', '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': '176.131.30.3', 'subnet_id': '25743b11-a9ee-4b7e-a76f-0db58f3026d7'}], 'security_groups': ['f6f2313f-5ef2-49b4-9696-6cf4e41de566'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:51,543 - DEBUG - Created port 4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d 2025-12-11 17:35:51,650 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d 2025-12-11 17:35:51,957 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d 2025-12-11 17:35:51,998 - INFO - VMI 4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d verification in API Server passed 2025-12-11 17:35:52,091 - DEBUG - Response for delete_port : () 2025-12-11 17:35:52,091 - INFO - Deleted port 4e42b78b-f79e-4e1e-9cf4-514f55cb2f7d 2025-12-11 17:35:52,092 - INFO - Deleting VN ctest-vn-41615056 2025-12-11 17:35:52,213 - DEBUG - Response for deleting network () 2025-12-11 17:35:52,477 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:35:52,477 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-11 17:35:52,477 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:35:52,481 - INFO - ================================================================================ 2025-12-11 17:35:52,481 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 17:35:52,481 - 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-12-11 17:35:52,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-12-11 17:35:52,787 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:35:52,787 - INFO - 2025-12-11 17:35:53,005 - DEBUG - Response for create_network : {'network': {'id': '072c2254-29f0-4e7e-ab0d-efbcfc8987cb', 'name': 'ctest-vn1-92264659', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'project_id': '417fc7c01cfd4f78867f8d7828980efb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15652651', 'ctest-vn1-92264659'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:35:53,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a9a8f43-1bae-4b14-98ae-59e8816f5572', 'name': '', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': '072c2254-29f0-4e7e-ab0d-efbcfc8987cb', 'ip_version': 4, 'cidr': '118.106.174.64/26', 'allocation_pools': [{'start': '118.106.174.66', 'end': '118.106.174.126'}], 'gateway_ip': '118.106.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.106.174.66', 'tags': [], 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:53,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c1a2db0-ab13-45b6-bc7d-2cde2025d7eb', 'name': '', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': '072c2254-29f0-4e7e-ab0d-efbcfc8987cb', 'ip_version': 4, 'cidr': '113.19.155.64/26', 'allocation_pools': [{'start': '113.19.155.66', 'end': '113.19.155.126'}], 'gateway_ip': '113.19.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.19.155.66', 'tags': [], 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:53,394 - INFO - Created VN ctest-vn1-92264659 2025-12-11 17:35:53,446 - DEBUG - VN ctest-vn1-92264659 UUID is 072c2254-29f0-4e7e-ab0d-efbcfc8987cb 2025-12-11 17:35:53,791 - DEBUG - Response for create_port : {'port': {'name': '0d1fd0ec-157d-4c4c-bf41-5f56d5353b5e', 'id': '0d1fd0ec-157d-4c4c-bf41-5f56d5353b5e', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': '072c2254-29f0-4e7e-ab0d-efbcfc8987cb', 'mac_address': '02:0d:1f:d0:ec:15', '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': '118.106.174.69', 'subnet_id': '0a9a8f43-1bae-4b14-98ae-59e8816f5572'}], 'security_groups': ['f6f2313f-5ef2-49b4-9696-6cf4e41de566'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:53,985 - DEBUG - Response for create_port : {'port': {'name': '9998eb17-aca1-4374-976b-10807f91c284', 'id': '9998eb17-aca1-4374-976b-10807f91c284', 'tenant_id': '417fc7c01cfd4f78867f8d7828980efb', 'network_id': '072c2254-29f0-4e7e-ab0d-efbcfc8987cb', 'mac_address': '02:99:98:eb:17:ac', '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': '113.19.155.69', 'subnet_id': '8c1a2db0-ab13-45b6-bc7d-2cde2025d7eb'}], 'security_groups': ['f6f2313f-5ef2-49b4-9696-6cf4e41de566'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '417fc7c01cfd4f78867f8d7828980efb'}} 2025-12-11 17:35:54,046 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:35:54,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:35:54,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:35:54,856 - INFO - Waiting for VM ctest-vn1-vm1-51428717 to be up.. 2025-12-11 17:35:54,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:35:59,998 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:35:59,998 - INFO - VM name : ctest-vn1-vm1-51428717 2025-12-11 17:36:00,083 - DEBUG - VM ctest-vn1-vm1-51428717 ID is 843153c3-2bd6-4fba-ab09-5ee5b76b6b0e 2025-12-11 17:36:00,107 - DEBUG - VM ctest-vn1-vm1-51428717 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:36:00,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/843153c3-2bd6-4fba-ab09-5ee5b76b6b0e 2025-12-11 17:36:00,205 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0d1fd0ec-157d-4c4c-bf41-5f56d5353b5e 2025-12-11 17:36:03,471 - 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 1017ms') 2025-12-11 17:36:03,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51428717 failed! 2025-12-11 17:36:03,530 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15652651:ctest-vn1-92264659 is 118.106.174.65 and allocation pool is NOT set 2025-12-11 17:36:03,530 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15652651:ctest-vn1-92264659 is 113.19.155.65 and allocation pool is NOT set 2025-12-11 17:36:07,603 - 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.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 8.202/8.202/8.202/0.000 ms') 2025-12-11 17:36:07,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51428717 passed 2025-12-11 17:36:07,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:36:07,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51428717, IP 118.106.174.69, Port 22 2025-12-11 17:36:07,932 - DEBUG - VM ctest-vn1-vm1-51428717 is ready for SSH connections 2025-12-11 17:36:07,932 - INFO - Waiting for VM ctest-vn1-vm2-89171585 to be up.. 2025-12-11 17:36:08,018 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:36:08,018 - INFO - VM name : ctest-vn1-vm2-89171585 2025-12-11 17:36:08,098 - DEBUG - VM ctest-vn1-vm2-89171585 ID is eee4e33f-1e67-47df-bde1-e7313e27ff23 2025-12-11 17:36:08,098 - DEBUG - VM ctest-vn1-vm2-89171585 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:36:08,180 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/eee4e33f-1e67-47df-bde1-e7313e27ff23 2025-12-11 17:36:08,189 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9998eb17-aca1-4374-976b-10807f91c284 2025-12-11 17:36:09,434 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/2.010/3.435/1.424 ms') 2025-12-11 17:36:09,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89171585 passed 2025-12-11 17:36:09,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:36:09,583 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89171585, IP 113.19.155.69, Port 22 2025-12-11 17:36:09,756 - DEBUG - VM ctest-vn1-vm2-89171585 is ready for SSH connections 2025-12-11 17:36:09,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:36:09,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:36:09,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:36:09,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.106.174.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 17:36:09,757 - DEBUG - ping -s 56 -c 3 -W 1 118.106.174.69 2025-12-11 17:36:12,442 - DEBUG - PING 118.106.174.69 (118.106.174.69): 56 data bytes 64 bytes from 118.106.174.69: seq=0 ttl=63 time=3.807 ms 64 bytes from 118.106.174.69: seq=1 ttl=63 time=1.125 ms 64 bytes from 118.106.174.69: seq=2 ttl=63 time=1.097 ms --- 118.106.174.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.097/2.009/3.807 ms 2025-12-11 17:36:12,442 - INFO - Ping to IP 118.106.174.69 from VM ctest-vn1-vm2-89171585 passed 2025-12-11 17:36:12,442 - INFO - Detaching port 9998eb17-aca1-4374-976b-10807f91c284 from VM ctest-vn1-vm2-89171585 2025-12-11 17:36:12,501 - INFO - Deleting VM ctest-vn1-vm2-89171585 2025-12-11 17:36:12,601 - INFO - Detaching port 0d1fd0ec-157d-4c4c-bf41-5f56d5353b5e from VM ctest-vn1-vm1-51428717 2025-12-11 17:36:12,640 - INFO - Deleting VM ctest-vn1-vm1-51428717 2025-12-11 17:36:12,911 - DEBUG - Response for delete_port : () 2025-12-11 17:36:13,101 - DEBUG - Response for delete_port : () 2025-12-11 17:36:13,102 - INFO - Deleting VN ctest-vn1-92264659 2025-12-11 17:36:13,254 - DEBUG - Response for deleting network () 2025-12-11 17:36:13,511 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:36:13,512 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-11 17:36:13,512 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:36:14,243 - INFO - Deleted project: ctest-TestPorts-15652651, ID : 417fc7c0-1cfd-4f78-867f-8d7828980efb