2025-09-05 13:37:58,248 - INFO - Domain Default found not creating
2025-09-05 13:37:58,407 - INFO - Project ctest-TestPorts-36182763 not found, creating it
2025-09-05 13:37:59,100 - INFO - Created Project:ctest-TestPorts-36182763, ID : df134222-e6b2-4e23-b81a-414cd93ed3b2
2025-09-05 13:38:00,474 - INFO - ================================================================================
2025-09-05 13:38:00,474 - INFO - STARTING TEST : test_ports_bindings
2025-09-05 13:38:00,474 - 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-09-05 13:38:00,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-05 13:38:00,729 - INFO - Initial checks done. Running the testcase now
2025-09-05 13:38:00,729 - INFO -
2025-09-05 13:38:01,241 - DEBUG - Response for create_network : {'network': {'id': 'f5087b52-333e-4b84-b1bd-bb9018fcfe14', 'name': 'ctest-vn-00115491', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'project_id': 'df134222e6b24e23b81a414cd93ed3b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36182763', 'ctest-vn-00115491'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 13:38:01,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '91bdac56-0720-4f61-9c65-40ae1d703b1e', 'name': '', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'f5087b52-333e-4b84-b1bd-bb9018fcfe14', 'ip_version': 4, 'cidr': '101.248.146.64/26', 'allocation_pools': [{'start': '101.248.146.66', 'end': '101.248.146.126'}], 'gateway_ip': '101.248.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.248.146.66', 'tags': [], 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:01,579 - INFO - Created VN ctest-vn-00115491
2025-09-05 13:38:01,632 - DEBUG - VN ctest-vn-00115491 UUID is f5087b52-333e-4b84-b1bd-bb9018fcfe14
2025-09-05 13:38:01,729 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36182763', 'ctest-vmi-47279996']}
2025-09-05 13:38:01,988 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47279996', 'id': 'a4223b74-e7e2-4100-8cdb-b747ac95bf64', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'f5087b52-333e-4b84-b1bd-bb9018fcfe14', 'mac_address': '02:a4:22:3b:74:e7', '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': '101.248.146.67', 'subnet_id': '91bdac56-0720-4f61-9c65-40ae1d703b1e'}], 'security_groups': ['6e273be0-b500-4c04-8c16-05eecde6be3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:01,989 - DEBUG - Created port a4223b74-e7e2-4100-8cdb-b747ac95bf64
2025-09-05 13:38:02,092 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4223b74-e7e2-4100-8cdb-b747ac95bf64
2025-09-05 13:38:02,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4223b74-e7e2-4100-8cdb-b747ac95bf64
2025-09-05 13:38:02,408 - INFO - VMI a4223b74-e7e2-4100-8cdb-b747ac95bf64 verification in API Server passed
2025-09-05 13:38:02,483 - DEBUG - Response for delete_port : ()
2025-09-05 13:38:02,483 - INFO - Deleted port a4223b74-e7e2-4100-8cdb-b747ac95bf64
2025-09-05 13:38:02,483 - INFO - Deleting VN ctest-vn-00115491
2025-09-05 13:38:02,571 - DEBUG - Response for deleting network ()
2025-09-05 13:38:02,824 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 13:38:02,824 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-05 13:38:02,824 - INFO - --------------------------------------------------------------------------------
2025-09-05 13:38:02,826 - INFO - ================================================================================
2025-09-05 13:38:02,826 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-05 13:38:02,827 - 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-09-05 13:38:03,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-05 13:38:03,117 - INFO - Initial checks done. Running the testcase now
2025-09-05 13:38:03,117 - INFO -
2025-09-05 13:38:03,292 - DEBUG - Response for create_network : {'network': {'id': 'c4729e27-eef0-4a8d-ae48-d18936cd726d', 'name': 'ctest-vn1-50492715', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'project_id': 'df134222e6b24e23b81a414cd93ed3b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36182763', 'ctest-vn1-50492715'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 13:38:03,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '54bdb4e1-b178-4ae3-8f86-6f915f1a3607', 'name': '', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'c4729e27-eef0-4a8d-ae48-d18936cd726d', 'ip_version': 4, 'cidr': '137.142.23.192/26', 'allocation_pools': [{'start': '137.142.23.194', 'end': '137.142.23.254'}], 'gateway_ip': '137.142.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.142.23.194', 'tags': [], 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:03,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3778533-d400-4dfe-ba33-20b06384e4ca', 'name': '', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'c4729e27-eef0-4a8d-ae48-d18936cd726d', 'ip_version': 4, 'cidr': '150.29.75.64/26', 'allocation_pools': [{'start': '150.29.75.66', 'end': '150.29.75.126'}], 'gateway_ip': '150.29.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.29.75.66', 'tags': [], 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:03,667 - INFO - Created VN ctest-vn1-50492715
2025-09-05 13:38:03,716 - DEBUG - VN ctest-vn1-50492715 UUID is c4729e27-eef0-4a8d-ae48-d18936cd726d
2025-09-05 13:38:03,986 - DEBUG - Response for create_port : {'port': {'name': '87137757-8638-4c6e-a803-85d780d10e0c', 'id': '87137757-8638-4c6e-a803-85d780d10e0c', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'c4729e27-eef0-4a8d-ae48-d18936cd726d', 'mac_address': '02:87:13:77:57:86', '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': '137.142.23.197', 'subnet_id': '54bdb4e1-b178-4ae3-8f86-6f915f1a3607'}], 'security_groups': ['6e273be0-b500-4c04-8c16-05eecde6be3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:04,141 - DEBUG - Response for create_port : {'port': {'name': 'b0f27339-302d-4596-98ff-34985dedb614', 'id': 'b0f27339-302d-4596-98ff-34985dedb614', 'tenant_id': 'df134222e6b24e23b81a414cd93ed3b2', 'network_id': 'c4729e27-eef0-4a8d-ae48-d18936cd726d', 'mac_address': '02:b0:f2:73:39:30', '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': '150.29.75.69', 'subnet_id': 'd3778533-d400-4dfe-ba33-20b06384e4ca'}], 'security_groups': ['6e273be0-b500-4c04-8c16-05eecde6be3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df134222e6b24e23b81a414cd93ed3b2'}}
2025-09-05 13:38:04,190 - DEBUG - Services list from nova: [, , ]
2025-09-05 13:38:04,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1)
2025-09-05 13:38:04,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1)
2025-09-05 13:38:04,838 - INFO - Waiting for VM ctest-vn1-vm1-88535489 to be up..
2025-09-05 13:38:04,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-05 13:38:09,938 - DEBUG - VM is in ACTIVE state now
2025-09-05 13:38:09,938 - INFO - VM name : ctest-vn1-vm1-88535489
2025-09-05 13:38:10,007 - DEBUG - VM ctest-vn1-vm1-88535489 ID is 143cf9d2-07cc-41fa-82ec-14f5986f06dc
2025-09-05 13:38:10,024 - DEBUG - VM ctest-vn1-vm1-88535489 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1
2025-09-05 13:38:10,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/143cf9d2-07cc-41fa-82ec-14f5986f06dc
2025-09-05 13:38:10,098 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/87137757-8638-4c6e-a803-85d780d10e0c
2025-09-05 13:38:13,343 - 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 1022ms')
2025-09-05 13:38:13,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88535489 failed!
2025-09-05 13:38:13,400 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36182763:ctest-vn1-50492715 is 137.142.23.193 and allocation pool is NOT set
2025-09-05 13:38:13,400 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36182763:ctest-vn1-50492715 is 150.29.75.65 and allocation pool is NOT set
2025-09-05 13:38:15,458 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.875 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.875/1.773/2.671/0.898 ms')
2025-09-05 13:38:15,458 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88535489 passed
2025-09-05 13:38:15,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:38:15,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88535489, IP 137.142.23.197, Port 22
2025-09-05 13:38:15,779 - DEBUG - VM ctest-vn1-vm1-88535489 is ready for SSH connections
2025-09-05 13:38:15,779 - INFO - Waiting for VM ctest-vn1-vm2-97719378 to be up..
2025-09-05 13:38:15,861 - DEBUG - VM is in ACTIVE state now
2025-09-05 13:38:15,861 - INFO - VM name : ctest-vn1-vm2-97719378
2025-09-05 13:38:15,945 - DEBUG - VM ctest-vn1-vm2-97719378 ID is 51c94ca5-1c78-4354-aebd-f8bc8e23a492
2025-09-05 13:38:15,945 - DEBUG - VM ctest-vn1-vm2-97719378 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1
2025-09-05 13:38:16,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/51c94ca5-1c78-4354-aebd-f8bc8e23a492
2025-09-05 13:38:16,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b0f27339-302d-4596-98ff-34985dedb614
2025-09-05 13:38:17,260 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.696/2.979/1.282 ms')
2025-09-05 13:38:17,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97719378 passed
2025-09-05 13:38:17,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:38:17,416 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97719378, IP 150.29.75.69, Port 22
2025-09-05 13:38:17,571 - DEBUG - VM ctest-vn1-vm2-97719378 is ready for SSH connections
2025-09-05 13:38:17,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:38:17,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:38:17,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:38:17,571 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.142.23.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-05 13:38:17,571 - DEBUG - ping -s 56 -c 3 -W 1 137.142.23.197
2025-09-05 13:38:20,523 - DEBUG - PING 137.142.23.197 (137.142.23.197): 56 data bytes
64 bytes from 137.142.23.197: seq=0 ttl=63 time=3.182 ms
64 bytes from 137.142.23.197: seq=1 ttl=63 time=0.687 ms
64 bytes from 137.142.23.197: seq=2 ttl=63 time=0.718 ms
--- 137.142.23.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.687/1.529/3.182 ms
2025-09-05 13:38:20,524 - INFO - Ping to IP 137.142.23.197 from VM ctest-vn1-vm2-97719378 passed
2025-09-05 13:38:20,524 - INFO - Detaching port b0f27339-302d-4596-98ff-34985dedb614 from VM ctest-vn1-vm2-97719378
2025-09-05 13:38:20,571 - INFO - Deleting VM ctest-vn1-vm2-97719378
2025-09-05 13:38:20,633 - INFO - Detaching port 87137757-8638-4c6e-a803-85d780d10e0c from VM ctest-vn1-vm1-88535489
2025-09-05 13:38:20,666 - INFO - Deleting VM ctest-vn1-vm1-88535489
2025-09-05 13:38:20,923 - DEBUG - Response for delete_port : ()
2025-09-05 13:38:21,102 - DEBUG - Response for delete_port : ()
2025-09-05 13:38:21,102 - INFO - Deleting VN ctest-vn1-50492715
2025-09-05 13:38:21,230 - DEBUG - Response for deleting network ()
2025-09-05 13:38:21,497 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 13:38:21,497 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-05 13:38:21,497 - INFO - --------------------------------------------------------------------------------
2025-09-05 13:38:22,168 - INFO - Deleted project: ctest-TestPorts-36182763, ID : df134222-e6b2-4e23-b81a-414cd93ed3b2