2026-01-29 18:46:06,542 - INFO - Domain Default found not creating
2026-01-29 18:46:06,729 - INFO - Project ctest-TestPorts-57803702 not found, creating it
2026-01-29 18:46:07,243 - INFO - Created Project:ctest-TestPorts-57803702, ID : 931021df-fbc8-4c8d-8082-0621acb147bb
2026-01-29 18:46:09,050 - INFO - ================================================================================
2026-01-29 18:46:09,050 - INFO - STARTING TEST : test_ports_bindings
2026-01-29 18:46:09,050 - 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-01-29 18:46:09,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-01-29 18:46:09,345 - INFO - Initial checks done. Running the testcase now
2026-01-29 18:46:09,345 - INFO -
2026-01-29 18:46:10,086 - DEBUG - Response for create_network : {'network': {'id': 'c81b4690-650a-4a4c-b5eb-7235cf930a9b', 'name': 'ctest-vn-57264655', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'project_id': '931021dffbc84c8d80820621acb147bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57803702', 'ctest-vn-57264655'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 18:46:10,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '404a592a-8110-4376-891c-9e412150479e', 'name': '', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': 'c81b4690-650a-4a4c-b5eb-7235cf930a9b', 'ip_version': 4, 'cidr': '129.219.0.64/26', 'allocation_pools': [{'start': '129.219.0.66', 'end': '129.219.0.126'}], 'gateway_ip': '129.219.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.219.0.66', 'tags': [], 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:10,411 - INFO - Created VN ctest-vn-57264655
2026-01-29 18:46:10,478 - DEBUG - VN ctest-vn-57264655 UUID is c81b4690-650a-4a4c-b5eb-7235cf930a9b
2026-01-29 18:46:10,628 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57803702', 'ctest-vmi-42654072']}
2026-01-29 18:46:11,048 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42654072', 'id': 'bd697b54-48f4-4af4-b89f-7466a20192b7', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': 'c81b4690-650a-4a4c-b5eb-7235cf930a9b', 'mac_address': '02:bd:69:7b:54:48', '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': '129.219.0.67', 'subnet_id': '404a592a-8110-4376-891c-9e412150479e'}], 'security_groups': ['5fb45583-eff8-44bc-be4a-63a0d5ef1380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:11,048 - DEBUG - Created port bd697b54-48f4-4af4-b89f-7466a20192b7
2026-01-29 18:46:11,167 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bd697b54-48f4-4af4-b89f-7466a20192b7
2026-01-29 18:46:11,502 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bd697b54-48f4-4af4-b89f-7466a20192b7
2026-01-29 18:46:11,544 - INFO - VMI bd697b54-48f4-4af4-b89f-7466a20192b7 verification in API Server passed
2026-01-29 18:46:11,665 - DEBUG - Response for delete_port : ()
2026-01-29 18:46:11,665 - INFO - Deleted port bd697b54-48f4-4af4-b89f-7466a20192b7
2026-01-29 18:46:11,665 - INFO - Deleting VN ctest-vn-57264655
2026-01-29 18:46:11,783 - DEBUG - Response for deleting network ()
2026-01-29 18:46:12,065 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 18:46:12,065 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-29 18:46:12,066 - INFO - --------------------------------------------------------------------------------
2026-01-29 18:46:12,072 - INFO - ================================================================================
2026-01-29 18:46:12,073 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-29 18:46:12,073 - 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-01-29 18:46:12,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-01-29 18:46:12,382 - INFO - Initial checks done. Running the testcase now
2026-01-29 18:46:12,382 - INFO -
2026-01-29 18:46:12,620 - DEBUG - Response for create_network : {'network': {'id': '61a1ca2b-5ae8-41fe-a9fb-04a528b77c94', 'name': 'ctest-vn1-85070438', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'project_id': '931021dffbc84c8d80820621acb147bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57803702', 'ctest-vn1-85070438'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 18:46:12,785 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a7049ae-50b8-4231-92e3-39008b48bb69', 'name': '', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': '61a1ca2b-5ae8-41fe-a9fb-04a528b77c94', 'ip_version': 4, 'cidr': '184.174.140.64/26', 'allocation_pools': [{'start': '184.174.140.66', 'end': '184.174.140.126'}], 'gateway_ip': '184.174.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.174.140.66', 'tags': [], 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:13,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '9465b614-e42f-4c54-9969-c317826f3f49', 'name': '', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': '61a1ca2b-5ae8-41fe-a9fb-04a528b77c94', 'ip_version': 4, 'cidr': '108.58.46.64/26', 'allocation_pools': [{'start': '108.58.46.66', 'end': '108.58.46.126'}], 'gateway_ip': '108.58.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.58.46.66', 'tags': [], 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:13,061 - INFO - Created VN ctest-vn1-85070438
2026-01-29 18:46:13,118 - DEBUG - VN ctest-vn1-85070438 UUID is 61a1ca2b-5ae8-41fe-a9fb-04a528b77c94
2026-01-29 18:46:13,546 - DEBUG - Response for create_port : {'port': {'name': '3febe69a-5e18-4619-a1d5-1b874c97345e', 'id': '3febe69a-5e18-4619-a1d5-1b874c97345e', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': '61a1ca2b-5ae8-41fe-a9fb-04a528b77c94', 'mac_address': '02:3f:eb:e6:9a:5e', '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': '184.174.140.69', 'subnet_id': '6a7049ae-50b8-4231-92e3-39008b48bb69'}], 'security_groups': ['5fb45583-eff8-44bc-be4a-63a0d5ef1380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:13,725 - DEBUG - Response for create_port : {'port': {'name': '46b61f7b-ad9a-4685-aaa3-861c03319a26', 'id': '46b61f7b-ad9a-4685-aaa3-861c03319a26', 'tenant_id': '931021dffbc84c8d80820621acb147bb', 'network_id': '61a1ca2b-5ae8-41fe-a9fb-04a528b77c94', 'mac_address': '02:46:b6:1f:7b:ad', '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': '108.58.46.69', 'subnet_id': '9465b614-e42f-4c54-9969-c317826f3f49'}], 'security_groups': ['5fb45583-eff8-44bc-be4a-63a0d5ef1380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '931021dffbc84c8d80820621acb147bb'}}
2026-01-29 18:46:13,780 - DEBUG - Services list from nova: [, , ]
2026-01-29 18:46:14,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1)
2026-01-29 18:46:14,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1)
2026-01-29 18:46:14,843 - INFO - Waiting for VM ctest-vn1-vm1-52012283 to be up..
2026-01-29 18:46:14,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-29 18:46:20,031 - DEBUG - VM is in ACTIVE state now
2026-01-29 18:46:20,032 - INFO - VM name : ctest-vn1-vm1-52012283
2026-01-29 18:46:20,159 - DEBUG - VM ctest-vn1-vm1-52012283 ID is a5aeb03a-bbf7-4504-a6f5-7bf6c2f2da90
2026-01-29 18:46:20,192 - DEBUG - VM ctest-vn1-vm1-52012283 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1
2026-01-29 18:46:20,316 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/a5aeb03a-bbf7-4504-a6f5-7bf6c2f2da90
2026-01-29 18:46:20,327 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3febe69a-5e18-4619-a1d5-1b874c97345e
2026-01-29 18:46:23,611 - 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 1012ms')
2026-01-29 18:46:23,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52012283 failed!
2026-01-29 18:46:23,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57803702:ctest-vn1-85070438 is 184.174.140.65 and allocation pool is NOT set
2026-01-29 18:46:23,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57803702:ctest-vn1-85070438 is 108.58.46.65 and allocation pool is NOT set
2026-01-29 18:46:27,765 - 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=2 ttl=63 time=4.60 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 4.598/4.598/4.598/0.000 ms')
2026-01-29 18:46:27,765 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52012283 passed
2026-01-29 18:46:27,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:27,955 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52012283, IP 184.174.140.69, Port 22
2026-01-29 18:46:28,156 - DEBUG - VM ctest-vn1-vm1-52012283 is ready for SSH connections
2026-01-29 18:46:28,156 - INFO - Waiting for VM ctest-vn1-vm2-22812556 to be up..
2026-01-29 18:46:28,266 - DEBUG - VM is in ACTIVE state now
2026-01-29 18:46:28,267 - INFO - VM name : ctest-vn1-vm2-22812556
2026-01-29 18:46:28,356 - DEBUG - VM ctest-vn1-vm2-22812556 ID is 1530e64c-3d73-4bf6-9d01-487c69baaaa1
2026-01-29 18:46:28,356 - DEBUG - VM ctest-vn1-vm2-22812556 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1
2026-01-29 18:46:28,449 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1530e64c-3d73-4bf6-9d01-487c69baaaa1
2026-01-29 18:46:28,461 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/46b61f7b-ad9a-4685-aaa3-861c03319a26
2026-01-29 18:46:29,723 - 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=4.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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 = 1.172/2.793/4.414/1.621 ms')
2026-01-29 18:46:29,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22812556 passed
2026-01-29 18:46:29,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:29,878 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22812556, IP 108.58.46.69, Port 22
2026-01-29 18:46:29,949 - 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': ''}
2026-01-29 18:46:30,047 - DEBUG - VM ctest-vn1-vm2-22812556 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-29 18:46:35,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:35,048 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22812556, IP 108.58.46.69, Port 22
2026-01-29 18:46:35,244 - DEBUG - VM ctest-vn1-vm2-22812556 is ready for SSH connections
2026-01-29 18:46:35,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:35,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:35,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 18:46:35,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.174.140.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2026-01-29 18:46:35,244 - DEBUG - ping -s 56 -c 3 -W 1 184.174.140.69
2026-01-29 18:46:38,179 - DEBUG - PING 184.174.140.69 (184.174.140.69): 56 data bytes
64 bytes from 184.174.140.69: seq=0 ttl=63 time=3.736 ms
64 bytes from 184.174.140.69: seq=1 ttl=63 time=2.000 ms
64 bytes from 184.174.140.69: seq=2 ttl=63 time=2.102 ms
--- 184.174.140.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.000/2.612/3.736 ms
2026-01-29 18:46:38,179 - INFO - Ping to IP 184.174.140.69 from VM ctest-vn1-vm2-22812556 passed
2026-01-29 18:46:38,179 - INFO - Detaching port 46b61f7b-ad9a-4685-aaa3-861c03319a26 from VM ctest-vn1-vm2-22812556
2026-01-29 18:46:38,277 - INFO - Deleting VM ctest-vn1-vm2-22812556
2026-01-29 18:46:38,426 - INFO - Detaching port 3febe69a-5e18-4619-a1d5-1b874c97345e from VM ctest-vn1-vm1-52012283
2026-01-29 18:46:38,501 - INFO - Deleting VM ctest-vn1-vm1-52012283
2026-01-29 18:46:38,859 - DEBUG - Response for delete_port : ()
2026-01-29 18:46:39,042 - DEBUG - Response for delete_port : ()
2026-01-29 18:46:39,043 - INFO - Deleting VN ctest-vn1-85070438
2026-01-29 18:46:39,177 - DEBUG - Response for deleting network ()
2026-01-29 18:46:39,474 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 18:46:39,474 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-01-29 18:46:39,474 - INFO - --------------------------------------------------------------------------------
2026-01-29 18:46:40,376 - INFO - Deleted project: ctest-TestPorts-57803702, ID : 931021df-fbc8-4c8d-8082-0621acb147bb