2025-11-18 01:09:42,054 - INFO - Domain Default found not creating
2025-11-18 01:09:42,251 - INFO - Project ctest-TestPorts-13476253 not found, creating it
2025-11-18 01:09:42,743 - INFO - Created Project:ctest-TestPorts-13476253, ID : 95224738-b26d-490f-a5fe-df35185de8b4
2025-11-18 01:09:44,391 - INFO - ================================================================================
2025-11-18 01:09:44,391 - INFO - STARTING TEST : test_ports_bindings
2025-11-18 01:09:44,391 - 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-11-18 01:09:44,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-11-18 01:09:44,644 - INFO - Initial checks done. Running the testcase now
2025-11-18 01:09:44,644 - INFO -
2025-11-18 01:09:45,254 - DEBUG - Response for create_network : {'network': {'id': 'f51acad3-59e7-4ed6-bd37-bee50ed47d1b', 'name': 'ctest-vn-89920055', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'project_id': '95224738b26d490fa5fedf35185de8b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13476253', 'ctest-vn-89920055'], 'port_security_enabled': True, 'description': ''}}
2025-11-18 01:09:45,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e0d8aa-8188-45e6-9dba-fe9ad29336f0', 'name': '', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': 'f51acad3-59e7-4ed6-bd37-bee50ed47d1b', 'ip_version': 4, 'cidr': '46.249.128.128/26', 'allocation_pools': [{'start': '46.249.128.130', 'end': '46.249.128.190'}], 'gateway_ip': '46.249.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.249.128.130', 'tags': [], 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:45,444 - INFO - Created VN ctest-vn-89920055
2025-11-18 01:09:45,498 - DEBUG - VN ctest-vn-89920055 UUID is f51acad3-59e7-4ed6-bd37-bee50ed47d1b
2025-11-18 01:09:45,610 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13476253', 'ctest-vmi-03389846']}
2025-11-18 01:09:45,924 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03389846', 'id': '9d3958f3-41ce-4f26-b2ac-01659e6c2196', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': 'f51acad3-59e7-4ed6-bd37-bee50ed47d1b', 'mac_address': '02:9d:39:58:f3: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': '46.249.128.131', 'subnet_id': 'b9e0d8aa-8188-45e6-9dba-fe9ad29336f0'}], 'security_groups': ['3360a5e5-4df2-473e-b2b8-69301f4ad2cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:45,924 - DEBUG - Created port 9d3958f3-41ce-4f26-b2ac-01659e6c2196
2025-11-18 01:09:46,054 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9d3958f3-41ce-4f26-b2ac-01659e6c2196
2025-11-18 01:09:46,347 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9d3958f3-41ce-4f26-b2ac-01659e6c2196
2025-11-18 01:09:46,387 - INFO - VMI 9d3958f3-41ce-4f26-b2ac-01659e6c2196 verification in API Server passed
2025-11-18 01:09:46,473 - DEBUG - Response for delete_port : ()
2025-11-18 01:09:46,473 - INFO - Deleted port 9d3958f3-41ce-4f26-b2ac-01659e6c2196
2025-11-18 01:09:46,473 - INFO - Deleting VN ctest-vn-89920055
2025-11-18 01:09:46,579 - DEBUG - Response for deleting network ()
2025-11-18 01:09:46,846 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 01:09:46,846 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-18 01:09:46,846 - INFO - --------------------------------------------------------------------------------
2025-11-18 01:09:46,849 - INFO - ================================================================================
2025-11-18 01:09:46,849 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-18 01:09:46,850 - 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-11-18 01:09:47,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-11-18 01:09:47,136 - INFO - Initial checks done. Running the testcase now
2025-11-18 01:09:47,136 - INFO -
2025-11-18 01:09:47,326 - DEBUG - Response for create_network : {'network': {'id': '8aef61ef-a261-41ba-b475-a0f414380ba8', 'name': 'ctest-vn1-34095593', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'project_id': '95224738b26d490fa5fedf35185de8b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13476253', 'ctest-vn1-34095593'], 'port_security_enabled': True, 'description': ''}}
2025-11-18 01:09:47,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '085283ac-387d-4bbf-bf9d-86a474f4b7e2', 'name': '', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': '8aef61ef-a261-41ba-b475-a0f414380ba8', 'ip_version': 4, 'cidr': '56.202.190.64/26', 'allocation_pools': [{'start': '56.202.190.66', 'end': '56.202.190.126'}], 'gateway_ip': '56.202.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.202.190.66', 'tags': [], 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:47,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '63725a91-87ba-4e72-bf2e-45e84b1e4de0', 'name': '', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': '8aef61ef-a261-41ba-b475-a0f414380ba8', 'ip_version': 4, 'cidr': '209.96.80.192/26', 'allocation_pools': [{'start': '209.96.80.194', 'end': '209.96.80.254'}], 'gateway_ip': '209.96.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.96.80.194', 'tags': [], 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:47,711 - INFO - Created VN ctest-vn1-34095593
2025-11-18 01:09:47,762 - DEBUG - VN ctest-vn1-34095593 UUID is 8aef61ef-a261-41ba-b475-a0f414380ba8
2025-11-18 01:09:48,057 - DEBUG - Response for create_port : {'port': {'name': '8bda2b37-7073-4f64-93a0-04764a109750', 'id': '8bda2b37-7073-4f64-93a0-04764a109750', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': '8aef61ef-a261-41ba-b475-a0f414380ba8', 'mac_address': '02:8b:da:2b:37:70', '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': '56.202.190.69', 'subnet_id': '085283ac-387d-4bbf-bf9d-86a474f4b7e2'}], 'security_groups': ['3360a5e5-4df2-473e-b2b8-69301f4ad2cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:48,253 - DEBUG - Response for create_port : {'port': {'name': '2b6d691a-d12e-40f0-95a9-13fb88ac94fb', 'id': '2b6d691a-d12e-40f0-95a9-13fb88ac94fb', 'tenant_id': '95224738b26d490fa5fedf35185de8b4', 'network_id': '8aef61ef-a261-41ba-b475-a0f414380ba8', 'mac_address': '02:2b:6d:69:1a:d1', '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': '209.96.80.197', 'subnet_id': '63725a91-87ba-4e72-bf2e-45e84b1e4de0'}], 'security_groups': ['3360a5e5-4df2-473e-b2b8-69301f4ad2cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '95224738b26d490fa5fedf35185de8b4'}}
2025-11-18 01:09:48,319 - DEBUG - Services list from nova: [, , ]
2025-11-18 01:09:48,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1)
2025-11-18 01:09:49,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1)
2025-11-18 01:09:49,104 - INFO - Waiting for VM ctest-vn1-vm1-56746185 to be up..
2025-11-18 01:09:49,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-18 01:09:54,240 - DEBUG - VM is in ACTIVE state now
2025-11-18 01:09:54,240 - INFO - VM name : ctest-vn1-vm1-56746185
2025-11-18 01:09:54,330 - DEBUG - VM ctest-vn1-vm1-56746185 ID is b038bcfe-b3f3-4ce2-92d2-bf95ca23bba6
2025-11-18 01:09:54,358 - DEBUG - VM ctest-vn1-vm1-56746185 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1
2025-11-18 01:09:54,446 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b038bcfe-b3f3-4ce2-92d2-bf95ca23bba6
2025-11-18 01:09:54,456 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8bda2b37-7073-4f64-93a0-04764a109750
2025-11-18 01:09:57,722 - 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')
2025-11-18 01:09:57,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56746185 failed!
2025-11-18 01:09:57,778 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13476253:ctest-vn1-34095593 is 56.202.190.65 and allocation pool is NOT set
2025-11-18 01:09:57,778 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13476253:ctest-vn1-34095593 is 209.96.80.193 and allocation pool is NOT set
2025-11-18 01:10:01,857 - 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=9.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 9.742/9.742/9.742/0.000 ms')
2025-11-18 01:10:01,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56746185 passed
2025-11-18 01:10:02,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:02,014 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56746185, IP 56.202.190.69, Port 22
2025-11-18 01:10:02,084 - 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': ''}
2025-11-18 01:10:02,172 - DEBUG - VM ctest-vn1-vm1-56746185 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-18 01:10:07,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:07,173 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56746185, IP 56.202.190.69, Port 22
2025-11-18 01:10:07,333 - DEBUG - VM ctest-vn1-vm1-56746185 is ready for SSH connections
2025-11-18 01:10:07,333 - INFO - Waiting for VM ctest-vn1-vm2-09414840 to be up..
2025-11-18 01:10:07,424 - DEBUG - VM is in ACTIVE state now
2025-11-18 01:10:07,424 - INFO - VM name : ctest-vn1-vm2-09414840
2025-11-18 01:10:07,506 - DEBUG - VM ctest-vn1-vm2-09414840 ID is 36b82bef-95b0-4855-9cfc-54c5a3e304bb
2025-11-18 01:10:07,506 - DEBUG - VM ctest-vn1-vm2-09414840 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1
2025-11-18 01:10:07,593 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/36b82bef-95b0-4855-9cfc-54c5a3e304bb
2025-11-18 01:10:07,603 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2b6d691a-d12e-40f0-95a9-13fb88ac94fb
2025-11-18 01:10:08,840 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.386/1.628/2.871/1.242 ms')
2025-11-18 01:10:08,841 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09414840 passed
2025-11-18 01:10:08,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:08,994 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09414840, IP 209.96.80.197, Port 22
2025-11-18 01:10:09,153 - DEBUG - VM ctest-vn1-vm2-09414840 is ready for SSH connections
2025-11-18 01:10:09,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:09,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:09,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 01:10:09,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.202.190.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-11-18 01:10:09,154 - DEBUG - ping -s 56 -c 3 -W 1 56.202.190.69
2025-11-18 01:10:11,875 - DEBUG - PING 56.202.190.69 (56.202.190.69): 56 data bytes
64 bytes from 56.202.190.69: seq=0 ttl=63 time=4.716 ms
64 bytes from 56.202.190.69: seq=1 ttl=63 time=1.005 ms
64 bytes from 56.202.190.69: seq=2 ttl=63 time=0.897 ms
--- 56.202.190.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.897/2.206/4.716 ms
2025-11-18 01:10:11,875 - INFO - Ping to IP 56.202.190.69 from VM ctest-vn1-vm2-09414840 passed
2025-11-18 01:10:11,875 - INFO - Detaching port 2b6d691a-d12e-40f0-95a9-13fb88ac94fb from VM ctest-vn1-vm2-09414840
2025-11-18 01:10:11,927 - INFO - Deleting VM ctest-vn1-vm2-09414840
2025-11-18 01:10:12,014 - INFO - Detaching port 8bda2b37-7073-4f64-93a0-04764a109750 from VM ctest-vn1-vm1-56746185
2025-11-18 01:10:12,046 - INFO - Deleting VM ctest-vn1-vm1-56746185
2025-11-18 01:10:12,365 - DEBUG - Response for delete_port : ()
2025-11-18 01:10:12,542 - DEBUG - Response for delete_port : ()
2025-11-18 01:10:12,543 - INFO - Deleting VN ctest-vn1-34095593
2025-11-18 01:10:12,719 - DEBUG - Response for deleting network ()
2025-11-18 01:10:12,995 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 01:10:12,995 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-11-18 01:10:12,995 - INFO - --------------------------------------------------------------------------------
2025-11-18 01:10:13,733 - INFO - Deleted project: ctest-TestPorts-13476253, ID : 95224738-b26d-490f-a5fe-df35185de8b4