2025-09-29 01:49:37,951 - INFO - Domain Default found not creating
2025-09-29 01:49:38,095 - INFO - Project ctest-TestPorts-94468020 not found, creating it
2025-09-29 01:49:38,558 - INFO - Created Project:ctest-TestPorts-94468020, ID : 5c6fdbd3-fdc7-49a5-a884-772429938e30
2025-09-29 01:49:39,973 - INFO - ================================================================================
2025-09-29 01:49:39,973 - INFO - STARTING TEST : test_ports_bindings
2025-09-29 01:49:39,973 - 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-09-29 01:49:40,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with
2025-09-29 01:49:40,239 - INFO - Initial checks done. Running the testcase now
2025-09-29 01:49:40,239 - INFO -
2025-09-29 01:49:40,907 - DEBUG - Response for create_network : {'network': {'id': '8479a698-f6d8-4bfa-af78-3acbe5775abf', 'name': 'ctest-vn-36840017', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'project_id': '5c6fdbd3fdc749a5a884772429938e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94468020', 'ctest-vn-36840017'], 'port_security_enabled': True, 'description': ''}}
2025-09-29 01:49:41,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '1730b4db-1a83-433c-a985-6b5346a2c393', 'name': '', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '8479a698-f6d8-4bfa-af78-3acbe5775abf', 'ip_version': 4, 'cidr': '24.173.92.64/26', 'allocation_pools': [{'start': '24.173.92.66', 'end': '24.173.92.126'}], 'gateway_ip': '24.173.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.173.92.66', 'tags': [], 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:41,094 - INFO - Created VN ctest-vn-36840017
2025-09-29 01:49:41,147 - DEBUG - VN ctest-vn-36840017 UUID is 8479a698-f6d8-4bfa-af78-3acbe5775abf
2025-09-29 01:49:41,255 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94468020', 'ctest-vmi-67346059']}
2025-09-29 01:49:41,540 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67346059', 'id': '239fd019-18d6-4177-a2ed-d2423578fa93', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '8479a698-f6d8-4bfa-af78-3acbe5775abf', 'mac_address': '02:23:9f:d0:19:18', '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': '24.173.92.67', 'subnet_id': '1730b4db-1a83-433c-a985-6b5346a2c393'}], 'security_groups': ['430441c6-d8e2-414b-b330-18ac9db25b2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:41,540 - DEBUG - Created port 239fd019-18d6-4177-a2ed-d2423578fa93
2025-09-29 01:49:41,647 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/239fd019-18d6-4177-a2ed-d2423578fa93
2025-09-29 01:49:41,940 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/239fd019-18d6-4177-a2ed-d2423578fa93
2025-09-29 01:49:41,975 - INFO - VMI 239fd019-18d6-4177-a2ed-d2423578fa93 verification in API Server passed
2025-09-29 01:49:42,071 - DEBUG - Response for delete_port : ()
2025-09-29 01:49:42,071 - INFO - Deleted port 239fd019-18d6-4177-a2ed-d2423578fa93
2025-09-29 01:49:42,071 - INFO - Deleting VN ctest-vn-36840017
2025-09-29 01:49:42,186 - DEBUG - Response for deleting network ()
2025-09-29 01:49:42,440 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 01:49:42,440 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-29 01:49:42,440 - INFO - --------------------------------------------------------------------------------
2025-09-29 01:49:42,443 - INFO - ================================================================================
2025-09-29 01:49:42,443 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-29 01:49:42,443 - 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-09-29 01:49:42,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with
2025-09-29 01:49:42,735 - INFO - Initial checks done. Running the testcase now
2025-09-29 01:49:42,735 - INFO -
2025-09-29 01:49:42,901 - DEBUG - Response for create_network : {'network': {'id': '6978a578-ca58-4b07-9cb0-3566804ed576', 'name': 'ctest-vn1-92342382', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'project_id': '5c6fdbd3fdc749a5a884772429938e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94468020', 'ctest-vn1-92342382'], 'port_security_enabled': True, 'description': ''}}
2025-09-29 01:49:43,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dac52d6-c6f8-474d-b74b-480246f9825f', 'name': '', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '6978a578-ca58-4b07-9cb0-3566804ed576', 'ip_version': 4, 'cidr': '176.118.194.128/26', 'allocation_pools': [{'start': '176.118.194.130', 'end': '176.118.194.190'}], 'gateway_ip': '176.118.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.118.194.130', 'tags': [], 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:43,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '0aae8345-6be0-4cdd-a7ba-8b002b5f1e6c', 'name': '', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '6978a578-ca58-4b07-9cb0-3566804ed576', 'ip_version': 4, 'cidr': '19.102.136.0/26', 'allocation_pools': [{'start': '19.102.136.2', 'end': '19.102.136.62'}], 'gateway_ip': '19.102.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.102.136.2', 'tags': [], 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:43,250 - INFO - Created VN ctest-vn1-92342382
2025-09-29 01:49:43,307 - DEBUG - VN ctest-vn1-92342382 UUID is 6978a578-ca58-4b07-9cb0-3566804ed576
2025-09-29 01:49:43,596 - DEBUG - Response for create_port : {'port': {'name': '50cf2a42-78d3-4ccc-98b8-79415e1474fb', 'id': '50cf2a42-78d3-4ccc-98b8-79415e1474fb', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '6978a578-ca58-4b07-9cb0-3566804ed576', 'mac_address': '02:50:cf:2a:42:78', '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': '176.118.194.133', 'subnet_id': '5dac52d6-c6f8-474d-b74b-480246f9825f'}], 'security_groups': ['430441c6-d8e2-414b-b330-18ac9db25b2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:43,752 - DEBUG - Response for create_port : {'port': {'name': 'd47a1404-1902-4013-a172-e6f6bbe76521', 'id': 'd47a1404-1902-4013-a172-e6f6bbe76521', 'tenant_id': '5c6fdbd3fdc749a5a884772429938e30', 'network_id': '6978a578-ca58-4b07-9cb0-3566804ed576', 'mac_address': '02:d4:7a:14:04:19', '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': '19.102.136.5', 'subnet_id': '0aae8345-6be0-4cdd-a7ba-8b002b5f1e6c'}], 'security_groups': ['430441c6-d8e2-414b-b330-18ac9db25b2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c6fdbd3fdc749a5a884772429938e30'}}
2025-09-29 01:49:43,810 - DEBUG - Services list from nova: [, , ]
2025-09-29 01:49:44,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1)
2025-09-29 01:49:44,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1)
2025-09-29 01:49:44,496 - INFO - Waiting for VM ctest-vn1-vm1-44065289 to be up..
2025-09-29 01:49:44,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-29 01:49:49,609 - DEBUG - VM is in ACTIVE state now
2025-09-29 01:49:49,609 - INFO - VM name : ctest-vn1-vm1-44065289
2025-09-29 01:49:49,682 - DEBUG - VM ctest-vn1-vm1-44065289 ID is b3a99943-b4dd-4d01-ac00-18f5e55eab2e
2025-09-29 01:49:49,705 - DEBUG - VM ctest-vn1-vm1-44065289 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1
2025-09-29 01:49:49,780 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b3a99943-b4dd-4d01-ac00-18f5e55eab2e
2025-09-29 01:49:49,787 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/50cf2a42-78d3-4ccc-98b8-79415e1474fb
2025-09-29 01:49:53,055 - 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 1027ms')
2025-09-29 01:49:53,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44065289 failed!
2025-09-29 01:49:53,111 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94468020:ctest-vn1-92342382 is 176.118.194.129 and allocation pool is NOT set
2025-09-29 01:49:53,111 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94468020:ctest-vn1-92342382 is 19.102.136.1 and allocation pool is NOT set
2025-09-29 01:49:55,172 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.577/3.832/5.087/1.255 ms')
2025-09-29 01:49:55,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44065289 passed
2025-09-29 01:49:55,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:49:55,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44065289, IP 176.118.194.133, Port 22
2025-09-29 01:49:55,389 - 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-09-29 01:49:55,470 - DEBUG - VM ctest-vn1-vm1-44065289 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-29 01:50:00,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:50:00,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44065289, IP 176.118.194.133, Port 22
2025-09-29 01:50:00,627 - DEBUG - VM ctest-vn1-vm1-44065289 is ready for SSH connections
2025-09-29 01:50:00,627 - INFO - Waiting for VM ctest-vn1-vm2-24472106 to be up..
2025-09-29 01:50:00,699 - DEBUG - VM is in ACTIVE state now
2025-09-29 01:50:00,699 - INFO - VM name : ctest-vn1-vm2-24472106
2025-09-29 01:50:00,772 - DEBUG - VM ctest-vn1-vm2-24472106 ID is 751f3dd6-489f-429b-a7b1-be0af7cc0a85
2025-09-29 01:50:00,772 - DEBUG - VM ctest-vn1-vm2-24472106 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1
2025-09-29 01:50:00,844 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/751f3dd6-489f-429b-a7b1-be0af7cc0a85
2025-09-29 01:50:00,852 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d47a1404-1902-4013-a172-e6f6bbe76521
2025-09-29 01:50:02,093 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.588/2.757/1.169 ms')
2025-09-29 01:50:02,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24472106 passed
2025-09-29 01:50:02,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:50:02,247 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24472106, IP 19.102.136.5, Port 22
2025-09-29 01:50:02,403 - DEBUG - VM ctest-vn1-vm2-24472106 is ready for SSH connections
2025-09-29 01:50:02,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:50:02,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:50:02,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 01:50:02,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.118.194.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-09-29 01:50:02,404 - DEBUG - ping -s 56 -c 3 -W 1 176.118.194.133
2025-09-29 01:50:05,100 - DEBUG - PING 176.118.194.133 (176.118.194.133): 56 data bytes
64 bytes from 176.118.194.133: seq=0 ttl=63 time=4.045 ms
64 bytes from 176.118.194.133: seq=1 ttl=63 time=1.058 ms
64 bytes from 176.118.194.133: seq=2 ttl=63 time=1.113 ms
--- 176.118.194.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.058/2.072/4.045 ms
2025-09-29 01:50:05,100 - INFO - Ping to IP 176.118.194.133 from VM ctest-vn1-vm2-24472106 passed
2025-09-29 01:50:05,100 - INFO - Detaching port d47a1404-1902-4013-a172-e6f6bbe76521 from VM ctest-vn1-vm2-24472106
2025-09-29 01:50:05,146 - INFO - Deleting VM ctest-vn1-vm2-24472106
2025-09-29 01:50:05,220 - INFO - Detaching port 50cf2a42-78d3-4ccc-98b8-79415e1474fb from VM ctest-vn1-vm1-44065289
2025-09-29 01:50:05,255 - INFO - Deleting VM ctest-vn1-vm1-44065289
2025-09-29 01:50:05,478 - DEBUG - Response for delete_port : ()
2025-09-29 01:50:05,643 - DEBUG - Response for delete_port : ()
2025-09-29 01:50:05,643 - INFO - Deleting VN ctest-vn1-92342382
2025-09-29 01:50:05,797 - DEBUG - Response for deleting network ()
2025-09-29 01:50:06,052 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 01:50:06,052 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-29 01:50:06,052 - INFO - --------------------------------------------------------------------------------
2025-09-29 01:50:06,711 - INFO - Deleted project: ctest-TestPorts-94468020, ID : 5c6fdbd3-fdc7-49a5-a884-772429938e30