2025-08-20 15:55:08,839 - INFO - Domain Default found not creating 2025-08-20 15:55:08,962 - INFO - Project ctest-TestPorts-97258317 not found, creating it 2025-08-20 15:55:09,388 - INFO - Created Project:ctest-TestPorts-97258317, ID : b755b650-3e37-4790-8588-a5baa6605f92 2025-08-20 15:55:10,735 - INFO - ================================================================================ 2025-08-20 15:55:10,735 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 15:55:10,735 - 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-08-20 15:55:10,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 15:55:10,988 - INFO - Initial checks done. Running the testcase now 2025-08-20 15:55:10,988 - INFO - 2025-08-20 15:55:11,598 - DEBUG - Response for create_network : {'network': {'id': 'ed8f3c58-084b-4d93-b0c8-04e2eccb1924', 'name': 'ctest-vn-24287309', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'project_id': 'b755b6503e3747908588a5baa6605f92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97258317', 'ctest-vn-24287309'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:55:11,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ce8b0ab-747e-4106-895f-9105a261abf9', 'name': '', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': 'ed8f3c58-084b-4d93-b0c8-04e2eccb1924', 'ip_version': 4, 'cidr': '50.115.171.128/26', 'allocation_pools': [{'start': '50.115.171.130', 'end': '50.115.171.190'}], 'gateway_ip': '50.115.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.115.171.130', 'tags': [], 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:11,808 - INFO - Created VN ctest-vn-24287309 2025-08-20 15:55:11,858 - DEBUG - VN ctest-vn-24287309 UUID is ed8f3c58-084b-4d93-b0c8-04e2eccb1924 2025-08-20 15:55:11,955 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-97258317', 'ctest-vmi-95277517']} 2025-08-20 15:55:12,219 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95277517', 'id': '93290af2-3415-4529-90a5-ff8f43e4c8d0', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': 'ed8f3c58-084b-4d93-b0c8-04e2eccb1924', 'mac_address': '02:93:29:0a:f2:34', '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': '50.115.171.131', 'subnet_id': '0ce8b0ab-747e-4106-895f-9105a261abf9'}], 'security_groups': ['5ed020e3-26be-47d9-b9b7-3b1453eeb744'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:12,220 - DEBUG - Created port 93290af2-3415-4529-90a5-ff8f43e4c8d0 2025-08-20 15:55:12,326 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/93290af2-3415-4529-90a5-ff8f43e4c8d0 2025-08-20 15:55:12,613 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/93290af2-3415-4529-90a5-ff8f43e4c8d0 2025-08-20 15:55:12,641 - INFO - VMI 93290af2-3415-4529-90a5-ff8f43e4c8d0 verification in API Server passed 2025-08-20 15:55:12,717 - DEBUG - Response for delete_port : () 2025-08-20 15:55:12,717 - INFO - Deleted port 93290af2-3415-4529-90a5-ff8f43e4c8d0 2025-08-20 15:55:12,717 - INFO - Deleting VN ctest-vn-24287309 2025-08-20 15:55:12,813 - DEBUG - Response for deleting network () 2025-08-20 15:55:13,064 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 15:55:13,064 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-20 15:55:13,064 - INFO - -------------------------------------------------------------------------------- 2025-08-20 15:55:13,066 - INFO - ================================================================================ 2025-08-20 15:55:13,067 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 15:55:13,067 - 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-08-20 15:55:13,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 15:55:13,352 - INFO - Initial checks done. Running the testcase now 2025-08-20 15:55:13,352 - INFO - 2025-08-20 15:55:13,519 - DEBUG - Response for create_network : {'network': {'id': '8acdc84f-2bd3-485b-aca3-59ba6ea60cea', 'name': 'ctest-vn1-05733379', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'project_id': 'b755b6503e3747908588a5baa6605f92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97258317', 'ctest-vn1-05733379'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:55:13,681 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ae54236-131b-4633-a79f-84d70a11ef36', 'name': '', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': '8acdc84f-2bd3-485b-aca3-59ba6ea60cea', 'ip_version': 4, 'cidr': '7.132.37.0/26', 'allocation_pools': [{'start': '7.132.37.2', 'end': '7.132.37.62'}], 'gateway_ip': '7.132.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.132.37.2', 'tags': [], 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:13,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b320891b-3015-4215-825f-751dfc0d3df0', 'name': '', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': '8acdc84f-2bd3-485b-aca3-59ba6ea60cea', 'ip_version': 4, 'cidr': '14.151.176.64/26', 'allocation_pools': [{'start': '14.151.176.66', 'end': '14.151.176.126'}], 'gateway_ip': '14.151.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.151.176.66', 'tags': [], 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:13,902 - INFO - Created VN ctest-vn1-05733379 2025-08-20 15:55:13,954 - DEBUG - VN ctest-vn1-05733379 UUID is 8acdc84f-2bd3-485b-aca3-59ba6ea60cea 2025-08-20 15:55:14,244 - DEBUG - Response for create_port : {'port': {'name': 'ef4ed244-bbc7-4bbd-ad9c-6777eaa068f1', 'id': 'ef4ed244-bbc7-4bbd-ad9c-6777eaa068f1', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': '8acdc84f-2bd3-485b-aca3-59ba6ea60cea', 'mac_address': '02:ef:4e:d2:44:bb', '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': '7.132.37.5', 'subnet_id': '2ae54236-131b-4633-a79f-84d70a11ef36'}], 'security_groups': ['5ed020e3-26be-47d9-b9b7-3b1453eeb744'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:14,405 - DEBUG - Response for create_port : {'port': {'name': '25e370fc-cc64-44bf-a1a9-33c16f097502', 'id': '25e370fc-cc64-44bf-a1a9-33c16f097502', 'tenant_id': 'b755b6503e3747908588a5baa6605f92', 'network_id': '8acdc84f-2bd3-485b-aca3-59ba6ea60cea', 'mac_address': '02:25:e3:70:fc: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': '14.151.176.69', 'subnet_id': 'b320891b-3015-4215-825f-751dfc0d3df0'}], 'security_groups': ['5ed020e3-26be-47d9-b9b7-3b1453eeb744'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b755b6503e3747908588a5baa6605f92'}} 2025-08-20 15:55:14,456 - DEBUG - Services list from nova: [, , ] 2025-08-20 15:55:14,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3898-1) 2025-08-20 15:55:15,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3898-1) 2025-08-20 15:55:15,102 - INFO - Waiting for VM ctest-vn1-vm1-02160914 to be up.. 2025-08-20 15:55:15,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 15:55:20,220 - DEBUG - VM is in ACTIVE state now 2025-08-20 15:55:20,220 - INFO - VM name : ctest-vn1-vm1-02160914 2025-08-20 15:55:20,288 - DEBUG - VM ctest-vn1-vm1-02160914 ID is 4b23955d-0fae-40d6-99cb-07544019c3b7 2025-08-20 15:55:20,306 - DEBUG - VM ctest-vn1-vm1-02160914 launched on Node cn-jenkins-deploy-platform-ansible-os-3898-1 2025-08-20 15:55:20,375 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4b23955d-0fae-40d6-99cb-07544019c3b7 2025-08-20 15:55:20,386 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ef4ed244-bbc7-4bbd-ad9c-6777eaa068f1 2025-08-20 15:55:23,642 - 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 1016ms') 2025-08-20 15:55:23,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02160914 failed! 2025-08-20 15:55:23,702 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97258317:ctest-vn1-05733379 is 7.132.37.1 and allocation pool is NOT set 2025-08-20 15:55:23,703 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97258317:ctest-vn1-05733379 is 14.151.176.65 and allocation pool is NOT set 2025-08-20 15:55:25,772 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.514/2.997/3.481/0.483 ms') 2025-08-20 15:55:25,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02160914 passed 2025-08-20 15:55:25,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:55:25,922 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02160914, IP 7.132.37.5, Port 22 2025-08-20 15:55:26,078 - DEBUG - VM ctest-vn1-vm1-02160914 is ready for SSH connections 2025-08-20 15:55:26,078 - INFO - Waiting for VM ctest-vn1-vm2-48252998 to be up.. 2025-08-20 15:55:26,147 - DEBUG - VM is in ACTIVE state now 2025-08-20 15:55:26,147 - INFO - VM name : ctest-vn1-vm2-48252998 2025-08-20 15:55:26,211 - DEBUG - VM ctest-vn1-vm2-48252998 ID is dd24a5e2-f9ad-4a3f-a1b3-4dec27fe879b 2025-08-20 15:55:26,211 - DEBUG - VM ctest-vn1-vm2-48252998 launched on Node cn-jenkins-deploy-platform-ansible-os-3898-1 2025-08-20 15:55:26,277 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dd24a5e2-f9ad-4a3f-a1b3-4dec27fe879b 2025-08-20 15:55:26,285 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/25e370fc-cc64-44bf-a1a9-33c16f097502 2025-08-20 15:55:27,529 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.740 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 = 0.740/2.609/4.479/1.869 ms') 2025-08-20 15:55:27,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48252998 passed 2025-08-20 15:55:27,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:55:27,686 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48252998, IP 14.151.176.69, Port 22 2025-08-20 15:55:27,842 - DEBUG - VM ctest-vn1-vm2-48252998 is ready for SSH connections 2025-08-20 15:55:27,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:55:27,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:55:27,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:55:27,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.37.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 15:55:27,842 - DEBUG - ping -s 56 -c 3 -W 1 7.132.37.5 2025-08-20 15:55:30,789 - DEBUG - PING 7.132.37.5 (7.132.37.5): 56 data bytes 64 bytes from 7.132.37.5: seq=0 ttl=63 time=3.888 ms 64 bytes from 7.132.37.5: seq=1 ttl=63 time=0.763 ms 64 bytes from 7.132.37.5: seq=2 ttl=63 time=0.661 ms --- 7.132.37.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.661/1.770/3.888 ms 2025-08-20 15:55:30,789 - INFO - Ping to IP 7.132.37.5 from VM ctest-vn1-vm2-48252998 passed 2025-08-20 15:55:30,789 - INFO - Detaching port 25e370fc-cc64-44bf-a1a9-33c16f097502 from VM ctest-vn1-vm2-48252998 2025-08-20 15:55:30,834 - INFO - Deleting VM ctest-vn1-vm2-48252998 2025-08-20 15:55:30,892 - INFO - Detaching port ef4ed244-bbc7-4bbd-ad9c-6777eaa068f1 from VM ctest-vn1-vm1-02160914 2025-08-20 15:55:30,919 - INFO - Deleting VM ctest-vn1-vm1-02160914 2025-08-20 15:55:31,111 - DEBUG - Response for delete_port : () 2025-08-20 15:55:31,262 - DEBUG - Response for delete_port : () 2025-08-20 15:55:31,262 - INFO - Deleting VN ctest-vn1-05733379 2025-08-20 15:55:31,408 - DEBUG - Response for deleting network () 2025-08-20 15:55:31,664 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 15:55:31,664 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-20 15:55:31,664 - INFO - -------------------------------------------------------------------------------- 2025-08-20 15:55:32,318 - INFO - Deleted project: ctest-TestPorts-97258317, ID : b755b650-3e37-4790-8588-a5baa6605f92