2025-11-10 01:57:05,165 - INFO - Domain Default found not creating
2025-11-10 01:57:05,313 - INFO - Project ctest-TestPorts-87366889 not found, creating it
2025-11-10 01:57:05,784 - INFO - Created Project:ctest-TestPorts-87366889, ID : 224b81df-de61-4860-b858-17d634f69dcc
2025-11-10 01:57:07,417 - INFO - ================================================================================
2025-11-10 01:57:07,417 - INFO - STARTING TEST : test_ports_bindings
2025-11-10 01:57:07,417 - 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-11-10 01:57:07,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-11-10 01:57:07,674 - INFO - Initial checks done. Running the testcase now
2025-11-10 01:57:07,674 - INFO -
2025-11-10 01:57:08,222 - DEBUG - Response for create_network : {'network': {'id': '322e0e52-ba97-4da8-979f-032fc13010fa', 'name': 'ctest-vn-00691625', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'project_id': '224b81dfde614860b85817d634f69dcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87366889', 'ctest-vn-00691625'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 01:57:08,402 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f26c76ed-0278-4ded-9366-5b542ec969a4', 'name': '', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': '322e0e52-ba97-4da8-979f-032fc13010fa', 'ip_version': 4, 'cidr': '15.161.45.192/26', 'allocation_pools': [{'start': '15.161.45.194', 'end': '15.161.45.254'}], 'gateway_ip': '15.161.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.161.45.194', 'tags': [], 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:08,419 - INFO - Created VN ctest-vn-00691625
2025-11-10 01:57:08,475 - DEBUG - VN ctest-vn-00691625 UUID is 322e0e52-ba97-4da8-979f-032fc13010fa
2025-11-10 01:57:08,589 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87366889', 'ctest-vmi-00335617']}
2025-11-10 01:57:08,818 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00335617', 'id': '86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': '322e0e52-ba97-4da8-979f-032fc13010fa', 'mac_address': '02:86:d4:0a:9e:85', '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': '15.161.45.195', 'subnet_id': 'f26c76ed-0278-4ded-9366-5b542ec969a4'}], 'security_groups': ['869441fa-e6ca-4626-b603-74ef8159d543'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:08,818 - DEBUG - Created port 86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7
2025-11-10 01:57:08,922 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7
2025-11-10 01:57:09,221 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7
2025-11-10 01:57:09,254 - INFO - VMI 86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7 verification in API Server passed
2025-11-10 01:57:09,346 - DEBUG - Response for delete_port : ()
2025-11-10 01:57:09,346 - INFO - Deleted port 86d40a9e-8501-4c9b-ae12-48fa1f2fcdd7
2025-11-10 01:57:09,346 - INFO - Deleting VN ctest-vn-00691625
2025-11-10 01:57:09,443 - DEBUG - Response for deleting network ()
2025-11-10 01:57:09,718 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:57:09,718 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-10 01:57:09,718 - INFO - --------------------------------------------------------------------------------
2025-11-10 01:57:09,721 - INFO - ================================================================================
2025-11-10 01:57:09,721 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-10 01:57:09,721 - 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-11-10 01:57:10,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-11-10 01:57:10,003 - INFO - Initial checks done. Running the testcase now
2025-11-10 01:57:10,004 - INFO -
2025-11-10 01:57:10,171 - DEBUG - Response for create_network : {'network': {'id': 'ed9f19b2-faff-405b-9655-1f9ebafa37fc', 'name': 'ctest-vn1-89833636', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'project_id': '224b81dfde614860b85817d634f69dcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87366889', 'ctest-vn1-89833636'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 01:57:10,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b087fd0f-884b-4674-b53f-0097edd7e316', 'name': '', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': 'ed9f19b2-faff-405b-9655-1f9ebafa37fc', 'ip_version': 4, 'cidr': '88.76.251.0/26', 'allocation_pools': [{'start': '88.76.251.2', 'end': '88.76.251.62'}], 'gateway_ip': '88.76.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.76.251.2', 'tags': [], 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:10,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ebd859b-c73c-4292-b2e1-597dbc892882', 'name': '', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': 'ed9f19b2-faff-405b-9655-1f9ebafa37fc', 'ip_version': 4, 'cidr': '179.26.28.64/26', 'allocation_pools': [{'start': '179.26.28.66', 'end': '179.26.28.126'}], 'gateway_ip': '179.26.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.26.28.66', 'tags': [], 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:10,521 - INFO - Created VN ctest-vn1-89833636
2025-11-10 01:57:10,575 - DEBUG - VN ctest-vn1-89833636 UUID is ed9f19b2-faff-405b-9655-1f9ebafa37fc
2025-11-10 01:57:10,847 - DEBUG - Response for create_port : {'port': {'name': 'a82388ad-56ca-49b2-866e-6868f158cad3', 'id': 'a82388ad-56ca-49b2-866e-6868f158cad3', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': 'ed9f19b2-faff-405b-9655-1f9ebafa37fc', 'mac_address': '02:a8:23:88:ad:56', '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': '88.76.251.5', 'subnet_id': 'b087fd0f-884b-4674-b53f-0097edd7e316'}], 'security_groups': ['869441fa-e6ca-4626-b603-74ef8159d543'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:11,007 - DEBUG - Response for create_port : {'port': {'name': '0533a006-87e7-46e9-b2da-79ac5adfd2c9', 'id': '0533a006-87e7-46e9-b2da-79ac5adfd2c9', 'tenant_id': '224b81dfde614860b85817d634f69dcc', 'network_id': 'ed9f19b2-faff-405b-9655-1f9ebafa37fc', 'mac_address': '02:05:33:a0:06:87', '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': '179.26.28.69', 'subnet_id': '7ebd859b-c73c-4292-b2e1-597dbc892882'}], 'security_groups': ['869441fa-e6ca-4626-b603-74ef8159d543'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '224b81dfde614860b85817d634f69dcc'}}
2025-11-10 01:57:11,084 - DEBUG - Services list from nova: [, , ]
2025-11-10 01:57:11,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4675-1)
2025-11-10 01:57:11,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4675-1)
2025-11-10 01:57:11,806 - INFO - Waiting for VM ctest-vn1-vm1-36093221 to be up..
2025-11-10 01:57:11,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-10 01:57:16,920 - DEBUG - VM is in ACTIVE state now
2025-11-10 01:57:16,920 - INFO - VM name : ctest-vn1-vm1-36093221
2025-11-10 01:57:16,995 - DEBUG - VM ctest-vn1-vm1-36093221 ID is 35360f1f-94dd-4ba1-a148-faef26507c5a
2025-11-10 01:57:17,016 - DEBUG - VM ctest-vn1-vm1-36093221 launched on Node cn-jenkins-deploy-platform-ansible-os-4675-1
2025-11-10 01:57:17,095 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/35360f1f-94dd-4ba1-a148-faef26507c5a
2025-11-10 01:57:17,105 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a82388ad-56ca-49b2-866e-6868f158cad3
2025-11-10 01:57:20,382 - 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 1031ms')
2025-11-10 01:57:20,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36093221 failed!
2025-11-10 01:57:20,443 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87366889:ctest-vn1-89833636 is 88.76.251.1 and allocation pool is NOT set
2025-11-10 01:57:20,443 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87366889:ctest-vn1-89833636 is 179.26.28.65 and allocation pool is NOT set
2025-11-10 01:57:22,500 - 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=17.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.488/9.309/17.130/7.821 ms')
2025-11-10 01:57:22,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36093221 passed
2025-11-10 01:57:22,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:22,647 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36093221, IP 88.76.251.5, Port 22
2025-11-10 01:57:22,712 - 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-11-10 01:57:22,790 - DEBUG - VM ctest-vn1-vm1-36093221 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-10 01:57:27,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:27,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36093221, IP 88.76.251.5, Port 22
2025-11-10 01:57:27,958 - DEBUG - VM ctest-vn1-vm1-36093221 is ready for SSH connections
2025-11-10 01:57:27,958 - INFO - Waiting for VM ctest-vn1-vm2-90129340 to be up..
2025-11-10 01:57:28,031 - DEBUG - VM is in ACTIVE state now
2025-11-10 01:57:28,031 - INFO - VM name : ctest-vn1-vm2-90129340
2025-11-10 01:57:28,108 - DEBUG - VM ctest-vn1-vm2-90129340 ID is c42db015-e0df-4700-8d23-3b5f1844ecfc
2025-11-10 01:57:28,108 - DEBUG - VM ctest-vn1-vm2-90129340 launched on Node cn-jenkins-deploy-platform-ansible-os-4675-1
2025-11-10 01:57:28,181 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c42db015-e0df-4700-8d23-3b5f1844ecfc
2025-11-10 01:57:28,189 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0533a006-87e7-46e9-b2da-79ac5adfd2c9
2025-11-10 01:57:29,423 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.432/1.634/2.837/1.202 ms')
2025-11-10 01:57:29,423 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90129340 passed
2025-11-10 01:57:29,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:29,571 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90129340, IP 179.26.28.69, Port 22
2025-11-10 01:57:29,734 - DEBUG - VM ctest-vn1-vm2-90129340 is ready for SSH connections
2025-11-10 01:57:29,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:29,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:29,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 01:57:29,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.76.251.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-11-10 01:57:29,735 - DEBUG - ping -s 56 -c 3 -W 1 88.76.251.5
2025-11-10 01:57:32,421 - DEBUG - PING 88.76.251.5 (88.76.251.5): 56 data bytes
64 bytes from 88.76.251.5: seq=0 ttl=63 time=3.734 ms
64 bytes from 88.76.251.5: seq=1 ttl=63 time=0.838 ms
64 bytes from 88.76.251.5: seq=2 ttl=63 time=1.077 ms
--- 88.76.251.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.838/1.883/3.734 ms
2025-11-10 01:57:32,422 - INFO - Ping to IP 88.76.251.5 from VM ctest-vn1-vm2-90129340 passed
2025-11-10 01:57:32,422 - INFO - Detaching port 0533a006-87e7-46e9-b2da-79ac5adfd2c9 from VM ctest-vn1-vm2-90129340
2025-11-10 01:57:32,480 - INFO - Deleting VM ctest-vn1-vm2-90129340
2025-11-10 01:57:32,592 - INFO - Detaching port a82388ad-56ca-49b2-866e-6868f158cad3 from VM ctest-vn1-vm1-36093221
2025-11-10 01:57:32,633 - INFO - Deleting VM ctest-vn1-vm1-36093221
2025-11-10 01:57:32,868 - DEBUG - Response for delete_port : ()
2025-11-10 01:57:33,014 - DEBUG - Response for delete_port : ()
2025-11-10 01:57:33,015 - INFO - Deleting VN ctest-vn1-89833636
2025-11-10 01:57:33,147 - DEBUG - Response for deleting network ()
2025-11-10 01:57:33,403 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:57:33,403 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-10 01:57:33,404 - INFO - --------------------------------------------------------------------------------
2025-11-10 01:57:34,120 - INFO - Deleted project: ctest-TestPorts-87366889, ID : 224b81df-de61-4860-b858-17d634f69dcc