2025-08-20 16:10:30,563 - INFO - Domain Default found not creating
2025-08-20 16:10:30,699 - INFO - Project ctest-TestPorts-81719006 not found, creating it
2025-08-20 16:10:31,154 - INFO - Created Project:ctest-TestPorts-81719006, ID : cd014031-83ef-4cad-a4d0-c53b6578cf0f
2025-08-20 16:10:32,591 - INFO - ================================================================================
2025-08-20 16:10:32,591 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 16:10:32,591 - 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-08-20 16:10:32,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with
2025-08-20 16:10:32,845 - INFO - Initial checks done. Running the testcase now
2025-08-20 16:10:32,845 - INFO -
2025-08-20 16:10:33,363 - DEBUG - Response for create_network : {'network': {'id': '7aa7c0d0-c86d-4842-b119-02c9b078651f', 'name': 'ctest-vn-83114092', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81719006', 'ctest-vn-83114092'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 16:10:33,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b3883e-93f4-49f1-801c-598ea0932312', 'name': '', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': '7aa7c0d0-c86d-4842-b119-02c9b078651f', 'ip_version': 4, 'cidr': '59.210.38.0/26', 'allocation_pools': [{'start': '59.210.38.2', 'end': '59.210.38.62'}], 'gateway_ip': '59.210.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.210.38.2', 'tags': [], 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:33,594 - INFO - Created VN ctest-vn-83114092
2025-08-20 16:10:33,645 - DEBUG - VN ctest-vn-83114092 UUID is 7aa7c0d0-c86d-4842-b119-02c9b078651f
2025-08-20 16:10:33,741 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81719006', 'ctest-vmi-07231206']}
2025-08-20 16:10:34,007 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07231206', 'id': 'd9f68cc1-42e5-481f-b131-0e0717a52df8', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': '7aa7c0d0-c86d-4842-b119-02c9b078651f', 'mac_address': '02:d9:f6:8c:c1:42', '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': '59.210.38.3', 'subnet_id': '51b3883e-93f4-49f1-801c-598ea0932312'}], 'security_groups': ['36440a52-7629-4d6b-8765-64a2026d4c76'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:34,007 - DEBUG - Created port d9f68cc1-42e5-481f-b131-0e0717a52df8
2025-08-20 16:10:34,109 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d9f68cc1-42e5-481f-b131-0e0717a52df8
2025-08-20 16:10:34,396 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d9f68cc1-42e5-481f-b131-0e0717a52df8
2025-08-20 16:10:34,423 - INFO - VMI d9f68cc1-42e5-481f-b131-0e0717a52df8 verification in API Server passed
2025-08-20 16:10:34,507 - DEBUG - Response for delete_port : ()
2025-08-20 16:10:34,507 - INFO - Deleted port d9f68cc1-42e5-481f-b131-0e0717a52df8
2025-08-20 16:10:34,508 - INFO - Deleting VN ctest-vn-83114092
2025-08-20 16:10:34,591 - DEBUG - Response for deleting network ()
2025-08-20 16:10:34,853 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 16:10:34,853 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 16:10:34,853 - INFO - --------------------------------------------------------------------------------
2025-08-20 16:10:34,855 - INFO - ================================================================================
2025-08-20 16:10:34,855 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 16:10:34,855 - 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-08-20 16:10:35,149 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with
2025-08-20 16:10:35,149 - INFO - Initial checks done. Running the testcase now
2025-08-20 16:10:35,149 - INFO -
2025-08-20 16:10:35,306 - DEBUG - Response for create_network : {'network': {'id': 'deba2cc8-8e05-4dc7-9981-787a67bdb54f', 'name': 'ctest-vn1-20300736', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81719006', 'ctest-vn1-20300736'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 16:10:35,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec21baa-d274-483f-8ec2-0e8d6981418c', 'name': '', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': 'deba2cc8-8e05-4dc7-9981-787a67bdb54f', 'ip_version': 4, 'cidr': '40.176.89.128/26', 'allocation_pools': [{'start': '40.176.89.130', 'end': '40.176.89.190'}], 'gateway_ip': '40.176.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.176.89.130', 'tags': [], 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:35,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '01929a4d-9c79-42bc-abab-78f3ca93b254', 'name': '', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': 'deba2cc8-8e05-4dc7-9981-787a67bdb54f', 'ip_version': 4, 'cidr': '1.200.15.192/26', 'allocation_pools': [{'start': '1.200.15.194', 'end': '1.200.15.254'}], 'gateway_ip': '1.200.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.200.15.194', 'tags': [], 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:35,682 - INFO - Created VN ctest-vn1-20300736
2025-08-20 16:10:35,733 - DEBUG - VN ctest-vn1-20300736 UUID is deba2cc8-8e05-4dc7-9981-787a67bdb54f
2025-08-20 16:10:36,000 - DEBUG - Response for create_port : {'port': {'name': '8b15cc38-9ee8-415b-aadf-f3f5c193ebc4', 'id': '8b15cc38-9ee8-415b-aadf-f3f5c193ebc4', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': 'deba2cc8-8e05-4dc7-9981-787a67bdb54f', 'mac_address': '02:8b:15:cc:38:9e', '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': '40.176.89.133', 'subnet_id': 'dec21baa-d274-483f-8ec2-0e8d6981418c'}], 'security_groups': ['36440a52-7629-4d6b-8765-64a2026d4c76'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:36,150 - DEBUG - Response for create_port : {'port': {'name': 'cb37afb1-d756-4997-a698-a380307ad31d', 'id': 'cb37afb1-d756-4997-a698-a380307ad31d', 'tenant_id': 'cd01403183ef4cada4d0c53b6578cf0f', 'network_id': 'deba2cc8-8e05-4dc7-9981-787a67bdb54f', 'mac_address': '02:cb:37:af:b1:d7', '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': '1.200.15.197', 'subnet_id': '01929a4d-9c79-42bc-abab-78f3ca93b254'}], 'security_groups': ['36440a52-7629-4d6b-8765-64a2026d4c76'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd01403183ef4cada4d0c53b6578cf0f'}}
2025-08-20 16:10:36,200 - DEBUG - Services list from nova: [, , ]
2025-08-20 16:10:36,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3899-1)
2025-08-20 16:10:36,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3899-1)
2025-08-20 16:10:36,831 - INFO - Waiting for VM ctest-vn1-vm1-74588862 to be up..
2025-08-20 16:10:36,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 16:10:41,933 - DEBUG - VM is in ACTIVE state now
2025-08-20 16:10:41,933 - INFO - VM name : ctest-vn1-vm1-74588862
2025-08-20 16:10:42,001 - DEBUG - VM ctest-vn1-vm1-74588862 ID is 3132760b-6f9c-4574-aebe-a7b9e9ae1522
2025-08-20 16:10:42,019 - DEBUG - VM ctest-vn1-vm1-74588862 launched on Node cn-jenkins-deploy-platform-ansible-os-3899-1.
2025-08-20 16:10:42,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3132760b-6f9c-4574-aebe-a7b9e9ae1522
2025-08-20 16:10:42,098 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8b15cc38-9ee8-415b-aadf-f3f5c193ebc4
2025-08-20 16:10:45,354 - 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 1024ms')
2025-08-20 16:10:45,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74588862 failed!
2025-08-20 16:10:45,409 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81719006:ctest-vn1-20300736 is 40.176.89.129 and allocation pool is NOT set
2025-08-20 16:10:45,409 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81719006:ctest-vn1-20300736 is 1.200.15.193 and allocation pool is NOT set
2025-08-20 16:10:47,467 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.886 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.886/2.305/3.725/1.419 ms')
2025-08-20 16:10:47,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74588862 passed
2025-08-20 16:10:47,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:47,613 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74588862, IP 40.176.89.133, Port 22
2025-08-20 16:10:47,683 - 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-08-20 16:10:47,749 - DEBUG - VM ctest-vn1-vm1-74588862 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-20 16:10:52,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:52,750 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74588862, IP 40.176.89.133, Port 22
2025-08-20 16:10:52,900 - DEBUG - VM ctest-vn1-vm1-74588862 is ready for SSH connections
2025-08-20 16:10:52,900 - INFO - Waiting for VM ctest-vn1-vm2-15611802 to be up..
2025-08-20 16:10:52,965 - DEBUG - VM is in ACTIVE state now
2025-08-20 16:10:52,965 - INFO - VM name : ctest-vn1-vm2-15611802
2025-08-20 16:10:53,148 - DEBUG - VM ctest-vn1-vm2-15611802 ID is b4ee33ae-6eb6-45fa-b931-976d301f5a5d
2025-08-20 16:10:53,148 - DEBUG - VM ctest-vn1-vm2-15611802 launched on Node cn-jenkins-deploy-platform-ansible-os-3899-1.
2025-08-20 16:10:53,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b4ee33ae-6eb6-45fa-b931-976d301f5a5d
2025-08-20 16:10:53,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cb37afb1-d756-4997-a698-a380307ad31d
2025-08-20 16:10:54,445 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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 = 0.359/1.531/2.704/1.172 ms')
2025-08-20 16:10:54,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15611802 passed
2025-08-20 16:10:54,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:54,593 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15611802, IP 1.200.15.197, Port 22
2025-08-20 16:10:54,748 - DEBUG - VM ctest-vn1-vm2-15611802 is ready for SSH connections
2025-08-20 16:10:54,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:54,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:54,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 16:10:54,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.176.89.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-20 16:10:54,749 - DEBUG - ping -s 56 -c 3 -W 1 40.176.89.133
2025-08-20 16:10:57,662 - DEBUG - PING 40.176.89.133 (40.176.89.133): 56 data bytes
64 bytes from 40.176.89.133: seq=0 ttl=63 time=4.263 ms
64 bytes from 40.176.89.133: seq=1 ttl=63 time=0.880 ms
64 bytes from 40.176.89.133: seq=2 ttl=63 time=0.808 ms
--- 40.176.89.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.808/1.983/4.263 ms
2025-08-20 16:10:57,662 - INFO - Ping to IP 40.176.89.133 from VM ctest-vn1-vm2-15611802 passed
2025-08-20 16:10:57,662 - INFO - Detaching port cb37afb1-d756-4997-a698-a380307ad31d from VM ctest-vn1-vm2-15611802
2025-08-20 16:10:57,706 - INFO - Deleting VM ctest-vn1-vm2-15611802
2025-08-20 16:10:57,765 - INFO - Detaching port 8b15cc38-9ee8-415b-aadf-f3f5c193ebc4 from VM ctest-vn1-vm1-74588862
2025-08-20 16:10:57,798 - INFO - Deleting VM ctest-vn1-vm1-74588862
2025-08-20 16:10:57,994 - DEBUG - Response for delete_port : ()
2025-08-20 16:10:58,120 - DEBUG - Response for delete_port : ()
2025-08-20 16:10:58,120 - INFO - Deleting VN ctest-vn1-20300736
2025-08-20 16:10:58,242 - DEBUG - Response for deleting network ()
2025-08-20 16:10:58,506 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 16:10:58,506 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-20 16:10:58,506 - INFO - --------------------------------------------------------------------------------
2025-08-20 16:10:59,155 - INFO - Deleted project: ctest-TestPorts-81719006, ID : cd014031-83ef-4cad-a4d0-c53b6578cf0f