2025-11-01 07:40:32,942 - INFO - Domain Default found not creating 2025-11-01 07:40:33,218 - INFO - Project ctest-TestPorts-19234859 not found, creating it 2025-11-01 07:40:33,810 - INFO - Created Project:ctest-TestPorts-19234859, ID : daf11e23-f817-4055-b822-f5436ba47c50 2025-11-01 07:40:35,901 - INFO - ================================================================================ 2025-11-01 07:40:35,901 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 07:40:35,901 - 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-11-01 07:40:36,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 07:40:36,193 - INFO - Initial checks done. Running the testcase now 2025-11-01 07:40:36,193 - INFO - 2025-11-01 07:40:36,963 - DEBUG - Response for create_network : {'network': {'id': '29538eb1-0682-4fb9-97ae-5a8911125c76', 'name': 'ctest-vn-40238037', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'project_id': 'daf11e23f8174055b822f5436ba47c50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19234859', 'ctest-vn-40238037'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:40:37,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c613891a-3bb8-4b29-95c0-3ba5296daf0c', 'name': '', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '29538eb1-0682-4fb9-97ae-5a8911125c76', 'ip_version': 4, 'cidr': '142.61.156.128/26', 'allocation_pools': [{'start': '142.61.156.130', 'end': '142.61.156.190'}], 'gateway_ip': '142.61.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.61.156.130', 'tags': [], 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:37,164 - INFO - Created VN ctest-vn-40238037 2025-11-01 07:40:37,220 - DEBUG - VN ctest-vn-40238037 UUID is 29538eb1-0682-4fb9-97ae-5a8911125c76 2025-11-01 07:40:37,359 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19234859', 'ctest-vmi-45080434']} 2025-11-01 07:40:37,699 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45080434', 'id': '4a820edf-b75e-4ebe-b8dd-38f725f0c387', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '29538eb1-0682-4fb9-97ae-5a8911125c76', 'mac_address': '02:4a:82:0e:df:b7', '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': '142.61.156.131', 'subnet_id': 'c613891a-3bb8-4b29-95c0-3ba5296daf0c'}], 'security_groups': ['6b549325-db38-4e9a-81e5-a7a735fd0aef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:37,699 - DEBUG - Created port 4a820edf-b75e-4ebe-b8dd-38f725f0c387 2025-11-01 07:40:37,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a820edf-b75e-4ebe-b8dd-38f725f0c387 2025-11-01 07:40:38,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a820edf-b75e-4ebe-b8dd-38f725f0c387 2025-11-01 07:40:38,163 - INFO - VMI 4a820edf-b75e-4ebe-b8dd-38f725f0c387 verification in API Server passed 2025-11-01 07:40:38,340 - DEBUG - Response for delete_port : () 2025-11-01 07:40:38,340 - INFO - Deleted port 4a820edf-b75e-4ebe-b8dd-38f725f0c387 2025-11-01 07:40:38,340 - INFO - Deleting VN ctest-vn-40238037 2025-11-01 07:40:38,495 - DEBUG - Response for deleting network () 2025-11-01 07:40:38,791 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 07:40:38,791 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-01 07:40:38,791 - INFO - -------------------------------------------------------------------------------- 2025-11-01 07:40:38,802 - INFO - ================================================================================ 2025-11-01 07:40:38,802 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 07:40:38,803 - 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-11-01 07:40:39,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 07:40:39,157 - INFO - Initial checks done. Running the testcase now 2025-11-01 07:40:39,157 - INFO - 2025-11-01 07:40:39,410 - DEBUG - Response for create_network : {'network': {'id': '388b3b3c-8afb-4344-b6ad-afd534bf41bf', 'name': 'ctest-vn1-59973944', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'project_id': 'daf11e23f8174055b822f5436ba47c50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19234859', 'ctest-vn1-59973944'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:40:39,598 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8e56456-cffd-4f38-b929-e368d9130d34', 'name': '', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '388b3b3c-8afb-4344-b6ad-afd534bf41bf', 'ip_version': 4, 'cidr': '13.49.184.128/26', 'allocation_pools': [{'start': '13.49.184.130', 'end': '13.49.184.190'}], 'gateway_ip': '13.49.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.49.184.130', 'tags': [], 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:39,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3b52d59-fa9c-45fa-8221-b488a502a48f', 'name': '', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '388b3b3c-8afb-4344-b6ad-afd534bf41bf', 'ip_version': 4, 'cidr': '47.139.172.64/26', 'allocation_pools': [{'start': '47.139.172.66', 'end': '47.139.172.126'}], 'gateway_ip': '47.139.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.139.172.66', 'tags': [], 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:39,828 - INFO - Created VN ctest-vn1-59973944 2025-11-01 07:40:39,883 - DEBUG - VN ctest-vn1-59973944 UUID is 388b3b3c-8afb-4344-b6ad-afd534bf41bf 2025-11-01 07:40:40,260 - DEBUG - Response for create_port : {'port': {'name': '1f76729d-c365-44e4-8648-d4a533714c88', 'id': '1f76729d-c365-44e4-8648-d4a533714c88', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '388b3b3c-8afb-4344-b6ad-afd534bf41bf', 'mac_address': '02:1f:76:72:9d:c3', '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': '13.49.184.133', 'subnet_id': 'f8e56456-cffd-4f38-b929-e368d9130d34'}], 'security_groups': ['6b549325-db38-4e9a-81e5-a7a735fd0aef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:40,473 - DEBUG - Response for create_port : {'port': {'name': 'ac39cd57-7f79-4de6-a1f8-e7c9ae697914', 'id': 'ac39cd57-7f79-4de6-a1f8-e7c9ae697914', 'tenant_id': 'daf11e23f8174055b822f5436ba47c50', 'network_id': '388b3b3c-8afb-4344-b6ad-afd534bf41bf', 'mac_address': '02:ac:39:cd:57:7f', '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': '47.139.172.69', 'subnet_id': 'd3b52d59-fa9c-45fa-8221-b488a502a48f'}], 'security_groups': ['6b549325-db38-4e9a-81e5-a7a735fd0aef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'daf11e23f8174055b822f5436ba47c50'}} 2025-11-01 07:40:40,537 - DEBUG - Services list from nova: [, , ] 2025-11-01 07:40:40,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:40:41,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:40:41,470 - INFO - Waiting for VM ctest-vn1-vm1-62665798 to be up.. 2025-11-01 07:40:41,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 07:40:46,626 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:40:46,626 - INFO - VM name : ctest-vn1-vm1-62665798 2025-11-01 07:40:46,711 - DEBUG - VM ctest-vn1-vm1-62665798 ID is ca59053a-d711-4151-8d7e-b8c6f90eeba7 2025-11-01 07:40:46,729 - DEBUG - VM ctest-vn1-vm1-62665798 launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:40:46,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca59053a-d711-4151-8d7e-b8c6f90eeba7 2025-11-01 07:40:46,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1f76729d-c365-44e4-8648-d4a533714c88 2025-11-01 07:40:50,082 - 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 1007ms') 2025-11-01 07:40:50,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62665798 failed! 2025-11-01 07:40:50,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19234859:ctest-vn1-59973944 is 13.49.184.129 and allocation pool is NOT set 2025-11-01 07:40:50,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19234859:ctest-vn1-59973944 is 47.139.172.65 and allocation pool is NOT set 2025-11-01 07:40:54,242 - 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 1005ms') 2025-11-01 07:40:54,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62665798 failed! 2025-11-01 07:40:54,304 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19234859:ctest-vn1-59973944 is 13.49.184.129 and allocation pool is NOT set 2025-11-01 07:40:54,304 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19234859:ctest-vn1-59973944 is 47.139.172.65 and allocation pool is NOT set 2025-11-01 07:40:56,387 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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.542/3.692/4.843/1.150 ms') 2025-11-01 07:40:56,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62665798 passed 2025-11-01 07:40:56,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:40:56,556 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62665798, IP 13.49.184.133, Port 22 2025-11-01 07:40:56,626 - 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-11-01 07:40:56,740 - DEBUG - VM ctest-vn1-vm1-62665798 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 07:41:01,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:01,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62665798, IP 13.49.184.133, Port 22 2025-11-01 07:41:01,919 - DEBUG - VM ctest-vn1-vm1-62665798 is ready for SSH connections 2025-11-01 07:41:01,919 - INFO - Waiting for VM ctest-vn1-vm2-14415910 to be up.. 2025-11-01 07:41:02,067 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:41:02,067 - INFO - VM name : ctest-vn1-vm2-14415910 2025-11-01 07:41:02,215 - DEBUG - VM ctest-vn1-vm2-14415910 ID is c8df062c-1f76-4ab9-a42e-f63efcbe81d1 2025-11-01 07:41:02,215 - DEBUG - VM ctest-vn1-vm2-14415910 launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:41:02,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8df062c-1f76-4ab9-a42e-f63efcbe81d1 2025-11-01 07:41:02,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac39cd57-7f79-4de6-a1f8-e7c9ae697914 2025-11-01 07:41:03,625 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 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.639/2.015/3.391/1.376 ms') 2025-11-01 07:41:03,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14415910 passed 2025-11-01 07:41:03,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:03,787 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14415910, IP 47.139.172.69, Port 22 2025-11-01 07:41:03,958 - DEBUG - VM ctest-vn1-vm2-14415910 is ready for SSH connections 2025-11-01 07:41:03,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:03,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:03,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:03,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.49.184.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:41:03,958 - DEBUG - ping -s 56 -c 3 -W 1 13.49.184.133 2025-11-01 07:41:06,956 - DEBUG - PING 13.49.184.133 (13.49.184.133): 56 data bytes 64 bytes from 13.49.184.133: seq=0 ttl=63 time=7.089 ms 64 bytes from 13.49.184.133: seq=1 ttl=63 time=1.226 ms 64 bytes from 13.49.184.133: seq=2 ttl=63 time=1.627 ms --- 13.49.184.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.226/3.314/7.089 ms 2025-11-01 07:41:06,956 - INFO - Ping to IP 13.49.184.133 from VM ctest-vn1-vm2-14415910 passed 2025-11-01 07:41:06,956 - INFO - Detaching port ac39cd57-7f79-4de6-a1f8-e7c9ae697914 from VM ctest-vn1-vm2-14415910 2025-11-01 07:41:07,013 - INFO - Deleting VM ctest-vn1-vm2-14415910 2025-11-01 07:41:07,101 - INFO - Detaching port 1f76729d-c365-44e4-8648-d4a533714c88 from VM ctest-vn1-vm1-62665798 2025-11-01 07:41:07,142 - INFO - Deleting VM ctest-vn1-vm1-62665798 2025-11-01 07:41:07,420 - DEBUG - Response for delete_port : () 2025-11-01 07:41:07,601 - DEBUG - Response for delete_port : () 2025-11-01 07:41:07,601 - INFO - Deleting VN ctest-vn1-59973944 2025-11-01 07:41:07,751 - DEBUG - Response for deleting network () 2025-11-01 07:41:08,039 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 07:41:08,039 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-11-01 07:41:08,040 - INFO - -------------------------------------------------------------------------------- 2025-11-01 07:41:08,762 - INFO - Deleted project: ctest-TestPorts-19234859, ID : daf11e23-f817-4055-b822-f5436ba47c50