2025-11-05 08:07:41,754 - INFO - Domain Default found not creating
2025-11-05 08:07:41,913 - INFO - Project ctest-TestPorts-12883591 not found, creating it
2025-11-05 08:07:42,339 - INFO - Created Project:ctest-TestPorts-12883591, ID : 8f2a5a1e-5a2c-427a-b2ea-281244f9bd1b
2025-11-05 08:07:43,804 - INFO - ================================================================================
2025-11-05 08:07:43,804 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 08:07:43,804 - 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-05 08:07:44,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-11-05 08:07:44,060 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:07:44,060 - INFO -
2025-11-05 08:07:44,606 - DEBUG - Response for create_network : {'network': {'id': 'ede7afe1-df5b-48bc-824d-672b145c8389', 'name': 'ctest-vn-53480705', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12883591', 'ctest-vn-53480705'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:07:44,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '3202e43e-e59f-46bd-aab2-7a9902460329', 'name': '', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': 'ede7afe1-df5b-48bc-824d-672b145c8389', 'ip_version': 4, 'cidr': '49.172.72.192/26', 'allocation_pools': [{'start': '49.172.72.194', 'end': '49.172.72.254'}], 'gateway_ip': '49.172.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.172.72.194', 'tags': [], 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:44,815 - INFO - Created VN ctest-vn-53480705
2025-11-05 08:07:44,867 - DEBUG - VN ctest-vn-53480705 UUID is ede7afe1-df5b-48bc-824d-672b145c8389
2025-11-05 08:07:44,966 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12883591', 'ctest-vmi-00526144']}
2025-11-05 08:07:45,222 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00526144', 'id': '53071df9-c1fe-40d6-82d9-da79c45faf71', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': 'ede7afe1-df5b-48bc-824d-672b145c8389', 'mac_address': '02:53:07:1d:f9:c1', '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': '49.172.72.195', 'subnet_id': '3202e43e-e59f-46bd-aab2-7a9902460329'}], 'security_groups': ['903db145-f797-4dbd-97e6-7fdc781157c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:45,222 - DEBUG - Created port 53071df9-c1fe-40d6-82d9-da79c45faf71
2025-11-05 08:07:45,323 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/53071df9-c1fe-40d6-82d9-da79c45faf71
2025-11-05 08:07:45,635 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/53071df9-c1fe-40d6-82d9-da79c45faf71
2025-11-05 08:07:45,666 - INFO - VMI 53071df9-c1fe-40d6-82d9-da79c45faf71 verification in API Server passed
2025-11-05 08:07:45,746 - DEBUG - Response for delete_port : ()
2025-11-05 08:07:45,746 - INFO - Deleted port 53071df9-c1fe-40d6-82d9-da79c45faf71
2025-11-05 08:07:45,746 - INFO - Deleting VN ctest-vn-53480705
2025-11-05 08:07:45,836 - DEBUG - Response for deleting network ()
2025-11-05 08:07:46,087 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:07:46,087 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 08:07:46,087 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:07:46,089 - INFO - ================================================================================
2025-11-05 08:07:46,089 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 08:07:46,089 - 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-05 08:07:46,375 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-11-05 08:07:46,375 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:07:46,375 - INFO -
2025-11-05 08:07:46,528 - DEBUG - Response for create_network : {'network': {'id': '160cd4ac-7772-4300-a3af-836ca68bcf90', 'name': 'ctest-vn1-23838796', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12883591', 'ctest-vn1-23838796'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:07:46,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f645e8e-2bdc-48c0-a83e-a4c0136c53a0', 'name': '', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': '160cd4ac-7772-4300-a3af-836ca68bcf90', 'ip_version': 4, 'cidr': '90.71.44.128/26', 'allocation_pools': [{'start': '90.71.44.130', 'end': '90.71.44.190'}], 'gateway_ip': '90.71.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.71.44.130', 'tags': [], 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:46,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '33bbacec-afa3-4453-a104-abeaa7b23d57', 'name': '', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': '160cd4ac-7772-4300-a3af-836ca68bcf90', 'ip_version': 4, 'cidr': '159.167.145.64/26', 'allocation_pools': [{'start': '159.167.145.66', 'end': '159.167.145.126'}], 'gateway_ip': '159.167.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.167.145.66', 'tags': [], 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:46,904 - INFO - Created VN ctest-vn1-23838796
2025-11-05 08:07:46,955 - DEBUG - VN ctest-vn1-23838796 UUID is 160cd4ac-7772-4300-a3af-836ca68bcf90
2025-11-05 08:07:47,226 - DEBUG - Response for create_port : {'port': {'name': '3907cb1a-3be7-45ac-89c9-d8f4969686c6', 'id': '3907cb1a-3be7-45ac-89c9-d8f4969686c6', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': '160cd4ac-7772-4300-a3af-836ca68bcf90', 'mac_address': '02:39:07:cb:1a:3b', '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': '90.71.44.133', 'subnet_id': '5f645e8e-2bdc-48c0-a83e-a4c0136c53a0'}], 'security_groups': ['903db145-f797-4dbd-97e6-7fdc781157c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:47,378 - DEBUG - Response for create_port : {'port': {'name': 'fb747204-731b-4521-98ef-32b1da3ca1dd', 'id': 'fb747204-731b-4521-98ef-32b1da3ca1dd', 'tenant_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b', 'network_id': '160cd4ac-7772-4300-a3af-836ca68bcf90', 'mac_address': '02:fb:74:72:04:73', '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': '159.167.145.69', 'subnet_id': '33bbacec-afa3-4453-a104-abeaa7b23d57'}], 'security_groups': ['903db145-f797-4dbd-97e6-7fdc781157c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f2a5a1e5a2c427ab2ea281244f9bd1b'}}
2025-11-05 08:07:47,429 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:07:47,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1)
2025-11-05 08:07:48,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1)
2025-11-05 08:07:48,029 - INFO - Waiting for VM ctest-vn1-vm1-73358094 to be up..
2025-11-05 08:07:48,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:07:53,134 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:07:53,134 - INFO - VM name : ctest-vn1-vm1-73358094
2025-11-05 08:07:53,204 - DEBUG - VM ctest-vn1-vm1-73358094 ID is a23e82b3-24e4-4f5a-b99c-e2bdda8b6c12
2025-11-05 08:07:53,228 - DEBUG - VM ctest-vn1-vm1-73358094 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1
2025-11-05 08:07:53,295 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a23e82b3-24e4-4f5a-b99c-e2bdda8b6c12
2025-11-05 08:07:53,303 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3907cb1a-3be7-45ac-89c9-d8f4969686c6
2025-11-05 08:07:56,552 - 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 1015ms')
2025-11-05 08:07:56,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73358094 failed!
2025-11-05 08:07:56,607 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12883591:ctest-vn1-23838796 is 90.71.44.129 and allocation pool is NOT set
2025-11-05 08:07:56,607 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12883591:ctest-vn1-23838796 is 159.167.145.65 and allocation pool is NOT set
2025-11-05 08:07:58,662 - 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=4.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/2.566/4.662/2.096 ms')
2025-11-05 08:07:58,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73358094 passed
2025-11-05 08:07:58,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:07:58,811 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73358094, IP 90.71.44.133, Port 22
2025-11-05 08:07:58,966 - DEBUG - VM ctest-vn1-vm1-73358094 is ready for SSH connections
2025-11-05 08:07:58,966 - INFO - Waiting for VM ctest-vn1-vm2-97924515 to be up..
2025-11-05 08:07:59,036 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:07:59,037 - INFO - VM name : ctest-vn1-vm2-97924515
2025-11-05 08:07:59,099 - DEBUG - VM ctest-vn1-vm2-97924515 ID is 7af19015-b029-4449-98c4-a8418a6eb22f
2025-11-05 08:07:59,099 - DEBUG - VM ctest-vn1-vm2-97924515 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1
2025-11-05 08:07:59,161 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7af19015-b029-4449-98c4-a8418a6eb22f
2025-11-05 08:07:59,167 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fb747204-731b-4521-98ef-32b1da3ca1dd
2025-11-05 08:08:00,404 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 999ms\r\nrtt min/avg/max/mdev = 0.412/1.726/3.040/1.314 ms')
2025-11-05 08:08:00,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97924515 passed
2025-11-05 08:08:00,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:00,551 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97924515, IP 159.167.145.69, Port 22
2025-11-05 08:08:00,710 - DEBUG - VM ctest-vn1-vm2-97924515 is ready for SSH connections
2025-11-05 08:08:00,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:00,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:00,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:00,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.71.44.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-11-05 08:08:00,710 - DEBUG - ping -s 56 -c 3 -W 1 90.71.44.133
2025-11-05 08:08:03,263 - DEBUG - PING 90.71.44.133 (90.71.44.133): 56 data bytes
64 bytes from 90.71.44.133: seq=0 ttl=63 time=3.334 ms
64 bytes from 90.71.44.133: seq=1 ttl=63 time=0.899 ms
64 bytes from 90.71.44.133: seq=2 ttl=63 time=0.984 ms
--- 90.71.44.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.899/1.739/3.334 ms
2025-11-05 08:08:03,264 - INFO - Ping to IP 90.71.44.133 from VM ctest-vn1-vm2-97924515 passed
2025-11-05 08:08:03,264 - INFO - Detaching port fb747204-731b-4521-98ef-32b1da3ca1dd from VM ctest-vn1-vm2-97924515
2025-11-05 08:08:03,326 - INFO - Deleting VM ctest-vn1-vm2-97924515
2025-11-05 08:08:03,398 - INFO - Detaching port 3907cb1a-3be7-45ac-89c9-d8f4969686c6 from VM ctest-vn1-vm1-73358094
2025-11-05 08:08:03,433 - INFO - Deleting VM ctest-vn1-vm1-73358094
2025-11-05 08:08:03,636 - DEBUG - Response for delete_port : ()
2025-11-05 08:08:03,788 - DEBUG - Response for delete_port : ()
2025-11-05 08:08:03,788 - INFO - Deleting VN ctest-vn1-23838796
2025-11-05 08:08:03,911 - DEBUG - Response for deleting network ()
2025-11-05 08:08:04,171 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:08:04,171 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-05 08:08:04,171 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:08:04,862 - INFO - Deleted project: ctest-TestPorts-12883591, ID : 8f2a5a1e-5a2c-427a-b2ea-281244f9bd1b