2025-11-24 03:44:41,517 - INFO - Domain Default found not creating 2025-11-24 03:44:41,701 - INFO - Project ctest-TestBGPaaSlocalAS-43135297 not found, creating it 2025-11-24 03:44:42,321 - INFO - Created Project:ctest-TestBGPaaSlocalAS-43135297, ID : 783050b6-994e-4fb3-bb83-21aaa7e051cd 2025-11-24 03:44:43,886 - DEBUG - Services list from nova: [, , , ] 2025-11-24 03:44:43,886 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4803-2', 'an-jenkins-deploy-platform-ansible-os-4803-1']} 2025-11-24 03:44:43,889 - INFO - ================================================================================ 2025-11-24 03:44:43,889 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-11-24 03:44:43,889 - INFO - TEST DESCRIPTION : 1. Create a bgpaas vm. Configure same local-as on vm and contrail side. 2. Make sure BGP with vm comes up. 2025-11-24 03:44:45,163 - DEBUG - Skipping xmpp flap check 2025-11-24 03:44:45,163 - INFO - Initial checks done. Running the testcase now 2025-11-24 03:44:45,163 - INFO - 2025-11-24 03:44:45,950 - DEBUG - Response for create_network : {'network': {'id': '8e1a16f6-321b-4e1a-b3fd-54b556b54b4b', 'name': 'ctest-bgpaas_vn-92843058', 'tenant_id': '783050b6994e4fb3bb8321aaa7e051cd', 'project_id': '783050b6994e4fb3bb8321aaa7e051cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-43135297', 'ctest-bgpaas_vn-92843058'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 03:44:46,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '675138c6-ecac-4147-85fc-95959a5705c1', 'name': '', 'tenant_id': '783050b6994e4fb3bb8321aaa7e051cd', 'network_id': '8e1a16f6-321b-4e1a-b3fd-54b556b54b4b', 'ip_version': 4, 'cidr': '37.61.135.64/26', 'allocation_pools': [{'start': '37.61.135.66', 'end': '37.61.135.126'}], 'gateway_ip': '37.61.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.61.135.66', 'tags': [], 'project_id': '783050b6994e4fb3bb8321aaa7e051cd'}} 2025-11-24 03:44:46,297 - INFO - Created VN ctest-bgpaas_vn-92843058 2025-11-24 03:44:46,313 - DEBUG - VN ctest-bgpaas_vn-92843058 UUID is 8e1a16f6-321b-4e1a-b3fd-54b556b54b4b 2025-11-24 03:44:47,631 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-2) 2025-11-24 03:44:47,723 - DEBUG - Image by name ubuntu-bird not found 2025-11-24 03:44:47,724 - DEBUG - Installing image ubuntu-bird 2025-11-24 03:44:47,724 - DEBUG - Image info {'name': 'ubuntu-bird.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-11-24 03:44:47,724 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-24 03:44:47,724 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-24 03:44:47,739 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz -O /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-24 03:44:50,370 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-24 03:44:50,370 - DEBUG - Unzip image 2025-11-24 03:44:50,371 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-24 03:45:01,549 - DEBUG - Try to create image in user context 2025-11-24 03:45:08,995 - DEBUG - Image has been created in user context 2025-11-24 03:45:08,995 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-11-24 03:45:09,170 - DEBUG - Downloaded image has been removed 2025-11-24 03:45:09,186 - DEBUG - Uploaded image status = active 2025-11-24 03:45:10,330 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-1) 2025-11-24 03:45:10,330 - INFO - Waiting for VM test_vm to be up.. 2025-11-24 03:45:10,418 - DEBUG - VM is in ACTIVE state now 2025-11-24 03:45:10,418 - INFO - VM name : test_vm 2025-11-24 03:45:10,511 - DEBUG - VM test_vm ID is 8b6eb1ca-791f-443e-8899-1a17a5afe4bf 2025-11-24 03:45:10,557 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4803-2 2025-11-24 03:45:10,651 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b6eb1ca-791f-443e-8899-1a17a5afe4bf 2025-11-24 03:45:11,092 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b6eb1ca-791f-443e-8899-1a17a5afe4bf 2025-11-24 03:45:11,171 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6555ebeb-934d-4a44-b03f-091ea4ecfd44 2025-11-24 03:45:12,401 - 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=3.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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 = 0.510/1.901/3.293/1.391 ms') 2025-11-24 03:45:12,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-24 03:45:12,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:45:12,498 - DEBUG - Waiting to SSH to VM test_vm, IP 37.61.135.67, Port 22 2025-11-24 03:45:12,575 - 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-24 03:45:12,719 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:45:17,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:45:17,720 - DEBUG - Waiting to SSH to VM test_vm, IP 37.61.135.67, Port 22 2025-11-24 03:45:17,881 - DEBUG - VM test_vm is ready for SSH connections 2025-11-24 03:45:17,881 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-11-24 03:45:17,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 03:45:23,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 03:45:28,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 03:45:33,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 03:45:38,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 03:45:43,457 - DEBUG - VM is in ACTIVE state now 2025-11-24 03:45:43,457 - INFO - VM name : bgpaas_vm1 2025-11-24 03:45:43,545 - DEBUG - VM bgpaas_vm1 ID is 91408af1-b441-44e0-bbe2-13e6ce0aa994 2025-11-24 03:45:43,546 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4803-1 2025-11-24 03:45:43,629 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/91408af1-b441-44e0-bbe2-13e6ce0aa994 2025-11-24 03:45:43,640 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8facb519-ff48-48aa-b0d2-51ec28b1479c 2025-11-24 03:45:46,813 - 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 1008ms') 2025-11-24 03:45:46,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:45:46,828 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:45:50,906 - 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 1013ms') 2025-11-24 03:45:50,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:45:50,925 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:45:55,005 - 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 1013ms') 2025-11-24 03:45:55,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:45:55,021 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:45:59,104 - 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 1009ms') 2025-11-24 03:45:59,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:45:59,118 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:03,202 - 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 1015ms') 2025-11-24 03:46:03,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:03,218 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:07,298 - 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 1010ms') 2025-11-24 03:46:07,298 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:07,313 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:11,389 - 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 1014ms') 2025-11-24 03:46:11,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:11,406 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:15,482 - 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 1016ms') 2025-11-24 03:46:15,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:15,497 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:19,586 - 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 1021ms') 2025-11-24 03:46:19,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:19,603 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:23,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 1008ms') 2025-11-24 03:46:23,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:23,698 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:27,768 - 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 1007ms') 2025-11-24 03:46:27,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:27,787 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:31,872 - 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 1017ms') 2025-11-24 03:46:31,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:31,889 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:35,968 - 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 1012ms') 2025-11-24 03:46:35,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:35,988 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:40,060 - 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 1010ms') 2025-11-24 03:46:40,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:40,074 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:44,160 - 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-11-24 03:46:44,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:44,177 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:48,247 - 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 1013ms') 2025-11-24 03:46:48,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:48,263 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:52,352 - 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 1022ms') 2025-11-24 03:46:52,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:52,370 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:46:56,449 - 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 1006ms') 2025-11-24 03:46:56,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-24 03:46:56,465 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43135297:ctest-bgpaas_vn-92843058 is 37.61.135.65 and allocation pool is NOT set 2025-11-24 03:47:00,538 - 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.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 3.371/3.371/3.371/0.000 ms') 2025-11-24 03:47:00,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-11-24 03:47:00,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:00,611 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:00,692 - DEBUG - Error on ssh to ubuntu@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-24 03:47:00,785 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:05,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:05,786 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:05,854 - DEBUG - Error on ssh to ubuntu@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-24 03:47:05,961 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:10,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:10,962 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:11,029 - DEBUG - Error on ssh to ubuntu@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-24 03:47:11,126 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:16,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:16,127 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:16,193 - DEBUG - Error on ssh to ubuntu@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-24 03:47:16,287 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:21,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:21,288 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:21,357 - DEBUG - Error on ssh to ubuntu@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-24 03:47:21,460 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:26,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:26,461 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:26,529 - DEBUG - Error on ssh to ubuntu@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-24 03:47:26,613 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:31,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:31,614 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:31,681 - DEBUG - Error on ssh to ubuntu@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-24 03:47:31,777 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:36,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:36,779 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:36,840 - DEBUG - Error on ssh to ubuntu@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-24 03:47:36,927 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:41,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:41,928 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:42,000 - DEBUG - Error on ssh to ubuntu@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-24 03:47:42,085 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:47,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:47,087 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:47,146 - DEBUG - Error on ssh to ubuntu@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-24 03:47:47,226 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 03:47:52,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:52,227 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:52,393 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-24 03:47:52,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:52,399 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-43135297-60110335 2025-11-24 03:47:52,474 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-43135297-60110335(f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3) 2025-11-24 03:47:52,474 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:47:52,775 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:47:52,816 - INFO - verify_in_api_server passed for BGPaaS obj f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:47:52,816 - INFO - BGPaaS(f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3): verify_on_setup passed 2025-11-24 03:47:52,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:52,816 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:52,993 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-24 03:47:52,993 - INFO - Attaching VMI 8facb519-ff48-48aa-b0d2-51ec28b1479c to BGPaaS f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:47:53,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:53,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:53,181 - INFO - Configuring BGP on the bird 2025-11-24 03:47:53,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 03:47:53,181 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 37.61.135.68, Port 22 2025-11-24 03:47:53,349 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-24 03:47:53,349 - INFO - Configuring BGP on bgpaas_vm1 2025-11-24 03:47:53,350 - DEBUG - Running remote_cmd, Cmd : cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 37.61.135.68; protocol bgp bgp_1{ local as 64500; neighbor 37.61.135.65 as 741; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 37.61.135.68; } protocol bfd { neighbor 37.61.135.65 local 37.61.135.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 03:47:53,350 - DEBUG - cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 37.61.135.68; protocol bgp bgp_1{ local as 64500; neighbor 37.61.135.65 as 741; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 37.61.135.68; } protocol bfd { neighbor 37.61.135.65 local 37.61.135.68 multihop on; } EOS 2025-11-24 03:48:11,346 - DEBUG - None 2025-11-24 03:48:11,346 - DEBUG - Running remote_cmd, Cmd : cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 37.61.135.68; protocol bgp bgp_1{ local as 64500; neighbor 37.61.135.65 as 741; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 37.61.135.68; } protocol bfd { neighbor 37.61.135.65 local 37.61.135.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 03:48:11,346 - DEBUG - cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 37.61.135.68; protocol bgp bgp_1{ local as 64500; neighbor 37.61.135.65 as 741; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 37.61.135.68; } protocol bfd { neighbor 37.61.135.65 local 37.61.135.68 multihop on; } EOS 2025-11-24 03:48:12,335 - DEBUG - None 2025-11-24 03:48:12,335 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 03:48:12,335 - DEBUG - service bird restart 2025-11-24 03:48:15,758 - DEBUG - bird stop/waiting bird start/running, process 1437 2025-11-24 03:48:15,780 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:48:15,813 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:48:21,854 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:48:21,870 - INFO - BGPaaS session seen in control-node 10.20.0.25 2025-11-24 03:48:21,871 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:48:21,889 - INFO - Detaching VMI 8facb519-ff48-48aa-b0d2-51ec28b1479c from BGPaaS f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:48:21,970 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-43135297-60110335(f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3) 2025-11-24 03:48:22,037 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 2025-11-24 03:48:22,044 - DEBUG - Response Code: 404 2025-11-24 03:48:22,044 - DEBUG - BGPaaS: f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3 deleted from api server 2025-11-24 03:48:22,045 - INFO - BGPaaS(f93bd9c3-2189-44e9-ad2b-ca9f9e8669a3): verify_on_cleanup passed 2025-11-24 03:48:22,045 - INFO - Deleting VM bgpaas_vm1 2025-11-24 03:48:22,188 - INFO - Deleting VM test_vm 2025-11-24 03:48:22,258 - INFO - Deleting VN ctest-bgpaas_vn-92843058 2025-11-24 03:48:22,302 - DEBUG - VN 8e1a16f6-321b-4e1a-b3fd-54b556b54b4b still in use: Unable to complete operation on network 8e1a16f6-321b-4e1a-b3fd-54b556b54b4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3fbae872-c966-49f5-ab67-1f840b9f2e22'] 2025-11-24 03:48:22,303 - WARNING - Deleting VN ctest-bgpaas_vn-92843058 failed..Will retry 2025-11-24 03:48:24,530 - DEBUG - Response for deleting network () 2025-11-24 03:48:25,866 - DEBUG - Skipping xmpp flap check
2025-11-24 03:48:25,866 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:42]
2025-11-24 03:48:25,866 - INFO - -------------------------------------------------------------------------------- 2025-11-24 03:48:26,626 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-43135297, ID : 783050b6-994e-4fb3-bb83-21aaa7e051cd 2025-11-24 03:52:14,354 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:52:14,378 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:52:20,399 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:52:26,423 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:52:48,895 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:52:59,250 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:53:05,274 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:53:05,304 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:20,348 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:20,363 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:20,389 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:26,405 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:32,422 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:32,440 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:39,628 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:39,642 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:39,670 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-24 03:56:39,684 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=