2025-08-12 14:42:03,722 - INFO - Domain Default found not creating
2025-08-12 14:42:03,842 - INFO - Project ctest-TestPorts-90315229 not found, creating it
2025-08-12 14:42:04,248 - INFO - Created Project:ctest-TestPorts-90315229, ID : 87641ef7-caef-44e4-b0ad-68503599a939
2025-08-12 14:42:05,600 - INFO - ================================================================================
2025-08-12 14:42:05,600 - INFO - STARTING TEST : test_ports_bindings
2025-08-12 14:42:05,600 - 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-12 14:42:05,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-12 14:42:05,856 - INFO - Initial checks done. Running the testcase now
2025-08-12 14:42:05,856 - INFO -
2025-08-12 14:42:06,356 - DEBUG - Response for create_network : {'network': {'id': '7905becc-cfbd-4115-9125-35084e87016f', 'name': 'ctest-vn-98237934', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'project_id': '87641ef7caef44e4b0ad68503599a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90315229', 'ctest-vn-98237934'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 14:42:06,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '8db1d77a-f3bb-496b-a858-7bc375d1a9b4', 'name': '', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': '7905becc-cfbd-4115-9125-35084e87016f', 'ip_version': 4, 'cidr': '110.235.74.192/26', 'allocation_pools': [{'start': '110.235.74.194', 'end': '110.235.74.254'}], 'gateway_ip': '110.235.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.235.74.194', 'tags': [], 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:06,549 - INFO - Created VN ctest-vn-98237934
2025-08-12 14:42:06,598 - DEBUG - VN ctest-vn-98237934 UUID is 7905becc-cfbd-4115-9125-35084e87016f
2025-08-12 14:42:06,693 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90315229', 'ctest-vmi-61679598']}
2025-08-12 14:42:06,953 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61679598', 'id': 'f5fd2de6-9e0a-428f-9d12-ad5afba4e92d', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': '7905becc-cfbd-4115-9125-35084e87016f', 'mac_address': '02:f5:fd:2d:e6:9e', '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': '110.235.74.195', 'subnet_id': '8db1d77a-f3bb-496b-a858-7bc375d1a9b4'}], 'security_groups': ['665da53d-9022-43c0-bc9c-1a8e1f9db9a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:06,953 - DEBUG - Created port f5fd2de6-9e0a-428f-9d12-ad5afba4e92d
2025-08-12 14:42:07,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5fd2de6-9e0a-428f-9d12-ad5afba4e92d
2025-08-12 14:42:07,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5fd2de6-9e0a-428f-9d12-ad5afba4e92d
2025-08-12 14:42:07,373 - INFO - VMI f5fd2de6-9e0a-428f-9d12-ad5afba4e92d verification in API Server passed
2025-08-12 14:42:07,452 - DEBUG - Response for delete_port : ()
2025-08-12 14:42:07,452 - INFO - Deleted port f5fd2de6-9e0a-428f-9d12-ad5afba4e92d
2025-08-12 14:42:07,452 - INFO - Deleting VN ctest-vn-98237934
2025-08-12 14:42:07,543 - DEBUG - Response for deleting network ()
2025-08-12 14:42:07,799 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:42:07,799 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 14:42:07,799 - INFO - --------------------------------------------------------------------------------
2025-08-12 14:42:07,802 - INFO - ================================================================================
2025-08-12 14:42:07,802 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-12 14:42:07,802 - 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-12 14:42:08,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-12 14:42:08,091 - INFO - Initial checks done. Running the testcase now
2025-08-12 14:42:08,091 - INFO -
2025-08-12 14:42:08,261 - DEBUG - Response for create_network : {'network': {'id': 'a6dfafc2-c4d1-45a4-9ad2-614283ecac72', 'name': 'ctest-vn1-16421510', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'project_id': '87641ef7caef44e4b0ad68503599a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90315229', 'ctest-vn1-16421510'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 14:42:08,454 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e64399f9-490c-4f1b-974a-497239dc2d5f', 'name': '', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': 'a6dfafc2-c4d1-45a4-9ad2-614283ecac72', 'ip_version': 4, 'cidr': '157.108.23.192/26', 'allocation_pools': [{'start': '157.108.23.194', 'end': '157.108.23.254'}], 'gateway_ip': '157.108.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.108.23.194', 'tags': [], 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:08,614 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c68f561f-517c-4dae-bb97-1e4b197d1454', 'name': '', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': 'a6dfafc2-c4d1-45a4-9ad2-614283ecac72', 'ip_version': 4, 'cidr': '165.44.145.0/26', 'allocation_pools': [{'start': '165.44.145.2', 'end': '165.44.145.62'}], 'gateway_ip': '165.44.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.44.145.2', 'tags': [], 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:08,630 - INFO - Created VN ctest-vn1-16421510
2025-08-12 14:42:08,682 - DEBUG - VN ctest-vn1-16421510 UUID is a6dfafc2-c4d1-45a4-9ad2-614283ecac72
2025-08-12 14:42:08,959 - DEBUG - Response for create_port : {'port': {'name': '6befd0ba-f756-4453-a6a5-ba0b68f651fd', 'id': '6befd0ba-f756-4453-a6a5-ba0b68f651fd', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': 'a6dfafc2-c4d1-45a4-9ad2-614283ecac72', 'mac_address': '02:6b:ef:d0:ba:f7', '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': '157.108.23.197', 'subnet_id': 'e64399f9-490c-4f1b-974a-497239dc2d5f'}], 'security_groups': ['665da53d-9022-43c0-bc9c-1a8e1f9db9a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:09,110 - DEBUG - Response for create_port : {'port': {'name': '5ae734dc-dc49-472a-8134-d16b731edd14', 'id': '5ae734dc-dc49-472a-8134-d16b731edd14', 'tenant_id': '87641ef7caef44e4b0ad68503599a939', 'network_id': 'a6dfafc2-c4d1-45a4-9ad2-614283ecac72', 'mac_address': '02:5a:e7:34:dc:dc', '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': '165.44.145.5', 'subnet_id': 'c68f561f-517c-4dae-bb97-1e4b197d1454'}], 'security_groups': ['665da53d-9022-43c0-bc9c-1a8e1f9db9a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '87641ef7caef44e4b0ad68503599a939'}}
2025-08-12 14:42:09,156 - DEBUG - Services list from nova: [, , ]
2025-08-12 14:42:09,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1)
2025-08-12 14:42:09,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1)
2025-08-12 14:42:09,830 - INFO - Waiting for VM ctest-vn1-vm1-72097801 to be up..
2025-08-12 14:42:09,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 14:42:14,925 - DEBUG - VM is in ACTIVE state now
2025-08-12 14:42:14,925 - INFO - VM name : ctest-vn1-vm1-72097801
2025-08-12 14:42:14,992 - DEBUG - VM ctest-vn1-vm1-72097801 ID is 8204d2cb-c7b5-4412-bb20-055b7d5cebfc
2025-08-12 14:42:15,015 - DEBUG - VM ctest-vn1-vm1-72097801 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1
2025-08-12 14:42:15,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8204d2cb-c7b5-4412-bb20-055b7d5cebfc
2025-08-12 14:42:15,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6befd0ba-f756-4453-a6a5-ba0b68f651fd
2025-08-12 14:42:18,351 - 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 1032ms')
2025-08-12 14:42:18,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72097801 failed!
2025-08-12 14:42:18,407 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90315229:ctest-vn1-16421510 is 157.108.23.193 and allocation pool is NOT set
2025-08-12 14:42:18,407 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90315229:ctest-vn1-16421510 is 165.44.145.1 and allocation pool is NOT set
2025-08-12 14:42:20,470 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.323/2.609/3.895/1.286 ms')
2025-08-12 14:42:20,470 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72097801 passed
2025-08-12 14:42:20,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:42:20,615 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72097801, IP 157.108.23.197, Port 22
2025-08-12 14:42:20,769 - DEBUG - VM ctest-vn1-vm1-72097801 is ready for SSH connections
2025-08-12 14:42:20,770 - INFO - Waiting for VM ctest-vn1-vm2-11725227 to be up..
2025-08-12 14:42:20,832 - DEBUG - VM is in ACTIVE state now
2025-08-12 14:42:20,832 - INFO - VM name : ctest-vn1-vm2-11725227
2025-08-12 14:42:20,889 - DEBUG - VM ctest-vn1-vm2-11725227 ID is 42e26568-11e4-47d6-837e-3840a60e4120
2025-08-12 14:42:20,889 - DEBUG - VM ctest-vn1-vm2-11725227 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1
2025-08-12 14:42:20,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42e26568-11e4-47d6-837e-3840a60e4120
2025-08-12 14:42:20,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ae734dc-dc49-472a-8134-d16b731edd14
2025-08-12 14:42:22,198 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.296 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.296/1.453/2.610/1.157 ms')
2025-08-12 14:42:22,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11725227 passed
2025-08-12 14:42:22,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:42:22,343 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11725227, IP 165.44.145.5, Port 22
2025-08-12 14:42:22,494 - DEBUG - VM ctest-vn1-vm2-11725227 is ready for SSH connections
2025-08-12 14:42:22,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:42:22,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:42:22,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:42:22,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.108.23.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-12 14:42:22,494 - DEBUG - ping -s 56 -c 3 -W 1 157.108.23.197
2025-08-12 14:42:25,362 - DEBUG - PING 157.108.23.197 (157.108.23.197): 56 data bytes
64 bytes from 157.108.23.197: seq=0 ttl=63 time=3.053 ms
64 bytes from 157.108.23.197: seq=1 ttl=63 time=0.624 ms
64 bytes from 157.108.23.197: seq=2 ttl=63 time=0.611 ms
--- 157.108.23.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.611/1.429/3.053 ms
2025-08-12 14:42:25,362 - INFO - Ping to IP 157.108.23.197 from VM ctest-vn1-vm2-11725227 passed
2025-08-12 14:42:25,362 - INFO - Detaching port 5ae734dc-dc49-472a-8134-d16b731edd14 from VM ctest-vn1-vm2-11725227
2025-08-12 14:42:25,404 - INFO - Deleting VM ctest-vn1-vm2-11725227
2025-08-12 14:42:25,458 - INFO - Detaching port 6befd0ba-f756-4453-a6a5-ba0b68f651fd from VM ctest-vn1-vm1-72097801
2025-08-12 14:42:25,488 - INFO - Deleting VM ctest-vn1-vm1-72097801
2025-08-12 14:42:25,710 - DEBUG - Response for delete_port : ()
2025-08-12 14:42:25,872 - DEBUG - Response for delete_port : ()
2025-08-12 14:42:25,872 - INFO - Deleting VN ctest-vn1-16421510
2025-08-12 14:42:26,024 - DEBUG - Response for deleting network ()
2025-08-12 14:42:26,279 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:42:26,279 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-12 14:42:26,279 - INFO - --------------------------------------------------------------------------------
2025-08-12 14:42:26,974 - INFO - Deleted project: ctest-TestPorts-90315229, ID : 87641ef7-caef-44e4-b0ad-68503599a939