2025-10-08 16:13:42,032 - INFO - Domain Default found not creating
2025-10-08 16:13:42,164 - INFO - Project ctest-TestPorts-66817846 not found, creating it
2025-10-08 16:13:42,596 - INFO - Created Project:ctest-TestPorts-66817846, ID : f32a8f80-2a8f-401d-810f-f455703f0e74
2025-10-08 16:13:44,084 - INFO - ================================================================================
2025-10-08 16:13:44,084 - INFO - STARTING TEST : test_ports_bindings
2025-10-08 16:13:44,084 - 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-10-08 16:13:44,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with
2025-10-08 16:13:44,335 - INFO - Initial checks done. Running the testcase now
2025-10-08 16:13:44,336 - INFO -
2025-10-08 16:13:44,873 - DEBUG - Response for create_network : {'network': {'id': '9555d1e7-4b60-4ebe-abe6-d41bb7326a84', 'name': 'ctest-vn-21327871', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'project_id': 'f32a8f802a8f401d810ff455703f0e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66817846', 'ctest-vn-21327871'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:13:45,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '93a91af4-0300-450b-b562-bb422704c5c4', 'name': '', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '9555d1e7-4b60-4ebe-abe6-d41bb7326a84', 'ip_version': 4, 'cidr': '84.137.104.128/26', 'allocation_pools': [{'start': '84.137.104.130', 'end': '84.137.104.190'}], 'gateway_ip': '84.137.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.137.104.130', 'tags': [], 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:45,064 - INFO - Created VN ctest-vn-21327871
2025-10-08 16:13:45,115 - DEBUG - VN ctest-vn-21327871 UUID is 9555d1e7-4b60-4ebe-abe6-d41bb7326a84
2025-10-08 16:13:45,219 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66817846', 'ctest-vmi-74788527']}
2025-10-08 16:13:45,488 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74788527', 'id': '0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '9555d1e7-4b60-4ebe-abe6-d41bb7326a84', 'mac_address': '02:0c:86:c4:56:26', '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': '84.137.104.131', 'subnet_id': '93a91af4-0300-450b-b562-bb422704c5c4'}], 'security_groups': ['ceb50641-c4de-4eb5-9467-d710fbf77824'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:45,488 - DEBUG - Created port 0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0
2025-10-08 16:13:45,591 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0
2025-10-08 16:13:45,880 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0
2025-10-08 16:13:45,908 - INFO - VMI 0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0 verification in API Server passed
2025-10-08 16:13:45,988 - DEBUG - Response for delete_port : ()
2025-10-08 16:13:45,988 - INFO - Deleted port 0c86c456-26c0-49c7-87ad-c7f5dd7cb8e0
2025-10-08 16:13:45,988 - INFO - Deleting VN ctest-vn-21327871
2025-10-08 16:13:46,076 - DEBUG - Response for deleting network ()
2025-10-08 16:13:46,327 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:13:46,327 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-08 16:13:46,327 - INFO - --------------------------------------------------------------------------------
2025-10-08 16:13:46,329 - INFO - ================================================================================
2025-10-08 16:13:46,330 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-08 16:13:46,330 - 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-10-08 16:13:46,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with
2025-10-08 16:13:46,616 - INFO - Initial checks done. Running the testcase now
2025-10-08 16:13:46,616 - INFO -
2025-10-08 16:13:46,785 - DEBUG - Response for create_network : {'network': {'id': '147befc1-c043-4706-aca8-53c1655f2a1b', 'name': 'ctest-vn1-56157303', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'project_id': 'f32a8f802a8f401d810ff455703f0e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66817846', 'ctest-vn1-56157303'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:13:47,003 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd82f4afb-9eb9-4318-a41c-ce7156a4a3b5', 'name': '', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '147befc1-c043-4706-aca8-53c1655f2a1b', 'ip_version': 4, 'cidr': '114.186.106.128/26', 'allocation_pools': [{'start': '114.186.106.130', 'end': '114.186.106.190'}], 'gateway_ip': '114.186.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.186.106.130', 'tags': [], 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:47,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab0c4f38-fb7d-487a-a61f-18e1e873452f', 'name': '', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '147befc1-c043-4706-aca8-53c1655f2a1b', 'ip_version': 4, 'cidr': '217.227.4.128/26', 'allocation_pools': [{'start': '217.227.4.130', 'end': '217.227.4.190'}], 'gateway_ip': '217.227.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.227.4.130', 'tags': [], 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:47,209 - INFO - Created VN ctest-vn1-56157303
2025-10-08 16:13:47,263 - DEBUG - VN ctest-vn1-56157303 UUID is 147befc1-c043-4706-aca8-53c1655f2a1b
2025-10-08 16:13:47,608 - DEBUG - Response for create_port : {'port': {'name': '6e520ef4-9f73-476f-9640-c507b36e6d65', 'id': '6e520ef4-9f73-476f-9640-c507b36e6d65', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '147befc1-c043-4706-aca8-53c1655f2a1b', 'mac_address': '02:6e:52:0e:f4:9f', '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': '114.186.106.133', 'subnet_id': 'd82f4afb-9eb9-4318-a41c-ce7156a4a3b5'}], 'security_groups': ['ceb50641-c4de-4eb5-9467-d710fbf77824'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:47,767 - DEBUG - Response for create_port : {'port': {'name': '6aae4422-ad8c-4e5c-94a1-1830eb837399', 'id': '6aae4422-ad8c-4e5c-94a1-1830eb837399', 'tenant_id': 'f32a8f802a8f401d810ff455703f0e74', 'network_id': '147befc1-c043-4706-aca8-53c1655f2a1b', 'mac_address': '02:6a:ae:44:22:ad', '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': '217.227.4.133', 'subnet_id': 'ab0c4f38-fb7d-487a-a61f-18e1e873452f'}], 'security_groups': ['ceb50641-c4de-4eb5-9467-d710fbf77824'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f32a8f802a8f401d810ff455703f0e74'}}
2025-10-08 16:13:47,817 - DEBUG - Services list from nova: [, , ]
2025-10-08 16:13:48,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1)
2025-10-08 16:13:48,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1)
2025-10-08 16:13:48,455 - INFO - Waiting for VM ctest-vn1-vm1-50279771 to be up..
2025-10-08 16:13:48,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 16:13:53,559 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:13:53,559 - INFO - VM name : ctest-vn1-vm1-50279771
2025-10-08 16:13:53,635 - DEBUG - VM ctest-vn1-vm1-50279771 ID is ba494777-2547-484c-9efd-af139a5fd0a5
2025-10-08 16:13:53,654 - DEBUG - VM ctest-vn1-vm1-50279771 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1
2025-10-08 16:13:53,726 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ba494777-2547-484c-9efd-af139a5fd0a5
2025-10-08 16:13:53,734 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6e520ef4-9f73-476f-9640-c507b36e6d65
2025-10-08 16:13:56,995 - 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 1027ms')
2025-10-08 16:13:56,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50279771 failed!
2025-10-08 16:13:57,047 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66817846:ctest-vn1-56157303 is 114.186.106.129 and allocation pool is NOT set
2025-10-08 16:13:57,047 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66817846:ctest-vn1-56157303 is 217.227.4.129 and allocation pool is NOT set
2025-10-08 16:13:59,108 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.810 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.810/1.913/3.017/1.103 ms')
2025-10-08 16:13:59,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50279771 passed
2025-10-08 16:13:59,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:13:59,255 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50279771, IP 114.186.106.133, Port 22
2025-10-08 16:13:59,411 - DEBUG - VM ctest-vn1-vm1-50279771 is ready for SSH connections
2025-10-08 16:13:59,411 - INFO - Waiting for VM ctest-vn1-vm2-11435847 to be up..
2025-10-08 16:13:59,479 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:13:59,480 - INFO - VM name : ctest-vn1-vm2-11435847
2025-10-08 16:13:59,542 - DEBUG - VM ctest-vn1-vm2-11435847 ID is 23355fc1-6b4f-4fec-b2a2-e1431b1654d7
2025-10-08 16:13:59,542 - DEBUG - VM ctest-vn1-vm2-11435847 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1
2025-10-08 16:13:59,606 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/23355fc1-6b4f-4fec-b2a2-e1431b1654d7
2025-10-08 16:13:59,613 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6aae4422-ad8c-4e5c-94a1-1830eb837399
2025-10-08 16:14:00,840 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.618/2.802/1.183 ms')
2025-10-08 16:14:00,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11435847 passed
2025-10-08 16:14:00,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:14:00,987 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11435847, IP 217.227.4.133, Port 22
2025-10-08 16:14:01,142 - DEBUG - VM ctest-vn1-vm2-11435847 is ready for SSH connections
2025-10-08 16:14:01,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:14:01,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:14:01,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:14:01,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.186.106.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-10-08 16:14:01,142 - DEBUG - ping -s 56 -c 3 -W 1 114.186.106.133
2025-10-08 16:14:04,092 - DEBUG - PING 114.186.106.133 (114.186.106.133): 56 data bytes
64 bytes from 114.186.106.133: seq=0 ttl=63 time=3.301 ms
64 bytes from 114.186.106.133: seq=1 ttl=63 time=0.910 ms
64 bytes from 114.186.106.133: seq=2 ttl=63 time=0.839 ms
--- 114.186.106.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.839/1.683/3.301 ms
2025-10-08 16:14:04,092 - INFO - Ping to IP 114.186.106.133 from VM ctest-vn1-vm2-11435847 passed
2025-10-08 16:14:04,092 - INFO - Detaching port 6aae4422-ad8c-4e5c-94a1-1830eb837399 from VM ctest-vn1-vm2-11435847
2025-10-08 16:14:04,139 - INFO - Deleting VM ctest-vn1-vm2-11435847
2025-10-08 16:14:04,204 - INFO - Detaching port 6e520ef4-9f73-476f-9640-c507b36e6d65 from VM ctest-vn1-vm1-50279771
2025-10-08 16:14:04,242 - INFO - Deleting VM ctest-vn1-vm1-50279771
2025-10-08 16:14:04,461 - DEBUG - Response for delete_port : ()
2025-10-08 16:14:04,618 - DEBUG - Response for delete_port : ()
2025-10-08 16:14:04,618 - INFO - Deleting VN ctest-vn1-56157303
2025-10-08 16:14:04,741 - DEBUG - Response for deleting network ()
2025-10-08 16:14:05,003 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:14:05,003 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-08 16:14:05,003 - INFO - --------------------------------------------------------------------------------
2025-10-08 16:14:05,669 - INFO - Deleted project: ctest-TestPorts-66817846, ID : f32a8f80-2a8f-401d-810f-f455703f0e74