2025-09-18 01:48:15,561 - INFO - Domain Default found not creating
2025-09-18 01:48:15,692 - INFO - Project ctest-TestPorts-39703582 not found, creating it
2025-09-18 01:48:16,121 - INFO - Created Project:ctest-TestPorts-39703582, ID : 0340124a-626c-472e-abad-65c31f5434de
2025-09-18 01:48:17,473 - INFO - ================================================================================
2025-09-18 01:48:17,473 - INFO - STARTING TEST : test_ports_bindings
2025-09-18 01:48:17,473 - 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-18 01:48:17,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2025-09-18 01:48:17,731 - INFO - Initial checks done. Running the testcase now
2025-09-18 01:48:17,731 - INFO -
2025-09-18 01:48:18,252 - DEBUG - Response for create_network : {'network': {'id': '7eb53958-ed0c-46cf-bb54-4a436560584e', 'name': 'ctest-vn-26379538', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'project_id': '0340124a626c472eabad65c31f5434de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39703582', 'ctest-vn-26379538'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:48:18,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '9857f816-9483-4f8d-8a1b-804eee59e7c4', 'name': '', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '7eb53958-ed0c-46cf-bb54-4a436560584e', 'ip_version': 4, 'cidr': '12.168.255.192/26', 'allocation_pools': [{'start': '12.168.255.194', 'end': '12.168.255.254'}], 'gateway_ip': '12.168.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.168.255.194', 'tags': [], 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:18,420 - INFO - Created VN ctest-vn-26379538
2025-09-18 01:48:18,469 - DEBUG - VN ctest-vn-26379538 UUID is 7eb53958-ed0c-46cf-bb54-4a436560584e
2025-09-18 01:48:18,574 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39703582', 'ctest-vmi-56999397']}
2025-09-18 01:48:18,837 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56999397', 'id': '1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '7eb53958-ed0c-46cf-bb54-4a436560584e', 'mac_address': '02:1a:39:28:7e:7c', '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': '12.168.255.195', 'subnet_id': '9857f816-9483-4f8d-8a1b-804eee59e7c4'}], 'security_groups': ['f7c3aaed-0299-461a-b35c-cbd78fb1eaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:18,837 - DEBUG - Created port 1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf
2025-09-18 01:48:18,937 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf
2025-09-18 01:48:19,224 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf
2025-09-18 01:48:19,252 - INFO - VMI 1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf verification in API Server passed
2025-09-18 01:48:19,332 - DEBUG - Response for delete_port : ()
2025-09-18 01:48:19,332 - INFO - Deleted port 1a39287e-7c4a-44e6-85c4-3e8aa1bd46cf
2025-09-18 01:48:19,332 - INFO - Deleting VN ctest-vn-26379538
2025-09-18 01:48:19,438 - DEBUG - Response for deleting network ()
2025-09-18 01:48:19,690 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:48:19,690 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 01:48:19,690 - INFO - --------------------------------------------------------------------------------
2025-09-18 01:48:19,692 - INFO - ================================================================================
2025-09-18 01:48:19,692 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-18 01:48:19,692 - 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-18 01:48:19,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2025-09-18 01:48:19,978 - INFO - Initial checks done. Running the testcase now
2025-09-18 01:48:19,978 - INFO -
2025-09-18 01:48:20,139 - DEBUG - Response for create_network : {'network': {'id': '53f2c086-53e8-400b-9525-69cbebf07b5e', 'name': 'ctest-vn1-61120848', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'project_id': '0340124a626c472eabad65c31f5434de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39703582', 'ctest-vn1-61120848'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:48:20,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '52e7342e-353c-4d55-bd6b-5ff0f4a51303', 'name': '', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '53f2c086-53e8-400b-9525-69cbebf07b5e', 'ip_version': 4, 'cidr': '203.85.203.192/26', 'allocation_pools': [{'start': '203.85.203.194', 'end': '203.85.203.254'}], 'gateway_ip': '203.85.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.85.203.194', 'tags': [], 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:20,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1250763-731b-47c9-baf7-47f6f937fe08', 'name': '', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '53f2c086-53e8-400b-9525-69cbebf07b5e', 'ip_version': 4, 'cidr': '194.244.38.192/26', 'allocation_pools': [{'start': '194.244.38.194', 'end': '194.244.38.254'}], 'gateway_ip': '194.244.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.244.38.194', 'tags': [], 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:20,506 - INFO - Created VN ctest-vn1-61120848
2025-09-18 01:48:20,561 - DEBUG - VN ctest-vn1-61120848 UUID is 53f2c086-53e8-400b-9525-69cbebf07b5e
2025-09-18 01:48:20,836 - DEBUG - Response for create_port : {'port': {'name': '99f809bc-0d29-4da3-ac76-c5b38adb9291', 'id': '99f809bc-0d29-4da3-ac76-c5b38adb9291', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '53f2c086-53e8-400b-9525-69cbebf07b5e', 'mac_address': '02:99:f8:09:bc:0d', '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': '203.85.203.197', 'subnet_id': '52e7342e-353c-4d55-bd6b-5ff0f4a51303'}], 'security_groups': ['f7c3aaed-0299-461a-b35c-cbd78fb1eaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:21,000 - DEBUG - Response for create_port : {'port': {'name': '02ea341e-b71b-4d92-b756-0e6cddfa87bd', 'id': '02ea341e-b71b-4d92-b756-0e6cddfa87bd', 'tenant_id': '0340124a626c472eabad65c31f5434de', 'network_id': '53f2c086-53e8-400b-9525-69cbebf07b5e', 'mac_address': '02:02:ea:34:1e:b7', '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': '194.244.38.197', 'subnet_id': 'f1250763-731b-47c9-baf7-47f6f937fe08'}], 'security_groups': ['f7c3aaed-0299-461a-b35c-cbd78fb1eaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0340124a626c472eabad65c31f5434de'}}
2025-09-18 01:48:21,056 - DEBUG - Services list from nova: [, , ]
2025-09-18 01:48:21,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1)
2025-09-18 01:48:21,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1)
2025-09-18 01:48:21,696 - INFO - Waiting for VM ctest-vn1-vm1-67955950 to be up..
2025-09-18 01:48:21,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 01:48:26,800 - DEBUG - VM is in ACTIVE state now
2025-09-18 01:48:26,800 - INFO - VM name : ctest-vn1-vm1-67955950
2025-09-18 01:48:26,873 - DEBUG - VM ctest-vn1-vm1-67955950 ID is ec1a98c5-a3e8-4fc5-a327-82420ee9363e
2025-09-18 01:48:26,892 - DEBUG - VM ctest-vn1-vm1-67955950 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1
2025-09-18 01:48:26,961 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ec1a98c5-a3e8-4fc5-a327-82420ee9363e
2025-09-18 01:48:26,968 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/99f809bc-0d29-4da3-ac76-c5b38adb9291
2025-09-18 01:48:30,226 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2025-09-18 01:48:30,226 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-67955950 failed!
2025-09-18 01:48:30,277 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39703582:ctest-vn1-61120848 is 203.85.203.193 and allocation pool is NOT set
2025-09-18 01:48:30,277 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39703582:ctest-vn1-61120848 is 194.244.38.193 and allocation pool is NOT set
2025-09-18 01:48:32,341 - 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=5.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.333/3.279/5.225/1.946 ms')
2025-09-18 01:48:32,341 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-67955950 passed
2025-09-18 01:48:32,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:32,489 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67955950, IP 203.85.203.197, Port 22
2025-09-18 01:48:32,544 - 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-09-18 01:48:32,613 - DEBUG - VM ctest-vn1-vm1-67955950 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 01:48:37,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:37,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67955950, IP 203.85.203.197, Port 22
2025-09-18 01:48:37,764 - DEBUG - VM ctest-vn1-vm1-67955950 is ready for SSH connections
2025-09-18 01:48:37,764 - INFO - Waiting for VM ctest-vn1-vm2-53785082 to be up..
2025-09-18 01:48:37,845 - DEBUG - VM is in ACTIVE state now
2025-09-18 01:48:37,845 - INFO - VM name : ctest-vn1-vm2-53785082
2025-09-18 01:48:37,910 - DEBUG - VM ctest-vn1-vm2-53785082 ID is 016286f7-844b-4852-ad42-fcd2c691900b
2025-09-18 01:48:37,910 - DEBUG - VM ctest-vn1-vm2-53785082 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1
2025-09-18 01:48:37,974 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/016286f7-844b-4852-ad42-fcd2c691900b
2025-09-18 01:48:37,981 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/02ea341e-b71b-4d92-b756-0e6cddfa87bd
2025-09-18 01:48:39,212 - 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=3.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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.341/1.897/3.453/1.556 ms')
2025-09-18 01:48:39,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-53785082 passed
2025-09-18 01:48:39,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:39,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53785082, IP 194.244.38.197, Port 22
2025-09-18 01:48:39,512 - DEBUG - VM ctest-vn1-vm2-53785082 is ready for SSH connections
2025-09-18 01:48:39,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:39,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:39,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:48:39,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.85.203.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-18 01:48:39,513 - DEBUG - ping -s 56 -c 3 -W 1 203.85.203.197
2025-09-18 01:48:43,537 - DEBUG - PING 203.85.203.197 (203.85.203.197): 56 data bytes
64 bytes from 203.85.203.197: seq=0 ttl=63 time=3.363 ms
64 bytes from 203.85.203.197: seq=1 ttl=63 time=0.807 ms
64 bytes from 203.85.203.197: seq=2 ttl=63 time=0.771 ms
--- 203.85.203.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.771/1.647/3.363 ms
2025-09-18 01:48:43,537 - INFO - Ping to IP 203.85.203.197 from VM ctest-vn1-vm2-53785082 passed
2025-09-18 01:48:43,538 - INFO - Detaching port 02ea341e-b71b-4d92-b756-0e6cddfa87bd from VM ctest-vn1-vm2-53785082
2025-09-18 01:48:43,585 - INFO - Deleting VM ctest-vn1-vm2-53785082
2025-09-18 01:48:43,652 - INFO - Detaching port 99f809bc-0d29-4da3-ac76-c5b38adb9291 from VM ctest-vn1-vm1-67955950
2025-09-18 01:48:43,687 - INFO - Deleting VM ctest-vn1-vm1-67955950
2025-09-18 01:48:43,889 - DEBUG - Response for delete_port : ()
2025-09-18 01:48:44,026 - DEBUG - Response for delete_port : ()
2025-09-18 01:48:44,026 - INFO - Deleting VN ctest-vn1-61120848
2025-09-18 01:48:44,156 - DEBUG - Response for deleting network ()
2025-09-18 01:48:44,413 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:48:44,413 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-09-18 01:48:44,414 - INFO - --------------------------------------------------------------------------------
2025-09-18 01:48:45,063 - INFO - Deleted project: ctest-TestPorts-39703582, ID : 0340124a-626c-472e-abad-65c31f5434de