2025-11-24 18:27:48,691 - INFO - Domain Default found not creating
2025-11-24 18:27:48,832 - INFO - Project ctest-TestPorts-50830599 not found, creating it
2025-11-24 18:27:49,269 - INFO - Created Project:ctest-TestPorts-50830599, ID : 1ed0caaa-e549-4353-891d-251740379592
2025-11-24 18:27:50,760 - INFO - ================================================================================
2025-11-24 18:27:50,760 - INFO - STARTING TEST : test_ports_bindings
2025-11-24 18:27:50,760 - 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-24 18:27:51,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-24 18:27:51,017 - INFO - Initial checks done. Running the testcase now
2025-11-24 18:27:51,017 - INFO -
2025-11-24 18:27:51,638 - DEBUG - Response for create_network : {'network': {'id': '20b1b3e6-e87a-4716-afbe-945c1f518aa5', 'name': 'ctest-vn-64390729', 'tenant_id': '1ed0caaae5494353891d251740379592', 'project_id': '1ed0caaae5494353891d251740379592', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50830599', 'ctest-vn-64390729'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 18:27:51,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccbb4953-ae31-478b-896b-9c4dbf34a8a7', 'name': '', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': '20b1b3e6-e87a-4716-afbe-945c1f518aa5', 'ip_version': 4, 'cidr': '11.72.193.192/26', 'allocation_pools': [{'start': '11.72.193.194', 'end': '11.72.193.254'}], 'gateway_ip': '11.72.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.72.193.194', 'tags': [], 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:51,875 - INFO - Created VN ctest-vn-64390729
2025-11-24 18:27:51,930 - DEBUG - VN ctest-vn-64390729 UUID is 20b1b3e6-e87a-4716-afbe-945c1f518aa5
2025-11-24 18:27:52,038 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50830599', 'ctest-vmi-42054391']}
2025-11-24 18:27:52,309 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42054391', 'id': 'ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': '20b1b3e6-e87a-4716-afbe-945c1f518aa5', 'mac_address': '02:eb:d2:7d:c7:fc', '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': '11.72.193.195', 'subnet_id': 'ccbb4953-ae31-478b-896b-9c4dbf34a8a7'}], 'security_groups': ['31d47979-b2af-45ac-81f6-9134f2d2a7c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:52,309 - DEBUG - Created port ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf
2025-11-24 18:27:52,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf
2025-11-24 18:27:52,705 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf
2025-11-24 18:27:52,738 - INFO - VMI ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf verification in API Server passed
2025-11-24 18:27:52,831 - DEBUG - Response for delete_port : ()
2025-11-24 18:27:52,831 - INFO - Deleted port ebd27dc7-fccb-48c1-ad2a-86b35a53b6cf
2025-11-24 18:27:52,832 - INFO - Deleting VN ctest-vn-64390729
2025-11-24 18:27:52,932 - DEBUG - Response for deleting network ()
2025-11-24 18:27:53,194 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:27:53,195 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-24 18:27:53,195 - INFO - --------------------------------------------------------------------------------
2025-11-24 18:27:53,199 - INFO - ================================================================================
2025-11-24 18:27:53,199 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-24 18:27:53,200 - 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-24 18:27:53,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-24 18:27:53,482 - INFO - Initial checks done. Running the testcase now
2025-11-24 18:27:53,482 - INFO -
2025-11-24 18:27:53,654 - DEBUG - Response for create_network : {'network': {'id': 'a0b2b97e-014b-40e1-9b2d-644262ff131e', 'name': 'ctest-vn1-94026319', 'tenant_id': '1ed0caaae5494353891d251740379592', 'project_id': '1ed0caaae5494353891d251740379592', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50830599', 'ctest-vn1-94026319'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 18:27:53,856 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa26afcc-c698-4ae6-be95-6e9964f6c84a', 'name': '', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': 'a0b2b97e-014b-40e1-9b2d-644262ff131e', 'ip_version': 4, 'cidr': '159.226.2.128/26', 'allocation_pools': [{'start': '159.226.2.130', 'end': '159.226.2.190'}], 'gateway_ip': '159.226.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.226.2.130', 'tags': [], 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:54,068 - DEBUG - Response for create_subnet : {'subnet': {'id': '07ac9da1-dc7a-4829-b225-11417a248dd2', 'name': '', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': 'a0b2b97e-014b-40e1-9b2d-644262ff131e', 'ip_version': 4, 'cidr': '15.129.35.0/26', 'allocation_pools': [{'start': '15.129.35.2', 'end': '15.129.35.62'}], 'gateway_ip': '15.129.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.129.35.2', 'tags': [], 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:54,085 - INFO - Created VN ctest-vn1-94026319
2025-11-24 18:27:54,138 - DEBUG - VN ctest-vn1-94026319 UUID is a0b2b97e-014b-40e1-9b2d-644262ff131e
2025-11-24 18:27:54,417 - DEBUG - Response for create_port : {'port': {'name': 'e7faf768-7d96-4d10-bde4-552a148393aa', 'id': 'e7faf768-7d96-4d10-bde4-552a148393aa', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': 'a0b2b97e-014b-40e1-9b2d-644262ff131e', 'mac_address': '02:e7:fa:f7:68:7d', '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.226.2.133', 'subnet_id': 'fa26afcc-c698-4ae6-be95-6e9964f6c84a'}], 'security_groups': ['31d47979-b2af-45ac-81f6-9134f2d2a7c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:54,580 - DEBUG - Response for create_port : {'port': {'name': '68cab488-f2aa-4b02-95a7-1cb6449395bd', 'id': '68cab488-f2aa-4b02-95a7-1cb6449395bd', 'tenant_id': '1ed0caaae5494353891d251740379592', 'network_id': 'a0b2b97e-014b-40e1-9b2d-644262ff131e', 'mac_address': '02:68:ca:b4:88:f2', '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': '15.129.35.5', 'subnet_id': '07ac9da1-dc7a-4829-b225-11417a248dd2'}], 'security_groups': ['31d47979-b2af-45ac-81f6-9134f2d2a7c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1ed0caaae5494353891d251740379592'}}
2025-11-24 18:27:54,636 - DEBUG - Services list from nova: [, , ]
2025-11-24 18:27:54,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1)
2025-11-24 18:27:55,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1)
2025-11-24 18:27:55,319 - INFO - Waiting for VM ctest-vn1-vm1-50686353 to be up..
2025-11-24 18:27:55,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-24 18:28:00,421 - DEBUG - VM is in ACTIVE state now
2025-11-24 18:28:00,421 - INFO - VM name : ctest-vn1-vm1-50686353
2025-11-24 18:28:00,495 - DEBUG - VM ctest-vn1-vm1-50686353 ID is d554affb-f2d9-477a-9825-81fec36bb7b0
2025-11-24 18:28:00,516 - DEBUG - VM ctest-vn1-vm1-50686353 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1
2025-11-24 18:28:00,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d554affb-f2d9-477a-9825-81fec36bb7b0
2025-11-24 18:28:00,594 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e7faf768-7d96-4d10-bde4-552a148393aa
2025-11-24 18:28:03,833 - 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 1006ms')
2025-11-24 18:28:03,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50686353 failed!
2025-11-24 18:28:03,886 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50830599:ctest-vn1-94026319 is 159.226.2.129 and allocation pool is NOT set
2025-11-24 18:28:03,886 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50830599:ctest-vn1-94026319 is 15.129.35.1 and allocation pool is NOT set
2025-11-24 18:28:05,948 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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.209/3.663/5.117/1.454 ms')
2025-11-24 18:28:05,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50686353 passed
2025-11-24 18:28:06,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:06,094 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50686353, IP 159.226.2.133, Port 22
2025-11-24 18:28:06,149 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-24 18:28:06,216 - DEBUG - VM ctest-vn1-vm1-50686353 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 18:28:11,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:11,217 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50686353, IP 159.226.2.133, Port 22
2025-11-24 18:28:11,391 - DEBUG - VM ctest-vn1-vm1-50686353 is ready for SSH connections
2025-11-24 18:28:11,391 - INFO - Waiting for VM ctest-vn1-vm2-98243740 to be up..
2025-11-24 18:28:11,463 - DEBUG - VM is in ACTIVE state now
2025-11-24 18:28:11,463 - INFO - VM name : ctest-vn1-vm2-98243740
2025-11-24 18:28:11,538 - DEBUG - VM ctest-vn1-vm2-98243740 ID is 7f35b577-491b-46e7-bae7-817882988698
2025-11-24 18:28:11,538 - DEBUG - VM ctest-vn1-vm2-98243740 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1
2025-11-24 18:28:11,611 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f35b577-491b-46e7-bae7-817882988698
2025-11-24 18:28:11,618 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/68cab488-f2aa-4b02-95a7-1cb6449395bd
2025-11-24 18:28:12,850 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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 = 0.357/1.525/2.694/1.168 ms')
2025-11-24 18:28:12,851 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98243740 passed
2025-11-24 18:28:12,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:12,998 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98243740, IP 15.129.35.5, Port 22
2025-11-24 18:28:13,161 - DEBUG - VM ctest-vn1-vm2-98243740 is ready for SSH connections
2025-11-24 18:28:13,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:13,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:13,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:28:13,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.226.2.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-24 18:28:13,161 - DEBUG - ping -s 56 -c 3 -W 1 159.226.2.133
2025-11-24 18:28:15,820 - DEBUG - PING 159.226.2.133 (159.226.2.133): 56 data bytes
64 bytes from 159.226.2.133: seq=0 ttl=63 time=4.428 ms
64 bytes from 159.226.2.133: seq=1 ttl=63 time=0.777 ms
64 bytes from 159.226.2.133: seq=2 ttl=63 time=0.900 ms
--- 159.226.2.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.777/2.035/4.428 ms
2025-11-24 18:28:15,820 - INFO - Ping to IP 159.226.2.133 from VM ctest-vn1-vm2-98243740 passed
2025-11-24 18:28:15,820 - INFO - Detaching port 68cab488-f2aa-4b02-95a7-1cb6449395bd from VM ctest-vn1-vm2-98243740
2025-11-24 18:28:15,868 - INFO - Deleting VM ctest-vn1-vm2-98243740
2025-11-24 18:28:15,934 - INFO - Detaching port e7faf768-7d96-4d10-bde4-552a148393aa from VM ctest-vn1-vm1-50686353
2025-11-24 18:28:15,964 - INFO - Deleting VM ctest-vn1-vm1-50686353
2025-11-24 18:28:16,167 - DEBUG - Response for delete_port : ()
2025-11-24 18:28:16,307 - DEBUG - Response for delete_port : ()
2025-11-24 18:28:16,307 - INFO - Deleting VN ctest-vn1-94026319
2025-11-24 18:28:16,420 - DEBUG - Response for deleting network ()
2025-11-24 18:28:16,686 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:28:16,686 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-24 18:28:16,686 - INFO - --------------------------------------------------------------------------------
2025-11-24 18:28:17,360 - INFO - Deleted project: ctest-TestPorts-50830599, ID : 1ed0caaa-e549-4353-891d-251740379592