2025-11-17 13:37:33,347 - INFO - Domain Default found not creating 2025-11-17 13:37:33,487 - INFO - Project ctest-TestPorts-07976629 not found, creating it 2025-11-17 13:37:33,944 - INFO - Created Project:ctest-TestPorts-07976629, ID : 412cf875-b626-4744-a200-5881e4163eab 2025-11-17 13:37:35,441 - INFO - ================================================================================ 2025-11-17 13:37:35,441 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 13:37:35,441 - 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-11-17 13:37:35,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 13:37:35,699 - INFO - Initial checks done. Running the testcase now 2025-11-17 13:37:35,699 - INFO - 2025-11-17 13:37:36,335 - DEBUG - Response for create_network : {'network': {'id': '075195c8-d1f9-4965-871e-a962fe0ba0e0', 'name': 'ctest-vn-94050403', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'project_id': '412cf875b6264744a2005881e4163eab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07976629', 'ctest-vn-94050403'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:37:36,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '71f4874d-6c69-4a40-8470-d2c01653bee8', 'name': '', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': '075195c8-d1f9-4965-871e-a962fe0ba0e0', 'ip_version': 4, 'cidr': '116.188.94.64/26', 'allocation_pools': [{'start': '116.188.94.66', 'end': '116.188.94.126'}], 'gateway_ip': '116.188.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.188.94.66', 'tags': [], 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:36,522 - INFO - Created VN ctest-vn-94050403 2025-11-17 13:37:36,578 - DEBUG - VN ctest-vn-94050403 UUID is 075195c8-d1f9-4965-871e-a962fe0ba0e0 2025-11-17 13:37:36,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07976629', 'ctest-vmi-38016178']} 2025-11-17 13:37:36,968 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38016178', 'id': '267fd37b-79cb-4797-930f-f62d94621983', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': '075195c8-d1f9-4965-871e-a962fe0ba0e0', 'mac_address': '02:26:7f:d3:7b:79', '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': '116.188.94.67', 'subnet_id': '71f4874d-6c69-4a40-8470-d2c01653bee8'}], 'security_groups': ['7a428179-700a-4c2d-b94d-b9df19bf06fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:36,968 - DEBUG - Created port 267fd37b-79cb-4797-930f-f62d94621983 2025-11-17 13:37:37,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/267fd37b-79cb-4797-930f-f62d94621983 2025-11-17 13:37:37,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/267fd37b-79cb-4797-930f-f62d94621983 2025-11-17 13:37:37,433 - INFO - VMI 267fd37b-79cb-4797-930f-f62d94621983 verification in API Server passed 2025-11-17 13:37:37,527 - DEBUG - Response for delete_port : () 2025-11-17 13:37:37,527 - INFO - Deleted port 267fd37b-79cb-4797-930f-f62d94621983 2025-11-17 13:37:37,528 - INFO - Deleting VN ctest-vn-94050403 2025-11-17 13:37:37,635 - DEBUG - Response for deleting network () 2025-11-17 13:37:37,895 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 13:37:37,895 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-17 13:37:37,895 - INFO - -------------------------------------------------------------------------------- 2025-11-17 13:37:37,897 - INFO - ================================================================================ 2025-11-17 13:37:37,897 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 13:37:37,897 - 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-11-17 13:37:38,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 13:37:38,183 - INFO - Initial checks done. Running the testcase now 2025-11-17 13:37:38,184 - INFO - 2025-11-17 13:37:38,370 - DEBUG - Response for create_network : {'network': {'id': 'e0e219be-7ac7-4dc1-b556-031a181121fb', 'name': 'ctest-vn1-88592944', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'project_id': '412cf875b6264744a2005881e4163eab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07976629', 'ctest-vn1-88592944'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:37:38,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b16ec333-d187-4941-adc2-b781beab67ad', 'name': '', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': 'e0e219be-7ac7-4dc1-b556-031a181121fb', 'ip_version': 4, 'cidr': '129.202.54.192/26', 'allocation_pools': [{'start': '129.202.54.194', 'end': '129.202.54.254'}], 'gateway_ip': '129.202.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.202.54.194', 'tags': [], 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:38,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6ec6739-a610-44fa-bae7-51b2083b1bc0', 'name': '', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': 'e0e219be-7ac7-4dc1-b556-031a181121fb', 'ip_version': 4, 'cidr': '121.236.79.64/26', 'allocation_pools': [{'start': '121.236.79.66', 'end': '121.236.79.126'}], 'gateway_ip': '121.236.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.236.79.66', 'tags': [], 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:38,817 - INFO - Created VN ctest-vn1-88592944 2025-11-17 13:37:38,870 - DEBUG - VN ctest-vn1-88592944 UUID is e0e219be-7ac7-4dc1-b556-031a181121fb 2025-11-17 13:37:39,168 - DEBUG - Response for create_port : {'port': {'name': 'e52c97c6-cfd8-4f75-b1bc-e952d2bb87ef', 'id': 'e52c97c6-cfd8-4f75-b1bc-e952d2bb87ef', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': 'e0e219be-7ac7-4dc1-b556-031a181121fb', 'mac_address': '02:e5:2c:97:c6:cf', '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': '129.202.54.197', 'subnet_id': 'b16ec333-d187-4941-adc2-b781beab67ad'}], 'security_groups': ['7a428179-700a-4c2d-b94d-b9df19bf06fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:39,347 - DEBUG - Response for create_port : {'port': {'name': 'c55221c6-ae73-4a8b-8d98-6ec9c32fa9a6', 'id': 'c55221c6-ae73-4a8b-8d98-6ec9c32fa9a6', 'tenant_id': '412cf875b6264744a2005881e4163eab', 'network_id': 'e0e219be-7ac7-4dc1-b556-031a181121fb', 'mac_address': '02:c5:52:21:c6:ae', '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': '121.236.79.69', 'subnet_id': 'a6ec6739-a610-44fa-bae7-51b2083b1bc0'}], 'security_groups': ['7a428179-700a-4c2d-b94d-b9df19bf06fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '412cf875b6264744a2005881e4163eab'}} 2025-11-17 13:37:39,415 - DEBUG - Services list from nova: [, , ] 2025-11-17 13:37:39,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:37:40,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:37:40,172 - INFO - Waiting for VM ctest-vn1-vm1-05369357 to be up.. 2025-11-17 13:37:40,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 13:37:45,275 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:37:45,275 - INFO - VM name : ctest-vn1-vm1-05369357 2025-11-17 13:37:45,356 - DEBUG - VM ctest-vn1-vm1-05369357 ID is 719345d3-c152-40ac-9915-b2b2adef967a 2025-11-17 13:37:45,377 - DEBUG - VM ctest-vn1-vm1-05369357 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:37:45,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/719345d3-c152-40ac-9915-b2b2adef967a 2025-11-17 13:37:45,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e52c97c6-cfd8-4f75-b1bc-e952d2bb87ef 2025-11-17 13:37:48,736 - 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 1023ms') 2025-11-17 13:37:48,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05369357 failed! 2025-11-17 13:37:48,794 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07976629:ctest-vn1-88592944 is 129.202.54.193 and allocation pool is NOT set 2025-11-17 13:37:48,794 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07976629:ctest-vn1-88592944 is 121.236.79.65 and allocation pool is NOT set 2025-11-17 13:37:50,861 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.217/2.506/3.795/1.289 ms') 2025-11-17 13:37:50,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05369357 passed 2025-11-17 13:37:51,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:37:51,010 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05369357, IP 129.202.54.197, Port 22 2025-11-17 13:37:51,170 - DEBUG - VM ctest-vn1-vm1-05369357 is ready for SSH connections 2025-11-17 13:37:51,170 - INFO - Waiting for VM ctest-vn1-vm2-37523838 to be up.. 2025-11-17 13:37:51,241 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:37:51,241 - INFO - VM name : ctest-vn1-vm2-37523838 2025-11-17 13:37:51,308 - DEBUG - VM ctest-vn1-vm2-37523838 ID is 076ce573-d50a-42e0-8100-81670e2e34c6 2025-11-17 13:37:51,309 - DEBUG - VM ctest-vn1-vm2-37523838 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:37:51,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/076ce573-d50a-42e0-8100-81670e2e34c6 2025-11-17 13:37:51,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c55221c6-ae73-4a8b-8d98-6ec9c32fa9a6 2025-11-17 13:37:52,629 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/2.301/4.151/1.849 ms') 2025-11-17 13:37:52,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37523838 passed 2025-11-17 13:37:52,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:37:52,778 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37523838, IP 121.236.79.69, Port 22 2025-11-17 13:37:52,933 - DEBUG - VM ctest-vn1-vm2-37523838 is ready for SSH connections 2025-11-17 13:37:52,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:37:52,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:37:52,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:37:52,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.202.54.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:37:52,934 - DEBUG - ping -s 56 -c 3 -W 1 129.202.54.197 2025-11-17 13:37:55,524 - DEBUG - PING 129.202.54.197 (129.202.54.197): 56 data bytes 64 bytes from 129.202.54.197: seq=0 ttl=63 time=3.775 ms 64 bytes from 129.202.54.197: seq=1 ttl=63 time=0.891 ms 64 bytes from 129.202.54.197: seq=2 ttl=63 time=1.147 ms --- 129.202.54.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.937/3.775 ms 2025-11-17 13:37:55,524 - INFO - Ping to IP 129.202.54.197 from VM ctest-vn1-vm2-37523838 passed 2025-11-17 13:37:55,524 - INFO - Detaching port c55221c6-ae73-4a8b-8d98-6ec9c32fa9a6 from VM ctest-vn1-vm2-37523838 2025-11-17 13:37:55,574 - INFO - Deleting VM ctest-vn1-vm2-37523838 2025-11-17 13:37:55,648 - INFO - Detaching port e52c97c6-cfd8-4f75-b1bc-e952d2bb87ef from VM ctest-vn1-vm1-05369357 2025-11-17 13:37:55,692 - INFO - Deleting VM ctest-vn1-vm1-05369357 2025-11-17 13:37:55,916 - DEBUG - Response for delete_port : () 2025-11-17 13:37:56,112 - DEBUG - Response for delete_port : () 2025-11-17 13:37:56,112 - INFO - Deleting VN ctest-vn1-88592944 2025-11-17 13:37:56,326 - DEBUG - Response for deleting network () 2025-11-17 13:37:56,584 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 13:37:56,584 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-17 13:37:56,584 - INFO - -------------------------------------------------------------------------------- 2025-11-17 13:37:57,305 - INFO - Deleted project: ctest-TestPorts-07976629, ID : 412cf875-b626-4744-a200-5881e4163eab