2025-08-13 16:27:16,599 - INFO - Domain Default found not creating
2025-08-13 16:27:16,743 - INFO - Project ctest-TestPorts-99375279 not found, creating it
2025-08-13 16:27:17,192 - INFO - Created Project:ctest-TestPorts-99375279, ID : e39b2606-eea1-4b84-b6e8-b456fd601e04
2025-08-13 16:27:18,631 - INFO - ================================================================================
2025-08-13 16:27:18,631 - INFO - STARTING TEST : test_ports_bindings
2025-08-13 16:27:18,632 - 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-13 16:27:18,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-13 16:27:18,891 - INFO - Initial checks done. Running the testcase now
2025-08-13 16:27:18,892 - INFO -
2025-08-13 16:27:19,432 - DEBUG - Response for create_network : {'network': {'id': '34bbc8ce-eed4-4565-ae3a-83bbdcbcee2d', 'name': 'ctest-vn-20412415', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'project_id': 'e39b2606eea14b84b6e8b456fd601e04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99375279', 'ctest-vn-20412415'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 16:27:19,621 - DEBUG - Response for create_subnet : {'subnet': {'id': '73039494-2f3e-44f1-84ce-0957524d8c7e', 'name': '', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '34bbc8ce-eed4-4565-ae3a-83bbdcbcee2d', 'ip_version': 4, 'cidr': '130.68.213.192/26', 'allocation_pools': [{'start': '130.68.213.194', 'end': '130.68.213.254'}], 'gateway_ip': '130.68.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.68.213.194', 'tags': [], 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:19,641 - INFO - Created VN ctest-vn-20412415
2025-08-13 16:27:19,694 - DEBUG - VN ctest-vn-20412415 UUID is 34bbc8ce-eed4-4565-ae3a-83bbdcbcee2d
2025-08-13 16:27:19,804 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99375279', 'ctest-vmi-61676236']}
2025-08-13 16:27:20,054 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61676236', 'id': '05869c1e-6478-48b8-9577-1a2f3d9e722f', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '34bbc8ce-eed4-4565-ae3a-83bbdcbcee2d', 'mac_address': '02:05:86:9c:1e:64', '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': '130.68.213.195', 'subnet_id': '73039494-2f3e-44f1-84ce-0957524d8c7e'}], 'security_groups': ['6aa87994-2378-4cab-a3ad-18206bd1bb1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:20,054 - DEBUG - Created port 05869c1e-6478-48b8-9577-1a2f3d9e722f
2025-08-13 16:27:20,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05869c1e-6478-48b8-9577-1a2f3d9e722f
2025-08-13 16:27:20,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05869c1e-6478-48b8-9577-1a2f3d9e722f
2025-08-13 16:27:20,475 - INFO - VMI 05869c1e-6478-48b8-9577-1a2f3d9e722f verification in API Server passed
2025-08-13 16:27:20,559 - DEBUG - Response for delete_port : ()
2025-08-13 16:27:20,560 - INFO - Deleted port 05869c1e-6478-48b8-9577-1a2f3d9e722f
2025-08-13 16:27:20,560 - INFO - Deleting VN ctest-vn-20412415
2025-08-13 16:27:20,656 - DEBUG - Response for deleting network ()
2025-08-13 16:27:20,911 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:27:20,911 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-13 16:27:20,911 - INFO - --------------------------------------------------------------------------------
2025-08-13 16:27:20,914 - INFO - ================================================================================
2025-08-13 16:27:20,914 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-13 16:27:20,914 - 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-13 16:27:21,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-13 16:27:21,199 - INFO - Initial checks done. Running the testcase now
2025-08-13 16:27:21,199 - INFO -
2025-08-13 16:27:21,358 - DEBUG - Response for create_network : {'network': {'id': '529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092', 'name': 'ctest-vn1-97549413', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'project_id': 'e39b2606eea14b84b6e8b456fd601e04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99375279', 'ctest-vn1-97549413'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 16:27:21,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a0e5bba-37fe-4cc8-9a9d-c624a8fae299', 'name': '', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092', 'ip_version': 4, 'cidr': '28.19.65.0/26', 'allocation_pools': [{'start': '28.19.65.2', 'end': '28.19.65.62'}], 'gateway_ip': '28.19.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.19.65.2', 'tags': [], 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:21,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f58b71e8-4b74-4555-ba48-4ee8e8459efd', 'name': '', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092', 'ip_version': 4, 'cidr': '190.79.19.128/26', 'allocation_pools': [{'start': '190.79.19.130', 'end': '190.79.19.190'}], 'gateway_ip': '190.79.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.79.19.130', 'tags': [], 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:21,727 - INFO - Created VN ctest-vn1-97549413
2025-08-13 16:27:21,778 - DEBUG - VN ctest-vn1-97549413 UUID is 529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092
2025-08-13 16:27:22,068 - DEBUG - Response for create_port : {'port': {'name': '98d3e5de-4de5-42fa-91e8-e1872d54692c', 'id': '98d3e5de-4de5-42fa-91e8-e1872d54692c', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092', 'mac_address': '02:98:d3:e5:de:4d', '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': '28.19.65.5', 'subnet_id': '5a0e5bba-37fe-4cc8-9a9d-c624a8fae299'}], 'security_groups': ['6aa87994-2378-4cab-a3ad-18206bd1bb1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:22,233 - DEBUG - Response for create_port : {'port': {'name': '5078b261-1525-44ae-8769-bd0191ccf092', 'id': '5078b261-1525-44ae-8769-bd0191ccf092', 'tenant_id': 'e39b2606eea14b84b6e8b456fd601e04', 'network_id': '529b6c5d-7a04-4ed0-a96b-3e3b1d8e3092', 'mac_address': '02:50:78:b2:61:15', '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': '190.79.19.133', 'subnet_id': 'f58b71e8-4b74-4555-ba48-4ee8e8459efd'}], 'security_groups': ['6aa87994-2378-4cab-a3ad-18206bd1bb1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e39b2606eea14b84b6e8b456fd601e04'}}
2025-08-13 16:27:22,281 - DEBUG - Services list from nova: [, , ]
2025-08-13 16:27:22,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1)
2025-08-13 16:27:22,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1)
2025-08-13 16:27:22,896 - INFO - Waiting for VM ctest-vn1-vm1-85120523 to be up..
2025-08-13 16:27:22,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 16:27:27,991 - DEBUG - VM is in ACTIVE state now
2025-08-13 16:27:27,991 - INFO - VM name : ctest-vn1-vm1-85120523
2025-08-13 16:27:28,051 - DEBUG - VM ctest-vn1-vm1-85120523 ID is 35feb797-65f6-4cec-a25d-2a9b64392e5f
2025-08-13 16:27:28,069 - DEBUG - VM ctest-vn1-vm1-85120523 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1
2025-08-13 16:27:28,137 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35feb797-65f6-4cec-a25d-2a9b64392e5f
2025-08-13 16:27:28,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98d3e5de-4de5-42fa-91e8-e1872d54692c
2025-08-13 16:27:31,391 - 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 1008ms')
2025-08-13 16:27:31,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85120523 failed!
2025-08-13 16:27:31,450 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99375279:ctest-vn1-97549413 is 28.19.65.1 and allocation pool is NOT set
2025-08-13 16:27:31,450 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99375279:ctest-vn1-97549413 is 190.79.19.129 and allocation pool is NOT set
2025-08-13 16:27:33,515 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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 = 0.398/1.528/2.659/1.130 ms')
2025-08-13 16:27:33,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85120523 passed
2025-08-13 16:27:33,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:27:33,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85120523, IP 28.19.65.5, Port 22
2025-08-13 16:27:33,821 - DEBUG - VM ctest-vn1-vm1-85120523 is ready for SSH connections
2025-08-13 16:27:33,821 - INFO - Waiting for VM ctest-vn1-vm2-84335447 to be up..
2025-08-13 16:27:33,886 - DEBUG - VM is in ACTIVE state now
2025-08-13 16:27:33,886 - INFO - VM name : ctest-vn1-vm2-84335447
2025-08-13 16:27:33,947 - DEBUG - VM ctest-vn1-vm2-84335447 ID is c3aeb2a6-4aec-4141-a218-8924e71cc2c1
2025-08-13 16:27:33,947 - DEBUG - VM ctest-vn1-vm2-84335447 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1
2025-08-13 16:27:34,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3aeb2a6-4aec-4141-a218-8924e71cc2c1
2025-08-13 16:27:34,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5078b261-1525-44ae-8769-bd0191ccf092
2025-08-13 16:27:35,242 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.450/2.523/1.073 ms')
2025-08-13 16:27:35,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84335447 passed
2025-08-13 16:27:35,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:27:35,394 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84335447, IP 190.79.19.133, Port 22
2025-08-13 16:27:35,549 - DEBUG - VM ctest-vn1-vm2-84335447 is ready for SSH connections
2025-08-13 16:27:35,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:27:35,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:27:35,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:27:35,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.19.65.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-13 16:27:35,550 - DEBUG - ping -s 56 -c 3 -W 1 28.19.65.5
2025-08-13 16:27:38,158 - DEBUG - PING 28.19.65.5 (28.19.65.5): 56 data bytes
64 bytes from 28.19.65.5: seq=0 ttl=63 time=3.422 ms
64 bytes from 28.19.65.5: seq=1 ttl=63 time=0.686 ms
64 bytes from 28.19.65.5: seq=2 ttl=63 time=0.918 ms
--- 28.19.65.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.686/1.675/3.422 ms
2025-08-13 16:27:38,158 - INFO - Ping to IP 28.19.65.5 from VM ctest-vn1-vm2-84335447 passed
2025-08-13 16:27:38,158 - INFO - Detaching port 5078b261-1525-44ae-8769-bd0191ccf092 from VM ctest-vn1-vm2-84335447
2025-08-13 16:27:38,200 - INFO - Deleting VM ctest-vn1-vm2-84335447
2025-08-13 16:27:38,257 - INFO - Detaching port 98d3e5de-4de5-42fa-91e8-e1872d54692c from VM ctest-vn1-vm1-85120523
2025-08-13 16:27:38,286 - INFO - Deleting VM ctest-vn1-vm1-85120523
2025-08-13 16:27:38,468 - DEBUG - Response for delete_port : ()
2025-08-13 16:27:38,603 - DEBUG - Response for delete_port : ()
2025-08-13 16:27:38,603 - INFO - Deleting VN ctest-vn1-97549413
2025-08-13 16:27:38,714 - DEBUG - Response for deleting network ()
2025-08-13 16:27:38,967 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:27:38,967 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-13 16:27:38,967 - INFO - --------------------------------------------------------------------------------
2025-08-13 16:27:39,700 - INFO - Deleted project: ctest-TestPorts-99375279, ID : e39b2606-eea1-4b84-b6e8-b456fd601e04