2025-09-11 11:20:39,122 - INFO - Domain Default found not creating
2025-09-11 11:20:39,264 - INFO - Project ctest-TestPorts-18704550 not found, creating it
2025-09-11 11:20:39,705 - INFO - Created Project:ctest-TestPorts-18704550, ID : 5cec1dfb-5dce-454d-816f-ffd87b64356f
2025-09-11 11:20:41,495 - INFO - ================================================================================
2025-09-11 11:20:41,495 - INFO - STARTING TEST : test_ports_bindings
2025-09-11 11:20:41,495 - 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-11 11:20:41,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-09-11 11:20:41,758 - INFO - Initial checks done. Running the testcase now
2025-09-11 11:20:41,758 - INFO -
2025-09-11 11:20:42,276 - DEBUG - Response for create_network : {'network': {'id': '00913323-1943-4b13-b8af-2adc64068a7c', 'name': 'ctest-vn-10502486', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'project_id': '5cec1dfb5dce454d816fffd87b64356f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18704550', 'ctest-vn-10502486'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 11:20:42,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '3486d7ab-53bc-4878-8276-3fcf0dbafd4e', 'name': '', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': '00913323-1943-4b13-b8af-2adc64068a7c', 'ip_version': 4, 'cidr': '61.162.177.128/26', 'allocation_pools': [{'start': '61.162.177.130', 'end': '61.162.177.190'}], 'gateway_ip': '61.162.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.162.177.130', 'tags': [], 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:42,455 - INFO - Created VN ctest-vn-10502486
2025-09-11 11:20:42,509 - DEBUG - VN ctest-vn-10502486 UUID is 00913323-1943-4b13-b8af-2adc64068a7c
2025-09-11 11:20:42,620 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18704550', 'ctest-vmi-02937812']}
2025-09-11 11:20:42,852 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02937812', 'id': '940971eb-8844-4105-abe2-c93e42b310d8', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': '00913323-1943-4b13-b8af-2adc64068a7c', 'mac_address': '02:94:09:71:eb:88', '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': '61.162.177.131', 'subnet_id': '3486d7ab-53bc-4878-8276-3fcf0dbafd4e'}], 'security_groups': ['0bc30342-eea6-46e6-8cb5-c79990838617'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:42,852 - DEBUG - Created port 940971eb-8844-4105-abe2-c93e42b310d8
2025-09-11 11:20:42,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/940971eb-8844-4105-abe2-c93e42b310d8
2025-09-11 11:20:43,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/940971eb-8844-4105-abe2-c93e42b310d8
2025-09-11 11:20:43,285 - INFO - VMI 940971eb-8844-4105-abe2-c93e42b310d8 verification in API Server passed
2025-09-11 11:20:43,379 - DEBUG - Response for delete_port : ()
2025-09-11 11:20:43,379 - INFO - Deleted port 940971eb-8844-4105-abe2-c93e42b310d8
2025-09-11 11:20:43,379 - INFO - Deleting VN ctest-vn-10502486
2025-09-11 11:20:43,495 - DEBUG - Response for deleting network ()
2025-09-11 11:20:43,750 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 11:20:43,750 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 11:20:43,750 - INFO - --------------------------------------------------------------------------------
2025-09-11 11:20:43,752 - INFO - ================================================================================
2025-09-11 11:20:43,753 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-11 11:20:43,753 - 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-11 11:20:44,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-09-11 11:20:44,037 - INFO - Initial checks done. Running the testcase now
2025-09-11 11:20:44,037 - INFO -
2025-09-11 11:20:44,218 - DEBUG - Response for create_network : {'network': {'id': 'fe8a5829-a8e4-4e2b-9514-c0e2f226dc50', 'name': 'ctest-vn1-33088453', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'project_id': '5cec1dfb5dce454d816fffd87b64356f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18704550', 'ctest-vn1-33088453'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 11:20:44,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f163d7b-2e29-4420-83b2-b1da9bd01870', 'name': '', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': 'fe8a5829-a8e4-4e2b-9514-c0e2f226dc50', 'ip_version': 4, 'cidr': '156.149.163.192/26', 'allocation_pools': [{'start': '156.149.163.194', 'end': '156.149.163.254'}], 'gateway_ip': '156.149.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.149.163.194', 'tags': [], 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:44,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '66564398-d8d9-4d30-9cb0-c4112f554117', 'name': '', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': 'fe8a5829-a8e4-4e2b-9514-c0e2f226dc50', 'ip_version': 4, 'cidr': '192.196.189.0/26', 'allocation_pools': [{'start': '192.196.189.2', 'end': '192.196.189.62'}], 'gateway_ip': '192.196.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.196.189.2', 'tags': [], 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:44,567 - INFO - Created VN ctest-vn1-33088453
2025-09-11 11:20:44,616 - DEBUG - VN ctest-vn1-33088453 UUID is fe8a5829-a8e4-4e2b-9514-c0e2f226dc50
2025-09-11 11:20:44,918 - DEBUG - Response for create_port : {'port': {'name': '98e64e81-0189-4db1-be4c-41241073b73c', 'id': '98e64e81-0189-4db1-be4c-41241073b73c', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': 'fe8a5829-a8e4-4e2b-9514-c0e2f226dc50', 'mac_address': '02:98:e6:4e:81:01', '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': '156.149.163.197', 'subnet_id': '0f163d7b-2e29-4420-83b2-b1da9bd01870'}], 'security_groups': ['0bc30342-eea6-46e6-8cb5-c79990838617'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:45,073 - DEBUG - Response for create_port : {'port': {'name': 'b73637ed-fc37-4240-8ff5-10d8fb4a6b77', 'id': 'b73637ed-fc37-4240-8ff5-10d8fb4a6b77', 'tenant_id': '5cec1dfb5dce454d816fffd87b64356f', 'network_id': 'fe8a5829-a8e4-4e2b-9514-c0e2f226dc50', 'mac_address': '02:b7:36:37:ed:fc', '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': '192.196.189.5', 'subnet_id': '66564398-d8d9-4d30-9cb0-c4112f554117'}], 'security_groups': ['0bc30342-eea6-46e6-8cb5-c79990838617'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cec1dfb5dce454d816fffd87b64356f'}}
2025-09-11 11:20:45,125 - DEBUG - Services list from nova: [, , ]
2025-09-11 11:20:45,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1)
2025-09-11 11:20:45,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1)
2025-09-11 11:20:45,820 - INFO - Waiting for VM ctest-vn1-vm1-77406834 to be up..
2025-09-11 11:20:45,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 11:20:50,942 - DEBUG - VM is in ACTIVE state now
2025-09-11 11:20:50,942 - INFO - VM name : ctest-vn1-vm1-77406834
2025-09-11 11:20:51,022 - DEBUG - VM ctest-vn1-vm1-77406834 ID is cfb2e95d-2e6b-46d4-937f-1780a4e7cf32
2025-09-11 11:20:51,045 - DEBUG - VM ctest-vn1-vm1-77406834 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1
2025-09-11 11:20:51,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfb2e95d-2e6b-46d4-937f-1780a4e7cf32
2025-09-11 11:20:51,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98e64e81-0189-4db1-be4c-41241073b73c
2025-09-11 11:20:54,389 - 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 1031ms')
2025-09-11 11:20:54,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77406834 failed!
2025-09-11 11:20:54,445 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18704550:ctest-vn1-33088453 is 156.149.163.193 and allocation pool is NOT set
2025-09-11 11:20:54,445 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18704550:ctest-vn1-33088453 is 192.196.189.1 and allocation pool is NOT set
2025-09-11 11:20:56,502 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.102/2.612/4.123/1.510 ms')
2025-09-11 11:20:56,502 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77406834 passed
2025-09-11 11:20:56,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:20:56,649 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77406834, IP 156.149.163.197, Port 22
2025-09-11 11:20:56,715 - 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-09-11 11:20:56,805 - DEBUG - VM ctest-vn1-vm1-77406834 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 11:21:01,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:21:01,806 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77406834, IP 156.149.163.197, Port 22
2025-09-11 11:21:01,977 - DEBUG - VM ctest-vn1-vm1-77406834 is ready for SSH connections
2025-09-11 11:21:01,977 - INFO - Waiting for VM ctest-vn1-vm2-05774545 to be up..
2025-09-11 11:21:02,054 - DEBUG - VM is in ACTIVE state now
2025-09-11 11:21:02,054 - INFO - VM name : ctest-vn1-vm2-05774545
2025-09-11 11:21:02,130 - DEBUG - VM ctest-vn1-vm2-05774545 ID is b6f45819-01c2-4b24-8d45-3887aea7978a
2025-09-11 11:21:02,130 - DEBUG - VM ctest-vn1-vm2-05774545 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1
2025-09-11 11:21:02,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6f45819-01c2-4b24-8d45-3887aea7978a
2025-09-11 11:21:02,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b73637ed-fc37-4240-8ff5-10d8fb4a6b77
2025-09-11 11:21:03,442 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.374/1.798/3.222/1.424 ms')
2025-09-11 11:21:03,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05774545 passed
2025-09-11 11:21:03,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:21:03,589 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05774545, IP 192.196.189.5, Port 22
2025-09-11 11:21:03,755 - DEBUG - VM ctest-vn1-vm2-05774545 is ready for SSH connections
2025-09-11 11:21:03,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:21:03,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:21:03,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:21:03,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.149.163.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-11 11:21:03,755 - DEBUG - ping -s 56 -c 3 -W 1 156.149.163.197
2025-09-11 11:21:06,427 - DEBUG - PING 156.149.163.197 (156.149.163.197): 56 data bytes
64 bytes from 156.149.163.197: seq=0 ttl=63 time=4.824 ms
64 bytes from 156.149.163.197: seq=1 ttl=63 time=1.367 ms
64 bytes from 156.149.163.197: seq=2 ttl=63 time=1.091 ms
--- 156.149.163.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.091/2.427/4.824 ms
2025-09-11 11:21:06,427 - INFO - Ping to IP 156.149.163.197 from VM ctest-vn1-vm2-05774545 passed
2025-09-11 11:21:06,427 - INFO - Detaching port b73637ed-fc37-4240-8ff5-10d8fb4a6b77 from VM ctest-vn1-vm2-05774545
2025-09-11 11:21:06,484 - INFO - Deleting VM ctest-vn1-vm2-05774545
2025-09-11 11:21:06,556 - INFO - Detaching port 98e64e81-0189-4db1-be4c-41241073b73c from VM ctest-vn1-vm1-77406834
2025-09-11 11:21:06,593 - INFO - Deleting VM ctest-vn1-vm1-77406834
2025-09-11 11:21:06,829 - DEBUG - Response for delete_port : ()
2025-09-11 11:21:07,017 - DEBUG - Response for delete_port : ()
2025-09-11 11:21:07,017 - INFO - Deleting VN ctest-vn1-33088453
2025-09-11 11:21:07,176 - DEBUG - Response for deleting network ()
2025-09-11 11:21:07,441 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 11:21:07,441 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-11 11:21:07,441 - INFO - --------------------------------------------------------------------------------
2025-09-11 11:21:08,118 - INFO - Deleted project: ctest-TestPorts-18704550, ID : 5cec1dfb-5dce-454d-816f-ffd87b64356f