2025-09-23 12:23:29,846 - INFO - Domain Default found not creating
2025-09-23 12:23:30,006 - INFO - Project ctest-TestPorts-79664801 not found, creating it
2025-09-23 12:23:30,506 - INFO - Created Project:ctest-TestPorts-79664801, ID : 3339e030-d98f-4d87-b24c-f1255a1dbedb
2025-09-23 12:23:32,001 - INFO - ================================================================================
2025-09-23 12:23:32,002 - INFO - STARTING TEST : test_ports_bindings
2025-09-23 12:23:32,002 - 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-23 12:23:32,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-23 12:23:32,270 - INFO - Initial checks done. Running the testcase now
2025-09-23 12:23:32,270 - INFO -
2025-09-23 12:23:32,849 - DEBUG - Response for create_network : {'network': {'id': '9c31b67c-c824-4cca-8651-1354dfcc730e', 'name': 'ctest-vn-99151001', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'project_id': '3339e030d98f4d87b24cf1255a1dbedb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79664801', 'ctest-vn-99151001'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:23:33,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e2fa4e7-0ef8-4f78-9fe6-6e1f5023ebe7', 'name': '', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '9c31b67c-c824-4cca-8651-1354dfcc730e', 'ip_version': 4, 'cidr': '104.218.21.128/26', 'allocation_pools': [{'start': '104.218.21.130', 'end': '104.218.21.190'}], 'gateway_ip': '104.218.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.218.21.130', 'tags': [], 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:33,075 - INFO - Created VN ctest-vn-99151001
2025-09-23 12:23:33,127 - DEBUG - VN ctest-vn-99151001 UUID is 9c31b67c-c824-4cca-8651-1354dfcc730e
2025-09-23 12:23:33,240 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79664801', 'ctest-vmi-40133786']}
2025-09-23 12:23:33,500 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40133786', 'id': '2707491f-d74f-4e9e-9d2c-2aa3d5878b78', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '9c31b67c-c824-4cca-8651-1354dfcc730e', 'mac_address': '02:27:07:49:1f:d7', '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': '104.218.21.131', 'subnet_id': '1e2fa4e7-0ef8-4f78-9fe6-6e1f5023ebe7'}], 'security_groups': ['62992be5-a665-43cf-bbe1-00bf968031c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:33,500 - DEBUG - Created port 2707491f-d74f-4e9e-9d2c-2aa3d5878b78
2025-09-23 12:23:33,615 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2707491f-d74f-4e9e-9d2c-2aa3d5878b78
2025-09-23 12:23:33,919 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2707491f-d74f-4e9e-9d2c-2aa3d5878b78
2025-09-23 12:23:33,968 - INFO - VMI 2707491f-d74f-4e9e-9d2c-2aa3d5878b78 verification in API Server passed
2025-09-23 12:23:34,109 - DEBUG - Response for delete_port : ()
2025-09-23 12:23:34,109 - INFO - Deleted port 2707491f-d74f-4e9e-9d2c-2aa3d5878b78
2025-09-23 12:23:34,109 - INFO - Deleting VN ctest-vn-99151001
2025-09-23 12:23:34,230 - DEBUG - Response for deleting network ()
2025-09-23 12:23:34,488 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:23:34,488 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-23 12:23:34,488 - INFO - --------------------------------------------------------------------------------
2025-09-23 12:23:34,491 - INFO - ================================================================================
2025-09-23 12:23:34,491 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-23 12:23:34,491 - 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-23 12:23:34,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-23 12:23:34,780 - INFO - Initial checks done. Running the testcase now
2025-09-23 12:23:34,781 - INFO -
2025-09-23 12:23:34,972 - DEBUG - Response for create_network : {'network': {'id': '175517e5-6435-47a1-bcb9-8b972e49a008', 'name': 'ctest-vn1-14397867', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'project_id': '3339e030d98f4d87b24cf1255a1dbedb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79664801', 'ctest-vn1-14397867'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:23:35,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '607fb9b1-f650-4d60-a0fe-d9c525697d54', 'name': '', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '175517e5-6435-47a1-bcb9-8b972e49a008', 'ip_version': 4, 'cidr': '211.56.47.64/26', 'allocation_pools': [{'start': '211.56.47.66', 'end': '211.56.47.126'}], 'gateway_ip': '211.56.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.56.47.66', 'tags': [], 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:35,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '50cacd2e-a1cf-4f80-92cc-4f4b82ee27dd', 'name': '', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '175517e5-6435-47a1-bcb9-8b972e49a008', 'ip_version': 4, 'cidr': '206.206.244.64/26', 'allocation_pools': [{'start': '206.206.244.66', 'end': '206.206.244.126'}], 'gateway_ip': '206.206.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.206.244.66', 'tags': [], 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:35,411 - INFO - Created VN ctest-vn1-14397867
2025-09-23 12:23:35,467 - DEBUG - VN ctest-vn1-14397867 UUID is 175517e5-6435-47a1-bcb9-8b972e49a008
2025-09-23 12:23:35,772 - DEBUG - Response for create_port : {'port': {'name': '30a205d3-23f3-412b-bf4a-e2400e702b6a', 'id': '30a205d3-23f3-412b-bf4a-e2400e702b6a', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '175517e5-6435-47a1-bcb9-8b972e49a008', 'mac_address': '02:30:a2:05:d3:23', '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': '211.56.47.69', 'subnet_id': '607fb9b1-f650-4d60-a0fe-d9c525697d54'}], 'security_groups': ['62992be5-a665-43cf-bbe1-00bf968031c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:35,958 - DEBUG - Response for create_port : {'port': {'name': '4ea7623c-5d46-4a57-bce9-d1c5439c2c77', 'id': '4ea7623c-5d46-4a57-bce9-d1c5439c2c77', 'tenant_id': '3339e030d98f4d87b24cf1255a1dbedb', 'network_id': '175517e5-6435-47a1-bcb9-8b972e49a008', 'mac_address': '02:4e:a7:62:3c:5d', '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': '206.206.244.69', 'subnet_id': '50cacd2e-a1cf-4f80-92cc-4f4b82ee27dd'}], 'security_groups': ['62992be5-a665-43cf-bbe1-00bf968031c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3339e030d98f4d87b24cf1255a1dbedb'}}
2025-09-23 12:23:36,031 - DEBUG - Services list from nova: [, , ]
2025-09-23 12:23:36,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1)
2025-09-23 12:23:36,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1)
2025-09-23 12:23:36,865 - INFO - Waiting for VM ctest-vn1-vm1-83052131 to be up..
2025-09-23 12:23:36,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 12:23:41,997 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:23:41,997 - INFO - VM name : ctest-vn1-vm1-83052131
2025-09-23 12:23:42,087 - DEBUG - VM ctest-vn1-vm1-83052131 ID is 04621985-9d24-4977-b1fa-52807e690302
2025-09-23 12:23:42,109 - DEBUG - VM ctest-vn1-vm1-83052131 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1
2025-09-23 12:23:42,195 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/04621985-9d24-4977-b1fa-52807e690302
2025-09-23 12:23:42,205 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/30a205d3-23f3-412b-bf4a-e2400e702b6a
2025-09-23 12:23:45,479 - 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 1026ms')
2025-09-23 12:23:45,479 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83052131 failed!
2025-09-23 12:23:45,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79664801:ctest-vn1-14397867 is 211.56.47.65 and allocation pool is NOT set
2025-09-23 12:23:45,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79664801:ctest-vn1-14397867 is 206.206.244.65 and allocation pool is NOT set
2025-09-23 12:23:49,610 - 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=9.45 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 = 9.449/9.449/9.449/0.000 ms')
2025-09-23 12:23:49,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83052131 passed
2025-09-23 12:23:49,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:23:49,767 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83052131, IP 211.56.47.69, Port 22
2025-09-23 12:23:49,937 - DEBUG - VM ctest-vn1-vm1-83052131 is ready for SSH connections
2025-09-23 12:23:49,937 - INFO - Waiting for VM ctest-vn1-vm2-22628531 to be up..
2025-09-23 12:23:50,030 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:23:50,030 - INFO - VM name : ctest-vn1-vm2-22628531
2025-09-23 12:23:50,115 - DEBUG - VM ctest-vn1-vm2-22628531 ID is 325c8038-cd25-46d6-a99c-fadb757b1219
2025-09-23 12:23:50,115 - DEBUG - VM ctest-vn1-vm2-22628531 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1
2025-09-23 12:23:50,206 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/325c8038-cd25-46d6-a99c-fadb757b1219
2025-09-23 12:23:50,215 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4ea7623c-5d46-4a57-bce9-d1c5439c2c77
2025-09-23 12:23:51,458 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.772/3.049/1.276 ms')
2025-09-23 12:23:51,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22628531 passed
2025-09-23 12:23:51,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:23:51,619 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22628531, IP 206.206.244.69, Port 22
2025-09-23 12:23:51,785 - DEBUG - VM ctest-vn1-vm2-22628531 is ready for SSH connections
2025-09-23 12:23:51,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:23:51,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:23:51,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:23:51,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.56.47.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-23 12:23:51,785 - DEBUG - ping -s 56 -c 3 -W 1 211.56.47.69
2025-09-23 12:23:54,446 - DEBUG - PING 211.56.47.69 (211.56.47.69): 56 data bytes
64 bytes from 211.56.47.69: seq=0 ttl=63 time=5.432 ms
64 bytes from 211.56.47.69: seq=1 ttl=63 time=0.847 ms
64 bytes from 211.56.47.69: seq=2 ttl=63 time=1.173 ms
--- 211.56.47.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.847/2.484/5.432 ms
2025-09-23 12:23:54,446 - INFO - Ping to IP 211.56.47.69 from VM ctest-vn1-vm2-22628531 passed
2025-09-23 12:23:54,446 - INFO - Detaching port 4ea7623c-5d46-4a57-bce9-d1c5439c2c77 from VM ctest-vn1-vm2-22628531
2025-09-23 12:23:54,500 - INFO - Deleting VM ctest-vn1-vm2-22628531
2025-09-23 12:23:54,573 - INFO - Detaching port 30a205d3-23f3-412b-bf4a-e2400e702b6a from VM ctest-vn1-vm1-83052131
2025-09-23 12:23:54,610 - INFO - Deleting VM ctest-vn1-vm1-83052131
2025-09-23 12:23:54,868 - DEBUG - Response for delete_port : ()
2025-09-23 12:23:55,102 - DEBUG - Response for delete_port : ()
2025-09-23 12:23:55,103 - INFO - Deleting VN ctest-vn1-14397867
2025-09-23 12:23:55,268 - DEBUG - Response for deleting network ()
2025-09-23 12:23:55,524 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:23:55,524 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-23 12:23:55,524 - INFO - --------------------------------------------------------------------------------
2025-09-23 12:23:56,222 - INFO - Deleted project: ctest-TestPorts-79664801, ID : 3339e030-d98f-4d87-b24c-f1255a1dbedb