2026-05-04 02:40:55,488 - INFO - Domain Default found not creating
2026-05-04 02:40:55,682 - INFO - Project ctest-TestPorts-68042174 not found, creating it
2026-05-04 02:40:56,236 - INFO - Created Project:ctest-TestPorts-68042174, ID : d3e348fe-66c5-4267-a8d6-3ea94aa32a4a
2026-05-04 02:40:57,845 - INFO - ================================================================================
2026-05-04 02:40:57,845 - INFO - STARTING TEST : test_ports_bindings
2026-05-04 02:40:57,846 - 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
2026-05-04 02:40:59,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.141': {'10.20.0.18': '0', '10.20.0.193': '0'}} with
2026-05-04 02:40:59,111 - INFO - Initial checks done. Running the testcase now
2026-05-04 02:40:59,111 - INFO -
2026-05-04 02:40:59,801 - DEBUG - Response for create_network : {'network': {'id': '630b01b3-6aef-4f9a-819a-619907dbb3bf', 'name': 'ctest-vn-22729339', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68042174', 'ctest-vn-22729339'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:41:00,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b45e399-028d-423f-88d6-11331b1aa24e', 'name': '', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': '630b01b3-6aef-4f9a-819a-619907dbb3bf', 'ip_version': 4, 'cidr': '54.124.188.64/26', 'allocation_pools': [{'start': '54.124.188.66', 'end': '54.124.188.126'}], 'gateway_ip': '54.124.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.124.188.66', 'tags': [], 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:00,117 - INFO - Created VN ctest-vn-22729339
2026-05-04 02:41:00,130 - DEBUG - VN ctest-vn-22729339 UUID is 630b01b3-6aef-4f9a-819a-619907dbb3bf
2026-05-04 02:41:00,215 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68042174', 'ctest-vmi-90699343']}
2026-05-04 02:41:00,530 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90699343', 'id': 'de40b090-415a-4477-b9ca-11dc4214ef48', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': '630b01b3-6aef-4f9a-819a-619907dbb3bf', 'mac_address': '02:de:40:b0:90:41', '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': '54.124.188.67', 'subnet_id': '7b45e399-028d-423f-88d6-11331b1aa24e'}], 'security_groups': ['e9191f9a-fe94-416c-b1c3-bb224ee30a0c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:00,530 - DEBUG - Created port de40b090-415a-4477-b9ca-11dc4214ef48
2026-05-04 02:41:00,606 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/de40b090-415a-4477-b9ca-11dc4214ef48
2026-05-04 02:41:00,907 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/de40b090-415a-4477-b9ca-11dc4214ef48
2026-05-04 02:41:00,952 - INFO - VMI de40b090-415a-4477-b9ca-11dc4214ef48 verification in API Server passed
2026-05-04 02:41:01,155 - DEBUG - Response for delete_port : ()
2026-05-04 02:41:01,155 - INFO - Deleted port de40b090-415a-4477-b9ca-11dc4214ef48
2026-05-04 02:41:01,156 - INFO - Deleting VN ctest-vn-22729339
2026-05-04 02:41:01,390 - DEBUG - Response for deleting network ()
2026-05-04 02:41:02,691 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:41:02,691 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-05-04 02:41:02,691 - INFO - --------------------------------------------------------------------------------
2026-05-04 02:41:02,694 - INFO - ================================================================================
2026-05-04 02:41:02,694 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-04 02:41:02,694 - 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
2026-05-04 02:41:04,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.141': {'10.20.0.18': '0', '10.20.0.193': '0'}} with
2026-05-04 02:41:04,012 - INFO - Initial checks done. Running the testcase now
2026-05-04 02:41:04,012 - INFO -
2026-05-04 02:41:04,356 - DEBUG - Response for create_network : {'network': {'id': 'b60dfe22-1a22-4cf4-8f63-188aedec0722', 'name': 'ctest-vn1-82436060', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68042174', 'ctest-vn1-82436060'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:41:04,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aa3c234-4e43-43af-a62c-fb6101157fe3', 'name': '', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': 'b60dfe22-1a22-4cf4-8f63-188aedec0722', 'ip_version': 4, 'cidr': '199.187.110.64/26', 'allocation_pools': [{'start': '199.187.110.66', 'end': '199.187.110.126'}], 'gateway_ip': '199.187.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.187.110.66', 'tags': [], 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:04,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '80dcc4eb-a2aa-4a06-b39f-4cb50c4f27ac', 'name': '', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': 'b60dfe22-1a22-4cf4-8f63-188aedec0722', 'ip_version': 4, 'cidr': '77.237.135.0/26', 'allocation_pools': [{'start': '77.237.135.2', 'end': '77.237.135.62'}], 'gateway_ip': '77.237.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.237.135.2', 'tags': [], 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:04,916 - INFO - Created VN ctest-vn1-82436060
2026-05-04 02:41:04,939 - DEBUG - VN ctest-vn1-82436060 UUID is b60dfe22-1a22-4cf4-8f63-188aedec0722
2026-05-04 02:41:05,349 - DEBUG - Response for create_port : {'port': {'name': '40118cf1-1a98-4f3b-8f9c-58dc337065db', 'id': '40118cf1-1a98-4f3b-8f9c-58dc337065db', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': 'b60dfe22-1a22-4cf4-8f63-188aedec0722', 'mac_address': '02:40:11:8c:f1:1a', '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': '199.187.110.69', 'subnet_id': '9aa3c234-4e43-43af-a62c-fb6101157fe3'}], 'security_groups': ['e9191f9a-fe94-416c-b1c3-bb224ee30a0c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:05,652 - DEBUG - Response for create_port : {'port': {'name': '8a1ac6f0-c056-4eb4-9829-575db3162792', 'id': '8a1ac6f0-c056-4eb4-9829-575db3162792', 'tenant_id': 'd3e348fe66c54267a8d63ea94aa32a4a', 'network_id': 'b60dfe22-1a22-4cf4-8f63-188aedec0722', 'mac_address': '02:8a:1a:c6:f0:c0', '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': '77.237.135.5', 'subnet_id': '80dcc4eb-a2aa-4a06-b39f-4cb50c4f27ac'}], 'security_groups': ['e9191f9a-fe94-416c-b1c3-bb224ee30a0c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3e348fe66c54267a8d63ea94aa32a4a'}}
2026-05-04 02:41:05,716 - DEBUG - Services list from nova: [, , , ]
2026-05-04 02:41:06,190 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-1)
2026-05-04 02:41:06,760 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-2)
2026-05-04 02:41:06,760 - INFO - Waiting for VM ctest-vn1-vm1-15409168 to be up..
2026-05-04 02:41:06,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-04 02:41:11,921 - DEBUG - VM is in ACTIVE state now
2026-05-04 02:41:11,922 - INFO - VM name : ctest-vn1-vm1-15409168
2026-05-04 02:41:12,017 - DEBUG - VM ctest-vn1-vm1-15409168 ID is 294b8c80-afe9-4ac9-a297-4674d904bd2e
2026-05-04 02:41:12,046 - DEBUG - VM ctest-vn1-vm1-15409168 launched on Node an-jenkins-deploy-platform-ansible-os-5740-1
2026-05-04 02:41:12,136 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/294b8c80-afe9-4ac9-a297-4674d904bd2e
2026-05-04 02:41:12,442 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/294b8c80-afe9-4ac9-a297-4674d904bd2e
2026-05-04 02:41:12,485 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/40118cf1-1a98-4f3b-8f9c-58dc337065db
2026-05-04 02:41:15,665 - 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 1004ms')
2026-05-04 02:41:15,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15409168 failed!
2026-05-04 02:41:15,681 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68042174:ctest-vn1-82436060 is 199.187.110.65 and allocation pool is NOT set
2026-05-04 02:41:15,682 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68042174:ctest-vn1-82436060 is 77.237.135.1 and allocation pool is NOT set
2026-05-04 02:41:17,749 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.613/7.205/11.798/4.592 ms')
2026-05-04 02:41:17,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15409168 passed
2026-05-04 02:41:17,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:17,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15409168, IP 199.187.110.69, Port 22
2026-05-04 02:41:17,883 - 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': ''}
2026-05-04 02:41:17,978 - DEBUG - VM ctest-vn1-vm1-15409168 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-04 02:41:22,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:22,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15409168, IP 199.187.110.69, Port 22
2026-05-04 02:41:23,137 - DEBUG - VM ctest-vn1-vm1-15409168 is ready for SSH connections
2026-05-04 02:41:23,137 - INFO - Waiting for VM ctest-vn1-vm2-84237500 to be up..
2026-05-04 02:41:23,227 - DEBUG - VM is in ACTIVE state now
2026-05-04 02:41:23,227 - INFO - VM name : ctest-vn1-vm2-84237500
2026-05-04 02:41:23,332 - DEBUG - VM ctest-vn1-vm2-84237500 ID is 792ebdb4-dadf-4c6c-a0e8-473fe85affec
2026-05-04 02:41:23,332 - DEBUG - VM ctest-vn1-vm2-84237500 launched on Node an-jenkins-deploy-platform-ansible-os-5740-2
2026-05-04 02:41:23,435 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/792ebdb4-dadf-4c6c-a0e8-473fe85affec
2026-05-04 02:41:23,451 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8a1ac6f0-c056-4eb4-9829-575db3162792
2026-05-04 02:41:24,625 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.928/3.436/1.507 ms')
2026-05-04 02:41:24,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-84237500 passed
2026-05-04 02:41:24,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:24,695 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84237500, IP 77.237.135.5, Port 22
2026-05-04 02:41:24,856 - DEBUG - VM ctest-vn1-vm2-84237500 is ready for SSH connections
2026-05-04 02:41:24,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:24,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:24,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-04 02:41:24,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.187.110.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-05-04 02:41:24,856 - DEBUG - ping -s 56 -c 3 -W 1 199.187.110.69
2026-05-04 02:41:27,861 - DEBUG - PING 199.187.110.69 (199.187.110.69): 56 data bytes
64 bytes from 199.187.110.69: seq=0 ttl=63 time=5.215 ms
64 bytes from 199.187.110.69: seq=1 ttl=63 time=1.444 ms
64 bytes from 199.187.110.69: seq=2 ttl=63 time=1.521 ms
--- 199.187.110.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.444/2.726/5.215 ms
2026-05-04 02:41:27,861 - INFO - Ping to IP 199.187.110.69 from VM ctest-vn1-vm2-84237500 passed
2026-05-04 02:41:27,861 - INFO - Detaching port 8a1ac6f0-c056-4eb4-9829-575db3162792 from VM ctest-vn1-vm2-84237500
2026-05-04 02:41:27,933 - INFO - Deleting VM ctest-vn1-vm2-84237500
2026-05-04 02:41:28,031 - INFO - Detaching port 40118cf1-1a98-4f3b-8f9c-58dc337065db from VM ctest-vn1-vm1-15409168
2026-05-04 02:41:28,069 - INFO - Deleting VM ctest-vn1-vm1-15409168
2026-05-04 02:41:28,471 - DEBUG - Response for delete_port : ()
2026-05-04 02:41:28,751 - DEBUG - Response for delete_port : ()
2026-05-04 02:41:28,751 - INFO - Deleting VN ctest-vn1-82436060
2026-05-04 02:41:28,974 - DEBUG - Response for deleting network ()
2026-05-04 02:41:30,287 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:41:30,287 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-05-04 02:41:30,287 - INFO - --------------------------------------------------------------------------------
2026-05-04 02:41:31,264 - INFO - Deleted project: ctest-TestPorts-68042174, ID : d3e348fe-66c5-4267-a8d6-3ea94aa32a4a