2025-12-18 02:09:28,188 - INFO - Domain Default found not creating
2025-12-18 02:09:28,461 - INFO - Project ctest-TestPorts-64324084 not found, creating it
2025-12-18 02:09:28,945 - INFO - Created Project:ctest-TestPorts-64324084, ID : 8c0a5038-0860-4397-a163-50cab5cca0c7
2025-12-18 02:09:30,586 - INFO - ================================================================================
2025-12-18 02:09:30,586 - INFO - STARTING TEST : test_ports_bindings
2025-12-18 02:09:30,586 - 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-12-18 02:09:30,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-12-18 02:09:30,859 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:09:30,859 - INFO -
2025-12-18 02:09:31,481 - DEBUG - Response for create_network : {'network': {'id': '47652d00-a0ca-4031-826f-3dd70a736151', 'name': 'ctest-vn-95805249', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'project_id': '8c0a503808604397a16350cab5cca0c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64324084', 'ctest-vn-95805249'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:09:31,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '32787b67-9871-4b5b-86f2-febedeb3d314', 'name': '', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': '47652d00-a0ca-4031-826f-3dd70a736151', 'ip_version': 4, 'cidr': '11.210.145.192/26', 'allocation_pools': [{'start': '11.210.145.194', 'end': '11.210.145.254'}], 'gateway_ip': '11.210.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.210.145.194', 'tags': [], 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:31,678 - INFO - Created VN ctest-vn-95805249
2025-12-18 02:09:31,731 - DEBUG - VN ctest-vn-95805249 UUID is 47652d00-a0ca-4031-826f-3dd70a736151
2025-12-18 02:09:31,844 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64324084', 'ctest-vmi-41887798']}
2025-12-18 02:09:32,081 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41887798', 'id': '24248943-7677-48d1-ae6e-bb38ecbb98b3', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': '47652d00-a0ca-4031-826f-3dd70a736151', 'mac_address': '02:24:24:89:43:76', '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': '11.210.145.195', 'subnet_id': '32787b67-9871-4b5b-86f2-febedeb3d314'}], 'security_groups': ['4df0a135-bfb0-495c-a1dd-594ab3bf9a99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:32,081 - DEBUG - Created port 24248943-7677-48d1-ae6e-bb38ecbb98b3
2025-12-18 02:09:32,187 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/24248943-7677-48d1-ae6e-bb38ecbb98b3
2025-12-18 02:09:32,525 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/24248943-7677-48d1-ae6e-bb38ecbb98b3
2025-12-18 02:09:32,562 - INFO - VMI 24248943-7677-48d1-ae6e-bb38ecbb98b3 verification in API Server passed
2025-12-18 02:09:32,652 - DEBUG - Response for delete_port : ()
2025-12-18 02:09:32,652 - INFO - Deleted port 24248943-7677-48d1-ae6e-bb38ecbb98b3
2025-12-18 02:09:32,652 - INFO - Deleting VN ctest-vn-95805249
2025-12-18 02:09:32,757 - DEBUG - Response for deleting network ()
2025-12-18 02:09:33,016 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:09:33,016 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-18 02:09:33,016 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:09:33,018 - INFO - ================================================================================
2025-12-18 02:09:33,018 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-18 02:09:33,019 - 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-12-18 02:09:33,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-12-18 02:09:33,308 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:09:33,308 - INFO -
2025-12-18 02:09:33,486 - DEBUG - Response for create_network : {'network': {'id': 'e20c6edc-532a-4703-aeac-6417a4545619', 'name': 'ctest-vn1-93393107', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'project_id': '8c0a503808604397a16350cab5cca0c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64324084', 'ctest-vn1-93393107'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:09:33,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '21292abc-178b-4e37-9270-2692a825044b', 'name': '', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': 'e20c6edc-532a-4703-aeac-6417a4545619', 'ip_version': 4, 'cidr': '34.143.100.128/26', 'allocation_pools': [{'start': '34.143.100.130', 'end': '34.143.100.190'}], 'gateway_ip': '34.143.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.143.100.130', 'tags': [], 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:33,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac8a357d-ed7a-4d32-a663-0b8bd3d9a1de', 'name': '', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': 'e20c6edc-532a-4703-aeac-6417a4545619', 'ip_version': 4, 'cidr': '166.189.211.128/26', 'allocation_pools': [{'start': '166.189.211.130', 'end': '166.189.211.190'}], 'gateway_ip': '166.189.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.189.211.130', 'tags': [], 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:33,888 - INFO - Created VN ctest-vn1-93393107
2025-12-18 02:09:33,939 - DEBUG - VN ctest-vn1-93393107 UUID is e20c6edc-532a-4703-aeac-6417a4545619
2025-12-18 02:09:34,257 - DEBUG - Response for create_port : {'port': {'name': '960bd94e-7ed1-47a1-aac5-a274d4b1db71', 'id': '960bd94e-7ed1-47a1-aac5-a274d4b1db71', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': 'e20c6edc-532a-4703-aeac-6417a4545619', 'mac_address': '02:96:0b:d9:4e:7e', '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': '34.143.100.133', 'subnet_id': '21292abc-178b-4e37-9270-2692a825044b'}], 'security_groups': ['4df0a135-bfb0-495c-a1dd-594ab3bf9a99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:34,427 - DEBUG - Response for create_port : {'port': {'name': '57d3fdeb-bc96-4883-b186-ea19a0045fe2', 'id': '57d3fdeb-bc96-4883-b186-ea19a0045fe2', 'tenant_id': '8c0a503808604397a16350cab5cca0c7', 'network_id': 'e20c6edc-532a-4703-aeac-6417a4545619', 'mac_address': '02:57:d3:fd:eb:bc', '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': '166.189.211.133', 'subnet_id': 'ac8a357d-ed7a-4d32-a663-0b8bd3d9a1de'}], 'security_groups': ['4df0a135-bfb0-495c-a1dd-594ab3bf9a99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c0a503808604397a16350cab5cca0c7'}}
2025-12-18 02:09:34,490 - DEBUG - Services list from nova: [, , ]
2025-12-18 02:09:34,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1)
2025-12-18 02:09:35,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1)
2025-12-18 02:09:35,287 - INFO - Waiting for VM ctest-vn1-vm1-00844766 to be up..
2025-12-18 02:09:35,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 02:09:40,413 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:09:40,413 - INFO - VM name : ctest-vn1-vm1-00844766
2025-12-18 02:09:40,488 - DEBUG - VM ctest-vn1-vm1-00844766 ID is bdd5e4fc-3445-49b7-ad5c-e022c0b094ed
2025-12-18 02:09:40,508 - DEBUG - VM ctest-vn1-vm1-00844766 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1
2025-12-18 02:09:40,586 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bdd5e4fc-3445-49b7-ad5c-e022c0b094ed
2025-12-18 02:09:40,594 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/960bd94e-7ed1-47a1-aac5-a274d4b1db71
2025-12-18 02:09:43,851 - 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 1006ms')
2025-12-18 02:09:43,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00844766 failed!
2025-12-18 02:09:43,907 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64324084:ctest-vn1-93393107 is 34.143.100.129 and allocation pool is NOT set
2025-12-18 02:09:43,907 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64324084:ctest-vn1-93393107 is 166.189.211.129 and allocation pool is NOT set
2025-12-18 02:09:47,970 - 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=2 ttl=63 time=22.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 22.107/22.107/22.107/0.000 ms')
2025-12-18 02:09:47,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00844766 passed
2025-12-18 02:09:48,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:09:48,131 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00844766, IP 34.143.100.133, Port 22
2025-12-18 02:09:48,291 - DEBUG - VM ctest-vn1-vm1-00844766 is ready for SSH connections
2025-12-18 02:09:48,291 - INFO - Waiting for VM ctest-vn1-vm2-49463985 to be up..
2025-12-18 02:09:48,381 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:09:48,381 - INFO - VM name : ctest-vn1-vm2-49463985
2025-12-18 02:09:48,474 - DEBUG - VM ctest-vn1-vm2-49463985 ID is 59901646-c499-4cd3-80f5-8fc92269806b
2025-12-18 02:09:48,474 - DEBUG - VM ctest-vn1-vm2-49463985 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1
2025-12-18 02:09:48,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/59901646-c499-4cd3-80f5-8fc92269806b
2025-12-18 02:09:48,557 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/57d3fdeb-bc96-4883-b186-ea19a0045fe2
2025-12-18 02:09:49,789 - 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=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.662 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.662/2.376/4.091/1.714 ms')
2025-12-18 02:09:49,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49463985 passed
2025-12-18 02:09:49,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:09:49,939 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49463985, IP 166.189.211.133, Port 22
2025-12-18 02:09:50,099 - DEBUG - VM ctest-vn1-vm2-49463985 is ready for SSH connections
2025-12-18 02:09:50,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:09:50,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:09:50,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:09:50,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.143.100.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-12-18 02:09:50,099 - DEBUG - ping -s 56 -c 3 -W 1 34.143.100.133
2025-12-18 02:09:52,946 - DEBUG - PING 34.143.100.133 (34.143.100.133): 56 data bytes
64 bytes from 34.143.100.133: seq=0 ttl=63 time=4.077 ms
64 bytes from 34.143.100.133: seq=1 ttl=63 time=0.916 ms
64 bytes from 34.143.100.133: seq=2 ttl=63 time=0.855 ms
--- 34.143.100.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.855/1.949/4.077 ms
2025-12-18 02:09:52,946 - INFO - Ping to IP 34.143.100.133 from VM ctest-vn1-vm2-49463985 passed
2025-12-18 02:09:52,946 - INFO - Detaching port 57d3fdeb-bc96-4883-b186-ea19a0045fe2 from VM ctest-vn1-vm2-49463985
2025-12-18 02:09:53,006 - INFO - Deleting VM ctest-vn1-vm2-49463985
2025-12-18 02:09:53,093 - INFO - Detaching port 960bd94e-7ed1-47a1-aac5-a274d4b1db71 from VM ctest-vn1-vm1-00844766
2025-12-18 02:09:53,132 - INFO - Deleting VM ctest-vn1-vm1-00844766
2025-12-18 02:09:53,417 - DEBUG - Response for delete_port : ()
2025-12-18 02:09:53,597 - DEBUG - Response for delete_port : ()
2025-12-18 02:09:53,597 - INFO - Deleting VN ctest-vn1-93393107
2025-12-18 02:09:53,749 - DEBUG - Response for deleting network ()
2025-12-18 02:09:54,016 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:09:54,016 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-18 02:09:54,016 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:09:54,762 - INFO - Deleted project: ctest-TestPorts-64324084, ID : 8c0a5038-0860-4397-a163-50cab5cca0c7