2025-11-14 10:07:19,667 - INFO - Domain Default found not creating 2025-11-14 10:07:19,911 - INFO - Project ctest-TestPorts-94500903 not found, creating it 2025-11-14 10:07:20,437 - INFO - Created Project:ctest-TestPorts-94500903, ID : 50933a92-9a46-4278-8134-09c45315026d 2025-11-14 10:07:22,339 - INFO - ================================================================================ 2025-11-14 10:07:22,339 - INFO - STARTING TEST : test_ports_bindings 2025-11-14 10:07:22,340 - 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-14 10:07:22,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 10:07:22,636 - INFO - Initial checks done. Running the testcase now 2025-11-14 10:07:22,636 - INFO - 2025-11-14 10:07:23,308 - DEBUG - Response for create_network : {'network': {'id': '305a6b55-828b-45c3-a250-fe6a275eea27', 'name': 'ctest-vn-24490094', 'tenant_id': '50933a929a464278813409c45315026d', 'project_id': '50933a929a464278813409c45315026d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94500903', 'ctest-vn-24490094'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:07:23,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'facfce97-4ef4-4d0e-8026-2e0ef03d530a', 'name': '', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': '305a6b55-828b-45c3-a250-fe6a275eea27', 'ip_version': 4, 'cidr': '96.157.242.192/26', 'allocation_pools': [{'start': '96.157.242.194', 'end': '96.157.242.254'}], 'gateway_ip': '96.157.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.157.242.194', 'tags': [], 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:23,498 - INFO - Created VN ctest-vn-24490094 2025-11-14 10:07:23,550 - DEBUG - VN ctest-vn-24490094 UUID is 305a6b55-828b-45c3-a250-fe6a275eea27 2025-11-14 10:07:23,685 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94500903', 'ctest-vmi-71758505']} 2025-11-14 10:07:24,015 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71758505', 'id': '702bef26-5a83-419d-912c-6d5a6f104f3f', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': '305a6b55-828b-45c3-a250-fe6a275eea27', 'mac_address': '02:70:2b:ef:26:5a', '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': '96.157.242.195', 'subnet_id': 'facfce97-4ef4-4d0e-8026-2e0ef03d530a'}], 'security_groups': ['518af90b-bca9-46ef-b403-6bd9e2d92cd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:24,015 - DEBUG - Created port 702bef26-5a83-419d-912c-6d5a6f104f3f 2025-11-14 10:07:24,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/702bef26-5a83-419d-912c-6d5a6f104f3f 2025-11-14 10:07:24,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/702bef26-5a83-419d-912c-6d5a6f104f3f 2025-11-14 10:07:24,521 - INFO - VMI 702bef26-5a83-419d-912c-6d5a6f104f3f verification in API Server passed 2025-11-14 10:07:24,683 - DEBUG - Response for delete_port : () 2025-11-14 10:07:24,683 - INFO - Deleted port 702bef26-5a83-419d-912c-6d5a6f104f3f 2025-11-14 10:07:24,684 - INFO - Deleting VN ctest-vn-24490094 2025-11-14 10:07:24,821 - DEBUG - Response for deleting network () 2025-11-14 10:07:25,103 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 10:07:25,103 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-14 10:07:25,104 - INFO - -------------------------------------------------------------------------------- 2025-11-14 10:07:25,109 - INFO - ================================================================================ 2025-11-14 10:07:25,109 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-14 10:07:25,109 - 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-14 10:07:25,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 10:07:25,410 - INFO - Initial checks done. Running the testcase now 2025-11-14 10:07:25,410 - INFO - 2025-11-14 10:07:25,604 - DEBUG - Response for create_network : {'network': {'id': 'c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20', 'name': 'ctest-vn1-62505495', 'tenant_id': '50933a929a464278813409c45315026d', 'project_id': '50933a929a464278813409c45315026d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94500903', 'ctest-vn1-62505495'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:07:25,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '5069a4b3-ed18-4048-b091-13c902134acf', 'name': '', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': 'c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20', 'ip_version': 4, 'cidr': '145.16.253.192/26', 'allocation_pools': [{'start': '145.16.253.194', 'end': '145.16.253.254'}], 'gateway_ip': '145.16.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.16.253.194', 'tags': [], 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:25,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '01673406-66f2-4f9c-a327-68019193a14a', 'name': '', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': 'c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20', 'ip_version': 4, 'cidr': '219.182.43.0/26', 'allocation_pools': [{'start': '219.182.43.2', 'end': '219.182.43.62'}], 'gateway_ip': '219.182.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.182.43.2', 'tags': [], 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:26,014 - INFO - Created VN ctest-vn1-62505495 2025-11-14 10:07:26,071 - DEBUG - VN ctest-vn1-62505495 UUID is c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20 2025-11-14 10:07:26,431 - DEBUG - Response for create_port : {'port': {'name': '81b690a0-ffe9-4fac-a1ad-59c9ec5721fe', 'id': '81b690a0-ffe9-4fac-a1ad-59c9ec5721fe', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': 'c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20', 'mac_address': '02:81:b6:90:a0:ff', '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': '145.16.253.197', 'subnet_id': '5069a4b3-ed18-4048-b091-13c902134acf'}], 'security_groups': ['518af90b-bca9-46ef-b403-6bd9e2d92cd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:26,622 - DEBUG - Response for create_port : {'port': {'name': '3ac0ffd7-1be2-4cda-b0d2-e58a6f404293', 'id': '3ac0ffd7-1be2-4cda-b0d2-e58a6f404293', 'tenant_id': '50933a929a464278813409c45315026d', 'network_id': 'c6971dd2-eb6a-4cc3-bfe1-24a8a60f9e20', 'mac_address': '02:3a:c0:ff:d7:1b', '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': '219.182.43.5', 'subnet_id': '01673406-66f2-4f9c-a327-68019193a14a'}], 'security_groups': ['518af90b-bca9-46ef-b403-6bd9e2d92cd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50933a929a464278813409c45315026d'}} 2025-11-14 10:07:26,678 - DEBUG - Services list from nova: [, , ] 2025-11-14 10:07:27,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:07:27,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:07:27,802 - INFO - Waiting for VM ctest-vn1-vm1-36791858 to be up.. 2025-11-14 10:07:27,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 10:07:33,007 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:07:33,008 - INFO - VM name : ctest-vn1-vm1-36791858 2025-11-14 10:07:33,098 - DEBUG - VM ctest-vn1-vm1-36791858 ID is 807dd981-15ee-43ad-b0ee-aec584fd444b 2025-11-14 10:07:33,122 - DEBUG - VM ctest-vn1-vm1-36791858 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:07:33,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/807dd981-15ee-43ad-b0ee-aec584fd444b 2025-11-14 10:07:33,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/81b690a0-ffe9-4fac-a1ad-59c9ec5721fe 2025-11-14 10:07:36,540 - 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 1029ms') 2025-11-14 10:07:36,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36791858 failed! 2025-11-14 10:07:36,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94500903:ctest-vn1-62505495 is 145.16.253.193 and allocation pool is NOT set 2025-11-14 10:07:36,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94500903:ctest-vn1-62505495 is 219.182.43.1 and allocation pool is NOT set 2025-11-14 10:07:38,681 - 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=13.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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.553/6.946/13.339/6.393 ms') 2025-11-14 10:07:38,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36791858 passed 2025-11-14 10:07:38,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:38,839 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36791858, IP 145.16.253.197, Port 22 2025-11-14 10:07:39,032 - DEBUG - VM ctest-vn1-vm1-36791858 is ready for SSH connections 2025-11-14 10:07:39,032 - INFO - Waiting for VM ctest-vn1-vm2-91966573 to be up.. 2025-11-14 10:07:39,192 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:07:39,192 - INFO - VM name : ctest-vn1-vm2-91966573 2025-11-14 10:07:39,314 - DEBUG - VM ctest-vn1-vm2-91966573 ID is 12c9f8f0-f535-4aa0-aa23-fe100a34ae7f 2025-11-14 10:07:39,315 - DEBUG - VM ctest-vn1-vm2-91966573 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:07:39,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/12c9f8f0-f535-4aa0-aa23-fe100a34ae7f 2025-11-14 10:07:39,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3ac0ffd7-1be2-4cda-b0d2-e58a6f404293 2025-11-14 10:07:40,753 - 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=6.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.53 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 = 3.534/5.244/6.954/1.710 ms') 2025-11-14 10:07:40,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91966573 passed 2025-11-14 10:07:40,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:40,911 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91966573, IP 219.182.43.5, Port 22 2025-11-14 10:07:40,978 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-14 10:07:41,082 - DEBUG - VM ctest-vn1-vm2-91966573 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-14 10:07:46,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:46,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91966573, IP 219.182.43.5, Port 22 2025-11-14 10:07:46,284 - DEBUG - VM ctest-vn1-vm2-91966573 is ready for SSH connections 2025-11-14 10:07:46,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:46,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:46,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:07:46,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.16.253.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:07:46,284 - DEBUG - ping -s 56 -c 3 -W 1 145.16.253.197 2025-11-14 10:07:49,194 - DEBUG - PING 145.16.253.197 (145.16.253.197): 56 data bytes 64 bytes from 145.16.253.197: seq=0 ttl=63 time=4.061 ms 64 bytes from 145.16.253.197: seq=1 ttl=63 time=2.530 ms 64 bytes from 145.16.253.197: seq=2 ttl=63 time=2.285 ms --- 145.16.253.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.285/2.958/4.061 ms 2025-11-14 10:07:49,194 - INFO - Ping to IP 145.16.253.197 from VM ctest-vn1-vm2-91966573 passed 2025-11-14 10:07:49,194 - INFO - Detaching port 3ac0ffd7-1be2-4cda-b0d2-e58a6f404293 from VM ctest-vn1-vm2-91966573 2025-11-14 10:07:49,333 - INFO - Deleting VM ctest-vn1-vm2-91966573 2025-11-14 10:07:49,504 - INFO - Detaching port 81b690a0-ffe9-4fac-a1ad-59c9ec5721fe from VM ctest-vn1-vm1-36791858 2025-11-14 10:07:49,556 - INFO - Deleting VM ctest-vn1-vm1-36791858 2025-11-14 10:07:49,913 - DEBUG - Response for delete_port : () 2025-11-14 10:07:50,145 - DEBUG - Response for delete_port : () 2025-11-14 10:07:50,145 - INFO - Deleting VN ctest-vn1-62505495 2025-11-14 10:07:50,303 - DEBUG - Response for deleting network () 2025-11-14 10:07:50,586 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 10:07:50,586 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-14 10:07:50,586 - INFO - -------------------------------------------------------------------------------- 2025-11-14 10:07:51,412 - INFO - Deleted project: ctest-TestPorts-94500903, ID : 50933a92-9a46-4278-8134-09c45315026d