From 3a04ccdb4ddbf3c44c01c17628a8915645ecb46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 7 May 2024 08:56:39 +0000 Subject: [PATCH] ci: cdrouter: fix unable-to-start-connection-to-usp-agent by enabling NTP sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current CDRouter tests are not passing due to the following issue: FAIL: The USP agent failed to acknowledge the initial USP message, resulting in the error: "unable-to-start-connection-to-usp-agent". The failure is occurring because the device is unable to obtain NTP time. The status of Device.Time is listed as Error_FailedToSynchronize. Under task PCF-1104, OB-USP-A is configured to withhold attempting connections to the ACS until essential USP services like DeviceInfo. are registered, the WAN connection is established, and NTP time is successfully synchronized. In this scenario, the NTP time has not been synchronized, which is causing the error. So lets unblock this by enabling the NTP time synchronization by using the default/pre-configured prplOS 0.europe.pool.ntp.org and 1.europe.pool.ntp.org NTP servers. References: PCF-1104 Signed-off-by: Petr Štetiar (cherry picked from commit 568acaccf8b4fabcdaf66190d74048425d7d7043) --- .testbed/cdrouter/configurations/generic | 4 ++-- .testbed/cdrouter/configurations/generic-ipv6 | 4 ++-- .testbed/cdrouter/configurations/generic-ipv6-dslite | 4 ++-- .testbed/cdrouter/configurations/generic-ipv6-upnp | 4 ++-- .testbed/cdrouter/configurations/ppp | 4 ++-- .testbed/cdrouter/configurations/ppp-ipv6 | 4 ++-- .testbed/cdrouter/configurations/vlan | 4 ++-- .testbed/cdrouter/configurations/vlan-ipv6 | 4 ++-- .testbed/cdrouter/configurations/vlan-ppp | 4 ++-- .testbed/cdrouter/configurations/vlan-ppp-ipv6 | 4 ++-- .testbed/cdrouter/configurations/wireless | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.testbed/cdrouter/configurations/generic b/.testbed/cdrouter/configurations/generic index f242cd3d4d..f8584029c5 100644 --- a/.testbed/cdrouter/configurations/generic +++ b/.testbed/cdrouter/configurations/generic @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/generic-ipv6 b/.testbed/cdrouter/configurations/generic-ipv6 index 879f09251d..721fad50e7 100644 --- a/.testbed/cdrouter/configurations/generic-ipv6 +++ b/.testbed/cdrouter/configurations/generic-ipv6 @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/generic-ipv6-dslite b/.testbed/cdrouter/configurations/generic-ipv6-dslite index 31af7328cb..f205d582ab 100644 --- a/.testbed/cdrouter/configurations/generic-ipv6-dslite +++ b/.testbed/cdrouter/configurations/generic-ipv6-dslite @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/generic-ipv6-upnp b/.testbed/cdrouter/configurations/generic-ipv6-upnp index f5a98a2c55..3be50785bc 100644 --- a/.testbed/cdrouter/configurations/generic-ipv6-upnp +++ b/.testbed/cdrouter/configurations/generic-ipv6-upnp @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/ppp b/.testbed/cdrouter/configurations/ppp index daa71935bd..297ff6b0ba 100644 --- a/.testbed/cdrouter/configurations/ppp +++ b/.testbed/cdrouter/configurations/ppp @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/ppp-ipv6 b/.testbed/cdrouter/configurations/ppp-ipv6 index 1341b64c7f..6226b2c462 100644 --- a/.testbed/cdrouter/configurations/ppp-ipv6 +++ b/.testbed/cdrouter/configurations/ppp-ipv6 @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/vlan b/.testbed/cdrouter/configurations/vlan index b6919308ac..123967a5ec 100644 --- a/.testbed/cdrouter/configurations/vlan +++ b/.testbed/cdrouter/configurations/vlan @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/vlan-ipv6 b/.testbed/cdrouter/configurations/vlan-ipv6 index 36668bde69..00397157ef 100644 --- a/.testbed/cdrouter/configurations/vlan-ipv6 +++ b/.testbed/cdrouter/configurations/vlan-ipv6 @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/vlan-ppp b/.testbed/cdrouter/configurations/vlan-ppp index a73fde036c..da18bde8d4 100644 --- a/.testbed/cdrouter/configurations/vlan-ppp +++ b/.testbed/cdrouter/configurations/vlan-ppp @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/vlan-ppp-ipv6 b/.testbed/cdrouter/configurations/vlan-ppp-ipv6 index 6761b9e940..f4e5991179 100644 --- a/.testbed/cdrouter/configurations/vlan-ppp-ipv6 +++ b/.testbed/cdrouter/configurations/vlan-ppp-ipv6 @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no diff --git a/.testbed/cdrouter/configurations/wireless b/.testbed/cdrouter/configurations/wireless index 121a010ce8..7d42e41e35 100644 --- a/.testbed/cdrouter/configurations/wireless +++ b/.testbed/cdrouter/configurations/wireless @@ -276,9 +276,9 @@ SECTION "Base Configuration" { SECTION "NTP" { # testvar ntpServer1 3.3.3.6 - # testvar ntpServerName1 time.nist.gov + testvar ntpServerName1 0.europe.pool.ntp.org # testvar ntpServer2 3.3.3.7 - # testvar ntpServerName2 time.foo.com + testvar ntpServerName2 1.europe.pool.ntp.org # testvar ntpStartDate "6/2/2007 11:00 am UTC" # testvar ntpOffset 0 # testvar enableRFC868TimeProtocol no