2025-09-11 08:10:24,418 - INFO - Domain Default found not creating
2025-09-11 08:10:24,580 - INFO - Project ctest-TestPorts-07027314 not found, creating it
2025-09-11 08:10:25,083 - INFO - Created Project:ctest-TestPorts-07027314, ID : f89c494b-9a12-42a6-9505-88c3ef894bc3
2025-09-11 08:10:26,678 - INFO - ================================================================================
2025-09-11 08:10:26,678 - INFO - STARTING TEST : test_ports_bindings
2025-09-11 08:10:26,678 - 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 08:10:26,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-09-11 08:10:26,936 - INFO - Initial checks done. Running the testcase now
2025-09-11 08:10:26,937 - INFO -
2025-09-11 08:10:27,535 - DEBUG - Response for create_network : {'network': {'id': '9493ded1-6456-4a1e-857a-a0a46e5c513d', 'name': 'ctest-vn-30584054', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'project_id': 'f89c494b9a1242a6950588c3ef894bc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07027314', 'ctest-vn-30584054'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:10:27,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '131059b0-029d-4810-bee8-fd3f34893b86', 'name': '', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': '9493ded1-6456-4a1e-857a-a0a46e5c513d', 'ip_version': 4, 'cidr': '178.74.235.192/26', 'allocation_pools': [{'start': '178.74.235.194', 'end': '178.74.235.254'}], 'gateway_ip': '178.74.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.74.235.194', 'tags': [], 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:27,756 - INFO - Created VN ctest-vn-30584054
2025-09-11 08:10:27,810 - DEBUG - VN ctest-vn-30584054 UUID is 9493ded1-6456-4a1e-857a-a0a46e5c513d
2025-09-11 08:10:27,930 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07027314', 'ctest-vmi-11176770']}
2025-09-11 08:10:28,200 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11176770', 'id': 'f869c5df-c592-480c-ab1e-de84790c9da5', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': '9493ded1-6456-4a1e-857a-a0a46e5c513d', 'mac_address': '02:f8:69:c5:df:c5', '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': '178.74.235.195', 'subnet_id': '131059b0-029d-4810-bee8-fd3f34893b86'}], 'security_groups': ['287f947c-25e2-49e3-a951-fca376b410cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:28,200 - DEBUG - Created port f869c5df-c592-480c-ab1e-de84790c9da5
2025-09-11 08:10:28,306 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f869c5df-c592-480c-ab1e-de84790c9da5
2025-09-11 08:10:28,645 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f869c5df-c592-480c-ab1e-de84790c9da5
2025-09-11 08:10:28,683 - INFO - VMI f869c5df-c592-480c-ab1e-de84790c9da5 verification in API Server passed
2025-09-11 08:10:28,788 - DEBUG - Response for delete_port : ()
2025-09-11 08:10:28,789 - INFO - Deleted port f869c5df-c592-480c-ab1e-de84790c9da5
2025-09-11 08:10:28,789 - INFO - Deleting VN ctest-vn-30584054
2025-09-11 08:10:28,907 - DEBUG - Response for deleting network ()
2025-09-11 08:10:29,171 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:10:29,171 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-11 08:10:29,171 - INFO - --------------------------------------------------------------------------------
2025-09-11 08:10:29,174 - INFO - ================================================================================
2025-09-11 08:10:29,174 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-11 08:10:29,174 - 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 08:10:29,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-09-11 08:10:29,468 - INFO - Initial checks done. Running the testcase now
2025-09-11 08:10:29,468 - INFO -
2025-09-11 08:10:29,653 - DEBUG - Response for create_network : {'network': {'id': 'b61c6f50-3a39-4d6b-9879-7a5a9572478e', 'name': 'ctest-vn1-76252452', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'project_id': 'f89c494b9a1242a6950588c3ef894bc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07027314', 'ctest-vn1-76252452'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:10:29,854 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0ea3a33-b815-440c-b8aa-445df37b9f75', 'name': '', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': 'b61c6f50-3a39-4d6b-9879-7a5a9572478e', 'ip_version': 4, 'cidr': '33.183.151.64/26', 'allocation_pools': [{'start': '33.183.151.66', 'end': '33.183.151.126'}], 'gateway_ip': '33.183.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.183.151.66', 'tags': [], 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:30,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a7d9db0-42eb-4158-a06f-6b6e770a3cf9', 'name': '', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': 'b61c6f50-3a39-4d6b-9879-7a5a9572478e', 'ip_version': 4, 'cidr': '192.182.203.64/26', 'allocation_pools': [{'start': '192.182.203.66', 'end': '192.182.203.126'}], 'gateway_ip': '192.182.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.182.203.66', 'tags': [], 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:30,043 - INFO - Created VN ctest-vn1-76252452
2025-09-11 08:10:30,094 - DEBUG - VN ctest-vn1-76252452 UUID is b61c6f50-3a39-4d6b-9879-7a5a9572478e
2025-09-11 08:10:30,410 - DEBUG - Response for create_port : {'port': {'name': '212eb135-e57d-4dc2-b6dd-cf2cb81bc712', 'id': '212eb135-e57d-4dc2-b6dd-cf2cb81bc712', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': 'b61c6f50-3a39-4d6b-9879-7a5a9572478e', 'mac_address': '02:21:2e:b1:35:e5', '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': '33.183.151.69', 'subnet_id': 'd0ea3a33-b815-440c-b8aa-445df37b9f75'}], 'security_groups': ['287f947c-25e2-49e3-a951-fca376b410cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:30,600 - DEBUG - Response for create_port : {'port': {'name': 'b3345494-2129-4d8f-81fd-896f3093a687', 'id': 'b3345494-2129-4d8f-81fd-896f3093a687', 'tenant_id': 'f89c494b9a1242a6950588c3ef894bc3', 'network_id': 'b61c6f50-3a39-4d6b-9879-7a5a9572478e', 'mac_address': '02:b3:34:54:94:21', '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': '192.182.203.69', 'subnet_id': '2a7d9db0-42eb-4158-a06f-6b6e770a3cf9'}], 'security_groups': ['287f947c-25e2-49e3-a951-fca376b410cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f89c494b9a1242a6950588c3ef894bc3'}}
2025-09-11 08:10:30,660 - DEBUG - Services list from nova: [, , ]
2025-09-11 08:10:31,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:10:31,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:10:31,464 - INFO - Waiting for VM ctest-vn1-vm1-39555004 to be up..
2025-09-11 08:10:31,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 08:10:36,584 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:10:36,584 - INFO - VM name : ctest-vn1-vm1-39555004
2025-09-11 08:10:36,663 - DEBUG - VM ctest-vn1-vm1-39555004 ID is 0808008c-9c2a-48ed-b187-7d651bbde111
2025-09-11 08:10:36,684 - DEBUG - VM ctest-vn1-vm1-39555004 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:10:36,758 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0808008c-9c2a-48ed-b187-7d651bbde111
2025-09-11 08:10:36,767 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/212eb135-e57d-4dc2-b6dd-cf2cb81bc712
2025-09-11 08:10:40,005 - 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 08:10:40,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39555004 failed!
2025-09-11 08:10:40,062 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07027314:ctest-vn1-76252452 is 33.183.151.65 and allocation pool is NOT set
2025-09-11 08:10:40,062 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07027314:ctest-vn1-76252452 is 192.182.203.65 and allocation pool is NOT set
2025-09-11 08:10:44,140 - 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 1010ms')
2025-09-11 08:10:44,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39555004 failed!
2025-09-11 08:10:44,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07027314:ctest-vn1-76252452 is 33.183.151.65 and allocation pool is NOT set
2025-09-11 08:10:44,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07027314:ctest-vn1-76252452 is 192.182.203.65 and allocation pool is NOT set
2025-09-11 08:10:46,260 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.496/1.840/3.185/1.344 ms')
2025-09-11 08:10:46,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39555004 passed
2025-09-11 08:10:46,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:10:46,414 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39555004, IP 33.183.151.69, Port 22
2025-09-11 08:10:46,578 - DEBUG - VM ctest-vn1-vm1-39555004 is ready for SSH connections
2025-09-11 08:10:46,578 - INFO - Waiting for VM ctest-vn1-vm2-72573283 to be up..
2025-09-11 08:10:46,665 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:10:46,665 - INFO - VM name : ctest-vn1-vm2-72573283
2025-09-11 08:10:46,743 - DEBUG - VM ctest-vn1-vm2-72573283 ID is 296f7f07-81ab-4b6e-83f7-24e50d1468e1
2025-09-11 08:10:46,744 - DEBUG - VM ctest-vn1-vm2-72573283 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:10:46,827 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/296f7f07-81ab-4b6e-83f7-24e50d1468e1
2025-09-11 08:10:46,836 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b3345494-2129-4d8f-81fd-896f3093a687
2025-09-11 08:10:48,085 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.756/3.187/1.431 ms')
2025-09-11 08:10:48,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72573283 passed
2025-09-11 08:10:48,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:10:48,234 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72573283, IP 192.182.203.69, Port 22
2025-09-11 08:10:48,404 - DEBUG - VM ctest-vn1-vm2-72573283 is ready for SSH connections
2025-09-11 08:10:48,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:10:48,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:10:48,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:10:48,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.183.151.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:10:48,404 - DEBUG - ping -s 56 -c 3 -W 1 33.183.151.69
2025-09-11 08:10:51,125 - DEBUG - PING 33.183.151.69 (33.183.151.69): 56 data bytes
64 bytes from 33.183.151.69: seq=0 ttl=63 time=3.924 ms
64 bytes from 33.183.151.69: seq=1 ttl=63 time=1.020 ms
64 bytes from 33.183.151.69: seq=2 ttl=63 time=1.018 ms
--- 33.183.151.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.018/1.987/3.924 ms
2025-09-11 08:10:51,125 - INFO - Ping to IP 33.183.151.69 from VM ctest-vn1-vm2-72573283 passed
2025-09-11 08:10:51,125 - INFO - Detaching port b3345494-2129-4d8f-81fd-896f3093a687 from VM ctest-vn1-vm2-72573283
2025-09-11 08:10:51,182 - INFO - Deleting VM ctest-vn1-vm2-72573283
2025-09-11 08:10:51,262 - INFO - Detaching port 212eb135-e57d-4dc2-b6dd-cf2cb81bc712 from VM ctest-vn1-vm1-39555004
2025-09-11 08:10:51,314 - INFO - Deleting VM ctest-vn1-vm1-39555004
2025-09-11 08:10:51,574 - DEBUG - Response for delete_port : ()
2025-09-11 08:10:51,771 - DEBUG - Response for delete_port : ()
2025-09-11 08:10:51,771 - INFO - Deleting VN ctest-vn1-76252452
2025-09-11 08:10:51,943 - DEBUG - Response for deleting network ()
2025-09-11 08:10:52,208 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:10:52,208 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-11 08:10:52,208 - INFO - --------------------------------------------------------------------------------
2025-09-11 08:10:52,968 - INFO - Deleted project: ctest-TestPorts-07027314, ID : f89c494b-9a12-42a6-9505-88c3ef894bc3