2025-11-05 10:19:44,131 - INFO - Domain Default found not creating
2025-11-05 10:19:44,271 - INFO - Project ctest-TestPorts-12881458 not found, creating it
2025-11-05 10:19:44,708 - INFO - Created Project:ctest-TestPorts-12881458, ID : f601511e-9fca-493e-8429-74ea32616cbd
2025-11-05 10:19:46,068 - INFO - ================================================================================
2025-11-05 10:19:46,068 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 10:19:46,068 - 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 10:19:46,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-05 10:19:46,325 - INFO - Initial checks done. Running the testcase now
2025-11-05 10:19:46,325 - INFO -
2025-11-05 10:19:46,927 - DEBUG - Response for create_network : {'network': {'id': '028cc2b7-4be3-4d77-9f2e-2e099df9580a', 'name': 'ctest-vn-08023727', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'project_id': 'f601511e9fca493e842974ea32616cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12881458', 'ctest-vn-08023727'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 10:19:47,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '92ec5883-ab0f-48fa-b303-0e87272d8c76', 'name': '', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '028cc2b7-4be3-4d77-9f2e-2e099df9580a', 'ip_version': 4, 'cidr': '201.123.165.192/26', 'allocation_pools': [{'start': '201.123.165.194', 'end': '201.123.165.254'}], 'gateway_ip': '201.123.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.123.165.194', 'tags': [], 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:47,097 - INFO - Created VN ctest-vn-08023727
2025-11-05 10:19:47,148 - DEBUG - VN ctest-vn-08023727 UUID is 028cc2b7-4be3-4d77-9f2e-2e099df9580a
2025-11-05 10:19:47,253 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12881458', 'ctest-vmi-77247031']}
2025-11-05 10:19:47,538 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77247031', 'id': '7262d49e-1bbe-4f3d-bbba-b8d7d4073c08', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '028cc2b7-4be3-4d77-9f2e-2e099df9580a', 'mac_address': '02:72:62:d4:9e:1b', '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': '201.123.165.195', 'subnet_id': '92ec5883-ab0f-48fa-b303-0e87272d8c76'}], 'security_groups': ['3f58e446-3073-418a-8785-0c8b4a1c1fde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:47,539 - DEBUG - Created port 7262d49e-1bbe-4f3d-bbba-b8d7d4073c08
2025-11-05 10:19:47,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7262d49e-1bbe-4f3d-bbba-b8d7d4073c08
2025-11-05 10:19:47,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7262d49e-1bbe-4f3d-bbba-b8d7d4073c08
2025-11-05 10:19:47,964 - INFO - VMI 7262d49e-1bbe-4f3d-bbba-b8d7d4073c08 verification in API Server passed
2025-11-05 10:19:48,051 - DEBUG - Response for delete_port : ()
2025-11-05 10:19:48,051 - INFO - Deleted port 7262d49e-1bbe-4f3d-bbba-b8d7d4073c08
2025-11-05 10:19:48,051 - INFO - Deleting VN ctest-vn-08023727
2025-11-05 10:19:48,157 - DEBUG - Response for deleting network ()
2025-11-05 10:19:48,413 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:19:48,413 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 10:19:48,413 - INFO - --------------------------------------------------------------------------------
2025-11-05 10:19:48,417 - INFO - ================================================================================
2025-11-05 10:19:48,417 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 10:19:48,417 - 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 10:19:48,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-05 10:19:48,705 - INFO - Initial checks done. Running the testcase now
2025-11-05 10:19:48,705 - INFO -
2025-11-05 10:19:48,875 - DEBUG - Response for create_network : {'network': {'id': '2a0b6399-c753-47ed-80d5-9a219a7ae25d', 'name': 'ctest-vn1-08007856', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'project_id': 'f601511e9fca493e842974ea32616cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12881458', 'ctest-vn1-08007856'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 10:19:49,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '80f77e23-996e-47c7-aa60-49d08be59f67', 'name': '', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '2a0b6399-c753-47ed-80d5-9a219a7ae25d', 'ip_version': 4, 'cidr': '154.165.248.0/26', 'allocation_pools': [{'start': '154.165.248.2', 'end': '154.165.248.62'}], 'gateway_ip': '154.165.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.165.248.2', 'tags': [], 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:49,215 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adeedb91-1071-4774-ba8e-ce9ea325abea', 'name': '', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '2a0b6399-c753-47ed-80d5-9a219a7ae25d', 'ip_version': 4, 'cidr': '157.250.220.192/26', 'allocation_pools': [{'start': '157.250.220.194', 'end': '157.250.220.254'}], 'gateway_ip': '157.250.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.250.220.194', 'tags': [], 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:49,232 - INFO - Created VN ctest-vn1-08007856
2025-11-05 10:19:49,284 - DEBUG - VN ctest-vn1-08007856 UUID is 2a0b6399-c753-47ed-80d5-9a219a7ae25d
2025-11-05 10:19:49,583 - DEBUG - Response for create_port : {'port': {'name': '8a690d7a-057d-448e-b603-e6a09479847f', 'id': '8a690d7a-057d-448e-b603-e6a09479847f', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '2a0b6399-c753-47ed-80d5-9a219a7ae25d', 'mac_address': '02:8a:69:0d:7a:05', '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': '154.165.248.5', 'subnet_id': '80f77e23-996e-47c7-aa60-49d08be59f67'}], 'security_groups': ['3f58e446-3073-418a-8785-0c8b4a1c1fde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:49,738 - DEBUG - Response for create_port : {'port': {'name': '9fce94de-6da4-4f91-9c1a-393e10f92fd7', 'id': '9fce94de-6da4-4f91-9c1a-393e10f92fd7', 'tenant_id': 'f601511e9fca493e842974ea32616cbd', 'network_id': '2a0b6399-c753-47ed-80d5-9a219a7ae25d', 'mac_address': '02:9f:ce:94:de:6d', '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': '157.250.220.197', 'subnet_id': 'adeedb91-1071-4774-ba8e-ce9ea325abea'}], 'security_groups': ['3f58e446-3073-418a-8785-0c8b4a1c1fde'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f601511e9fca493e842974ea32616cbd'}}
2025-11-05 10:19:49,788 - DEBUG - Services list from nova: [, , ]
2025-11-05 10:19:50,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1)
2025-11-05 10:19:50,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1)
2025-11-05 10:19:50,494 - INFO - Waiting for VM ctest-vn1-vm1-02288791 to be up..
2025-11-05 10:19:50,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 10:19:55,607 - DEBUG - VM is in ACTIVE state now
2025-11-05 10:19:55,608 - INFO - VM name : ctest-vn1-vm1-02288791
2025-11-05 10:19:55,699 - DEBUG - VM ctest-vn1-vm1-02288791 ID is db0c6433-0032-4cc1-8f82-45e1c9d3dc87
2025-11-05 10:19:55,720 - DEBUG - VM ctest-vn1-vm1-02288791 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1
2025-11-05 10:19:55,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/db0c6433-0032-4cc1-8f82-45e1c9d3dc87
2025-11-05 10:19:55,801 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8a690d7a-057d-448e-b603-e6a09479847f
2025-11-05 10:19:59,073 - 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 1033ms')
2025-11-05 10:19:59,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02288791 failed!
2025-11-05 10:19:59,124 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12881458:ctest-vn1-08007856 is 154.165.248.1 and allocation pool is NOT set
2025-11-05 10:19:59,124 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12881458:ctest-vn1-08007856 is 157.250.220.193 and allocation pool is NOT set
2025-11-05 10:20:01,188 - 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=8.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.683 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.683/4.447/8.211/3.764 ms')
2025-11-05 10:20:01,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02288791 passed
2025-11-05 10:20:01,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:01,340 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02288791, IP 154.165.248.5, Port 22
2025-11-05 10:20:01,406 - 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-05 10:20:01,479 - DEBUG - VM ctest-vn1-vm1-02288791 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 10:20:06,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:06,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02288791, IP 154.165.248.5, Port 22
2025-11-05 10:20:06,635 - DEBUG - VM ctest-vn1-vm1-02288791 is ready for SSH connections
2025-11-05 10:20:06,636 - INFO - Waiting for VM ctest-vn1-vm2-13636313 to be up..
2025-11-05 10:20:06,705 - DEBUG - VM is in ACTIVE state now
2025-11-05 10:20:06,705 - INFO - VM name : ctest-vn1-vm2-13636313
2025-11-05 10:20:06,770 - DEBUG - VM ctest-vn1-vm2-13636313 ID is 9dc9543e-9ddb-43b8-8b45-b0e8dcc3abc2
2025-11-05 10:20:06,771 - DEBUG - VM ctest-vn1-vm2-13636313 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1
2025-11-05 10:20:06,836 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9dc9543e-9ddb-43b8-8b45-b0e8dcc3abc2
2025-11-05 10:20:06,843 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9fce94de-6da4-4f91-9c1a-393e10f92fd7
2025-11-05 10:20:08,094 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.925/3.464/1.538 ms')
2025-11-05 10:20:08,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13636313 passed
2025-11-05 10:20:08,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:08,248 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13636313, IP 157.250.220.197, Port 22
2025-11-05 10:20:08,418 - DEBUG - VM ctest-vn1-vm2-13636313 is ready for SSH connections
2025-11-05 10:20:08,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:08,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:08,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:20:08,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.165.248.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-05 10:20:08,418 - DEBUG - ping -s 56 -c 3 -W 1 154.165.248.5
2025-11-05 10:20:11,398 - DEBUG - PING 154.165.248.5 (154.165.248.5): 56 data bytes
64 bytes from 154.165.248.5: seq=0 ttl=63 time=3.642 ms
64 bytes from 154.165.248.5: seq=1 ttl=63 time=1.172 ms
64 bytes from 154.165.248.5: seq=2 ttl=63 time=0.837 ms
--- 154.165.248.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.837/1.883/3.642 ms
2025-11-05 10:20:11,398 - INFO - Ping to IP 154.165.248.5 from VM ctest-vn1-vm2-13636313 passed
2025-11-05 10:20:11,398 - INFO - Detaching port 9fce94de-6da4-4f91-9c1a-393e10f92fd7 from VM ctest-vn1-vm2-13636313
2025-11-05 10:20:11,450 - INFO - Deleting VM ctest-vn1-vm2-13636313
2025-11-05 10:20:11,518 - INFO - Detaching port 8a690d7a-057d-448e-b603-e6a09479847f from VM ctest-vn1-vm1-02288791
2025-11-05 10:20:11,553 - INFO - Deleting VM ctest-vn1-vm1-02288791
2025-11-05 10:20:11,797 - DEBUG - Response for delete_port : ()
2025-11-05 10:20:11,960 - DEBUG - Response for delete_port : ()
2025-11-05 10:20:11,960 - INFO - Deleting VN ctest-vn1-08007856
2025-11-05 10:20:12,104 - DEBUG - Response for deleting network ()
2025-11-05 10:20:12,357 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:20:12,357 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-05 10:20:12,357 - INFO - --------------------------------------------------------------------------------
2025-11-05 10:20:12,983 - INFO - Deleted project: ctest-TestPorts-12881458, ID : f601511e-9fca-493e-8429-74ea32616cbd