2025-09-18 19:03:01,203 - INFO - Domain Default found not creating
2025-09-18 19:03:01,376 - INFO - Project ctest-TestPorts-01062424 not found, creating it
2025-09-18 19:03:01,836 - INFO - Created Project:ctest-TestPorts-01062424, ID : 7317fadb-1eea-469d-98f7-153fbc9b55e7
2025-09-18 19:03:03,919 - INFO - ================================================================================
2025-09-18 19:03:03,920 - INFO - STARTING TEST : test_ports_bindings
2025-09-18 19:03:03,920 - 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 19:03:04,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-09-18 19:03:04,172 - INFO - Initial checks done. Running the testcase now
2025-09-18 19:03:04,172 - INFO -
2025-09-18 19:03:04,687 - DEBUG - Response for create_network : {'network': {'id': 'c031149e-8453-4d62-9bec-46282769c405', 'name': 'ctest-vn-59169816', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'project_id': '7317fadb1eea469d98f7153fbc9b55e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01062424', 'ctest-vn-59169816'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 19:03:04,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f44288b-ebcb-4137-be22-f5889e84d834', 'name': '', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'c031149e-8453-4d62-9bec-46282769c405', 'ip_version': 4, 'cidr': '27.207.117.192/26', 'allocation_pools': [{'start': '27.207.117.194', 'end': '27.207.117.254'}], 'gateway_ip': '27.207.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.207.117.194', 'tags': [], 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:04,907 - INFO - Created VN ctest-vn-59169816
2025-09-18 19:03:04,963 - DEBUG - VN ctest-vn-59169816 UUID is c031149e-8453-4d62-9bec-46282769c405
2025-09-18 19:03:05,072 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01062424', 'ctest-vmi-99217461']}
2025-09-18 19:03:05,335 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99217461', 'id': '2596e7fc-7966-4937-8579-539bb3649acc', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'c031149e-8453-4d62-9bec-46282769c405', 'mac_address': '02:25:96:e7:fc:79', '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': '27.207.117.195', 'subnet_id': '2f44288b-ebcb-4137-be22-f5889e84d834'}], 'security_groups': ['3beab496-297b-49e4-9de4-85c13632205e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:05,335 - DEBUG - Created port 2596e7fc-7966-4937-8579-539bb3649acc
2025-09-18 19:03:05,443 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2596e7fc-7966-4937-8579-539bb3649acc
2025-09-18 19:03:05,737 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2596e7fc-7966-4937-8579-539bb3649acc
2025-09-18 19:03:05,767 - INFO - VMI 2596e7fc-7966-4937-8579-539bb3649acc verification in API Server passed
2025-09-18 19:03:05,857 - DEBUG - Response for delete_port : ()
2025-09-18 19:03:05,857 - INFO - Deleted port 2596e7fc-7966-4937-8579-539bb3649acc
2025-09-18 19:03:05,857 - INFO - Deleting VN ctest-vn-59169816
2025-09-18 19:03:05,961 - DEBUG - Response for deleting network ()
2025-09-18 19:03:06,227 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 19:03:06,228 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-18 19:03:06,228 - INFO - --------------------------------------------------------------------------------
2025-09-18 19:03:06,230 - INFO - ================================================================================
2025-09-18 19:03:06,230 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-18 19:03:06,230 - 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 19:03:06,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-09-18 19:03:06,515 - INFO - Initial checks done. Running the testcase now
2025-09-18 19:03:06,515 - INFO -
2025-09-18 19:03:06,694 - DEBUG - Response for create_network : {'network': {'id': 'f8be157e-112e-4de8-897b-4dde122c0ec0', 'name': 'ctest-vn1-67791109', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'project_id': '7317fadb1eea469d98f7153fbc9b55e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01062424', 'ctest-vn1-67791109'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 19:03:06,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b88a2e2-95fe-4f86-8d7d-846b3ea74896', 'name': '', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'f8be157e-112e-4de8-897b-4dde122c0ec0', 'ip_version': 4, 'cidr': '153.71.194.64/26', 'allocation_pools': [{'start': '153.71.194.66', 'end': '153.71.194.126'}], 'gateway_ip': '153.71.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.71.194.66', 'tags': [], 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:07,036 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f84ff3e6-3087-4ab1-820a-2bf1e9f6c238', 'name': '', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'f8be157e-112e-4de8-897b-4dde122c0ec0', 'ip_version': 4, 'cidr': '171.115.180.64/26', 'allocation_pools': [{'start': '171.115.180.66', 'end': '171.115.180.126'}], 'gateway_ip': '171.115.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.115.180.66', 'tags': [], 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:07,056 - INFO - Created VN ctest-vn1-67791109
2025-09-18 19:03:07,107 - DEBUG - VN ctest-vn1-67791109 UUID is f8be157e-112e-4de8-897b-4dde122c0ec0
2025-09-18 19:03:07,407 - DEBUG - Response for create_port : {'port': {'name': '1dd8af3e-4538-47f4-a26e-4ef97203ac27', 'id': '1dd8af3e-4538-47f4-a26e-4ef97203ac27', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'f8be157e-112e-4de8-897b-4dde122c0ec0', 'mac_address': '02:1d:d8:af:3e:45', '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': '153.71.194.69', 'subnet_id': '6b88a2e2-95fe-4f86-8d7d-846b3ea74896'}], 'security_groups': ['3beab496-297b-49e4-9de4-85c13632205e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:07,568 - DEBUG - Response for create_port : {'port': {'name': '8056af0a-5838-4904-b1a4-38c14fe04c48', 'id': '8056af0a-5838-4904-b1a4-38c14fe04c48', 'tenant_id': '7317fadb1eea469d98f7153fbc9b55e7', 'network_id': 'f8be157e-112e-4de8-897b-4dde122c0ec0', 'mac_address': '02:80:56:af:0a:58', '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': '171.115.180.69', 'subnet_id': 'f84ff3e6-3087-4ab1-820a-2bf1e9f6c238'}], 'security_groups': ['3beab496-297b-49e4-9de4-85c13632205e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7317fadb1eea469d98f7153fbc9b55e7'}}
2025-09-18 19:03:07,620 - DEBUG - Services list from nova: [, , ]
2025-09-18 19:03:07,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1)
2025-09-18 19:03:08,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1)
2025-09-18 19:03:08,327 - INFO - Waiting for VM ctest-vn1-vm1-27312891 to be up..
2025-09-18 19:03:08,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 19:03:13,443 - DEBUG - VM is in ACTIVE state now
2025-09-18 19:03:13,444 - INFO - VM name : ctest-vn1-vm1-27312891
2025-09-18 19:03:13,515 - DEBUG - VM ctest-vn1-vm1-27312891 ID is 93e28e70-4133-49c9-a364-eaf19cd01ed0
2025-09-18 19:03:13,534 - DEBUG - VM ctest-vn1-vm1-27312891 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1
2025-09-18 19:03:13,609 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/93e28e70-4133-49c9-a364-eaf19cd01ed0
2025-09-18 19:03:13,617 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1dd8af3e-4538-47f4-a26e-4ef97203ac27
2025-09-18 19:03:16,863 - 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 1002ms')
2025-09-18 19:03:16,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27312891 failed!
2025-09-18 19:03:16,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01062424:ctest-vn1-67791109 is 153.71.194.65 and allocation pool is NOT set
2025-09-18 19:03:16,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01062424:ctest-vn1-67791109 is 171.115.180.65 and allocation pool is NOT set
2025-09-18 19:03:18,986 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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.674/3.336/3.998/0.662 ms')
2025-09-18 19:03:18,986 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27312891 passed
2025-09-18 19:03:19,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:19,139 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27312891, IP 153.71.194.69, Port 22
2025-09-18 19:03:19,290 - DEBUG - VM ctest-vn1-vm1-27312891 is ready for SSH connections
2025-09-18 19:03:19,290 - INFO - Waiting for VM ctest-vn1-vm2-17416038 to be up..
2025-09-18 19:03:19,368 - DEBUG - VM is in ACTIVE state now
2025-09-18 19:03:19,368 - INFO - VM name : ctest-vn1-vm2-17416038
2025-09-18 19:03:19,440 - DEBUG - VM ctest-vn1-vm2-17416038 ID is 47e4b6e1-f7ea-462c-a17b-295759a142ef
2025-09-18 19:03:19,440 - DEBUG - VM ctest-vn1-vm2-17416038 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1
2025-09-18 19:03:19,512 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/47e4b6e1-f7ea-462c-a17b-295759a142ef
2025-09-18 19:03:19,520 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8056af0a-5838-4904-b1a4-38c14fe04c48
2025-09-18 19:03:20,756 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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.715/2.218/3.721/1.503 ms')
2025-09-18 19:03:20,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17416038 passed
2025-09-18 19:03:20,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:20,903 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17416038, IP 171.115.180.69, Port 22
2025-09-18 19:03:20,969 - 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 19:03:21,040 - DEBUG - VM ctest-vn1-vm2-17416038 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 19:03:26,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:26,041 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17416038, IP 171.115.180.69, Port 22
2025-09-18 19:03:26,203 - DEBUG - VM ctest-vn1-vm2-17416038 is ready for SSH connections
2025-09-18 19:03:26,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:26,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:26,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:26,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.71.194.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:03:26,203 - DEBUG - ping -s 56 -c 3 -W 1 153.71.194.69
2025-09-18 19:03:29,148 - DEBUG - PING 153.71.194.69 (153.71.194.69): 56 data bytes
64 bytes from 153.71.194.69: seq=0 ttl=63 time=3.531 ms
64 bytes from 153.71.194.69: seq=1 ttl=63 time=0.853 ms
64 bytes from 153.71.194.69: seq=2 ttl=63 time=0.830 ms
--- 153.71.194.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/1.738/3.531 ms
2025-09-18 19:03:29,148 - INFO - Ping to IP 153.71.194.69 from VM ctest-vn1-vm2-17416038 passed
2025-09-18 19:03:29,148 - INFO - Detaching port 8056af0a-5838-4904-b1a4-38c14fe04c48 from VM ctest-vn1-vm2-17416038
2025-09-18 19:03:29,195 - INFO - Deleting VM ctest-vn1-vm2-17416038
2025-09-18 19:03:29,259 - INFO - Detaching port 1dd8af3e-4538-47f4-a26e-4ef97203ac27 from VM ctest-vn1-vm1-27312891
2025-09-18 19:03:29,290 - INFO - Deleting VM ctest-vn1-vm1-27312891
2025-09-18 19:03:29,504 - DEBUG - Response for delete_port : ()
2025-09-18 19:03:29,668 - DEBUG - Response for delete_port : ()
2025-09-18 19:03:29,668 - INFO - Deleting VN ctest-vn1-67791109
2025-09-18 19:03:29,790 - DEBUG - Response for deleting network ()
2025-09-18 19:03:30,044 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 19:03:30,044 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-18 19:03:30,044 - INFO - --------------------------------------------------------------------------------
2025-09-18 19:03:30,714 - INFO - Deleted project: ctest-TestPorts-01062424, ID : 7317fadb-1eea-469d-98f7-153fbc9b55e7