2025-11-12 14:40:32,302 - INFO - Domain Default found not creating
2025-11-12 14:40:32,511 - INFO - Project ctest-TestPorts-55517098 not found, creating it
2025-11-12 14:40:32,932 - INFO - Created Project:ctest-TestPorts-55517098, ID : 1a1f47b8-e187-4b3c-91ea-e97d156580ea
2025-11-12 14:40:34,282 - INFO - ================================================================================
2025-11-12 14:40:34,282 - INFO - STARTING TEST : test_ports_bindings
2025-11-12 14:40:34,282 - 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-12 14:40:34,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-11-12 14:40:34,541 - INFO - Initial checks done. Running the testcase now
2025-11-12 14:40:34,541 - INFO -
2025-11-12 14:40:35,071 - DEBUG - Response for create_network : {'network': {'id': '77242562-050d-4969-82e7-5d93edabfa8e', 'name': 'ctest-vn-75566882', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'project_id': '1a1f47b8e1874b3c91eae97d156580ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55517098', 'ctest-vn-75566882'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:40:35,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef5bcaf5-267c-4a94-b79d-2284a91ef4d8', 'name': '', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '77242562-050d-4969-82e7-5d93edabfa8e', 'ip_version': 4, 'cidr': '112.124.123.128/26', 'allocation_pools': [{'start': '112.124.123.130', 'end': '112.124.123.190'}], 'gateway_ip': '112.124.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.124.123.130', 'tags': [], 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:35,250 - INFO - Created VN ctest-vn-75566882
2025-11-12 14:40:35,300 - DEBUG - VN ctest-vn-75566882 UUID is 77242562-050d-4969-82e7-5d93edabfa8e
2025-11-12 14:40:35,400 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55517098', 'ctest-vmi-24096406']}
2025-11-12 14:40:35,652 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24096406', 'id': 'b5600ca3-d796-4794-a096-958c15cc35b0', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '77242562-050d-4969-82e7-5d93edabfa8e', 'mac_address': '02:b5:60:0c:a3:d7', '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': '112.124.123.131', 'subnet_id': 'ef5bcaf5-267c-4a94-b79d-2284a91ef4d8'}], 'security_groups': ['26c0563b-10e0-4e60-9ee7-c633e7cd8632'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:35,652 - DEBUG - Created port b5600ca3-d796-4794-a096-958c15cc35b0
2025-11-12 14:40:35,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b5600ca3-d796-4794-a096-958c15cc35b0
2025-11-12 14:40:36,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b5600ca3-d796-4794-a096-958c15cc35b0
2025-11-12 14:40:36,073 - INFO - VMI b5600ca3-d796-4794-a096-958c15cc35b0 verification in API Server passed
2025-11-12 14:40:36,144 - DEBUG - Response for delete_port : ()
2025-11-12 14:40:36,144 - INFO - Deleted port b5600ca3-d796-4794-a096-958c15cc35b0
2025-11-12 14:40:36,144 - INFO - Deleting VN ctest-vn-75566882
2025-11-12 14:40:36,234 - DEBUG - Response for deleting network ()
2025-11-12 14:40:36,497 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:40:36,497 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 14:40:36,497 - INFO - --------------------------------------------------------------------------------
2025-11-12 14:40:36,499 - INFO - ================================================================================
2025-11-12 14:40:36,499 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-12 14:40:36,499 - 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-12 14:40:36,781 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-11-12 14:40:36,781 - INFO - Initial checks done. Running the testcase now
2025-11-12 14:40:36,781 - INFO -
2025-11-12 14:40:36,947 - DEBUG - Response for create_network : {'network': {'id': '63272c7e-8f61-444f-acb2-d1e8d1103faf', 'name': 'ctest-vn1-65382117', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'project_id': '1a1f47b8e1874b3c91eae97d156580ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55517098', 'ctest-vn1-65382117'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:40:37,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b0bc972-f2fa-46ab-8987-f87fbaf4c5c9', 'name': '', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '63272c7e-8f61-444f-acb2-d1e8d1103faf', 'ip_version': 4, 'cidr': '4.216.229.64/26', 'allocation_pools': [{'start': '4.216.229.66', 'end': '4.216.229.126'}], 'gateway_ip': '4.216.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.216.229.66', 'tags': [], 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:37,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e134ba67-86a1-4df1-a647-4b9c8d7d4223', 'name': '', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '63272c7e-8f61-444f-acb2-d1e8d1103faf', 'ip_version': 4, 'cidr': '49.233.154.0/26', 'allocation_pools': [{'start': '49.233.154.2', 'end': '49.233.154.62'}], 'gateway_ip': '49.233.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.233.154.2', 'tags': [], 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:37,359 - INFO - Created VN ctest-vn1-65382117
2025-11-12 14:40:37,412 - DEBUG - VN ctest-vn1-65382117 UUID is 63272c7e-8f61-444f-acb2-d1e8d1103faf
2025-11-12 14:40:37,685 - DEBUG - Response for create_port : {'port': {'name': 'd1b360a3-ef23-4ea8-91e1-530fc87ffdce', 'id': 'd1b360a3-ef23-4ea8-91e1-530fc87ffdce', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '63272c7e-8f61-444f-acb2-d1e8d1103faf', 'mac_address': '02:d1:b3:60:a3:ef', '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': '4.216.229.69', 'subnet_id': '9b0bc972-f2fa-46ab-8987-f87fbaf4c5c9'}], 'security_groups': ['26c0563b-10e0-4e60-9ee7-c633e7cd8632'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:37,834 - DEBUG - Response for create_port : {'port': {'name': '6e669bc7-5026-4b2e-8ad7-1793ac33f827', 'id': '6e669bc7-5026-4b2e-8ad7-1793ac33f827', 'tenant_id': '1a1f47b8e1874b3c91eae97d156580ea', 'network_id': '63272c7e-8f61-444f-acb2-d1e8d1103faf', 'mac_address': '02:6e:66:9b:c7:50', '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': '49.233.154.5', 'subnet_id': 'e134ba67-86a1-4df1-a647-4b9c8d7d4223'}], 'security_groups': ['26c0563b-10e0-4e60-9ee7-c633e7cd8632'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a1f47b8e1874b3c91eae97d156580ea'}}
2025-11-12 14:40:37,884 - DEBUG - Services list from nova: [, , ]
2025-11-12 14:40:38,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1)
2025-11-12 14:40:38,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1)
2025-11-12 14:40:38,497 - INFO - Waiting for VM ctest-vn1-vm1-58104207 to be up..
2025-11-12 14:40:38,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 14:40:43,596 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:40:43,596 - INFO - VM name : ctest-vn1-vm1-58104207
2025-11-12 14:40:43,665 - DEBUG - VM ctest-vn1-vm1-58104207 ID is bb9a69cc-c272-4ef1-8862-91e87617e95f
2025-11-12 14:40:43,685 - DEBUG - VM ctest-vn1-vm1-58104207 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1
2025-11-12 14:40:43,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb9a69cc-c272-4ef1-8862-91e87617e95f
2025-11-12 14:40:43,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1b360a3-ef23-4ea8-91e1-530fc87ffdce
2025-11-12 14:40:47,026 - 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 1004ms')
2025-11-12 14:40:47,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58104207 failed!
2025-11-12 14:40:47,080 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55517098:ctest-vn1-65382117 is 4.216.229.65 and allocation pool is NOT set
2025-11-12 14:40:47,081 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55517098:ctest-vn1-65382117 is 49.233.154.1 and allocation pool is NOT set
2025-11-12 14:40:49,150 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.095/3.672/5.250/1.577 ms')
2025-11-12 14:40:49,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58104207 passed
2025-11-12 14:40:49,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:40:49,296 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58104207, IP 4.216.229.69, Port 22
2025-11-12 14:40:49,448 - DEBUG - VM ctest-vn1-vm1-58104207 is ready for SSH connections
2025-11-12 14:40:49,448 - INFO - Waiting for VM ctest-vn1-vm2-16986662 to be up..
2025-11-12 14:40:49,519 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:40:49,519 - INFO - VM name : ctest-vn1-vm2-16986662
2025-11-12 14:40:49,582 - DEBUG - VM ctest-vn1-vm2-16986662 ID is d32e1289-f7f0-407c-b90d-db68f4e91ebd
2025-11-12 14:40:49,582 - DEBUG - VM ctest-vn1-vm2-16986662 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1
2025-11-12 14:40:49,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d32e1289-f7f0-407c-b90d-db68f4e91ebd
2025-11-12 14:40:49,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6e669bc7-5026-4b2e-8ad7-1793ac33f827
2025-11-12 14:40:50,901 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 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.537/1.690/2.843/1.153 ms')
2025-11-12 14:40:50,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16986662 passed
2025-11-12 14:40:51,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:40:51,048 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16986662, IP 49.233.154.5, Port 22
2025-11-12 14:40:51,200 - DEBUG - VM ctest-vn1-vm2-16986662 is ready for SSH connections
2025-11-12 14:40:51,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:40:51,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:40:51,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:40:51,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.216.229.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 14:40:51,200 - DEBUG - ping -s 56 -c 3 -W 1 4.216.229.69
2025-11-12 14:40:54,114 - DEBUG - PING 4.216.229.69 (4.216.229.69): 56 data bytes
64 bytes from 4.216.229.69: seq=0 ttl=63 time=4.199 ms
64 bytes from 4.216.229.69: seq=1 ttl=63 time=0.954 ms
64 bytes from 4.216.229.69: seq=2 ttl=63 time=0.752 ms
--- 4.216.229.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.752/1.968/4.199 ms
2025-11-12 14:40:54,114 - INFO - Ping to IP 4.216.229.69 from VM ctest-vn1-vm2-16986662 passed
2025-11-12 14:40:54,115 - INFO - Detaching port 6e669bc7-5026-4b2e-8ad7-1793ac33f827 from VM ctest-vn1-vm2-16986662
2025-11-12 14:40:54,165 - INFO - Deleting VM ctest-vn1-vm2-16986662
2025-11-12 14:40:54,228 - INFO - Detaching port d1b360a3-ef23-4ea8-91e1-530fc87ffdce from VM ctest-vn1-vm1-58104207
2025-11-12 14:40:54,256 - INFO - Deleting VM ctest-vn1-vm1-58104207
2025-11-12 14:40:54,453 - DEBUG - Response for delete_port : ()
2025-11-12 14:40:54,595 - DEBUG - Response for delete_port : ()
2025-11-12 14:40:54,595 - INFO - Deleting VN ctest-vn1-65382117
2025-11-12 14:40:54,701 - DEBUG - Response for deleting network ()
2025-11-12 14:40:54,952 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:40:54,952 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-12 14:40:54,952 - INFO - --------------------------------------------------------------------------------
2025-11-12 14:40:55,593 - INFO - Deleted project: ctest-TestPorts-55517098, ID : 1a1f47b8-e187-4b3c-91ea-e97d156580ea