2025-10-21 22:14:09,571 - INFO - Domain Default found not creating
2025-10-21 22:14:09,702 - INFO - Project ctest-TestPorts-45762270 not found, creating it
2025-10-21 22:14:10,123 - INFO - Created Project:ctest-TestPorts-45762270, ID : b144b642-9c63-484e-8d8f-98d7d9941628
2025-10-21 22:14:11,492 - INFO - ================================================================================
2025-10-21 22:14:11,492 - INFO - STARTING TEST : test_ports_bindings
2025-10-21 22:14:11,492 - 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-10-21 22:14:11,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-21 22:14:11,745 - INFO - Initial checks done. Running the testcase now
2025-10-21 22:14:11,745 - INFO -
2025-10-21 22:14:12,537 - DEBUG - Response for create_network : {'network': {'id': '028f3b49-7d64-406d-947c-3354f50ec9b9', 'name': 'ctest-vn-27996990', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'project_id': 'b144b6429c63484e8d8f98d7d9941628', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45762270', 'ctest-vn-27996990'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 22:14:12,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b57590-6117-4cdf-9011-2890bf3bf498', 'name': '', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': '028f3b49-7d64-406d-947c-3354f50ec9b9', 'ip_version': 4, 'cidr': '74.103.28.128/26', 'allocation_pools': [{'start': '74.103.28.130', 'end': '74.103.28.190'}], 'gateway_ip': '74.103.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.103.28.130', 'tags': [], 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:12,701 - INFO - Created VN ctest-vn-27996990
2025-10-21 22:14:12,756 - DEBUG - VN ctest-vn-27996990 UUID is 028f3b49-7d64-406d-947c-3354f50ec9b9
2025-10-21 22:14:12,861 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45762270', 'ctest-vmi-61098889']}
2025-10-21 22:14:13,141 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61098889', 'id': 'd11a77fc-ae81-4f4d-82b1-9434a3318587', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': '028f3b49-7d64-406d-947c-3354f50ec9b9', 'mac_address': '02:d1:1a:77:fc:ae', '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': '74.103.28.131', 'subnet_id': 'd6b57590-6117-4cdf-9011-2890bf3bf498'}], 'security_groups': ['88a618c3-11ae-4dd5-b2e0-72b98948af3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:13,141 - DEBUG - Created port d11a77fc-ae81-4f4d-82b1-9434a3318587
2025-10-21 22:14:13,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d11a77fc-ae81-4f4d-82b1-9434a3318587
2025-10-21 22:14:13,543 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d11a77fc-ae81-4f4d-82b1-9434a3318587
2025-10-21 22:14:13,571 - INFO - VMI d11a77fc-ae81-4f4d-82b1-9434a3318587 verification in API Server passed
2025-10-21 22:14:13,647 - DEBUG - Response for delete_port : ()
2025-10-21 22:14:13,647 - INFO - Deleted port d11a77fc-ae81-4f4d-82b1-9434a3318587
2025-10-21 22:14:13,648 - INFO - Deleting VN ctest-vn-27996990
2025-10-21 22:14:13,740 - DEBUG - Response for deleting network ()
2025-10-21 22:14:13,993 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 22:14:13,993 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 22:14:13,994 - INFO - --------------------------------------------------------------------------------
2025-10-21 22:14:13,996 - INFO - ================================================================================
2025-10-21 22:14:13,996 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-21 22:14:13,996 - 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-10-21 22:14:14,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-21 22:14:14,285 - INFO - Initial checks done. Running the testcase now
2025-10-21 22:14:14,285 - INFO -
2025-10-21 22:14:14,445 - DEBUG - Response for create_network : {'network': {'id': 'd1293dc5-e662-495f-800c-84b9078b6900', 'name': 'ctest-vn1-35528731', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'project_id': 'b144b6429c63484e8d8f98d7d9941628', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45762270', 'ctest-vn1-35528731'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 22:14:14,620 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd94a90db-6cea-4d78-8fd4-e821ad0e7da7', 'name': '', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': 'd1293dc5-e662-495f-800c-84b9078b6900', 'ip_version': 4, 'cidr': '8.249.65.0/26', 'allocation_pools': [{'start': '8.249.65.2', 'end': '8.249.65.62'}], 'gateway_ip': '8.249.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.249.65.2', 'tags': [], 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:14,805 - DEBUG - Response for create_subnet : {'subnet': {'id': '50cef510-ba2c-438e-8925-adbea8d4868d', 'name': '', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': 'd1293dc5-e662-495f-800c-84b9078b6900', 'ip_version': 4, 'cidr': '62.58.100.64/26', 'allocation_pools': [{'start': '62.58.100.66', 'end': '62.58.100.126'}], 'gateway_ip': '62.58.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.58.100.66', 'tags': [], 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:14,823 - INFO - Created VN ctest-vn1-35528731
2025-10-21 22:14:14,872 - DEBUG - VN ctest-vn1-35528731 UUID is d1293dc5-e662-495f-800c-84b9078b6900
2025-10-21 22:14:15,139 - DEBUG - Response for create_port : {'port': {'name': '1c9b888e-9911-47a5-83f3-d84187dd89ed', 'id': '1c9b888e-9911-47a5-83f3-d84187dd89ed', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': 'd1293dc5-e662-495f-800c-84b9078b6900', 'mac_address': '02:1c:9b:88:8e:99', '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': '8.249.65.5', 'subnet_id': 'd94a90db-6cea-4d78-8fd4-e821ad0e7da7'}], 'security_groups': ['88a618c3-11ae-4dd5-b2e0-72b98948af3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:15,299 - DEBUG - Response for create_port : {'port': {'name': '0b96fdba-ad99-414e-a159-f01d06fc404c', 'id': '0b96fdba-ad99-414e-a159-f01d06fc404c', 'tenant_id': 'b144b6429c63484e8d8f98d7d9941628', 'network_id': 'd1293dc5-e662-495f-800c-84b9078b6900', 'mac_address': '02:0b:96:fd:ba:ad', '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': '62.58.100.69', 'subnet_id': '50cef510-ba2c-438e-8925-adbea8d4868d'}], 'security_groups': ['88a618c3-11ae-4dd5-b2e0-72b98948af3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b144b6429c63484e8d8f98d7d9941628'}}
2025-10-21 22:14:15,352 - DEBUG - Services list from nova: [, , ]
2025-10-21 22:14:15,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1)
2025-10-21 22:14:16,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1)
2025-10-21 22:14:16,020 - INFO - Waiting for VM ctest-vn1-vm1-16027737 to be up..
2025-10-21 22:14:16,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 22:14:21,132 - DEBUG - VM is in ACTIVE state now
2025-10-21 22:14:21,132 - INFO - VM name : ctest-vn1-vm1-16027737
2025-10-21 22:14:21,202 - DEBUG - VM ctest-vn1-vm1-16027737 ID is 77202a54-e4ae-42c2-827b-2a62a13d77fc
2025-10-21 22:14:21,221 - DEBUG - VM ctest-vn1-vm1-16027737 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1
2025-10-21 22:14:21,288 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/77202a54-e4ae-42c2-827b-2a62a13d77fc
2025-10-21 22:14:21,295 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1c9b888e-9911-47a5-83f3-d84187dd89ed
2025-10-21 22:14:24,537 - 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-10-21 22:14:24,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16027737 failed!
2025-10-21 22:14:24,592 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45762270:ctest-vn1-35528731 is 8.249.65.1 and allocation pool is NOT set
2025-10-21 22:14:24,592 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45762270:ctest-vn1-35528731 is 62.58.100.65 and allocation pool is NOT set
2025-10-21 22:14:26,659 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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 = 2.663/2.663/2.664/0.000 ms')
2025-10-21 22:14:26,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16027737 passed
2025-10-21 22:14:26,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:26,812 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16027737, IP 8.249.65.5, Port 22
2025-10-21 22:14:26,868 - 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-10-21 22:14:26,944 - DEBUG - VM ctest-vn1-vm1-16027737 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-21 22:14:31,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:31,946 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16027737, IP 8.249.65.5, Port 22
2025-10-21 22:14:32,117 - DEBUG - VM ctest-vn1-vm1-16027737 is ready for SSH connections
2025-10-21 22:14:32,118 - INFO - Waiting for VM ctest-vn1-vm2-80170571 to be up..
2025-10-21 22:14:32,187 - DEBUG - VM is in ACTIVE state now
2025-10-21 22:14:32,188 - INFO - VM name : ctest-vn1-vm2-80170571
2025-10-21 22:14:32,251 - DEBUG - VM ctest-vn1-vm2-80170571 ID is a4738458-9558-44f3-8cf0-ff6097707815
2025-10-21 22:14:32,251 - DEBUG - VM ctest-vn1-vm2-80170571 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1
2025-10-21 22:14:32,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a4738458-9558-44f3-8cf0-ff6097707815
2025-10-21 22:14:32,320 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b96fdba-ad99-414e-a159-f01d06fc404c
2025-10-21 22:14:33,549 - 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=3.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.785/3.189/1.404 ms')
2025-10-21 22:14:33,549 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80170571 passed
2025-10-21 22:14:33,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:33,700 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80170571, IP 62.58.100.69, Port 22
2025-10-21 22:14:33,856 - DEBUG - VM ctest-vn1-vm2-80170571 is ready for SSH connections
2025-10-21 22:14:33,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:33,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:33,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 22:14:33,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.249.65.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-21 22:14:33,856 - DEBUG - ping -s 56 -c 3 -W 1 8.249.65.5
2025-10-21 22:14:36,815 - DEBUG - PING 8.249.65.5 (8.249.65.5): 56 data bytes
64 bytes from 8.249.65.5: seq=0 ttl=63 time=3.513 ms
64 bytes from 8.249.65.5: seq=1 ttl=63 time=0.880 ms
64 bytes from 8.249.65.5: seq=2 ttl=63 time=1.133 ms
--- 8.249.65.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.880/1.842/3.513 ms
2025-10-21 22:14:36,815 - INFO - Ping to IP 8.249.65.5 from VM ctest-vn1-vm2-80170571 passed
2025-10-21 22:14:36,815 - INFO - Detaching port 0b96fdba-ad99-414e-a159-f01d06fc404c from VM ctest-vn1-vm2-80170571
2025-10-21 22:14:36,863 - INFO - Deleting VM ctest-vn1-vm2-80170571
2025-10-21 22:14:36,925 - INFO - Detaching port 1c9b888e-9911-47a5-83f3-d84187dd89ed from VM ctest-vn1-vm1-16027737
2025-10-21 22:14:36,960 - INFO - Deleting VM ctest-vn1-vm1-16027737
2025-10-21 22:14:37,167 - DEBUG - Response for delete_port : ()
2025-10-21 22:14:37,314 - DEBUG - Response for delete_port : ()
2025-10-21 22:14:37,314 - INFO - Deleting VN ctest-vn1-35528731
2025-10-21 22:14:37,460 - DEBUG - Response for deleting network ()
2025-10-21 22:14:37,718 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 22:14:37,718 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-21 22:14:37,719 - INFO - --------------------------------------------------------------------------------
2025-10-21 22:14:38,378 - INFO - Deleted project: ctest-TestPorts-45762270, ID : b144b642-9c63-484e-8d8f-98d7d9941628