2026-01-21 19:24:48,166 - INFO - Domain Default found not creating
2026-01-21 19:24:48,333 - INFO - Project ctest-TestPorts-44634991 not found, creating it
2026-01-21 19:24:48,931 - INFO - Created Project:ctest-TestPorts-44634991, ID : 7f286b58-3839-40ce-90f9-dbf5b74bbeaf
2026-01-21 19:24:50,433 - INFO - ================================================================================
2026-01-21 19:24:50,433 - INFO - STARTING TEST : test_ports_bindings
2026-01-21 19:24:50,434 - 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-21 19:24:51,739 - WARNING - Test is running with cores: {'10.0.0.22': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5053-2.1769021933']}
2026-01-21 19:24:51,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.254': '0'}} with
2026-01-21 19:24:51,754 - INFO - Initial checks done. Running the testcase now
2026-01-21 19:24:51,754 - INFO -
2026-01-21 19:24:52,570 - DEBUG - Response for create_network : {'network': {'id': 'ca877de3-9ece-404e-bd95-a702a46f7328', 'name': 'ctest-vn-01631219', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44634991', 'ctest-vn-01631219'], 'port_security_enabled': True, 'description': ''}}
2026-01-21 19:24:52,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '61c352cb-8713-4e2f-b823-e8f2a473e922', 'name': '', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ca877de3-9ece-404e-bd95-a702a46f7328', 'ip_version': 4, 'cidr': '25.137.53.64/26', 'allocation_pools': [{'start': '25.137.53.66', 'end': '25.137.53.126'}], 'gateway_ip': '25.137.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.137.53.66', 'tags': [], 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:52,919 - INFO - Created VN ctest-vn-01631219
2026-01-21 19:24:52,931 - DEBUG - VN ctest-vn-01631219 UUID is ca877de3-9ece-404e-bd95-a702a46f7328
2026-01-21 19:24:53,010 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44634991', 'ctest-vmi-07996052']}
2026-01-21 19:24:53,445 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07996052', 'id': 'e2721618-30bb-4002-8f44-b6b6d62c928d', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ca877de3-9ece-404e-bd95-a702a46f7328', 'mac_address': '02:e2:72:16:18:30', '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': '25.137.53.67', 'subnet_id': '61c352cb-8713-4e2f-b823-e8f2a473e922'}], 'security_groups': ['5ae83383-802e-40a9-8002-8da2ba445056'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:53,445 - DEBUG - Created port e2721618-30bb-4002-8f44-b6b6d62c928d
2026-01-21 19:24:53,523 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e2721618-30bb-4002-8f44-b6b6d62c928d
2026-01-21 19:24:53,821 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e2721618-30bb-4002-8f44-b6b6d62c928d
2026-01-21 19:24:53,864 - INFO - VMI e2721618-30bb-4002-8f44-b6b6d62c928d verification in API Server passed
2026-01-21 19:24:54,079 - DEBUG - Response for delete_port : ()
2026-01-21 19:24:54,080 - INFO - Deleted port e2721618-30bb-4002-8f44-b6b6d62c928d
2026-01-21 19:24:54,080 - INFO - Deleting VN ctest-vn-01631219
2026-01-21 19:24:54,250 - DEBUG - Response for deleting network ()
2026-01-21 19:24:55,579 - DEBUG - No XMPP flaps were noticed during the test
2026-01-21 19:24:55,579 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-01-21 19:24:55,579 - INFO - --------------------------------------------------------------------------------
2026-01-21 19:24:55,582 - INFO - ================================================================================
2026-01-21 19:24:55,582 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-21 19:24:55,582 - 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-21 19:24:56,892 - WARNING - Test is running with cores: {'10.0.0.22': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5053-2.1769021933']}
2026-01-21 19:24:56,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.254': '0'}} with
2026-01-21 19:24:56,910 - INFO - Initial checks done. Running the testcase now
2026-01-21 19:24:56,910 - INFO -
2026-01-21 19:24:57,280 - DEBUG - Response for create_network : {'network': {'id': 'ec18e79c-0a47-4a7e-be20-8d2fe277657c', 'name': 'ctest-vn1-97058399', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44634991', 'ctest-vn1-97058399'], 'port_security_enabled': True, 'description': ''}}
2026-01-21 19:24:57,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c097b4-0e3f-4f2c-957e-1cb22f332b14', 'name': '', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ec18e79c-0a47-4a7e-be20-8d2fe277657c', 'ip_version': 4, 'cidr': '66.137.86.128/26', 'allocation_pools': [{'start': '66.137.86.130', 'end': '66.137.86.190'}], 'gateway_ip': '66.137.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.137.86.130', 'tags': [], 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:57,746 - DEBUG - Response for create_subnet : {'subnet': {'id': '63796e52-5b17-4664-96f4-12b4984b891d', 'name': '', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ec18e79c-0a47-4a7e-be20-8d2fe277657c', 'ip_version': 4, 'cidr': '55.194.6.64/26', 'allocation_pools': [{'start': '55.194.6.66', 'end': '55.194.6.126'}], 'gateway_ip': '55.194.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.194.6.66', 'tags': [], 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:57,773 - INFO - Created VN ctest-vn1-97058399
2026-01-21 19:24:57,787 - DEBUG - VN ctest-vn1-97058399 UUID is ec18e79c-0a47-4a7e-be20-8d2fe277657c
2026-01-21 19:24:58,231 - DEBUG - Response for create_port : {'port': {'name': '05d05116-9b58-4c31-b14e-0aaf53fd1078', 'id': '05d05116-9b58-4c31-b14e-0aaf53fd1078', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ec18e79c-0a47-4a7e-be20-8d2fe277657c', 'mac_address': '02:05:d0:51:16:9b', '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': '66.137.86.133', 'subnet_id': '30c097b4-0e3f-4f2c-957e-1cb22f332b14'}], 'security_groups': ['5ae83383-802e-40a9-8002-8da2ba445056'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:58,615 - DEBUG - Response for create_port : {'port': {'name': 'f4c2bc33-c721-4564-8a19-c548817623dd', 'id': 'f4c2bc33-c721-4564-8a19-c548817623dd', 'tenant_id': '7f286b58383940ce90f9dbf5b74bbeaf', 'network_id': 'ec18e79c-0a47-4a7e-be20-8d2fe277657c', 'mac_address': '02:f4:c2:bc:33:c7', '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': '55.194.6.69', 'subnet_id': '63796e52-5b17-4664-96f4-12b4984b891d'}], 'security_groups': ['5ae83383-802e-40a9-8002-8da2ba445056'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f286b58383940ce90f9dbf5b74bbeaf'}}
2026-01-21 19:24:58,681 - DEBUG - Services list from nova: [, , , ]
2026-01-21 19:24:59,180 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5053-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5053-1)
2026-01-21 19:24:59,798 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5053-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5053-2)
2026-01-21 19:24:59,798 - INFO - Waiting for VM ctest-vn1-vm1-54381046 to be up..
2026-01-21 19:24:59,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-21 19:25:04,969 - DEBUG - VM is in ACTIVE state now
2026-01-21 19:25:04,969 - INFO - VM name : ctest-vn1-vm1-54381046
2026-01-21 19:25:05,072 - DEBUG - VM ctest-vn1-vm1-54381046 ID is 9feb548f-9eb8-49a6-83d3-ab8682199b9c
2026-01-21 19:25:05,095 - DEBUG - VM ctest-vn1-vm1-54381046 launched on Node an-jenkins-deploy-platform-ansible-os-5053-1
2026-01-21 19:25:05,188 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9feb548f-9eb8-49a6-83d3-ab8682199b9c
2026-01-21 19:25:05,484 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9feb548f-9eb8-49a6-83d3-ab8682199b9c
2026-01-21 19:25:05,523 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/05d05116-9b58-4c31-b14e-0aaf53fd1078
2026-01-21 19:25:08,746 - 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 1019ms')
2026-01-21 19:25:08,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54381046 failed!
2026-01-21 19:25:08,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44634991:ctest-vn1-97058399 is 66.137.86.129 and allocation pool is NOT set
2026-01-21 19:25:08,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44634991:ctest-vn1-97058399 is 55.194.6.65 and allocation pool is NOT set
2026-01-21 19:25:10,825 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.937 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.937/2.247/3.558/1.310 ms')
2026-01-21 19:25:10,825 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54381046 passed
2026-01-21 19:25:10,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-21 19:25:10,939 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54381046, IP 66.137.86.133, Port 22
2026-01-21 19:25:11,100 - DEBUG - VM ctest-vn1-vm1-54381046 is ready for SSH connections
2026-01-21 19:25:11,100 - INFO - Waiting for VM ctest-vn1-vm2-99471294 to be up..
2026-01-21 19:25:11,198 - DEBUG - VM is in ACTIVE state now
2026-01-21 19:25:11,198 - INFO - VM name : ctest-vn1-vm2-99471294
2026-01-21 19:25:11,292 - DEBUG - VM ctest-vn1-vm2-99471294 ID is f2240ea8-dde9-4d85-81fb-61350e6deab8
2026-01-21 19:25:11,292 - DEBUG - VM ctest-vn1-vm2-99471294 launched on Node an-jenkins-deploy-platform-ansible-os-5053-2
2026-01-21 19:25:11,395 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f2240ea8-dde9-4d85-81fb-61350e6deab8
2026-01-21 19:25:11,406 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f4c2bc33-c721-4564-8a19-c548817623dd
2026-01-21 19:25:12,610 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.555 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.555/1.623/2.691/1.068 ms')
2026-01-21 19:25:12,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-99471294 passed
2026-01-21 19:25:12,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-21 19:25:12,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99471294, IP 55.194.6.69, Port 22
2026-01-21 19:25:12,887 - DEBUG - VM ctest-vn1-vm2-99471294 is ready for SSH connections
2026-01-21 19:25:12,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-21 19:25:12,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-21 19:25:12,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-21 19:25:12,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.137.86.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-01-21 19:25:12,888 - DEBUG - ping -s 56 -c 3 -W 1 66.137.86.133
2026-01-21 19:25:15,776 - DEBUG - PING 66.137.86.133 (66.137.86.133): 56 data bytes
64 bytes from 66.137.86.133: seq=0 ttl=63 time=4.716 ms
64 bytes from 66.137.86.133: seq=1 ttl=63 time=1.094 ms
64 bytes from 66.137.86.133: seq=2 ttl=63 time=1.045 ms
--- 66.137.86.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.045/2.285/4.716 ms
2026-01-21 19:25:15,776 - INFO - Ping to IP 66.137.86.133 from VM ctest-vn1-vm2-99471294 passed
2026-01-21 19:25:15,776 - INFO - Detaching port f4c2bc33-c721-4564-8a19-c548817623dd from VM ctest-vn1-vm2-99471294
2026-01-21 19:25:15,826 - INFO - Deleting VM ctest-vn1-vm2-99471294
2026-01-21 19:25:15,895 - INFO - Detaching port 05d05116-9b58-4c31-b14e-0aaf53fd1078 from VM ctest-vn1-vm1-54381046
2026-01-21 19:25:15,928 - INFO - Deleting VM ctest-vn1-vm1-54381046
2026-01-21 19:25:16,389 - DEBUG - Response for delete_port : ()
2026-01-21 19:25:16,691 - DEBUG - Response for delete_port : ()
2026-01-21 19:25:16,691 - INFO - Deleting VN ctest-vn1-97058399
2026-01-21 19:25:16,930 - DEBUG - Response for deleting network ()
2026-01-21 19:25:18,288 - DEBUG - No XMPP flaps were noticed during the test
2026-01-21 19:25:18,288 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-01-21 19:25:18,288 - INFO - --------------------------------------------------------------------------------
2026-01-21 19:25:19,478 - INFO - Deleted project: ctest-TestPorts-44634991, ID : 7f286b58-3839-40ce-90f9-dbf5b74bbeaf