2025-08-13 16:17:56,689 - INFO - Domain Default found not creating 2025-08-13 16:17:56,811 - INFO - Project ctest-TestPorts-52906823 not found, creating it 2025-08-13 16:17:57,239 - INFO - Created Project:ctest-TestPorts-52906823, ID : 760fa436-fc4b-4000-8dbb-206120c61576 2025-08-13 16:17:58,559 - INFO - ================================================================================ 2025-08-13 16:17:58,559 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 16:17:58,559 - 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-13 16:17:58,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-13 16:17:58,817 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:17:58,817 - INFO - 2025-08-13 16:17:59,418 - DEBUG - Response for create_network : {'network': {'id': 'b7fd89dd-e390-4340-8a84-64ab0f859a9f', 'name': 'ctest-vn-37021577', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'project_id': '760fa436fc4b40008dbb206120c61576', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52906823', 'ctest-vn-37021577'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:17:59,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '545ee4cb-a071-45d3-9817-345da9c82658', 'name': '', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': 'b7fd89dd-e390-4340-8a84-64ab0f859a9f', 'ip_version': 4, 'cidr': '80.205.155.64/26', 'allocation_pools': [{'start': '80.205.155.66', 'end': '80.205.155.126'}], 'gateway_ip': '80.205.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.205.155.66', 'tags': [], 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:17:59,620 - INFO - Created VN ctest-vn-37021577 2025-08-13 16:17:59,676 - DEBUG - VN ctest-vn-37021577 UUID is b7fd89dd-e390-4340-8a84-64ab0f859a9f 2025-08-13 16:17:59,780 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52906823', 'ctest-vmi-66247217']} 2025-08-13 16:18:00,038 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66247217', 'id': '157f66dd-dfe5-4a19-bc35-ef5de5295b96', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': 'b7fd89dd-e390-4340-8a84-64ab0f859a9f', 'mac_address': '02:15:7f:66:dd:df', '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': '80.205.155.67', 'subnet_id': '545ee4cb-a071-45d3-9817-345da9c82658'}], 'security_groups': ['c8a99955-0bb7-48dd-9bb5-49f122989701'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:18:00,039 - DEBUG - Created port 157f66dd-dfe5-4a19-bc35-ef5de5295b96 2025-08-13 16:18:00,144 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/157f66dd-dfe5-4a19-bc35-ef5de5295b96 2025-08-13 16:18:00,431 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/157f66dd-dfe5-4a19-bc35-ef5de5295b96 2025-08-13 16:18:00,461 - INFO - VMI 157f66dd-dfe5-4a19-bc35-ef5de5295b96 verification in API Server passed 2025-08-13 16:18:00,538 - DEBUG - Response for delete_port : () 2025-08-13 16:18:00,538 - INFO - Deleted port 157f66dd-dfe5-4a19-bc35-ef5de5295b96 2025-08-13 16:18:00,538 - INFO - Deleting VN ctest-vn-37021577 2025-08-13 16:18:00,631 - DEBUG - Response for deleting network () 2025-08-13 16:18:00,881 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:18:00,881 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-13 16:18:00,881 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:18:00,883 - INFO - ================================================================================ 2025-08-13 16:18:00,884 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 16:18:00,884 - 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-13 16:18:01,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-13 16:18:01,169 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:18:01,169 - INFO - 2025-08-13 16:18:01,333 - DEBUG - Response for create_network : {'network': {'id': '70756c25-31a0-4c06-84c6-92486adc8b3a', 'name': 'ctest-vn1-53390174', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'project_id': '760fa436fc4b40008dbb206120c61576', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52906823', 'ctest-vn1-53390174'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:18:01,524 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feeaf7dd-b025-4043-a96f-fadd343b24f2', 'name': '', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': '70756c25-31a0-4c06-84c6-92486adc8b3a', 'ip_version': 4, 'cidr': '71.229.116.64/26', 'allocation_pools': [{'start': '71.229.116.66', 'end': '71.229.116.126'}], 'gateway_ip': '71.229.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.229.116.66', 'tags': [], 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:18:01,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '1abbbe9e-e745-47f4-8517-33b9cc9363b7', 'name': '', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': '70756c25-31a0-4c06-84c6-92486adc8b3a', 'ip_version': 4, 'cidr': '47.33.210.0/26', 'allocation_pools': [{'start': '47.33.210.2', 'end': '47.33.210.62'}], 'gateway_ip': '47.33.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.33.210.2', 'tags': [], 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:18:01,679 - INFO - Created VN ctest-vn1-53390174 2025-08-13 16:18:01,732 - DEBUG - VN ctest-vn1-53390174 UUID is 70756c25-31a0-4c06-84c6-92486adc8b3a 2025-08-13 16:18:02,030 - DEBUG - Response for create_port : {'port': {'name': '41de8548-7472-4d8a-a33d-623363276e08', 'id': '41de8548-7472-4d8a-a33d-623363276e08', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': '70756c25-31a0-4c06-84c6-92486adc8b3a', 'mac_address': '02:41:de:85:48:74', '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': '71.229.116.69', 'subnet_id': 'feeaf7dd-b025-4043-a96f-fadd343b24f2'}], 'security_groups': ['c8a99955-0bb7-48dd-9bb5-49f122989701'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:18:02,196 - DEBUG - Response for create_port : {'port': {'name': '16741352-e67d-4269-a0a8-1b9cba9a6941', 'id': '16741352-e67d-4269-a0a8-1b9cba9a6941', 'tenant_id': '760fa436fc4b40008dbb206120c61576', 'network_id': '70756c25-31a0-4c06-84c6-92486adc8b3a', 'mac_address': '02:16:74:13:52:e6', '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.33.210.5', 'subnet_id': '1abbbe9e-e745-47f4-8517-33b9cc9363b7'}], 'security_groups': ['c8a99955-0bb7-48dd-9bb5-49f122989701'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '760fa436fc4b40008dbb206120c61576'}} 2025-08-13 16:18:02,243 - DEBUG - Services list from nova: [, , ] 2025-08-13 16:18:02,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:18:02,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:18:02,872 - INFO - Waiting for VM ctest-vn1-vm1-37650199 to be up.. 2025-08-13 16:18:02,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 16:18:07,978 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:18:07,979 - INFO - VM name : ctest-vn1-vm1-37650199 2025-08-13 16:18:08,050 - DEBUG - VM ctest-vn1-vm1-37650199 ID is 8b3dd45d-0a2f-40a8-92ee-5cb1286d014e 2025-08-13 16:18:08,066 - DEBUG - VM ctest-vn1-vm1-37650199 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:18:08,247 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b3dd45d-0a2f-40a8-92ee-5cb1286d014e 2025-08-13 16:18:08,257 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/41de8548-7472-4d8a-a33d-623363276e08 2025-08-13 16:18:11,510 - 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 1028ms') 2025-08-13 16:18:11,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37650199 failed! 2025-08-13 16:18:11,564 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52906823:ctest-vn1-53390174 is 71.229.116.65 and allocation pool is NOT set 2025-08-13 16:18:11,564 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52906823:ctest-vn1-53390174 is 47.33.210.1 and allocation pool is NOT set 2025-08-13 16:18:13,623 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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 = 0.382/1.576/2.770/1.194 ms') 2025-08-13 16:18:13,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37650199 passed 2025-08-13 16:18:13,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:13,772 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37650199, IP 71.229.116.69, Port 22 2025-08-13 16:18:13,935 - DEBUG - VM ctest-vn1-vm1-37650199 is ready for SSH connections 2025-08-13 16:18:13,935 - INFO - Waiting for VM ctest-vn1-vm2-93310634 to be up.. 2025-08-13 16:18:14,008 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:18:14,008 - INFO - VM name : ctest-vn1-vm2-93310634 2025-08-13 16:18:14,070 - DEBUG - VM ctest-vn1-vm2-93310634 ID is d67d85ca-8cbf-4213-b20d-f72677c11718 2025-08-13 16:18:14,070 - DEBUG - VM ctest-vn1-vm2-93310634 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:18:14,130 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d67d85ca-8cbf-4213-b20d-f72677c11718 2025-08-13 16:18:14,137 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/16741352-e67d-4269-a0a8-1b9cba9a6941 2025-08-13 16:18:15,373 - 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.475 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.475/1.541/2.607/1.066 ms') 2025-08-13 16:18:15,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93310634 passed 2025-08-13 16:18:15,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:15,525 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93310634, IP 47.33.210.5, Port 22 2025-08-13 16:18:15,683 - DEBUG - VM ctest-vn1-vm2-93310634 is ready for SSH connections 2025-08-13 16:18:15,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:15,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:15,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:15,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.229.116.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:15,684 - DEBUG - ping -s 56 -c 3 -W 1 71.229.116.69 2025-08-13 16:18:18,582 - DEBUG - PING 71.229.116.69 (71.229.116.69): 56 data bytes 64 bytes from 71.229.116.69: seq=0 ttl=63 time=3.279 ms 64 bytes from 71.229.116.69: seq=1 ttl=63 time=0.818 ms 64 bytes from 71.229.116.69: seq=2 ttl=63 time=0.688 ms --- 71.229.116.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.595/3.279 ms 2025-08-13 16:18:18,582 - INFO - Ping to IP 71.229.116.69 from VM ctest-vn1-vm2-93310634 passed 2025-08-13 16:18:18,583 - INFO - Detaching port 16741352-e67d-4269-a0a8-1b9cba9a6941 from VM ctest-vn1-vm2-93310634 2025-08-13 16:18:18,626 - INFO - Deleting VM ctest-vn1-vm2-93310634 2025-08-13 16:18:18,690 - INFO - Detaching port 41de8548-7472-4d8a-a33d-623363276e08 from VM ctest-vn1-vm1-37650199 2025-08-13 16:18:18,725 - INFO - Deleting VM ctest-vn1-vm1-37650199 2025-08-13 16:18:18,968 - DEBUG - Response for delete_port : () 2025-08-13 16:18:19,124 - DEBUG - Response for delete_port : () 2025-08-13 16:18:19,124 - INFO - Deleting VN ctest-vn1-53390174 2025-08-13 16:18:19,243 - DEBUG - Response for deleting network () 2025-08-13 16:18:19,502 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:18:19,502 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-13 16:18:19,502 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:18:20,168 - INFO - Deleted project: ctest-TestPorts-52906823, ID : 760fa436-fc4b-4000-8dbb-206120c61576