2025-10-20 14:51:40,545 - INFO - Domain Default found not creating
2025-10-20 14:51:41,001 - INFO - Project ctest-TestPorts-10528882 not found, creating it
2025-10-20 14:51:41,448 - INFO - Created Project:ctest-TestPorts-10528882, ID : 54a121b0-284f-44d0-a081-1a4e4251faa0
2025-10-20 14:51:42,794 - INFO - ================================================================================
2025-10-20 14:51:42,794 - INFO - STARTING TEST : test_ports_bindings
2025-10-20 14:51:42,794 - 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-10-20 14:51:43,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-20 14:51:43,051 - INFO - Initial checks done. Running the testcase now
2025-10-20 14:51:43,051 - INFO -
2025-10-20 14:51:43,579 - DEBUG - Response for create_network : {'network': {'id': 'd31fb038-4dad-4cfb-b23c-15a53db4ad36', 'name': 'ctest-vn-79419413', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'project_id': '54a121b0284f44d0a0811a4e4251faa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10528882', 'ctest-vn-79419413'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 14:51:43,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '80b70916-3b4c-41f6-be7b-e1d42c50f3d5', 'name': '', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'd31fb038-4dad-4cfb-b23c-15a53db4ad36', 'ip_version': 4, 'cidr': '134.92.138.192/26', 'allocation_pools': [{'start': '134.92.138.194', 'end': '134.92.138.254'}], 'gateway_ip': '134.92.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.92.138.194', 'tags': [], 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:43,773 - INFO - Created VN ctest-vn-79419413
2025-10-20 14:51:43,822 - DEBUG - VN ctest-vn-79419413 UUID is d31fb038-4dad-4cfb-b23c-15a53db4ad36
2025-10-20 14:51:43,920 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10528882', 'ctest-vmi-95811023']}
2025-10-20 14:51:44,198 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95811023', 'id': '4f140fa4-3851-4263-b467-df8880dd48cb', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'd31fb038-4dad-4cfb-b23c-15a53db4ad36', 'mac_address': '02:4f:14:0f:a4:38', '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': '134.92.138.195', 'subnet_id': '80b70916-3b4c-41f6-be7b-e1d42c50f3d5'}], 'security_groups': ['88917dd4-3fb6-4873-ae1e-44410db8dee6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:44,198 - DEBUG - Created port 4f140fa4-3851-4263-b467-df8880dd48cb
2025-10-20 14:51:44,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f140fa4-3851-4263-b467-df8880dd48cb
2025-10-20 14:51:44,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f140fa4-3851-4263-b467-df8880dd48cb
2025-10-20 14:51:44,620 - INFO - VMI 4f140fa4-3851-4263-b467-df8880dd48cb verification in API Server passed
2025-10-20 14:51:44,702 - DEBUG - Response for delete_port : ()
2025-10-20 14:51:44,702 - INFO - Deleted port 4f140fa4-3851-4263-b467-df8880dd48cb
2025-10-20 14:51:44,702 - INFO - Deleting VN ctest-vn-79419413
2025-10-20 14:51:44,796 - DEBUG - Response for deleting network ()
2025-10-20 14:51:45,051 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 14:51:45,051 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-20 14:51:45,051 - INFO - --------------------------------------------------------------------------------
2025-10-20 14:51:45,053 - INFO - ================================================================================
2025-10-20 14:51:45,053 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-20 14:51:45,053 - 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-10-20 14:51:45,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-20 14:51:45,346 - INFO - Initial checks done. Running the testcase now
2025-10-20 14:51:45,346 - INFO -
2025-10-20 14:51:45,517 - DEBUG - Response for create_network : {'network': {'id': 'acbbd96f-653e-4b8c-a440-079f80cf572f', 'name': 'ctest-vn1-34121732', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'project_id': '54a121b0284f44d0a0811a4e4251faa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10528882', 'ctest-vn1-34121732'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 14:51:45,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '23f5be6c-624b-4c66-958b-ab48fb7a4b6a', 'name': '', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'acbbd96f-653e-4b8c-a440-079f80cf572f', 'ip_version': 4, 'cidr': '56.122.163.64/26', 'allocation_pools': [{'start': '56.122.163.66', 'end': '56.122.163.126'}], 'gateway_ip': '56.122.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.122.163.66', 'tags': [], 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:45,869 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b8ad73-5a5e-4fd6-a52e-007902a712bc', 'name': '', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'acbbd96f-653e-4b8c-a440-079f80cf572f', 'ip_version': 4, 'cidr': '1.133.137.64/26', 'allocation_pools': [{'start': '1.133.137.66', 'end': '1.133.137.126'}], 'gateway_ip': '1.133.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.133.137.66', 'tags': [], 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:45,888 - INFO - Created VN ctest-vn1-34121732
2025-10-20 14:51:45,938 - DEBUG - VN ctest-vn1-34121732 UUID is acbbd96f-653e-4b8c-a440-079f80cf572f
2025-10-20 14:51:46,214 - DEBUG - Response for create_port : {'port': {'name': '64dd0bba-bcd7-4e3a-aa4a-fbd6fc4141ed', 'id': '64dd0bba-bcd7-4e3a-aa4a-fbd6fc4141ed', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'acbbd96f-653e-4b8c-a440-079f80cf572f', 'mac_address': '02:64:dd:0b:ba: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': '56.122.163.69', 'subnet_id': '23f5be6c-624b-4c66-958b-ab48fb7a4b6a'}], 'security_groups': ['88917dd4-3fb6-4873-ae1e-44410db8dee6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:46,364 - DEBUG - Response for create_port : {'port': {'name': '323b9b86-1e8d-438a-9824-19ec2de011bc', 'id': '323b9b86-1e8d-438a-9824-19ec2de011bc', 'tenant_id': '54a121b0284f44d0a0811a4e4251faa0', 'network_id': 'acbbd96f-653e-4b8c-a440-079f80cf572f', 'mac_address': '02:32:3b:9b:86:1e', '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': '1.133.137.69', 'subnet_id': 'd9b8ad73-5a5e-4fd6-a52e-007902a712bc'}], 'security_groups': ['88917dd4-3fb6-4873-ae1e-44410db8dee6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54a121b0284f44d0a0811a4e4251faa0'}}
2025-10-20 14:51:46,417 - DEBUG - Services list from nova: [, , ]
2025-10-20 14:51:46,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1)
2025-10-20 14:51:47,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1)
2025-10-20 14:51:47,141 - INFO - Waiting for VM ctest-vn1-vm1-78709222 to be up..
2025-10-20 14:51:47,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 14:51:52,251 - DEBUG - VM is in ACTIVE state now
2025-10-20 14:51:52,251 - INFO - VM name : ctest-vn1-vm1-78709222
2025-10-20 14:51:52,322 - DEBUG - VM ctest-vn1-vm1-78709222 ID is c10ef6b4-4f26-4cb0-905c-09b4a195b314
2025-10-20 14:51:52,340 - DEBUG - VM ctest-vn1-vm1-78709222 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1
2025-10-20 14:51:52,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c10ef6b4-4f26-4cb0-905c-09b4a195b314
2025-10-20 14:51:52,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/64dd0bba-bcd7-4e3a-aa4a-fbd6fc4141ed
2025-10-20 14:51:55,703 - 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 1029ms')
2025-10-20 14:51:55,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78709222 failed!
2025-10-20 14:51:55,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10528882:ctest-vn1-34121732 is 56.122.163.65 and allocation pool is NOT set
2025-10-20 14:51:55,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10528882:ctest-vn1-34121732 is 1.133.137.65 and allocation pool is NOT set
2025-10-20 14:51:57,821 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.625/6.509/10.394/3.884 ms')
2025-10-20 14:51:57,821 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78709222 passed
2025-10-20 14:51:57,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:51:57,971 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78709222, IP 56.122.163.69, Port 22
2025-10-20 14:51:58,025 - 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-10-20 14:51:58,091 - DEBUG - VM ctest-vn1-vm1-78709222 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 14:52:03,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:52:03,092 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78709222, IP 56.122.163.69, Port 22
2025-10-20 14:52:03,250 - DEBUG - VM ctest-vn1-vm1-78709222 is ready for SSH connections
2025-10-20 14:52:03,250 - INFO - Waiting for VM ctest-vn1-vm2-49283170 to be up..
2025-10-20 14:52:03,327 - DEBUG - VM is in ACTIVE state now
2025-10-20 14:52:03,327 - INFO - VM name : ctest-vn1-vm2-49283170
2025-10-20 14:52:03,394 - DEBUG - VM ctest-vn1-vm2-49283170 ID is a20f9ed6-4267-4151-a9cd-e4bf93df2861
2025-10-20 14:52:03,395 - DEBUG - VM ctest-vn1-vm2-49283170 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1
2025-10-20 14:52:03,461 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a20f9ed6-4267-4151-a9cd-e4bf93df2861
2025-10-20 14:52:03,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/323b9b86-1e8d-438a-9824-19ec2de011bc
2025-10-20 14:52:04,706 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.648/2.919/1.271 ms')
2025-10-20 14:52:04,706 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49283170 passed
2025-10-20 14:52:04,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:52:04,859 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49283170, IP 1.133.137.69, Port 22
2025-10-20 14:52:05,022 - DEBUG - VM ctest-vn1-vm2-49283170 is ready for SSH connections
2025-10-20 14:52:05,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:52:05,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:52:05,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 14:52:05,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.122.163.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-20 14:52:05,022 - DEBUG - ping -s 56 -c 3 -W 1 56.122.163.69
2025-10-20 14:52:07,967 - DEBUG - PING 56.122.163.69 (56.122.163.69): 56 data bytes
64 bytes from 56.122.163.69: seq=0 ttl=63 time=3.440 ms
64 bytes from 56.122.163.69: seq=1 ttl=63 time=1.072 ms
64 bytes from 56.122.163.69: seq=2 ttl=63 time=0.801 ms
--- 56.122.163.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.801/1.771/3.440 ms
2025-10-20 14:52:07,968 - INFO - Ping to IP 56.122.163.69 from VM ctest-vn1-vm2-49283170 passed
2025-10-20 14:52:07,968 - INFO - Detaching port 323b9b86-1e8d-438a-9824-19ec2de011bc from VM ctest-vn1-vm2-49283170
2025-10-20 14:52:08,012 - INFO - Deleting VM ctest-vn1-vm2-49283170
2025-10-20 14:52:08,086 - INFO - Detaching port 64dd0bba-bcd7-4e3a-aa4a-fbd6fc4141ed from VM ctest-vn1-vm1-78709222
2025-10-20 14:52:08,118 - INFO - Deleting VM ctest-vn1-vm1-78709222
2025-10-20 14:52:08,344 - DEBUG - Response for delete_port : ()
2025-10-20 14:52:08,505 - DEBUG - Response for delete_port : ()
2025-10-20 14:52:08,505 - INFO - Deleting VN ctest-vn1-34121732
2025-10-20 14:52:08,636 - DEBUG - Response for deleting network ()
2025-10-20 14:52:08,903 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 14:52:08,903 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-20 14:52:08,903 - INFO - --------------------------------------------------------------------------------
2025-10-20 14:52:09,566 - INFO - Deleted project: ctest-TestPorts-10528882, ID : 54a121b0-284f-44d0-a081-1a4e4251faa0