2025-12-04 02:39:29,825 - INFO - Domain Default found not creating
2025-12-04 02:39:30,118 - INFO - Project ctest-TestPorts-15654730 not found, creating it
2025-12-04 02:39:30,584 - INFO - Created Project:ctest-TestPorts-15654730, ID : 70e4127e-3a22-49f9-ab1a-128b939985d1
2025-12-04 02:39:32,224 - INFO - ================================================================================
2025-12-04 02:39:32,224 - INFO - STARTING TEST : test_ports_bindings
2025-12-04 02:39:32,224 - 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-04 02:39:32,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-04 02:39:32,482 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:39:32,482 - INFO -
2025-12-04 02:39:33,095 - DEBUG - Response for create_network : {'network': {'id': 'e924fe76-9323-4774-af7c-e0889b0f1878', 'name': 'ctest-vn-32909350', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'project_id': '70e4127e3a2249f9ab1a128b939985d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15654730', 'ctest-vn-32909350'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:39:33,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '25cd3d86-6695-4881-b4b0-d44c5040e877', 'name': '', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': 'e924fe76-9323-4774-af7c-e0889b0f1878', 'ip_version': 4, 'cidr': '146.139.125.128/26', 'allocation_pools': [{'start': '146.139.125.130', 'end': '146.139.125.190'}], 'gateway_ip': '146.139.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.139.125.130', 'tags': [], 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:33,277 - INFO - Created VN ctest-vn-32909350
2025-12-04 02:39:33,330 - DEBUG - VN ctest-vn-32909350 UUID is e924fe76-9323-4774-af7c-e0889b0f1878
2025-12-04 02:39:33,445 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15654730', 'ctest-vmi-68979842']}
2025-12-04 02:39:33,691 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68979842', 'id': '700817c9-3ad9-46d9-a755-eb61efe3f705', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': 'e924fe76-9323-4774-af7c-e0889b0f1878', 'mac_address': '02:70:08:17:c9:3a', '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': '146.139.125.131', 'subnet_id': '25cd3d86-6695-4881-b4b0-d44c5040e877'}], 'security_groups': ['0a170e87-44cc-4707-9de2-9597412474b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:33,691 - DEBUG - Created port 700817c9-3ad9-46d9-a755-eb61efe3f705
2025-12-04 02:39:33,802 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/700817c9-3ad9-46d9-a755-eb61efe3f705
2025-12-04 02:39:34,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/700817c9-3ad9-46d9-a755-eb61efe3f705
2025-12-04 02:39:34,179 - INFO - VMI 700817c9-3ad9-46d9-a755-eb61efe3f705 verification in API Server passed
2025-12-04 02:39:34,278 - DEBUG - Response for delete_port : ()
2025-12-04 02:39:34,278 - INFO - Deleted port 700817c9-3ad9-46d9-a755-eb61efe3f705
2025-12-04 02:39:34,278 - INFO - Deleting VN ctest-vn-32909350
2025-12-04 02:39:34,421 - DEBUG - Response for deleting network ()
2025-12-04 02:39:34,676 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:39:34,676 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-04 02:39:34,676 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:39:34,679 - INFO - ================================================================================
2025-12-04 02:39:34,679 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-04 02:39:34,679 - 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-04 02:39:34,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-04 02:39:34,972 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:39:34,973 - INFO -
2025-12-04 02:39:35,185 - DEBUG - Response for create_network : {'network': {'id': '0b83db7d-1700-42ae-b120-a01c51ee6122', 'name': 'ctest-vn1-39385200', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'project_id': '70e4127e3a2249f9ab1a128b939985d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15654730', 'ctest-vn1-39385200'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:39:35,362 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce6d6dad-adc3-4a6e-9342-a4362161d2d1', 'name': '', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': '0b83db7d-1700-42ae-b120-a01c51ee6122', 'ip_version': 4, 'cidr': '212.124.149.192/26', 'allocation_pools': [{'start': '212.124.149.194', 'end': '212.124.149.254'}], 'gateway_ip': '212.124.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.124.149.194', 'tags': [], 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:35,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d24c2cc-23a3-4059-8baf-d3a597248668', 'name': '', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': '0b83db7d-1700-42ae-b120-a01c51ee6122', 'ip_version': 4, 'cidr': '116.206.16.192/26', 'allocation_pools': [{'start': '116.206.16.194', 'end': '116.206.16.254'}], 'gateway_ip': '116.206.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.206.16.194', 'tags': [], 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:35,601 - INFO - Created VN ctest-vn1-39385200
2025-12-04 02:39:35,654 - DEBUG - VN ctest-vn1-39385200 UUID is 0b83db7d-1700-42ae-b120-a01c51ee6122
2025-12-04 02:39:35,992 - DEBUG - Response for create_port : {'port': {'name': 'f9a14bb3-fda1-4ff7-8ca1-d881f27c8176', 'id': 'f9a14bb3-fda1-4ff7-8ca1-d881f27c8176', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': '0b83db7d-1700-42ae-b120-a01c51ee6122', 'mac_address': '02:f9:a1:4b:b3:fd', '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': '212.124.149.197', 'subnet_id': 'ce6d6dad-adc3-4a6e-9342-a4362161d2d1'}], 'security_groups': ['0a170e87-44cc-4707-9de2-9597412474b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:36,164 - DEBUG - Response for create_port : {'port': {'name': 'a559e197-69ee-4cf6-afe6-27984314f0bd', 'id': 'a559e197-69ee-4cf6-afe6-27984314f0bd', 'tenant_id': '70e4127e3a2249f9ab1a128b939985d1', 'network_id': '0b83db7d-1700-42ae-b120-a01c51ee6122', 'mac_address': '02:a5:59:e1:97:69', '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.206.16.197', 'subnet_id': '5d24c2cc-23a3-4059-8baf-d3a597248668'}], 'security_groups': ['0a170e87-44cc-4707-9de2-9597412474b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70e4127e3a2249f9ab1a128b939985d1'}}
2025-12-04 02:39:36,223 - DEBUG - Services list from nova: [, , ]
2025-12-04 02:39:36,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1)
2025-12-04 02:39:37,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1)
2025-12-04 02:39:37,035 - INFO - Waiting for VM ctest-vn1-vm1-87290510 to be up..
2025-12-04 02:39:37,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 02:39:42,175 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:39:42,175 - INFO - VM name : ctest-vn1-vm1-87290510
2025-12-04 02:39:42,264 - DEBUG - VM ctest-vn1-vm1-87290510 ID is e2a5b263-80c2-432f-8ca3-ebccf986b549
2025-12-04 02:39:42,289 - DEBUG - VM ctest-vn1-vm1-87290510 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1
2025-12-04 02:39:42,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2a5b263-80c2-432f-8ca3-ebccf986b549
2025-12-04 02:39:42,387 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9a14bb3-fda1-4ff7-8ca1-d881f27c8176
2025-12-04 02:39:45,659 - 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 1018ms')
2025-12-04 02:39:45,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87290510 failed!
2025-12-04 02:39:45,724 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15654730:ctest-vn1-39385200 is 212.124.149.193 and allocation pool is NOT set
2025-12-04 02:39:45,724 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15654730:ctest-vn1-39385200 is 116.206.16.193 and allocation pool is NOT set
2025-12-04 02:39:49,817 - 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 1026ms')
2025-12-04 02:39:49,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87290510 failed!
2025-12-04 02:39:49,874 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15654730:ctest-vn1-39385200 is 212.124.149.193 and allocation pool is NOT set
2025-12-04 02:39:49,874 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15654730:ctest-vn1-39385200 is 116.206.16.193 and allocation pool is NOT set
2025-12-04 02:39:51,932 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/2.071/3.637/1.566 ms')
2025-12-04 02:39:51,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87290510 passed
2025-12-04 02:39:52,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:39:52,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87290510, IP 212.124.149.197, Port 22
2025-12-04 02:39:52,246 - DEBUG - VM ctest-vn1-vm1-87290510 is ready for SSH connections
2025-12-04 02:39:52,246 - INFO - Waiting for VM ctest-vn1-vm2-56289264 to be up..
2025-12-04 02:39:52,332 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:39:52,332 - INFO - VM name : ctest-vn1-vm2-56289264
2025-12-04 02:39:52,410 - DEBUG - VM ctest-vn1-vm2-56289264 ID is a63d9d86-1009-4ca2-abba-2d21d1fd4f88
2025-12-04 02:39:52,410 - DEBUG - VM ctest-vn1-vm2-56289264 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1
2025-12-04 02:39:52,492 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a63d9d86-1009-4ca2-abba-2d21d1fd4f88
2025-12-04 02:39:52,503 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a559e197-69ee-4cf6-afe6-27984314f0bd
2025-12-04 02:39:53,744 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.961/3.460/1.499 ms')
2025-12-04 02:39:53,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-56289264 passed
2025-12-04 02:39:53,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:39:53,902 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-56289264, IP 116.206.16.197, Port 22
2025-12-04 02:39:54,058 - DEBUG - VM ctest-vn1-vm2-56289264 is ready for SSH connections
2025-12-04 02:39:54,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:39:54,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:39:54,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:39:54,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.124.149.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-04 02:39:54,058 - DEBUG - ping -s 56 -c 3 -W 1 212.124.149.197
2025-12-04 02:39:56,786 - DEBUG - PING 212.124.149.197 (212.124.149.197): 56 data bytes
64 bytes from 212.124.149.197: seq=0 ttl=63 time=3.977 ms
64 bytes from 212.124.149.197: seq=1 ttl=63 time=0.951 ms
64 bytes from 212.124.149.197: seq=2 ttl=63 time=1.014 ms
--- 212.124.149.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.951/1.980/3.977 ms
2025-12-04 02:39:56,787 - INFO - Ping to IP 212.124.149.197 from VM ctest-vn1-vm2-56289264 passed
2025-12-04 02:39:56,787 - INFO - Detaching port a559e197-69ee-4cf6-afe6-27984314f0bd from VM ctest-vn1-vm2-56289264
2025-12-04 02:39:56,840 - INFO - Deleting VM ctest-vn1-vm2-56289264
2025-12-04 02:39:56,921 - INFO - Detaching port f9a14bb3-fda1-4ff7-8ca1-d881f27c8176 from VM ctest-vn1-vm1-87290510
2025-12-04 02:39:56,957 - INFO - Deleting VM ctest-vn1-vm1-87290510
2025-12-04 02:39:57,210 - DEBUG - Response for delete_port : ()
2025-12-04 02:39:57,378 - DEBUG - Response for delete_port : ()
2025-12-04 02:39:57,378 - INFO - Deleting VN ctest-vn1-39385200
2025-12-04 02:39:57,529 - DEBUG - Response for deleting network ()
2025-12-04 02:39:57,788 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:39:57,788 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-04 02:39:57,789 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:39:58,551 - INFO - Deleted project: ctest-TestPorts-15654730, ID : 70e4127e-3a22-49f9-ab1a-128b939985d1