2025-08-08 02:57:54,167 - INFO - Domain Default found not creating
2025-08-08 02:57:54,326 - INFO - Project ctest-TestPorts-88542605 not found, creating it
2025-08-08 02:57:54,799 - INFO - Created Project:ctest-TestPorts-88542605, ID : 1b4ec007-b586-41b9-9118-b9310a18097b
2025-08-08 02:57:56,360 - INFO - ================================================================================
2025-08-08 02:57:56,360 - INFO - STARTING TEST : test_ports_bindings
2025-08-08 02:57:56,360 - 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-08 02:57:56,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-08 02:57:56,621 - INFO - Initial checks done. Running the testcase now
2025-08-08 02:57:56,621 - INFO -
2025-08-08 02:57:57,217 - DEBUG - Response for create_network : {'network': {'id': 'ec2a7923-4a1f-4787-ab76-a11621bbab93', 'name': 'ctest-vn-76408882', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'project_id': '1b4ec007b58641b99118b9310a18097b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88542605', 'ctest-vn-76408882'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 02:57:57,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd8e454c-6c95-4464-8f3d-44acb0de6b9d', 'name': '', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'ec2a7923-4a1f-4787-ab76-a11621bbab93', 'ip_version': 4, 'cidr': '126.40.6.128/26', 'allocation_pools': [{'start': '126.40.6.130', 'end': '126.40.6.190'}], 'gateway_ip': '126.40.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.40.6.130', 'tags': [], 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:57:57,451 - INFO - Created VN ctest-vn-76408882
2025-08-08 02:57:57,505 - DEBUG - VN ctest-vn-76408882 UUID is ec2a7923-4a1f-4787-ab76-a11621bbab93
2025-08-08 02:57:57,621 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88542605', 'ctest-vmi-70809249']}
2025-08-08 02:57:57,894 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70809249', 'id': '339cb5cb-bef7-4442-bf17-faf69c05c39a', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'ec2a7923-4a1f-4787-ab76-a11621bbab93', 'mac_address': '02:33:9c:b5:cb:be', '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': '126.40.6.131', 'subnet_id': 'fd8e454c-6c95-4464-8f3d-44acb0de6b9d'}], 'security_groups': ['212b1d77-66be-475b-ba65-f6755cc77999'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:57:57,894 - DEBUG - Created port 339cb5cb-bef7-4442-bf17-faf69c05c39a
2025-08-08 02:57:58,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/339cb5cb-bef7-4442-bf17-faf69c05c39a
2025-08-08 02:57:58,338 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/339cb5cb-bef7-4442-bf17-faf69c05c39a
2025-08-08 02:57:58,378 - INFO - VMI 339cb5cb-bef7-4442-bf17-faf69c05c39a verification in API Server passed
2025-08-08 02:57:58,485 - DEBUG - Response for delete_port : ()
2025-08-08 02:57:58,485 - INFO - Deleted port 339cb5cb-bef7-4442-bf17-faf69c05c39a
2025-08-08 02:57:58,485 - INFO - Deleting VN ctest-vn-76408882
2025-08-08 02:57:58,586 - DEBUG - Response for deleting network ()
2025-08-08 02:57:58,854 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 02:57:58,855 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-08 02:57:58,855 - INFO - --------------------------------------------------------------------------------
2025-08-08 02:57:58,858 - INFO - ================================================================================
2025-08-08 02:57:58,858 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-08 02:57:58,858 - 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-08 02:57:59,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-08 02:57:59,147 - INFO - Initial checks done. Running the testcase now
2025-08-08 02:57:59,147 - INFO -
2025-08-08 02:57:59,330 - DEBUG - Response for create_network : {'network': {'id': 'b633342a-818a-42f7-9d53-add5c46b90c9', 'name': 'ctest-vn1-08528111', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'project_id': '1b4ec007b58641b99118b9310a18097b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88542605', 'ctest-vn1-08528111'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 02:57:59,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f29f3ef-491c-4e00-962c-8b4807dbef22', 'name': '', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'b633342a-818a-42f7-9d53-add5c46b90c9', 'ip_version': 4, 'cidr': '69.214.171.128/26', 'allocation_pools': [{'start': '69.214.171.130', 'end': '69.214.171.190'}], 'gateway_ip': '69.214.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.214.171.130', 'tags': [], 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:57:59,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '437c3f10-798b-41f9-b9f8-ee3fb1d71f93', 'name': '', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'b633342a-818a-42f7-9d53-add5c46b90c9', 'ip_version': 4, 'cidr': '17.152.178.64/26', 'allocation_pools': [{'start': '17.152.178.66', 'end': '17.152.178.126'}], 'gateway_ip': '17.152.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.152.178.66', 'tags': [], 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:57:59,678 - INFO - Created VN ctest-vn1-08528111
2025-08-08 02:57:59,733 - DEBUG - VN ctest-vn1-08528111 UUID is b633342a-818a-42f7-9d53-add5c46b90c9
2025-08-08 02:58:00,062 - DEBUG - Response for create_port : {'port': {'name': '55436e9d-ef15-44fa-aad1-5783966aa882', 'id': '55436e9d-ef15-44fa-aad1-5783966aa882', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'b633342a-818a-42f7-9d53-add5c46b90c9', 'mac_address': '02:55:43:6e:9d:ef', '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': '69.214.171.133', 'subnet_id': '6f29f3ef-491c-4e00-962c-8b4807dbef22'}], 'security_groups': ['212b1d77-66be-475b-ba65-f6755cc77999'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:58:00,261 - DEBUG - Response for create_port : {'port': {'name': '1c868966-5b2c-47a7-9f0c-2b30d13a4d8e', 'id': '1c868966-5b2c-47a7-9f0c-2b30d13a4d8e', 'tenant_id': '1b4ec007b58641b99118b9310a18097b', 'network_id': 'b633342a-818a-42f7-9d53-add5c46b90c9', 'mac_address': '02:1c:86:89:66:5b', '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': '17.152.178.69', 'subnet_id': '437c3f10-798b-41f9-b9f8-ee3fb1d71f93'}], 'security_groups': ['212b1d77-66be-475b-ba65-f6755cc77999'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b4ec007b58641b99118b9310a18097b'}}
2025-08-08 02:58:00,319 - DEBUG - Services list from nova: [, , ]
2025-08-08 02:58:00,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1)
2025-08-08 02:58:01,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1)
2025-08-08 02:58:01,134 - INFO - Waiting for VM ctest-vn1-vm1-17471959 to be up..
2025-08-08 02:58:01,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-08 02:58:06,251 - DEBUG - VM is in ACTIVE state now
2025-08-08 02:58:06,251 - INFO - VM name : ctest-vn1-vm1-17471959
2025-08-08 02:58:06,325 - DEBUG - VM ctest-vn1-vm1-17471959 ID is cc3a4306-7047-448a-a9ba-269bb3cec2f9
2025-08-08 02:58:06,345 - DEBUG - VM ctest-vn1-vm1-17471959 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1
2025-08-08 02:58:06,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc3a4306-7047-448a-a9ba-269bb3cec2f9
2025-08-08 02:58:06,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/55436e9d-ef15-44fa-aad1-5783966aa882
2025-08-08 02:58:09,674 - 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 1011ms')
2025-08-08 02:58:09,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17471959 failed!
2025-08-08 02:58:09,733 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88542605:ctest-vn1-08528111 is 69.214.171.129 and allocation pool is NOT set
2025-08-08 02:58:09,733 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88542605:ctest-vn1-08528111 is 17.152.178.65 and allocation pool is NOT set
2025-08-08 02:58:13,796 - 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=3.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 3.547/3.547/3.547/0.000 ms')
2025-08-08 02:58:13,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17471959 passed
2025-08-08 02:58:13,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:13,957 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17471959, IP 69.214.171.133, Port 22
2025-08-08 02:58:14,022 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-08 02:58:14,102 - DEBUG - VM ctest-vn1-vm1-17471959 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-08 02:58:19,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:19,103 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17471959, IP 69.214.171.133, Port 22
2025-08-08 02:58:19,260 - DEBUG - VM ctest-vn1-vm1-17471959 is ready for SSH connections
2025-08-08 02:58:19,261 - INFO - Waiting for VM ctest-vn1-vm2-44643378 to be up..
2025-08-08 02:58:19,334 - DEBUG - VM is in ACTIVE state now
2025-08-08 02:58:19,334 - INFO - VM name : ctest-vn1-vm2-44643378
2025-08-08 02:58:19,410 - DEBUG - VM ctest-vn1-vm2-44643378 ID is 68ea6700-1c8e-4534-b4cb-b0c6dfa4a1e3
2025-08-08 02:58:19,410 - DEBUG - VM ctest-vn1-vm2-44643378 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1
2025-08-08 02:58:19,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/68ea6700-1c8e-4534-b4cb-b0c6dfa4a1e3
2025-08-08 02:58:19,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1c868966-5b2c-47a7-9f0c-2b30d13a4d8e
2025-08-08 02:58:20,744 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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.342/1.784/3.227/1.442 ms')
2025-08-08 02:58:20,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44643378 passed
2025-08-08 02:58:20,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:20,897 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44643378, IP 17.152.178.69, Port 22
2025-08-08 02:58:21,052 - DEBUG - VM ctest-vn1-vm2-44643378 is ready for SSH connections
2025-08-08 02:58:21,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:21,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:21,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 02:58:21,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.214.171.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-08 02:58:21,053 - DEBUG - ping -s 56 -c 3 -W 1 69.214.171.133
2025-08-08 02:58:23,716 - DEBUG - PING 69.214.171.133 (69.214.171.133): 56 data bytes
64 bytes from 69.214.171.133: seq=0 ttl=63 time=3.819 ms
64 bytes from 69.214.171.133: seq=1 ttl=63 time=0.852 ms
64 bytes from 69.214.171.133: seq=2 ttl=63 time=1.010 ms
--- 69.214.171.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.852/1.893/3.819 ms
2025-08-08 02:58:23,716 - INFO - Ping to IP 69.214.171.133 from VM ctest-vn1-vm2-44643378 passed
2025-08-08 02:58:23,716 - INFO - Detaching port 1c868966-5b2c-47a7-9f0c-2b30d13a4d8e from VM ctest-vn1-vm2-44643378
2025-08-08 02:58:23,764 - INFO - Deleting VM ctest-vn1-vm2-44643378
2025-08-08 02:58:23,828 - INFO - Detaching port 55436e9d-ef15-44fa-aad1-5783966aa882 from VM ctest-vn1-vm1-17471959
2025-08-08 02:58:23,866 - INFO - Deleting VM ctest-vn1-vm1-17471959
2025-08-08 02:58:24,100 - DEBUG - Response for delete_port : ()
2025-08-08 02:58:24,310 - DEBUG - Response for delete_port : ()
2025-08-08 02:58:24,310 - INFO - Deleting VN ctest-vn1-08528111
2025-08-08 02:58:24,477 - DEBUG - Response for deleting network ()
2025-08-08 02:58:24,738 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 02:58:24,738 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-08 02:58:24,738 - INFO - --------------------------------------------------------------------------------
2025-08-08 02:58:25,447 - INFO - Deleted project: ctest-TestPorts-88542605, ID : 1b4ec007-b586-41b9-9118-b9310a18097b