2025-07-31 13:54:35,563 - INFO - Domain Default found not creating
2025-07-31 13:54:35,712 - INFO - Project ctest-TestPorts-31465220 not found, creating it
2025-07-31 13:54:36,164 - INFO - Created Project:ctest-TestPorts-31465220, ID : e2c77389-6097-4536-8663-419b77360498
2025-07-31 13:54:37,576 - INFO - ================================================================================
2025-07-31 13:54:37,576 - INFO - STARTING TEST : test_ports_bindings
2025-07-31 13:54:37,576 - 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-31 13:54:37,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with
2025-07-31 13:54:37,833 - INFO - Initial checks done. Running the testcase now
2025-07-31 13:54:37,833 - INFO -
2025-07-31 13:54:38,374 - DEBUG - Response for create_network : {'network': {'id': '43cb77a7-5d58-44c7-af82-aca09f5b8694', 'name': 'ctest-vn-21927961', 'tenant_id': 'e2c77389609745368663419b77360498', 'project_id': 'e2c77389609745368663419b77360498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31465220', 'ctest-vn-21927961'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 13:54:38,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6248452-2ec3-4731-a720-b90514227df7', 'name': '', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '43cb77a7-5d58-44c7-af82-aca09f5b8694', 'ip_version': 4, 'cidr': '88.180.197.0/26', 'allocation_pools': [{'start': '88.180.197.2', 'end': '88.180.197.62'}], 'gateway_ip': '88.180.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.180.197.2', 'tags': [], 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:38,619 - INFO - Created VN ctest-vn-21927961
2025-07-31 13:54:38,676 - DEBUG - VN ctest-vn-21927961 UUID is 43cb77a7-5d58-44c7-af82-aca09f5b8694
2025-07-31 13:54:38,779 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31465220', 'ctest-vmi-48065907']}
2025-07-31 13:54:39,080 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48065907', 'id': 'b74f0f3c-4350-49c2-8b05-5d454d0dc118', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '43cb77a7-5d58-44c7-af82-aca09f5b8694', 'mac_address': '02:b7:4f:0f:3c:43', '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': '88.180.197.3', 'subnet_id': 'd6248452-2ec3-4731-a720-b90514227df7'}], 'security_groups': ['05e68525-6662-4c5a-8baa-90766221278a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:39,080 - DEBUG - Created port b74f0f3c-4350-49c2-8b05-5d454d0dc118
2025-07-31 13:54:39,192 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b74f0f3c-4350-49c2-8b05-5d454d0dc118
2025-07-31 13:54:39,484 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b74f0f3c-4350-49c2-8b05-5d454d0dc118
2025-07-31 13:54:39,516 - INFO - VMI b74f0f3c-4350-49c2-8b05-5d454d0dc118 verification in API Server passed
2025-07-31 13:54:39,613 - DEBUG - Response for delete_port : ()
2025-07-31 13:54:39,613 - INFO - Deleted port b74f0f3c-4350-49c2-8b05-5d454d0dc118
2025-07-31 13:54:39,613 - INFO - Deleting VN ctest-vn-21927961
2025-07-31 13:54:39,726 - DEBUG - Response for deleting network ()
2025-07-31 13:54:39,986 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 13:54:39,986 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-31 13:54:39,986 - INFO - --------------------------------------------------------------------------------
2025-07-31 13:54:39,990 - INFO - ================================================================================
2025-07-31 13:54:39,990 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-31 13:54:39,991 - 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-31 13:54:40,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with
2025-07-31 13:54:40,278 - INFO - Initial checks done. Running the testcase now
2025-07-31 13:54:40,278 - INFO -
2025-07-31 13:54:40,467 - DEBUG - Response for create_network : {'network': {'id': '444d40e4-5414-413c-9175-4a1ea75480ba', 'name': 'ctest-vn1-63421095', 'tenant_id': 'e2c77389609745368663419b77360498', 'project_id': 'e2c77389609745368663419b77360498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31465220', 'ctest-vn1-63421095'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 13:54:40,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '7066b95d-b0ba-4798-a624-3084207eb0b4', 'name': '', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '444d40e4-5414-413c-9175-4a1ea75480ba', 'ip_version': 4, 'cidr': '175.193.217.64/26', 'allocation_pools': [{'start': '175.193.217.66', 'end': '175.193.217.126'}], 'gateway_ip': '175.193.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.193.217.66', 'tags': [], 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:40,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '60cbc977-ec86-43b6-8d92-219b6bfc5ef7', 'name': '', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '444d40e4-5414-413c-9175-4a1ea75480ba', 'ip_version': 4, 'cidr': '188.218.29.64/26', 'allocation_pools': [{'start': '188.218.29.66', 'end': '188.218.29.126'}], 'gateway_ip': '188.218.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.218.29.66', 'tags': [], 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:40,911 - INFO - Created VN ctest-vn1-63421095
2025-07-31 13:54:40,963 - DEBUG - VN ctest-vn1-63421095 UUID is 444d40e4-5414-413c-9175-4a1ea75480ba
2025-07-31 13:54:41,311 - DEBUG - Response for create_port : {'port': {'name': '16ac15a6-16d5-411e-b242-86ba70b1e575', 'id': '16ac15a6-16d5-411e-b242-86ba70b1e575', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '444d40e4-5414-413c-9175-4a1ea75480ba', 'mac_address': '02:16:ac:15:a6:16', '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': '175.193.217.69', 'subnet_id': '7066b95d-b0ba-4798-a624-3084207eb0b4'}], 'security_groups': ['05e68525-6662-4c5a-8baa-90766221278a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:41,537 - DEBUG - Response for create_port : {'port': {'name': '9480746c-31d3-4c87-8a85-a1a24eadc3c4', 'id': '9480746c-31d3-4c87-8a85-a1a24eadc3c4', 'tenant_id': 'e2c77389609745368663419b77360498', 'network_id': '444d40e4-5414-413c-9175-4a1ea75480ba', 'mac_address': '02:94:80:74:6c:31', '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': '188.218.29.69', 'subnet_id': '60cbc977-ec86-43b6-8d92-219b6bfc5ef7'}], 'security_groups': ['05e68525-6662-4c5a-8baa-90766221278a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2c77389609745368663419b77360498'}}
2025-07-31 13:54:41,598 - DEBUG - Services list from nova: [, , ]
2025-07-31 13:54:41,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1)
2025-07-31 13:54:42,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1)
2025-07-31 13:54:42,361 - INFO - Waiting for VM ctest-vn1-vm1-95485093 to be up..
2025-07-31 13:54:42,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-31 13:54:47,479 - DEBUG - VM is in ACTIVE state now
2025-07-31 13:54:47,480 - INFO - VM name : ctest-vn1-vm1-95485093
2025-07-31 13:54:47,561 - DEBUG - VM ctest-vn1-vm1-95485093 ID is e0971bb0-bc2e-4899-a333-14c9de51844a
2025-07-31 13:54:47,581 - DEBUG - VM ctest-vn1-vm1-95485093 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1
2025-07-31 13:54:47,656 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e0971bb0-bc2e-4899-a333-14c9de51844a
2025-07-31 13:54:47,670 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/16ac15a6-16d5-411e-b242-86ba70b1e575
2025-07-31 13:54:50,917 - 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-31 13:54:50,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95485093 failed!
2025-07-31 13:54:50,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31465220:ctest-vn1-63421095 is 175.193.217.65 and allocation pool is NOT set
2025-07-31 13:54:50,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31465220:ctest-vn1-63421095 is 188.218.29.65 and allocation pool is NOT set
2025-07-31 13:54:53,032 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.125/5.794/10.463/4.669 ms')
2025-07-31 13:54:53,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95485093 passed
2025-07-31 13:54:53,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:54:53,191 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95485093, IP 175.193.217.69, Port 22
2025-07-31 13:54:53,258 - 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-31 13:54:53,334 - DEBUG - VM ctest-vn1-vm1-95485093 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 13:54:58,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:54:58,335 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95485093, IP 175.193.217.69, Port 22
2025-07-31 13:54:58,501 - DEBUG - VM ctest-vn1-vm1-95485093 is ready for SSH connections
2025-07-31 13:54:58,501 - INFO - Waiting for VM ctest-vn1-vm2-11361580 to be up..
2025-07-31 13:54:58,575 - DEBUG - VM is in ACTIVE state now
2025-07-31 13:54:58,575 - INFO - VM name : ctest-vn1-vm2-11361580
2025-07-31 13:54:58,653 - DEBUG - VM ctest-vn1-vm2-11361580 ID is 3df6a70f-7f95-409b-acb4-555b48c4af87
2025-07-31 13:54:58,653 - DEBUG - VM ctest-vn1-vm2-11361580 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1
2025-07-31 13:54:58,746 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3df6a70f-7f95-409b-acb4-555b48c4af87
2025-07-31 13:54:58,759 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9480746c-31d3-4c87-8a85-a1a24eadc3c4
2025-07-31 13:55:00,004 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.635/2.806/1.171 ms')
2025-07-31 13:55:00,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11361580 passed
2025-07-31 13:55:00,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:55:00,160 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11361580, IP 188.218.29.69, Port 22
2025-07-31 13:55:00,315 - DEBUG - VM ctest-vn1-vm2-11361580 is ready for SSH connections
2025-07-31 13:55:00,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:55:00,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:55:00,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 13:55:00,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.193.217.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-07-31 13:55:00,315 - DEBUG - ping -s 56 -c 3 -W 1 175.193.217.69
2025-07-31 13:55:02,966 - DEBUG - PING 175.193.217.69 (175.193.217.69): 56 data bytes
64 bytes from 175.193.217.69: seq=0 ttl=63 time=4.674 ms
64 bytes from 175.193.217.69: seq=1 ttl=63 time=0.902 ms
64 bytes from 175.193.217.69: seq=2 ttl=63 time=1.240 ms
--- 175.193.217.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.902/2.272/4.674 ms
2025-07-31 13:55:02,967 - INFO - Ping to IP 175.193.217.69 from VM ctest-vn1-vm2-11361580 passed
2025-07-31 13:55:02,967 - INFO - Detaching port 9480746c-31d3-4c87-8a85-a1a24eadc3c4 from VM ctest-vn1-vm2-11361580
2025-07-31 13:55:03,017 - INFO - Deleting VM ctest-vn1-vm2-11361580
2025-07-31 13:55:03,097 - INFO - Detaching port 16ac15a6-16d5-411e-b242-86ba70b1e575 from VM ctest-vn1-vm1-95485093
2025-07-31 13:55:03,141 - INFO - Deleting VM ctest-vn1-vm1-95485093
2025-07-31 13:55:03,406 - DEBUG - Response for delete_port : ()
2025-07-31 13:55:03,605 - DEBUG - Response for delete_port : ()
2025-07-31 13:55:03,605 - INFO - Deleting VN ctest-vn1-63421095
2025-07-31 13:55:03,761 - DEBUG - Response for deleting network ()
2025-07-31 13:55:04,019 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 13:55:04,019 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-07-31 13:55:04,019 - INFO - --------------------------------------------------------------------------------
2025-07-31 13:55:04,715 - INFO - Deleted project: ctest-TestPorts-31465220, ID : e2c77389-6097-4536-8663-419b77360498