2026-06-08 06:18:11,850 - INFO - Domain Default found not creating
2026-06-08 06:18:12,028 - INFO - Project ctest-TestPorts-60439311 not found, creating it
2026-06-08 06:18:12,636 - INFO - Created Project:ctest-TestPorts-60439311, ID : 0b5362ec-e15e-4d3b-b88e-26a47c80aa8d
2026-06-08 06:18:14,207 - INFO - ================================================================================
2026-06-08 06:18:14,207 - INFO - STARTING TEST : test_ports_bindings
2026-06-08 06:18:14,207 - 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-06-08 06:18:15,488 - WARNING - Test is running with cores: {'10.0.0.38': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-1.1780898019'], '10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-3.1780898019']}
2026-06-08 06:18:15,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with
2026-06-08 06:18:15,500 - INFO - Initial checks done. Running the testcase now
2026-06-08 06:18:15,500 - INFO -
2026-06-08 06:18:16,240 - DEBUG - Response for create_network : {'network': {'id': 'e3200a24-70d4-415c-95cc-535a39c504a1', 'name': 'ctest-vn-98496620', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60439311', 'ctest-vn-98496620'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 06:18:16,575 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a340f454-3a55-48d4-90fd-cf686dd49722', 'name': '', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'e3200a24-70d4-415c-95cc-535a39c504a1', 'ip_version': 4, 'cidr': '81.39.234.128/26', 'allocation_pools': [{'start': '81.39.234.130', 'end': '81.39.234.190'}], 'gateway_ip': '81.39.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.39.234.130', 'tags': [], 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:16,608 - INFO - Created VN ctest-vn-98496620
2026-06-08 06:18:16,624 - DEBUG - VN ctest-vn-98496620 UUID is e3200a24-70d4-415c-95cc-535a39c504a1
2026-06-08 06:18:16,713 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60439311', 'ctest-vmi-58153500']}
2026-06-08 06:18:17,079 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58153500', 'id': '757869b4-b5c9-4e6d-a540-36e4380b73cf', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'e3200a24-70d4-415c-95cc-535a39c504a1', 'mac_address': '02:75:78:69:b4:b5', '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': '81.39.234.131', 'subnet_id': 'a340f454-3a55-48d4-90fd-cf686dd49722'}], 'security_groups': ['49682aa9-adb3-434a-8ecc-691161e734c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:17,080 - DEBUG - Created port 757869b4-b5c9-4e6d-a540-36e4380b73cf
2026-06-08 06:18:17,188 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/757869b4-b5c9-4e6d-a540-36e4380b73cf
2026-06-08 06:18:17,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/757869b4-b5c9-4e6d-a540-36e4380b73cf
2026-06-08 06:18:17,496 - INFO - VMI 757869b4-b5c9-4e6d-a540-36e4380b73cf verification in API Server passed
2026-06-08 06:18:17,700 - DEBUG - Response for delete_port : ()
2026-06-08 06:18:17,700 - INFO - Deleted port 757869b4-b5c9-4e6d-a540-36e4380b73cf
2026-06-08 06:18:17,701 - INFO - Deleting VN ctest-vn-98496620
2026-06-08 06:18:17,928 - DEBUG - Response for deleting network ()
2026-06-08 06:18:19,208 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 06:18:19,208 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-06-08 06:18:19,209 - INFO - --------------------------------------------------------------------------------
2026-06-08 06:18:19,212 - INFO - ================================================================================
2026-06-08 06:18:19,212 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-08 06:18:19,212 - 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-06-08 06:18:20,472 - WARNING - Test is running with cores: {'10.0.0.38': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-1.1780898019'], '10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-3.1780898019']}
2026-06-08 06:18:20,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with
2026-06-08 06:18:20,485 - INFO - Initial checks done. Running the testcase now
2026-06-08 06:18:20,485 - INFO -
2026-06-08 06:18:20,822 - DEBUG - Response for create_network : {'network': {'id': 'b9bec43b-9d2a-4e40-b5cf-bee0d7474d77', 'name': 'ctest-vn1-09699502', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60439311', 'ctest-vn1-09699502'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 06:18:21,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4255c04-db1e-4db1-97ea-dc12365e3e20', 'name': '', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'b9bec43b-9d2a-4e40-b5cf-bee0d7474d77', 'ip_version': 4, 'cidr': '15.226.244.128/26', 'allocation_pools': [{'start': '15.226.244.130', 'end': '15.226.244.190'}], 'gateway_ip': '15.226.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.226.244.130', 'tags': [], 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:21,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d8697fa-c2d2-44f1-a5b4-a7c514195050', 'name': '', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'b9bec43b-9d2a-4e40-b5cf-bee0d7474d77', 'ip_version': 4, 'cidr': '167.124.60.0/26', 'allocation_pools': [{'start': '167.124.60.2', 'end': '167.124.60.62'}], 'gateway_ip': '167.124.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.124.60.2', 'tags': [], 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:21,437 - INFO - Created VN ctest-vn1-09699502
2026-06-08 06:18:21,451 - DEBUG - VN ctest-vn1-09699502 UUID is b9bec43b-9d2a-4e40-b5cf-bee0d7474d77
2026-06-08 06:18:21,860 - DEBUG - Response for create_port : {'port': {'name': '22a5f2ea-2291-4bdf-bf9a-7f898d75c65a', 'id': '22a5f2ea-2291-4bdf-bf9a-7f898d75c65a', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'b9bec43b-9d2a-4e40-b5cf-bee0d7474d77', 'mac_address': '02:22:a5:f2:ea:22', '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': '15.226.244.133', 'subnet_id': 'd4255c04-db1e-4db1-97ea-dc12365e3e20'}], 'security_groups': ['49682aa9-adb3-434a-8ecc-691161e734c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:22,175 - DEBUG - Response for create_port : {'port': {'name': 'b626373d-45ce-4703-8908-99d1d04ba5d1', 'id': 'b626373d-45ce-4703-8908-99d1d04ba5d1', 'tenant_id': '0b5362ece15e4d3bb88e26a47c80aa8d', 'network_id': 'b9bec43b-9d2a-4e40-b5cf-bee0d7474d77', 'mac_address': '02:b6:26:37:3d: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': '167.124.60.5', 'subnet_id': '6d8697fa-c2d2-44f1-a5b4-a7c514195050'}], 'security_groups': ['49682aa9-adb3-434a-8ecc-691161e734c6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b5362ece15e4d3bb88e26a47c80aa8d'}}
2026-06-08 06:18:22,254 - DEBUG - Services list from nova: [, , , ]
2026-06-08 06:18:22,635 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-2)
2026-06-08 06:18:23,266 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-1)
2026-06-08 06:18:23,267 - INFO - Waiting for VM ctest-vn1-vm1-40513063 to be up..
2026-06-08 06:18:23,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-08 06:18:28,433 - DEBUG - VM is in ACTIVE state now
2026-06-08 06:18:28,433 - INFO - VM name : ctest-vn1-vm1-40513063
2026-06-08 06:18:28,529 - DEBUG - VM ctest-vn1-vm1-40513063 ID is d4bd0889-d539-4902-a514-c288d371553d
2026-06-08 06:18:28,562 - DEBUG - VM ctest-vn1-vm1-40513063 launched on Node an-jenkins-deploy-platform-ansible-os-5902-2
2026-06-08 06:18:28,676 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d4bd0889-d539-4902-a514-c288d371553d
2026-06-08 06:18:28,948 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d4bd0889-d539-4902-a514-c288d371553d
2026-06-08 06:18:28,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/22a5f2ea-2291-4bdf-bf9a-7f898d75c65a
2026-06-08 06:18:32,194 - 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')
2026-06-08 06:18:32,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40513063 failed!
2026-06-08 06:18:32,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60439311:ctest-vn1-09699502 is 15.226.244.129 and allocation pool is NOT set
2026-06-08 06:18:32,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60439311:ctest-vn1-09699502 is 167.124.60.1 and allocation pool is NOT set
2026-06-08 06:18:34,276 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.947/3.521/1.573 ms')
2026-06-08 06:18:34,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40513063 passed
2026-06-08 06:18:34,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:34,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40513063, IP 15.226.244.133, Port 22
2026-06-08 06:18:34,414 - 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-06-08 06:18:34,509 - DEBUG - VM ctest-vn1-vm1-40513063 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 06:18:39,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:39,510 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40513063, IP 15.226.244.133, Port 22
2026-06-08 06:18:39,682 - DEBUG - VM ctest-vn1-vm1-40513063 is ready for SSH connections
2026-06-08 06:18:39,683 - INFO - Waiting for VM ctest-vn1-vm2-75758696 to be up..
2026-06-08 06:18:39,787 - DEBUG - VM is in ACTIVE state now
2026-06-08 06:18:39,787 - INFO - VM name : ctest-vn1-vm2-75758696
2026-06-08 06:18:39,880 - DEBUG - VM ctest-vn1-vm2-75758696 ID is 8a69fbc1-62dd-4912-9011-2679d56f3261
2026-06-08 06:18:39,880 - DEBUG - VM ctest-vn1-vm2-75758696 launched on Node an-jenkins-deploy-platform-ansible-os-5902-1
2026-06-08 06:18:39,967 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8a69fbc1-62dd-4912-9011-2679d56f3261
2026-06-08 06:18:39,979 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b626373d-45ce-4703-8908-99d1d04ba5d1
2026-06-08 06:18:41,144 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.524 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 = 0.524/1.577/2.631/1.053 ms')
2026-06-08 06:18:41,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-75758696 passed
2026-06-08 06:18:41,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:41,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75758696, IP 167.124.60.5, Port 22
2026-06-08 06:18:41,379 - DEBUG - VM ctest-vn1-vm2-75758696 is ready for SSH connections
2026-06-08 06:18:41,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:41,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:41,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 06:18:41,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.226.244.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-06-08 06:18:41,380 - DEBUG - ping -s 56 -c 3 -W 1 15.226.244.133
2026-06-08 06:18:44,279 - DEBUG - PING 15.226.244.133 (15.226.244.133): 56 data bytes
64 bytes from 15.226.244.133: seq=0 ttl=63 time=5.534 ms
64 bytes from 15.226.244.133: seq=1 ttl=63 time=2.140 ms
64 bytes from 15.226.244.133: seq=2 ttl=63 time=1.521 ms
--- 15.226.244.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.521/3.065/5.534 ms
2026-06-08 06:18:44,279 - INFO - Ping to IP 15.226.244.133 from VM ctest-vn1-vm2-75758696 passed
2026-06-08 06:18:44,279 - INFO - Detaching port b626373d-45ce-4703-8908-99d1d04ba5d1 from VM ctest-vn1-vm2-75758696
2026-06-08 06:18:44,339 - INFO - Deleting VM ctest-vn1-vm2-75758696
2026-06-08 06:18:44,427 - INFO - Detaching port 22a5f2ea-2291-4bdf-bf9a-7f898d75c65a from VM ctest-vn1-vm1-40513063
2026-06-08 06:18:44,462 - INFO - Deleting VM ctest-vn1-vm1-40513063
2026-06-08 06:18:44,877 - DEBUG - Response for delete_port : ()
2026-06-08 06:18:45,221 - DEBUG - Response for delete_port : ()
2026-06-08 06:18:45,221 - INFO - Deleting VN ctest-vn1-09699502
2026-06-08 06:18:45,520 - DEBUG - Response for deleting network ()
2026-06-08 06:18:46,840 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 06:18:46,840 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-06-08 06:18:46,840 - INFO - --------------------------------------------------------------------------------
2026-06-08 06:18:47,633 - INFO - Deleted project: ctest-TestPorts-60439311, ID : 0b5362ec-e15e-4d3b-b88e-26a47c80aa8d