2025-08-15 18:48:09,464 - INFO - Domain Default found not creating
2025-08-15 18:48:09,616 - INFO - Project ctest-TestPorts-33190083 not found, creating it
2025-08-15 18:48:10,078 - INFO - Created Project:ctest-TestPorts-33190083, ID : c976608c-0431-4884-a416-e08843a32082
2025-08-15 18:48:11,643 - INFO - ================================================================================
2025-08-15 18:48:11,643 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 18:48:11,643 - 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-15 18:48:11,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-15 18:48:11,899 - INFO - Initial checks done. Running the testcase now
2025-08-15 18:48:11,899 - INFO -
2025-08-15 18:48:12,671 - DEBUG - Response for create_network : {'network': {'id': '218ce3df-17f6-4b6b-a97d-6a70304f84c4', 'name': 'ctest-vn-47415681', 'tenant_id': 'c976608c04314884a416e08843a32082', 'project_id': 'c976608c04314884a416e08843a32082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33190083', 'ctest-vn-47415681'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 18:48:12,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f6e843b-dfbd-4b98-aaa0-e0b7ebe16541', 'name': '', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '218ce3df-17f6-4b6b-a97d-6a70304f84c4', 'ip_version': 4, 'cidr': '186.71.76.64/26', 'allocation_pools': [{'start': '186.71.76.66', 'end': '186.71.76.126'}], 'gateway_ip': '186.71.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.71.76.66', 'tags': [], 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:12,889 - INFO - Created VN ctest-vn-47415681
2025-08-15 18:48:12,940 - DEBUG - VN ctest-vn-47415681 UUID is 218ce3df-17f6-4b6b-a97d-6a70304f84c4
2025-08-15 18:48:13,054 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33190083', 'ctest-vmi-33951970']}
2025-08-15 18:48:13,316 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33951970', 'id': 'f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '218ce3df-17f6-4b6b-a97d-6a70304f84c4', 'mac_address': '02:f0:9f:df:c4:0b', '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': '186.71.76.67', 'subnet_id': '8f6e843b-dfbd-4b98-aaa0-e0b7ebe16541'}], 'security_groups': ['3f96eecf-89c8-4695-98b4-4d327ff7af91'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:13,316 - DEBUG - Created port f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2
2025-08-15 18:48:13,420 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2
2025-08-15 18:48:13,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2
2025-08-15 18:48:13,792 - INFO - VMI f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2 verification in API Server passed
2025-08-15 18:48:13,891 - DEBUG - Response for delete_port : ()
2025-08-15 18:48:13,891 - INFO - Deleted port f09fdfc4-0b73-4fd1-a140-01b46e1b5ab2
2025-08-15 18:48:13,891 - INFO - Deleting VN ctest-vn-47415681
2025-08-15 18:48:14,024 - DEBUG - Response for deleting network ()
2025-08-15 18:48:14,299 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 18:48:14,299 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-15 18:48:14,299 - INFO - --------------------------------------------------------------------------------
2025-08-15 18:48:14,302 - INFO - ================================================================================
2025-08-15 18:48:14,303 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 18:48:14,303 - 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-15 18:48:14,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-15 18:48:14,587 - INFO - Initial checks done. Running the testcase now
2025-08-15 18:48:14,587 - INFO -
2025-08-15 18:48:14,786 - DEBUG - Response for create_network : {'network': {'id': '5bc5c56f-d91a-4032-8201-fd7ad0b60813', 'name': 'ctest-vn1-36491325', 'tenant_id': 'c976608c04314884a416e08843a32082', 'project_id': 'c976608c04314884a416e08843a32082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33190083', 'ctest-vn1-36491325'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 18:48:15,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '53ac0e8d-0840-47ad-a0de-0a032479ed08', 'name': '', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '5bc5c56f-d91a-4032-8201-fd7ad0b60813', 'ip_version': 4, 'cidr': '221.158.214.128/26', 'allocation_pools': [{'start': '221.158.214.130', 'end': '221.158.214.190'}], 'gateway_ip': '221.158.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.158.214.130', 'tags': [], 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:15,198 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdcd5c41-01b3-4f63-8a0d-44feab844f72', 'name': '', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '5bc5c56f-d91a-4032-8201-fd7ad0b60813', 'ip_version': 4, 'cidr': '36.233.225.192/26', 'allocation_pools': [{'start': '36.233.225.194', 'end': '36.233.225.254'}], 'gateway_ip': '36.233.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.233.225.194', 'tags': [], 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:15,219 - INFO - Created VN ctest-vn1-36491325
2025-08-15 18:48:15,272 - DEBUG - VN ctest-vn1-36491325 UUID is 5bc5c56f-d91a-4032-8201-fd7ad0b60813
2025-08-15 18:48:15,594 - DEBUG - Response for create_port : {'port': {'name': 'bc07a171-11fb-4adf-881b-fd65031c980f', 'id': 'bc07a171-11fb-4adf-881b-fd65031c980f', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '5bc5c56f-d91a-4032-8201-fd7ad0b60813', 'mac_address': '02:bc:07:a1:71:11', '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': '221.158.214.133', 'subnet_id': '53ac0e8d-0840-47ad-a0de-0a032479ed08'}], 'security_groups': ['3f96eecf-89c8-4695-98b4-4d327ff7af91'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:15,780 - DEBUG - Response for create_port : {'port': {'name': '311169f1-bed8-4c01-a0dd-3fff30a02647', 'id': '311169f1-bed8-4c01-a0dd-3fff30a02647', 'tenant_id': 'c976608c04314884a416e08843a32082', 'network_id': '5bc5c56f-d91a-4032-8201-fd7ad0b60813', 'mac_address': '02:31:11:69:f1:be', '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': '36.233.225.197', 'subnet_id': 'bdcd5c41-01b3-4f63-8a0d-44feab844f72'}], 'security_groups': ['3f96eecf-89c8-4695-98b4-4d327ff7af91'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c976608c04314884a416e08843a32082'}}
2025-08-15 18:48:15,842 - DEBUG - Services list from nova: [, , ]
2025-08-15 18:48:16,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1)
2025-08-15 18:48:16,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1)
2025-08-15 18:48:16,625 - INFO - Waiting for VM ctest-vn1-vm1-94259447 to be up..
2025-08-15 18:48:16,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 18:48:21,752 - DEBUG - VM is in ACTIVE state now
2025-08-15 18:48:21,752 - INFO - VM name : ctest-vn1-vm1-94259447
2025-08-15 18:48:21,826 - DEBUG - VM ctest-vn1-vm1-94259447 ID is 9126f00a-4f6e-4c1c-aedd-416bf43d9696
2025-08-15 18:48:21,847 - DEBUG - VM ctest-vn1-vm1-94259447 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1
2025-08-15 18:48:21,917 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9126f00a-4f6e-4c1c-aedd-416bf43d9696
2025-08-15 18:48:21,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bc07a171-11fb-4adf-881b-fd65031c980f
2025-08-15 18:48:25,189 - 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 1017ms')
2025-08-15 18:48:25,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94259447 failed!
2025-08-15 18:48:25,244 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33190083:ctest-vn1-36491325 is 221.158.214.129 and allocation pool is NOT set
2025-08-15 18:48:25,244 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33190083:ctest-vn1-36491325 is 36.233.225.193 and allocation pool is NOT set
2025-08-15 18:48:29,310 - 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=2 ttl=63 time=9.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 9.399/9.399/9.399/0.000 ms')
2025-08-15 18:48:29,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94259447 passed
2025-08-15 18:48:29,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 18:48:29,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94259447, IP 221.158.214.133, Port 22
2025-08-15 18:48:29,627 - DEBUG - VM ctest-vn1-vm1-94259447 is ready for SSH connections
2025-08-15 18:48:29,627 - INFO - Waiting for VM ctest-vn1-vm2-50003525 to be up..
2025-08-15 18:48:29,709 - DEBUG - VM is in ACTIVE state now
2025-08-15 18:48:29,709 - INFO - VM name : ctest-vn1-vm2-50003525
2025-08-15 18:48:29,785 - DEBUG - VM ctest-vn1-vm2-50003525 ID is 3765aaab-e471-420b-9e1e-ccf830cf3447
2025-08-15 18:48:29,785 - DEBUG - VM ctest-vn1-vm2-50003525 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1
2025-08-15 18:48:29,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3765aaab-e471-420b-9e1e-ccf830cf3447
2025-08-15 18:48:29,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/311169f1-bed8-4c01-a0dd-3fff30a02647
2025-08-15 18:48:31,119 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.840/3.178/1.338 ms')
2025-08-15 18:48:31,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50003525 passed
2025-08-15 18:48:31,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 18:48:31,276 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50003525, IP 36.233.225.197, Port 22
2025-08-15 18:48:31,436 - DEBUG - VM ctest-vn1-vm2-50003525 is ready for SSH connections
2025-08-15 18:48:31,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 18:48:31,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 18:48:31,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 18:48:31,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.158.214.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-15 18:48:31,436 - DEBUG - ping -s 56 -c 3 -W 1 221.158.214.133
2025-08-15 18:48:34,095 - DEBUG - PING 221.158.214.133 (221.158.214.133): 56 data bytes
64 bytes from 221.158.214.133: seq=0 ttl=63 time=3.729 ms
64 bytes from 221.158.214.133: seq=1 ttl=63 time=0.870 ms
64 bytes from 221.158.214.133: seq=2 ttl=63 time=0.899 ms
--- 221.158.214.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/1.832/3.729 ms
2025-08-15 18:48:34,095 - INFO - Ping to IP 221.158.214.133 from VM ctest-vn1-vm2-50003525 passed
2025-08-15 18:48:34,095 - INFO - Detaching port 311169f1-bed8-4c01-a0dd-3fff30a02647 from VM ctest-vn1-vm2-50003525
2025-08-15 18:48:34,143 - INFO - Deleting VM ctest-vn1-vm2-50003525
2025-08-15 18:48:34,202 - INFO - Detaching port bc07a171-11fb-4adf-881b-fd65031c980f from VM ctest-vn1-vm1-94259447
2025-08-15 18:48:34,241 - INFO - Deleting VM ctest-vn1-vm1-94259447
2025-08-15 18:48:34,485 - DEBUG - Response for delete_port : ()
2025-08-15 18:48:34,679 - DEBUG - Response for delete_port : ()
2025-08-15 18:48:34,679 - INFO - Deleting VN ctest-vn1-36491325
2025-08-15 18:48:34,847 - DEBUG - Response for deleting network ()
2025-08-15 18:48:35,112 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 18:48:35,112 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-15 18:48:35,112 - INFO - --------------------------------------------------------------------------------
2025-08-15 18:48:35,886 - INFO - Deleted project: ctest-TestPorts-33190083, ID : c976608c-0431-4884-a416-e08843a32082