2025-07-24 02:22:39,587 - INFO - Domain Default found not creating
2025-07-24 02:22:39,752 - INFO - Project ctest-TestPorts-03694677 not found, creating it
2025-07-24 02:22:40,233 - INFO - Created Project:ctest-TestPorts-03694677, ID : 7a52eec5-ad86-435b-ae98-dc2d43e4a7c7
2025-07-24 02:22:41,698 - INFO - ================================================================================
2025-07-24 02:22:41,698 - INFO - STARTING TEST : test_ports_bindings
2025-07-24 02:22:41,698 - 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-07-24 02:22:41,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-07-24 02:22:41,955 - INFO - Initial checks done. Running the testcase now
2025-07-24 02:22:41,955 - INFO -
2025-07-24 02:22:42,515 - DEBUG - Response for create_network : {'network': {'id': '51ecb4b5-06bb-4b0c-a2b3-447692954a57', 'name': 'ctest-vn-47131947', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03694677', 'ctest-vn-47131947'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 02:22:42,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f968e816-9f73-47cb-8752-c0362bf2f6d6', 'name': '', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '51ecb4b5-06bb-4b0c-a2b3-447692954a57', 'ip_version': 4, 'cidr': '5.149.73.64/26', 'allocation_pools': [{'start': '5.149.73.66', 'end': '5.149.73.126'}], 'gateway_ip': '5.149.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.149.73.66', 'tags': [], 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:42,714 - INFO - Created VN ctest-vn-47131947
2025-07-24 02:22:42,769 - DEBUG - VN ctest-vn-47131947 UUID is 51ecb4b5-06bb-4b0c-a2b3-447692954a57
2025-07-24 02:22:42,875 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03694677', 'ctest-vmi-62588011']}
2025-07-24 02:22:43,131 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62588011', 'id': '72257a29-c98b-4c13-af87-ce2eb13d2880', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '51ecb4b5-06bb-4b0c-a2b3-447692954a57', 'mac_address': '02:72:25:7a:29:c9', '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': '5.149.73.67', 'subnet_id': 'f968e816-9f73-47cb-8752-c0362bf2f6d6'}], 'security_groups': ['dc8d057f-6921-4ef8-9965-3240d678b9a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:43,131 - DEBUG - Created port 72257a29-c98b-4c13-af87-ce2eb13d2880
2025-07-24 02:22:43,241 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/72257a29-c98b-4c13-af87-ce2eb13d2880
2025-07-24 02:22:43,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/72257a29-c98b-4c13-af87-ce2eb13d2880
2025-07-24 02:22:43,580 - INFO - VMI 72257a29-c98b-4c13-af87-ce2eb13d2880 verification in API Server passed
2025-07-24 02:22:43,673 - DEBUG - Response for delete_port : ()
2025-07-24 02:22:43,674 - INFO - Deleted port 72257a29-c98b-4c13-af87-ce2eb13d2880
2025-07-24 02:22:43,674 - INFO - Deleting VN ctest-vn-47131947
2025-07-24 02:22:43,793 - DEBUG - Response for deleting network ()
2025-07-24 02:22:44,057 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:22:44,057 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-07-24 02:22:44,057 - INFO - --------------------------------------------------------------------------------
2025-07-24 02:22:44,060 - INFO - ================================================================================
2025-07-24 02:22:44,060 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-24 02:22:44,061 - 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-07-24 02:22:44,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-07-24 02:22:44,343 - INFO - Initial checks done. Running the testcase now
2025-07-24 02:22:44,343 - INFO -
2025-07-24 02:22:44,521 - DEBUG - Response for create_network : {'network': {'id': '8f7fc805-0670-4586-a9ef-87356feea6b1', 'name': 'ctest-vn1-59494194', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03694677', 'ctest-vn1-59494194'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 02:22:44,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '1689c723-3a57-4c6d-b032-5824bf8dc0ba', 'name': '', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '8f7fc805-0670-4586-a9ef-87356feea6b1', 'ip_version': 4, 'cidr': '186.106.83.64/26', 'allocation_pools': [{'start': '186.106.83.66', 'end': '186.106.83.126'}], 'gateway_ip': '186.106.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.106.83.66', 'tags': [], 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:44,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '15805130-eb8c-4aa9-ad46-2018c380346c', 'name': '', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '8f7fc805-0670-4586-a9ef-87356feea6b1', 'ip_version': 4, 'cidr': '53.28.206.192/26', 'allocation_pools': [{'start': '53.28.206.194', 'end': '53.28.206.254'}], 'gateway_ip': '53.28.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.28.206.194', 'tags': [], 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:44,985 - INFO - Created VN ctest-vn1-59494194
2025-07-24 02:22:45,037 - DEBUG - VN ctest-vn1-59494194 UUID is 8f7fc805-0670-4586-a9ef-87356feea6b1
2025-07-24 02:22:45,366 - DEBUG - Response for create_port : {'port': {'name': '8c98d1bd-8dc0-42fb-ad6a-45c7480a5565', 'id': '8c98d1bd-8dc0-42fb-ad6a-45c7480a5565', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '8f7fc805-0670-4586-a9ef-87356feea6b1', 'mac_address': '02:8c:98:d1:bd:8d', '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': '186.106.83.69', 'subnet_id': '1689c723-3a57-4c6d-b032-5824bf8dc0ba'}], 'security_groups': ['dc8d057f-6921-4ef8-9965-3240d678b9a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:45,555 - DEBUG - Response for create_port : {'port': {'name': 'cc0884ba-bc33-4b8b-99b5-c27830924bda', 'id': 'cc0884ba-bc33-4b8b-99b5-c27830924bda', 'tenant_id': '7a52eec5ad86435bae98dc2d43e4a7c7', 'network_id': '8f7fc805-0670-4586-a9ef-87356feea6b1', 'mac_address': '02:cc:08:84:ba:bc', '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': '53.28.206.197', 'subnet_id': '15805130-eb8c-4aa9-ad46-2018c380346c'}], 'security_groups': ['dc8d057f-6921-4ef8-9965-3240d678b9a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a52eec5ad86435bae98dc2d43e4a7c7'}}
2025-07-24 02:22:45,607 - DEBUG - Services list from nova: [, , ]
2025-07-24 02:22:45,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1)
2025-07-24 02:22:46,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1)
2025-07-24 02:22:46,347 - INFO - Waiting for VM ctest-vn1-vm1-16800225 to be up..
2025-07-24 02:22:46,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-24 02:22:51,468 - DEBUG - VM is in ACTIVE state now
2025-07-24 02:22:51,468 - INFO - VM name : ctest-vn1-vm1-16800225
2025-07-24 02:22:51,543 - DEBUG - VM ctest-vn1-vm1-16800225 ID is 014b7cf7-ce6d-41ef-bef6-7da461d9578b
2025-07-24 02:22:51,564 - DEBUG - VM ctest-vn1-vm1-16800225 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1
2025-07-24 02:22:51,653 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/014b7cf7-ce6d-41ef-bef6-7da461d9578b
2025-07-24 02:22:51,662 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8c98d1bd-8dc0-42fb-ad6a-45c7480a5565
2025-07-24 02:22:54,912 - 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 1011ms')
2025-07-24 02:22:54,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16800225 failed!
2025-07-24 02:22:54,969 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03694677:ctest-vn1-59494194 is 186.106.83.65 and allocation pool is NOT set
2025-07-24 02:22:54,969 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03694677:ctest-vn1-59494194 is 53.28.206.193 and allocation pool is NOT set
2025-07-24 02:22:57,034 - 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=17.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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 = 2.875/9.957/17.040/7.082 ms')
2025-07-24 02:22:57,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16800225 passed
2025-07-24 02:22:57,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:22:57,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16800225, IP 186.106.83.69, Port 22
2025-07-24 02:22:57,262 - 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-07-24 02:22:57,352 - DEBUG - VM ctest-vn1-vm1-16800225 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-24 02:23:02,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:23:02,352 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16800225, IP 186.106.83.69, Port 22
2025-07-24 02:23:02,508 - DEBUG - VM ctest-vn1-vm1-16800225 is ready for SSH connections
2025-07-24 02:23:02,508 - INFO - Waiting for VM ctest-vn1-vm2-05123484 to be up..
2025-07-24 02:23:02,589 - DEBUG - VM is in ACTIVE state now
2025-07-24 02:23:02,589 - INFO - VM name : ctest-vn1-vm2-05123484
2025-07-24 02:23:02,662 - DEBUG - VM ctest-vn1-vm2-05123484 ID is 4cae2b25-54f4-4431-be88-744ae87634f3
2025-07-24 02:23:02,662 - DEBUG - VM ctest-vn1-vm2-05123484 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1
2025-07-24 02:23:02,734 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4cae2b25-54f4-4431-be88-744ae87634f3
2025-07-24 02:23:02,743 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cc0884ba-bc33-4b8b-99b5-c27830924bda
2025-07-24 02:23:03,987 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.700/2.964/1.264 ms')
2025-07-24 02:23:03,987 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05123484 passed
2025-07-24 02:23:04,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:23:04,145 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05123484, IP 53.28.206.197, Port 22
2025-07-24 02:23:04,301 - DEBUG - VM ctest-vn1-vm2-05123484 is ready for SSH connections
2025-07-24 02:23:04,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:23:04,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:23:04,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 02:23:04,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.106.83.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-07-24 02:23:04,301 - DEBUG - ping -s 56 -c 3 -W 1 186.106.83.69
2025-07-24 02:23:06,975 - DEBUG - PING 186.106.83.69 (186.106.83.69): 56 data bytes
64 bytes from 186.106.83.69: seq=0 ttl=63 time=4.378 ms
64 bytes from 186.106.83.69: seq=1 ttl=63 time=0.831 ms
64 bytes from 186.106.83.69: seq=2 ttl=63 time=1.721 ms
--- 186.106.83.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.831/2.310/4.378 ms
2025-07-24 02:23:06,976 - INFO - Ping to IP 186.106.83.69 from VM ctest-vn1-vm2-05123484 passed
2025-07-24 02:23:06,976 - INFO - Detaching port cc0884ba-bc33-4b8b-99b5-c27830924bda from VM ctest-vn1-vm2-05123484
2025-07-24 02:23:07,032 - INFO - Deleting VM ctest-vn1-vm2-05123484
2025-07-24 02:23:07,105 - INFO - Detaching port 8c98d1bd-8dc0-42fb-ad6a-45c7480a5565 from VM ctest-vn1-vm1-16800225
2025-07-24 02:23:07,144 - INFO - Deleting VM ctest-vn1-vm1-16800225
2025-07-24 02:23:07,403 - DEBUG - Response for delete_port : ()
2025-07-24 02:23:07,576 - DEBUG - Response for delete_port : ()
2025-07-24 02:23:07,576 - INFO - Deleting VN ctest-vn1-59494194
2025-07-24 02:23:07,782 - DEBUG - Response for deleting network ()
2025-07-24 02:23:08,039 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:23:08,039 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-07-24 02:23:08,039 - INFO - --------------------------------------------------------------------------------
2025-07-24 02:23:08,707 - INFO - Deleted project: ctest-TestPorts-03694677, ID : 7a52eec5-ad86-435b-ae98-dc2d43e4a7c7