2025-09-15 11:30:46,410 - INFO - Domain Default found not creating
2025-09-15 11:30:46,557 - INFO - Project ctest-TestPorts-90268984 not found, creating it
2025-09-15 11:30:46,989 - INFO - Created Project:ctest-TestPorts-90268984, ID : 3c769120-5587-45a0-9b52-8298d623c764
2025-09-15 11:30:48,383 - INFO - ================================================================================
2025-09-15 11:30:48,383 - INFO - STARTING TEST : test_ports_bindings
2025-09-15 11:30:48,383 - 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-15 11:30:48,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-15 11:30:48,644 - INFO - Initial checks done. Running the testcase now
2025-09-15 11:30:48,644 - INFO -
2025-09-15 11:30:49,212 - DEBUG - Response for create_network : {'network': {'id': '70615204-d7a3-4fbf-8cd7-c08f17119844', 'name': 'ctest-vn-84363795', 'tenant_id': '3c769120558745a09b528298d623c764', 'project_id': '3c769120558745a09b528298d623c764', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90268984', 'ctest-vn-84363795'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 11:30:49,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '1320491a-de21-4e7c-8a42-db791eca9508', 'name': '', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '70615204-d7a3-4fbf-8cd7-c08f17119844', 'ip_version': 4, 'cidr': '90.236.6.64/26', 'allocation_pools': [{'start': '90.236.6.66', 'end': '90.236.6.126'}], 'gateway_ip': '90.236.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.236.6.66', 'tags': [], 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:49,404 - INFO - Created VN ctest-vn-84363795
2025-09-15 11:30:49,455 - DEBUG - VN ctest-vn-84363795 UUID is 70615204-d7a3-4fbf-8cd7-c08f17119844
2025-09-15 11:30:49,560 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90268984', 'ctest-vmi-04578417']}
2025-09-15 11:30:49,835 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04578417', 'id': '321536db-ebfd-4e4c-971d-a8cf7bc9a2a0', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '70615204-d7a3-4fbf-8cd7-c08f17119844', 'mac_address': '02:32:15:36:db:eb', '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': '90.236.6.67', 'subnet_id': '1320491a-de21-4e7c-8a42-db791eca9508'}], 'security_groups': ['9a083fb4-5941-49de-a17e-884a4a83e9f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:49,835 - DEBUG - Created port 321536db-ebfd-4e4c-971d-a8cf7bc9a2a0
2025-09-15 11:30:49,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/321536db-ebfd-4e4c-971d-a8cf7bc9a2a0
2025-09-15 11:30:50,231 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/321536db-ebfd-4e4c-971d-a8cf7bc9a2a0
2025-09-15 11:30:50,259 - INFO - VMI 321536db-ebfd-4e4c-971d-a8cf7bc9a2a0 verification in API Server passed
2025-09-15 11:30:50,356 - DEBUG - Response for delete_port : ()
2025-09-15 11:30:50,356 - INFO - Deleted port 321536db-ebfd-4e4c-971d-a8cf7bc9a2a0
2025-09-15 11:30:50,356 - INFO - Deleting VN ctest-vn-84363795
2025-09-15 11:30:50,455 - DEBUG - Response for deleting network ()
2025-09-15 11:30:50,709 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 11:30:50,709 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-15 11:30:50,709 - INFO - --------------------------------------------------------------------------------
2025-09-15 11:30:50,711 - INFO - ================================================================================
2025-09-15 11:30:50,712 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-15 11:30:50,712 - 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-15 11:30:50,995 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-15 11:30:50,996 - INFO - Initial checks done. Running the testcase now
2025-09-15 11:30:50,996 - INFO -
2025-09-15 11:30:51,151 - DEBUG - Response for create_network : {'network': {'id': '814368fd-0d9e-43eb-8d94-05eb802df2d0', 'name': 'ctest-vn1-45161305', 'tenant_id': '3c769120558745a09b528298d623c764', 'project_id': '3c769120558745a09b528298d623c764', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90268984', 'ctest-vn1-45161305'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 11:30:51,358 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df360519-2666-44ed-9ada-2f7fa15693cc', 'name': '', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '814368fd-0d9e-43eb-8d94-05eb802df2d0', 'ip_version': 4, 'cidr': '96.55.56.0/26', 'allocation_pools': [{'start': '96.55.56.2', 'end': '96.55.56.62'}], 'gateway_ip': '96.55.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.55.56.2', 'tags': [], 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:51,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '86f7b583-0f9a-4c55-8b75-40fedd1b4ab2', 'name': '', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '814368fd-0d9e-43eb-8d94-05eb802df2d0', 'ip_version': 4, 'cidr': '78.129.166.192/26', 'allocation_pools': [{'start': '78.129.166.194', 'end': '78.129.166.254'}], 'gateway_ip': '78.129.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.129.166.194', 'tags': [], 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:51,545 - INFO - Created VN ctest-vn1-45161305
2025-09-15 11:30:51,595 - DEBUG - VN ctest-vn1-45161305 UUID is 814368fd-0d9e-43eb-8d94-05eb802df2d0
2025-09-15 11:30:51,874 - DEBUG - Response for create_port : {'port': {'name': 'fd8d89f7-8edc-422e-be98-d413782d4115', 'id': 'fd8d89f7-8edc-422e-be98-d413782d4115', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '814368fd-0d9e-43eb-8d94-05eb802df2d0', 'mac_address': '02:fd:8d:89:f7:8e', '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': '96.55.56.5', 'subnet_id': 'df360519-2666-44ed-9ada-2f7fa15693cc'}], 'security_groups': ['9a083fb4-5941-49de-a17e-884a4a83e9f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:52,044 - DEBUG - Response for create_port : {'port': {'name': 'ff40c447-6ded-4653-a915-a6ca749be528', 'id': 'ff40c447-6ded-4653-a915-a6ca749be528', 'tenant_id': '3c769120558745a09b528298d623c764', 'network_id': '814368fd-0d9e-43eb-8d94-05eb802df2d0', 'mac_address': '02:ff:40:c4:47:6d', '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': '78.129.166.197', 'subnet_id': '86f7b583-0f9a-4c55-8b75-40fedd1b4ab2'}], 'security_groups': ['9a083fb4-5941-49de-a17e-884a4a83e9f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c769120558745a09b528298d623c764'}}
2025-09-15 11:30:52,114 - DEBUG - Services list from nova: [, , ]
2025-09-15 11:30:52,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1)
2025-09-15 11:30:52,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1)
2025-09-15 11:30:52,817 - INFO - Waiting for VM ctest-vn1-vm1-92805655 to be up..
2025-09-15 11:30:52,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 11:30:57,937 - DEBUG - VM is in ACTIVE state now
2025-09-15 11:30:57,937 - INFO - VM name : ctest-vn1-vm1-92805655
2025-09-15 11:30:58,013 - DEBUG - VM ctest-vn1-vm1-92805655 ID is 60abd9e8-368f-4e75-8afb-f2efe3839944
2025-09-15 11:30:58,036 - DEBUG - VM ctest-vn1-vm1-92805655 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1
2025-09-15 11:30:58,115 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/60abd9e8-368f-4e75-8afb-f2efe3839944
2025-09-15 11:30:58,125 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fd8d89f7-8edc-422e-be98-d413782d4115
2025-09-15 11:31:01,365 - 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 1003ms')
2025-09-15 11:31:01,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92805655 failed!
2025-09-15 11:31:01,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90268984:ctest-vn1-45161305 is 96.55.56.1 and allocation pool is NOT set
2025-09-15 11:31:01,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90268984:ctest-vn1-45161305 is 78.129.166.193 and allocation pool is NOT set
2025-09-15 11:31:03,483 - 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=6.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.629/3.862/6.096/2.233 ms')
2025-09-15 11:31:03,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92805655 passed
2025-09-15 11:31:03,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:03,639 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92805655, IP 96.55.56.5, Port 22
2025-09-15 11:31:03,704 - 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-09-15 11:31:03,784 - DEBUG - VM ctest-vn1-vm1-92805655 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 11:31:08,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:08,785 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92805655, IP 96.55.56.5, Port 22
2025-09-15 11:31:08,943 - DEBUG - VM ctest-vn1-vm1-92805655 is ready for SSH connections
2025-09-15 11:31:08,943 - INFO - Waiting for VM ctest-vn1-vm2-53621718 to be up..
2025-09-15 11:31:09,013 - DEBUG - VM is in ACTIVE state now
2025-09-15 11:31:09,013 - INFO - VM name : ctest-vn1-vm2-53621718
2025-09-15 11:31:09,083 - DEBUG - VM ctest-vn1-vm2-53621718 ID is 85e0fd38-aad2-4a26-9f2e-2a110de03130
2025-09-15 11:31:09,084 - DEBUG - VM ctest-vn1-vm2-53621718 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1
2025-09-15 11:31:09,155 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/85e0fd38-aad2-4a26-9f2e-2a110de03130
2025-09-15 11:31:09,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ff40c447-6ded-4653-a915-a6ca749be528
2025-09-15 11:31:10,403 - 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=5.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/2.718/5.015/2.297 ms')
2025-09-15 11:31:10,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53621718 passed
2025-09-15 11:31:10,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:10,551 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53621718, IP 78.129.166.197, Port 22
2025-09-15 11:31:10,714 - DEBUG - VM ctest-vn1-vm2-53621718 is ready for SSH connections
2025-09-15 11:31:10,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:10,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:10,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 11:31:10,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.55.56.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 11:31:10,715 - DEBUG - ping -s 56 -c 3 -W 1 96.55.56.5
2025-09-15 11:31:13,345 - DEBUG - PING 96.55.56.5 (96.55.56.5): 56 data bytes
64 bytes from 96.55.56.5: seq=0 ttl=63 time=3.766 ms
64 bytes from 96.55.56.5: seq=1 ttl=63 time=0.830 ms
64 bytes from 96.55.56.5: seq=2 ttl=63 time=1.002 ms
--- 96.55.56.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/1.866/3.766 ms
2025-09-15 11:31:13,345 - INFO - Ping to IP 96.55.56.5 from VM ctest-vn1-vm2-53621718 passed
2025-09-15 11:31:13,345 - INFO - Detaching port ff40c447-6ded-4653-a915-a6ca749be528 from VM ctest-vn1-vm2-53621718
2025-09-15 11:31:13,393 - INFO - Deleting VM ctest-vn1-vm2-53621718
2025-09-15 11:31:13,465 - INFO - Detaching port fd8d89f7-8edc-422e-be98-d413782d4115 from VM ctest-vn1-vm1-92805655
2025-09-15 11:31:13,500 - INFO - Deleting VM ctest-vn1-vm1-92805655
2025-09-15 11:31:13,712 - DEBUG - Response for delete_port : ()
2025-09-15 11:31:13,878 - DEBUG - Response for delete_port : ()
2025-09-15 11:31:13,878 - INFO - Deleting VN ctest-vn1-45161305
2025-09-15 11:31:14,009 - DEBUG - Response for deleting network ()
2025-09-15 11:31:14,267 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 11:31:14,267 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-15 11:31:14,267 - INFO - --------------------------------------------------------------------------------
2025-09-15 11:31:14,954 - INFO - Deleted project: ctest-TestPorts-90268984, ID : 3c769120-5587-45a0-9b52-8298d623c764