2025-09-18 01:55:14,426 - INFO - Domain Default found not creating
2025-09-18 01:55:14,568 - INFO - Project ctest-TestPorts-44764798 not found, creating it
2025-09-18 01:55:15,027 - INFO - Created Project:ctest-TestPorts-44764798, ID : f47a28a9-e6ed-45da-a317-775c12c81d86
2025-09-18 01:55:16,698 - INFO - ================================================================================
2025-09-18 01:55:16,698 - INFO - STARTING TEST : test_ports_bindings
2025-09-18 01:55:16,698 - 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-18 01:55:16,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with
2025-09-18 01:55:16,953 - INFO - Initial checks done. Running the testcase now
2025-09-18 01:55:16,953 - INFO -
2025-09-18 01:55:17,574 - DEBUG - Response for create_network : {'network': {'id': '42a1d7af-dedb-4bf9-9491-56075c30a795', 'name': 'ctest-vn-35089054', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'project_id': 'f47a28a9e6ed45daa317775c12c81d86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44764798', 'ctest-vn-35089054'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:55:17,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '35deaa48-541e-4e79-81d4-d9c5289fff9b', 'name': '', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': '42a1d7af-dedb-4bf9-9491-56075c30a795', 'ip_version': 4, 'cidr': '124.19.51.128/26', 'allocation_pools': [{'start': '124.19.51.130', 'end': '124.19.51.190'}], 'gateway_ip': '124.19.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.19.51.130', 'tags': [], 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:17,786 - INFO - Created VN ctest-vn-35089054
2025-09-18 01:55:17,839 - DEBUG - VN ctest-vn-35089054 UUID is 42a1d7af-dedb-4bf9-9491-56075c30a795
2025-09-18 01:55:17,952 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44764798', 'ctest-vmi-25303115']}
2025-09-18 01:55:18,188 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25303115', 'id': 'cd522a1f-8719-412d-bf8c-2b0756a2f791', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': '42a1d7af-dedb-4bf9-9491-56075c30a795', 'mac_address': '02:cd:52:2a:1f:87', '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': '124.19.51.131', 'subnet_id': '35deaa48-541e-4e79-81d4-d9c5289fff9b'}], 'security_groups': ['9b03bd8a-f0dc-4d9f-8336-269e7ca2eda5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:18,188 - DEBUG - Created port cd522a1f-8719-412d-bf8c-2b0756a2f791
2025-09-18 01:55:18,295 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cd522a1f-8719-412d-bf8c-2b0756a2f791
2025-09-18 01:55:18,629 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cd522a1f-8719-412d-bf8c-2b0756a2f791
2025-09-18 01:55:18,662 - INFO - VMI cd522a1f-8719-412d-bf8c-2b0756a2f791 verification in API Server passed
2025-09-18 01:55:18,746 - DEBUG - Response for delete_port : ()
2025-09-18 01:55:18,747 - INFO - Deleted port cd522a1f-8719-412d-bf8c-2b0756a2f791
2025-09-18 01:55:18,747 - INFO - Deleting VN ctest-vn-35089054
2025-09-18 01:55:18,846 - DEBUG - Response for deleting network ()
2025-09-18 01:55:19,109 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:55:19,109 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-18 01:55:19,109 - INFO - --------------------------------------------------------------------------------
2025-09-18 01:55:19,113 - INFO - ================================================================================
2025-09-18 01:55:19,113 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-18 01:55:19,113 - 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-18 01:55:19,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with
2025-09-18 01:55:19,396 - INFO - Initial checks done. Running the testcase now
2025-09-18 01:55:19,396 - INFO -
2025-09-18 01:55:19,592 - DEBUG - Response for create_network : {'network': {'id': 'd4f0c133-8228-4c07-929b-44ac624442d1', 'name': 'ctest-vn1-10502685', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'project_id': 'f47a28a9e6ed45daa317775c12c81d86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44764798', 'ctest-vn1-10502685'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:55:19,804 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b216a159-0262-4a1e-9857-5d3b1031bfc0', 'name': '', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': 'd4f0c133-8228-4c07-929b-44ac624442d1', 'ip_version': 4, 'cidr': '52.90.13.0/26', 'allocation_pools': [{'start': '52.90.13.2', 'end': '52.90.13.62'}], 'gateway_ip': '52.90.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.90.13.2', 'tags': [], 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:20,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '102c792c-8e99-4eac-a6a5-254221d47d4b', 'name': '', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': 'd4f0c133-8228-4c07-929b-44ac624442d1', 'ip_version': 4, 'cidr': '192.219.135.64/26', 'allocation_pools': [{'start': '192.219.135.66', 'end': '192.219.135.126'}], 'gateway_ip': '192.219.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.219.135.66', 'tags': [], 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:20,020 - INFO - Created VN ctest-vn1-10502685
2025-09-18 01:55:20,075 - DEBUG - VN ctest-vn1-10502685 UUID is d4f0c133-8228-4c07-929b-44ac624442d1
2025-09-18 01:55:20,383 - DEBUG - Response for create_port : {'port': {'name': '158ae79f-f625-4962-bf9e-60eb4258eb45', 'id': '158ae79f-f625-4962-bf9e-60eb4258eb45', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': 'd4f0c133-8228-4c07-929b-44ac624442d1', 'mac_address': '02:15:8a:e7:9f:f6', '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': '52.90.13.5', 'subnet_id': 'b216a159-0262-4a1e-9857-5d3b1031bfc0'}], 'security_groups': ['9b03bd8a-f0dc-4d9f-8336-269e7ca2eda5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:20,563 - DEBUG - Response for create_port : {'port': {'name': 'a73949d9-6e3d-4754-988a-c4652ce826d7', 'id': 'a73949d9-6e3d-4754-988a-c4652ce826d7', 'tenant_id': 'f47a28a9e6ed45daa317775c12c81d86', 'network_id': 'd4f0c133-8228-4c07-929b-44ac624442d1', 'mac_address': '02:a7:39:49:d9:6e', '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': '192.219.135.69', 'subnet_id': '102c792c-8e99-4eac-a6a5-254221d47d4b'}], 'security_groups': ['9b03bd8a-f0dc-4d9f-8336-269e7ca2eda5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f47a28a9e6ed45daa317775c12c81d86'}}
2025-09-18 01:55:20,627 - DEBUG - Services list from nova: [, , ]
2025-09-18 01:55:20,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1)
2025-09-18 01:55:21,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1)
2025-09-18 01:55:21,380 - INFO - Waiting for VM ctest-vn1-vm1-38292860 to be up..
2025-09-18 01:55:21,422 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 01:55:26,501 - DEBUG - VM is in ACTIVE state now
2025-09-18 01:55:26,502 - INFO - VM name : ctest-vn1-vm1-38292860
2025-09-18 01:55:26,586 - DEBUG - VM ctest-vn1-vm1-38292860 ID is c347b50a-f42f-49fb-b995-2baf8531893e
2025-09-18 01:55:26,605 - DEBUG - VM ctest-vn1-vm1-38292860 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1
2025-09-18 01:55:26,680 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c347b50a-f42f-49fb-b995-2baf8531893e
2025-09-18 01:55:26,689 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/158ae79f-f625-4962-bf9e-60eb4258eb45
2025-09-18 01:55:29,946 - 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 1018ms')
2025-09-18 01:55:29,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38292860 failed!
2025-09-18 01:55:30,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44764798:ctest-vn1-10502685 is 52.90.13.1 and allocation pool is NOT set
2025-09-18 01:55:30,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44764798:ctest-vn1-10502685 is 192.219.135.65 and allocation pool is NOT set
2025-09-18 01:55:34,075 - 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=5.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.791/5.791/5.791/0.000 ms')
2025-09-18 01:55:34,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38292860 passed
2025-09-18 01:55:34,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:55:34,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38292860, IP 52.90.13.5, Port 22
2025-09-18 01:55:34,389 - DEBUG - VM ctest-vn1-vm1-38292860 is ready for SSH connections
2025-09-18 01:55:34,389 - INFO - Waiting for VM ctest-vn1-vm2-98101399 to be up..
2025-09-18 01:55:34,465 - DEBUG - VM is in ACTIVE state now
2025-09-18 01:55:34,465 - INFO - VM name : ctest-vn1-vm2-98101399
2025-09-18 01:55:34,538 - DEBUG - VM ctest-vn1-vm2-98101399 ID is 55989b4c-b9b0-4dec-a433-db7083be017c
2025-09-18 01:55:34,539 - DEBUG - VM ctest-vn1-vm2-98101399 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1
2025-09-18 01:55:34,615 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/55989b4c-b9b0-4dec-a433-db7083be017c
2025-09-18 01:55:34,624 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a73949d9-6e3d-4754-988a-c4652ce826d7
2025-09-18 01:55:35,856 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.755/3.062/1.306 ms')
2025-09-18 01:55:35,857 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98101399 passed
2025-09-18 01:55:36,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:55:36,007 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98101399, IP 192.219.135.69, Port 22
2025-09-18 01:55:36,166 - DEBUG - VM ctest-vn1-vm2-98101399 is ready for SSH connections
2025-09-18 01:55:36,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:55:36,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:55:36,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 01:55:36,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.90.13.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-09-18 01:55:36,167 - DEBUG - ping -s 56 -c 3 -W 1 52.90.13.5
2025-09-18 01:55:38,854 - DEBUG - PING 52.90.13.5 (52.90.13.5): 56 data bytes
64 bytes from 52.90.13.5: seq=0 ttl=63 time=3.816 ms
64 bytes from 52.90.13.5: seq=1 ttl=63 time=0.965 ms
64 bytes from 52.90.13.5: seq=2 ttl=63 time=0.876 ms
--- 52.90.13.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/1.885/3.816 ms
2025-09-18 01:55:38,855 - INFO - Ping to IP 52.90.13.5 from VM ctest-vn1-vm2-98101399 passed
2025-09-18 01:55:38,855 - INFO - Detaching port a73949d9-6e3d-4754-988a-c4652ce826d7 from VM ctest-vn1-vm2-98101399
2025-09-18 01:55:38,904 - INFO - Deleting VM ctest-vn1-vm2-98101399
2025-09-18 01:55:38,975 - INFO - Detaching port 158ae79f-f625-4962-bf9e-60eb4258eb45 from VM ctest-vn1-vm1-38292860
2025-09-18 01:55:39,011 - INFO - Deleting VM ctest-vn1-vm1-38292860
2025-09-18 01:55:39,230 - DEBUG - Response for delete_port : ()
2025-09-18 01:55:39,410 - DEBUG - Response for delete_port : ()
2025-09-18 01:55:39,411 - INFO - Deleting VN ctest-vn1-10502685
2025-09-18 01:55:39,565 - DEBUG - Response for deleting network ()
2025-09-18 01:55:39,824 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:55:39,824 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-18 01:55:39,824 - INFO - --------------------------------------------------------------------------------
2025-09-18 01:55:40,585 - INFO - Deleted project: ctest-TestPorts-44764798, ID : f47a28a9-e6ed-45da-a317-775c12c81d86