2025-09-17 17:41:55,092 - INFO - Domain Default found not creating
2025-09-17 17:41:55,248 - INFO - Project ctest-TestPorts-88548684 not found, creating it
2025-09-17 17:41:55,750 - INFO - Created Project:ctest-TestPorts-88548684, ID : f163d7e7-6508-46c4-9364-18856a91acfe
2025-09-17 17:41:57,157 - INFO - ================================================================================
2025-09-17 17:41:57,157 - INFO - STARTING TEST : test_ports_bindings
2025-09-17 17:41:57,157 - 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-09-17 17:41:57,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-17 17:41:57,413 - INFO - Initial checks done. Running the testcase now
2025-09-17 17:41:57,413 - INFO -
2025-09-17 17:41:57,950 - DEBUG - Response for create_network : {'network': {'id': '74a98495-f4c6-4131-b931-c2490d8aa788', 'name': 'ctest-vn-88541102', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'project_id': 'f163d7e7650846c4936418856a91acfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88548684', 'ctest-vn-88541102'], 'port_security_enabled': True, 'description': ''}}
2025-09-17 17:41:58,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a157910-3d3b-470f-995f-dca311aec31c', 'name': '', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '74a98495-f4c6-4131-b931-c2490d8aa788', 'ip_version': 4, 'cidr': '37.119.109.64/26', 'allocation_pools': [{'start': '37.119.109.66', 'end': '37.119.109.126'}], 'gateway_ip': '37.119.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.119.109.66', 'tags': [], 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:41:58,143 - INFO - Created VN ctest-vn-88541102
2025-09-17 17:41:58,196 - DEBUG - VN ctest-vn-88541102 UUID is 74a98495-f4c6-4131-b931-c2490d8aa788
2025-09-17 17:41:58,304 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88548684', 'ctest-vmi-03276506']}
2025-09-17 17:41:58,545 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03276506', 'id': '66ccd929-c80a-4aea-ae8f-b841ff95238a', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '74a98495-f4c6-4131-b931-c2490d8aa788', 'mac_address': '02:66:cc:d9:29:c8', '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': '37.119.109.67', 'subnet_id': '4a157910-3d3b-470f-995f-dca311aec31c'}], 'security_groups': ['e09131d9-66a0-4eb9-8b73-86d233faf54a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:41:58,545 - DEBUG - Created port 66ccd929-c80a-4aea-ae8f-b841ff95238a
2025-09-17 17:41:58,652 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/66ccd929-c80a-4aea-ae8f-b841ff95238a
2025-09-17 17:41:58,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/66ccd929-c80a-4aea-ae8f-b841ff95238a
2025-09-17 17:41:58,986 - INFO - VMI 66ccd929-c80a-4aea-ae8f-b841ff95238a verification in API Server passed
2025-09-17 17:41:59,076 - DEBUG - Response for delete_port : ()
2025-09-17 17:41:59,077 - INFO - Deleted port 66ccd929-c80a-4aea-ae8f-b841ff95238a
2025-09-17 17:41:59,077 - INFO - Deleting VN ctest-vn-88541102
2025-09-17 17:41:59,181 - DEBUG - Response for deleting network ()
2025-09-17 17:41:59,437 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 17:41:59,437 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-17 17:41:59,437 - INFO - --------------------------------------------------------------------------------
2025-09-17 17:41:59,439 - INFO - ================================================================================
2025-09-17 17:41:59,440 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-17 17:41:59,440 - 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-09-17 17:41:59,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-17 17:41:59,729 - INFO - Initial checks done. Running the testcase now
2025-09-17 17:41:59,729 - INFO -
2025-09-17 17:41:59,893 - DEBUG - Response for create_network : {'network': {'id': '207bf955-4102-40e7-adcb-edf1ef90d640', 'name': 'ctest-vn1-33414680', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'project_id': 'f163d7e7650846c4936418856a91acfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88548684', 'ctest-vn1-33414680'], 'port_security_enabled': True, 'description': ''}}
2025-09-17 17:42:00,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '10674122-4a65-4e39-b1b2-37a254e83315', 'name': '', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '207bf955-4102-40e7-adcb-edf1ef90d640', 'ip_version': 4, 'cidr': '24.155.223.192/26', 'allocation_pools': [{'start': '24.155.223.194', 'end': '24.155.223.254'}], 'gateway_ip': '24.155.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.155.223.194', 'tags': [], 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:42:00,305 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dad2c027-9a62-4de3-92bd-2eef092f2ff6', 'name': '', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '207bf955-4102-40e7-adcb-edf1ef90d640', 'ip_version': 4, 'cidr': '164.156.101.128/26', 'allocation_pools': [{'start': '164.156.101.130', 'end': '164.156.101.190'}], 'gateway_ip': '164.156.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.156.101.130', 'tags': [], 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:42:00,326 - INFO - Created VN ctest-vn1-33414680
2025-09-17 17:42:00,380 - DEBUG - VN ctest-vn1-33414680 UUID is 207bf955-4102-40e7-adcb-edf1ef90d640
2025-09-17 17:42:00,701 - DEBUG - Response for create_port : {'port': {'name': '79bef41d-473d-401e-b7c5-83922fbe5cae', 'id': '79bef41d-473d-401e-b7c5-83922fbe5cae', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '207bf955-4102-40e7-adcb-edf1ef90d640', 'mac_address': '02:79:be:f4:1d:47', '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': '24.155.223.197', 'subnet_id': '10674122-4a65-4e39-b1b2-37a254e83315'}], 'security_groups': ['e09131d9-66a0-4eb9-8b73-86d233faf54a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:42:00,891 - DEBUG - Response for create_port : {'port': {'name': 'a9152253-07b8-4fa5-98dd-4b28b4390e47', 'id': 'a9152253-07b8-4fa5-98dd-4b28b4390e47', 'tenant_id': 'f163d7e7650846c4936418856a91acfe', 'network_id': '207bf955-4102-40e7-adcb-edf1ef90d640', 'mac_address': '02:a9:15:22:53:07', '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': '164.156.101.133', 'subnet_id': 'dad2c027-9a62-4de3-92bd-2eef092f2ff6'}], 'security_groups': ['e09131d9-66a0-4eb9-8b73-86d233faf54a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f163d7e7650846c4936418856a91acfe'}}
2025-09-17 17:42:00,953 - DEBUG - Services list from nova: [, , ]
2025-09-17 17:42:01,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1)
2025-09-17 17:42:01,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1)
2025-09-17 17:42:01,767 - INFO - Waiting for VM ctest-vn1-vm1-39062157 to be up..
2025-09-17 17:42:01,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-17 17:42:06,890 - DEBUG - VM is in ACTIVE state now
2025-09-17 17:42:06,890 - INFO - VM name : ctest-vn1-vm1-39062157
2025-09-17 17:42:06,969 - DEBUG - VM ctest-vn1-vm1-39062157 ID is b8b2c36d-1ae5-465f-b645-82dc17849fdb
2025-09-17 17:42:06,990 - DEBUG - VM ctest-vn1-vm1-39062157 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1
2025-09-17 17:42:07,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b8b2c36d-1ae5-465f-b645-82dc17849fdb
2025-09-17 17:42:07,084 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/79bef41d-473d-401e-b7c5-83922fbe5cae
2025-09-17 17:42:10,361 - 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 1032ms')
2025-09-17 17:42:10,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39062157 failed!
2025-09-17 17:42:10,416 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88548684:ctest-vn1-33414680 is 24.155.223.193 and allocation pool is NOT set
2025-09-17 17:42:10,416 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88548684:ctest-vn1-33414680 is 164.156.101.129 and allocation pool is NOT set
2025-09-17 17:42:14,481 - 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=13.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 13.143/13.143/13.143/0.000 ms')
2025-09-17 17:42:14,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39062157 passed
2025-09-17 17:42:14,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-17 17:42:14,632 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39062157, IP 24.155.223.197, Port 22
2025-09-17 17:42:14,798 - DEBUG - VM ctest-vn1-vm1-39062157 is ready for SSH connections
2025-09-17 17:42:14,798 - INFO - Waiting for VM ctest-vn1-vm2-56741166 to be up..
2025-09-17 17:42:14,886 - DEBUG - VM is in ACTIVE state now
2025-09-17 17:42:14,886 - INFO - VM name : ctest-vn1-vm2-56741166
2025-09-17 17:42:14,963 - DEBUG - VM ctest-vn1-vm2-56741166 ID is a251c8b9-0c6e-495a-908d-3dadcf56ceff
2025-09-17 17:42:14,963 - DEBUG - VM ctest-vn1-vm2-56741166 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1
2025-09-17 17:42:15,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a251c8b9-0c6e-495a-908d-3dadcf56ceff
2025-09-17 17:42:15,050 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9152253-07b8-4fa5-98dd-4b28b4390e47
2025-09-17 17:42:16,297 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.38 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 = 2.380/3.343/4.306/0.963 ms')
2025-09-17 17:42:16,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-56741166 passed
2025-09-17 17:42:16,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-17 17:42:16,456 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-56741166, IP 164.156.101.133, Port 22
2025-09-17 17:42:16,612 - DEBUG - VM ctest-vn1-vm2-56741166 is ready for SSH connections
2025-09-17 17:42:16,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-17 17:42:16,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-17 17:42:16,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-17 17:42:16,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.155.223.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-17 17:42:16,612 - DEBUG - ping -s 56 -c 3 -W 1 24.155.223.197
2025-09-17 17:42:19,306 - DEBUG - PING 24.155.223.197 (24.155.223.197): 56 data bytes
64 bytes from 24.155.223.197: seq=0 ttl=63 time=3.714 ms
64 bytes from 24.155.223.197: seq=1 ttl=63 time=0.865 ms
64 bytes from 24.155.223.197: seq=2 ttl=63 time=1.648 ms
--- 24.155.223.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/2.075/3.714 ms
2025-09-17 17:42:19,306 - INFO - Ping to IP 24.155.223.197 from VM ctest-vn1-vm2-56741166 passed
2025-09-17 17:42:19,306 - INFO - Detaching port a9152253-07b8-4fa5-98dd-4b28b4390e47 from VM ctest-vn1-vm2-56741166
2025-09-17 17:42:19,361 - INFO - Deleting VM ctest-vn1-vm2-56741166
2025-09-17 17:42:19,448 - INFO - Detaching port 79bef41d-473d-401e-b7c5-83922fbe5cae from VM ctest-vn1-vm1-39062157
2025-09-17 17:42:19,493 - INFO - Deleting VM ctest-vn1-vm1-39062157
2025-09-17 17:42:19,781 - DEBUG - Response for delete_port : ()
2025-09-17 17:42:19,962 - DEBUG - Response for delete_port : ()
2025-09-17 17:42:19,962 - INFO - Deleting VN ctest-vn1-33414680
2025-09-17 17:42:20,121 - DEBUG - Response for deleting network ()
2025-09-17 17:42:20,384 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 17:42:20,384 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-17 17:42:20,384 - INFO - --------------------------------------------------------------------------------
2025-09-17 17:42:21,341 - INFO - Deleted project: ctest-TestPorts-88548684, ID : f163d7e7-6508-46c4-9364-18856a91acfe