2025-11-04 13:56:16,086 - INFO - Domain Default found not creating
2025-11-04 13:56:16,233 - INFO - Project ctest-TestPorts-93030172 not found, creating it
2025-11-04 13:56:16,673 - INFO - Created Project:ctest-TestPorts-93030172, ID : ae11951c-e162-4be6-b17a-597d9907370b
2025-11-04 13:56:18,022 - INFO - ================================================================================
2025-11-04 13:56:18,022 - INFO - STARTING TEST : test_ports_bindings
2025-11-04 13:56:18,022 - 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-04 13:56:18,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-04 13:56:18,283 - INFO - Initial checks done. Running the testcase now
2025-11-04 13:56:18,283 - INFO -
2025-11-04 13:56:18,793 - DEBUG - Response for create_network : {'network': {'id': '7e4a149e-4fe6-4702-977a-f18484569f83', 'name': 'ctest-vn-15770385', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'project_id': 'ae11951ce1624be6b17a597d9907370b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93030172', 'ctest-vn-15770385'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 13:56:18,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eba4df4e-6337-40ac-aa07-99ad52ced042', 'name': '', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': '7e4a149e-4fe6-4702-977a-f18484569f83', 'ip_version': 4, 'cidr': '75.6.23.0/26', 'allocation_pools': [{'start': '75.6.23.2', 'end': '75.6.23.62'}], 'gateway_ip': '75.6.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.6.23.2', 'tags': [], 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:18,970 - INFO - Created VN ctest-vn-15770385
2025-11-04 13:56:19,021 - DEBUG - VN ctest-vn-15770385 UUID is 7e4a149e-4fe6-4702-977a-f18484569f83
2025-11-04 13:56:19,127 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93030172', 'ctest-vmi-48155882']}
2025-11-04 13:56:19,389 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48155882', 'id': '34fc1e5e-e2ae-481c-84f4-795a0efa2679', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': '7e4a149e-4fe6-4702-977a-f18484569f83', 'mac_address': '02:34:fc:1e:5e:e2', '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': '75.6.23.3', 'subnet_id': 'eba4df4e-6337-40ac-aa07-99ad52ced042'}], 'security_groups': ['8e331e4b-e7c7-402a-9e29-27fd705750aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:19,389 - DEBUG - Created port 34fc1e5e-e2ae-481c-84f4-795a0efa2679
2025-11-04 13:56:19,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/34fc1e5e-e2ae-481c-84f4-795a0efa2679
2025-11-04 13:56:19,949 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/34fc1e5e-e2ae-481c-84f4-795a0efa2679
2025-11-04 13:56:19,983 - INFO - VMI 34fc1e5e-e2ae-481c-84f4-795a0efa2679 verification in API Server passed
2025-11-04 13:56:20,081 - DEBUG - Response for delete_port : ()
2025-11-04 13:56:20,081 - INFO - Deleted port 34fc1e5e-e2ae-481c-84f4-795a0efa2679
2025-11-04 13:56:20,081 - INFO - Deleting VN ctest-vn-15770385
2025-11-04 13:56:20,178 - DEBUG - Response for deleting network ()
2025-11-04 13:56:20,434 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 13:56:20,434 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-04 13:56:20,434 - INFO - --------------------------------------------------------------------------------
2025-11-04 13:56:20,436 - INFO - ================================================================================
2025-11-04 13:56:20,436 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-04 13:56:20,436 - 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-04 13:56:20,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-04 13:56:20,726 - INFO - Initial checks done. Running the testcase now
2025-11-04 13:56:20,726 - INFO -
2025-11-04 13:56:20,887 - DEBUG - Response for create_network : {'network': {'id': 'fdf13e67-4ba6-425f-a57a-bc8eee99f035', 'name': 'ctest-vn1-38727971', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'project_id': 'ae11951ce1624be6b17a597d9907370b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93030172', 'ctest-vn1-38727971'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 13:56:21,104 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7704590-2514-465f-9733-039c562aa8d5', 'name': '', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': 'fdf13e67-4ba6-425f-a57a-bc8eee99f035', 'ip_version': 4, 'cidr': '59.93.200.64/26', 'allocation_pools': [{'start': '59.93.200.66', 'end': '59.93.200.126'}], 'gateway_ip': '59.93.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.93.200.66', 'tags': [], 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:21,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '985bf919-e3c4-4287-9b0b-0d3857c45ee1', 'name': '', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': 'fdf13e67-4ba6-425f-a57a-bc8eee99f035', 'ip_version': 4, 'cidr': '111.36.205.64/26', 'allocation_pools': [{'start': '111.36.205.66', 'end': '111.36.205.126'}], 'gateway_ip': '111.36.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.36.205.66', 'tags': [], 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:21,294 - INFO - Created VN ctest-vn1-38727971
2025-11-04 13:56:21,345 - DEBUG - VN ctest-vn1-38727971 UUID is fdf13e67-4ba6-425f-a57a-bc8eee99f035
2025-11-04 13:56:21,609 - DEBUG - Response for create_port : {'port': {'name': 'b94dc79a-5fb9-47d9-b96f-4508b15f8a20', 'id': 'b94dc79a-5fb9-47d9-b96f-4508b15f8a20', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': 'fdf13e67-4ba6-425f-a57a-bc8eee99f035', 'mac_address': '02:b9:4d:c7:9a:5f', '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': '59.93.200.69', 'subnet_id': 'b7704590-2514-465f-9733-039c562aa8d5'}], 'security_groups': ['8e331e4b-e7c7-402a-9e29-27fd705750aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:21,766 - DEBUG - Response for create_port : {'port': {'name': '0ced268e-bacd-4e4b-9fa7-f5508e0ca6bb', 'id': '0ced268e-bacd-4e4b-9fa7-f5508e0ca6bb', 'tenant_id': 'ae11951ce1624be6b17a597d9907370b', 'network_id': 'fdf13e67-4ba6-425f-a57a-bc8eee99f035', 'mac_address': '02:0c:ed:26:8e:ba', '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': '111.36.205.69', 'subnet_id': '985bf919-e3c4-4287-9b0b-0d3857c45ee1'}], 'security_groups': ['8e331e4b-e7c7-402a-9e29-27fd705750aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae11951ce1624be6b17a597d9907370b'}}
2025-11-04 13:56:21,831 - DEBUG - Services list from nova: [, , ]
2025-11-04 13:56:22,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1)
2025-11-04 13:56:22,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1)
2025-11-04 13:56:22,481 - INFO - Waiting for VM ctest-vn1-vm1-58105376 to be up..
2025-11-04 13:56:22,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 13:56:27,582 - DEBUG - VM is in ACTIVE state now
2025-11-04 13:56:27,582 - INFO - VM name : ctest-vn1-vm1-58105376
2025-11-04 13:56:27,652 - DEBUG - VM ctest-vn1-vm1-58105376 ID is 109ab9a4-58e6-4a4d-9b37-95aba06bf25a
2025-11-04 13:56:27,671 - DEBUG - VM ctest-vn1-vm1-58105376 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1
2025-11-04 13:56:27,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/109ab9a4-58e6-4a4d-9b37-95aba06bf25a
2025-11-04 13:56:27,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b94dc79a-5fb9-47d9-b96f-4508b15f8a20
2025-11-04 13:56:31,009 - 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 1028ms')
2025-11-04 13:56:31,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58105376 failed!
2025-11-04 13:56:31,065 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93030172:ctest-vn1-38727971 is 59.93.200.65 and allocation pool is NOT set
2025-11-04 13:56:31,065 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93030172:ctest-vn1-38727971 is 111.36.205.65 and allocation pool is NOT set
2025-11-04 13:56:33,128 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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.482/2.657/2.832/0.175 ms')
2025-11-04 13:56:33,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58105376 passed
2025-11-04 13:56:33,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 13:56:33,277 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58105376, IP 59.93.200.69, Port 22
2025-11-04 13:56:33,437 - DEBUG - VM ctest-vn1-vm1-58105376 is ready for SSH connections
2025-11-04 13:56:33,437 - INFO - Waiting for VM ctest-vn1-vm2-70455141 to be up..
2025-11-04 13:56:33,508 - DEBUG - VM is in ACTIVE state now
2025-11-04 13:56:33,508 - INFO - VM name : ctest-vn1-vm2-70455141
2025-11-04 13:56:33,581 - DEBUG - VM ctest-vn1-vm2-70455141 ID is cd1f2766-42e3-4486-b05b-c3d9b3ff5c66
2025-11-04 13:56:33,581 - DEBUG - VM ctest-vn1-vm2-70455141 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1
2025-11-04 13:56:33,656 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cd1f2766-42e3-4486-b05b-c3d9b3ff5c66
2025-11-04 13:56:33,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0ced268e-bacd-4e4b-9fa7-f5508e0ca6bb
2025-11-04 13:56:34,894 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.675/2.834/1.158 ms')
2025-11-04 13:56:34,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70455141 passed
2025-11-04 13:56:35,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 13:56:35,045 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70455141, IP 111.36.205.69, Port 22
2025-11-04 13:56:35,205 - DEBUG - VM ctest-vn1-vm2-70455141 is ready for SSH connections
2025-11-04 13:56:35,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 13:56:35,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 13:56:35,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 13:56:35,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.93.200.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-04 13:56:35,205 - DEBUG - ping -s 56 -c 3 -W 1 59.93.200.69
2025-11-04 13:56:38,143 - DEBUG - PING 59.93.200.69 (59.93.200.69): 56 data bytes
64 bytes from 59.93.200.69: seq=0 ttl=63 time=3.540 ms
64 bytes from 59.93.200.69: seq=1 ttl=63 time=0.713 ms
64 bytes from 59.93.200.69: seq=2 ttl=63 time=1.006 ms
--- 59.93.200.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.713/1.753/3.540 ms
2025-11-04 13:56:38,143 - INFO - Ping to IP 59.93.200.69 from VM ctest-vn1-vm2-70455141 passed
2025-11-04 13:56:38,143 - INFO - Detaching port 0ced268e-bacd-4e4b-9fa7-f5508e0ca6bb from VM ctest-vn1-vm2-70455141
2025-11-04 13:56:38,192 - INFO - Deleting VM ctest-vn1-vm2-70455141
2025-11-04 13:56:38,257 - INFO - Detaching port b94dc79a-5fb9-47d9-b96f-4508b15f8a20 from VM ctest-vn1-vm1-58105376
2025-11-04 13:56:38,290 - INFO - Deleting VM ctest-vn1-vm1-58105376
2025-11-04 13:56:38,484 - DEBUG - Response for delete_port : ()
2025-11-04 13:56:38,620 - DEBUG - Response for delete_port : ()
2025-11-04 13:56:38,620 - INFO - Deleting VN ctest-vn1-38727971
2025-11-04 13:56:38,728 - DEBUG - Response for deleting network ()
2025-11-04 13:56:38,986 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 13:56:38,986 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-04 13:56:38,986 - INFO - --------------------------------------------------------------------------------
2025-11-04 13:56:39,684 - INFO - Deleted project: ctest-TestPorts-93030172, ID : ae11951c-e162-4be6-b17a-597d9907370b