Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aec1076bf3ebe0857245c52fb3f03503a963c7c5+e63de633fa87fe04a17029975032d1bd69f7eb9c (cd67385df1cdddf3b0e368ed38dee955fddce4bf) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1501652576330821806.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3867542934877828194.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-379/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-379/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12387985502379764116.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-379/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12346129593492264593.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13537700127112250516.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-379/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-379/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10320560084396270624.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4973 in /w/workspace/_app-service-configurable_PR-379 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-379@tmp/jenkins-gitclient-ssh6177081193052990103.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e63de633fa87fe04a17029975032d1bd69f7eb9c into PR head commit aec1076bf3ebe0857245c52fb3f03503a963c7c5 Merge succeeded, producing aec1076bf3ebe0857245c52fb3f03503a963c7c5 Checking out Revision aec1076bf3ebe0857245c52fb3f03503a963c7c5 (PR-379) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-379@tmp/jenkins-gitclient-ssh5159518710851045102.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-379@tmp/jenkins-gitclient-ssh2969926748947010880.key > git merge e63de633fa87fe04a17029975032d1bd69f7eb9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:15 ========================================================= 12:58:15 EdgeX Global Pipelines Version Info 12:58:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:16 ------------------- 12:58:16 stable info: 12:58:16 ------------------- 12:58:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:16 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:58:16 Message: update stable to v1.0.220 12:58:17 ------------------- 12:58:17 experimental info: 12:58:17 ------------------- 12:58:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:17 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:58:17 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 12:58:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aec1076 [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:19 provisioning config files... 12:58:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config3688331977848117845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:19 ---> docker-login.sh 12:58:19 nexus3.edgexfoundry.org:10001 12:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:19 Configure a credential helper to remove this warning. See 12:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:19 12:58:19 Login Succeeded 12:58:19 nexus3.edgexfoundry.org:10002 12:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:19 Configure a credential helper to remove this warning. See 12:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:19 12:58:19 Login Succeeded 12:58:19 nexus3.edgexfoundry.org:10003 12:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:20 Configure a credential helper to remove this warning. See 12:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:20 12:58:20 Login Succeeded 12:58:20 nexus3.edgexfoundry.org:10004 12:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:20 Configure a credential helper to remove this warning. See 12:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:20 12:58:20 Login Succeeded 12:58:20 docker.io 12:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:20 Configure a credential helper to remove this warning. See 12:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:20 12:58:20 Login Succeeded 12:58:20 ---> docker-login.sh ends [Pipeline] } 12:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:21 + git rev-list -1 --merges aec1076bf3ebe0857245c52fb3f03503a963c7c5~1..aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo 12:58:21 -----------> git rev-list -1 --merges aec1076bf3ebe0857245c52fb3f03503a963c7c5~1..aec1076bf3ebe0857245c52fb3f03503a963c7c5 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [false] [Pipeline] sh 12:58:21 + git log --format=format:%s -1 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo 12:58:21 ========================================================= 12:58:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:22 + git log --format=format:%s -1 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo 12:58:22 [semverPrep] GIT_COMMIT: aec1076bf3ebe0857245c52fb3f03503a963c7c5, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:58:22 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:22 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:58:22 + grep -v github /etc/ssh/ssh_known_hosts 12:58:22 + '[' -e /tmp/ssh_known_hosts ']' 12:58:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:22 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:58:22 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:58:23 12:58:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:58:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:58:23 latest: Pulling from edgex-devops/git-semver 12:58:23 a0d0a0d46f8b: Pulling fs layer 12:58:23 3e5f54012d9b: Pulling fs layer 12:58:23 4c7163046ea9: Pulling fs layer 12:58:23 0c2d73faf560: Pulling fs layer 12:58:23 0c2d73faf560: Waiting 12:58:23 3e5f54012d9b: Verifying Checksum 12:58:23 3e5f54012d9b: Download complete 12:58:23 a0d0a0d46f8b: Download complete 12:58:23 4c7163046ea9: Verifying Checksum 12:58:23 4c7163046ea9: Download complete 12:58:23 0c2d73faf560: Verifying Checksum 12:58:23 0c2d73faf560: Download complete 12:58:23 a0d0a0d46f8b: Pull complete 12:58:23 3e5f54012d9b: Pull complete 12:58:24 4c7163046ea9: Pull complete 12:58:24 0c2d73faf560: Pull complete 12:58:24 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:58:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:58:24 prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container 12:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-379 -v /w/workspace/_app-service-configurable_PR-379:/w/workspace/_app-service-configurable_PR-379:rw,z -v /w/workspace/_app-service-configurable_PR-379@tmp:/w/workspace/_app-service-configurable_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:58:25 $ docker top d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:25 [ssh-agent] Looking for ssh-agent implementation... 12:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:25 $ docker exec d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent 12:58:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIJDFk/agent.14 12:58:25 SSH_AGENT_PID=20 12:58:25 Running ssh-add (command line suppressed) 12:58:25 Identity added: /w/workspace/_app-service-configurable_PR-379@tmp/private_key_4883961345750016002.key (/w/workspace/_app-service-configurable_PR-379@tmp/private_key_4883961345750016002.key) 12:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:26 + git tag --points-at HEAD [Pipeline] } 12:58:26 $ docker exec --env ******** --env ******** d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent -k 12:58:26 unset SSH_AUTH_SOCK; 12:58:26 unset SSH_AGENT_PID; 12:58:26 echo Agent pid 20 killed; 12:58:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:26 [ssh-agent] Looking for ssh-agent implementation... 12:58:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:26 $ docker exec d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent 12:58:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOeHBMJ/agent.54 12:58:26 SSH_AGENT_PID=60 12:58:26 Running ssh-add (command line suppressed) 12:58:26 Identity added: /w/workspace/_app-service-configurable_PR-379@tmp/private_key_6360087326057640098.key (/w/workspace/_app-service-configurable_PR-379@tmp/private_key_6360087326057640098.key) 12:58:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:27 + git semver init 12:58:27 # -> Open(): unable to determine branch for HEAD 12:58:27 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-379/.git 12:58:27 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-379 12:58:27 # $SEMVER_REMOTE_NAME = origin 12:58:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:58:27 # $SEMVER_USER_NAME = edgex-jenkins 12:58:27 # $SEMVER_BRANCH = PR-379 12:58:27 # $SEMVER_TEMP = /tmp/semver-225235445 12:58:27 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:58:28 # '/tmp/semver-225235445' -> '/w/workspace/_app-service-configurable_PR-379/.semver' 12:58:28 # -> Force: false 12:58:28 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-379/.semver [Pipeline] } 12:58:28 $ docker exec --env ******** --env ******** d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent -k 12:58:28 unset SSH_AUTH_SOCK; 12:58:28 unset SSH_AGENT_PID; 12:58:28 echo Agent pid 60 killed; 12:58:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:28 + git semver [Pipeline] } 12:58:28 $ docker stop --time=1 d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 12:58:29 $ docker rm -f d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:30 Stashed 1 file(s) [Pipeline] echo 12:58:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:31 provisioning config files... 12:58:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config9080819112302331369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:31 ---> docker-login.sh 12:58:31 nexus3.edgexfoundry.org:10001 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10002 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10003 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10004 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 docker.io 12:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:32 Configure a credential helper to remove this warning. See 12:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:32 12:58:32 Login Succeeded 12:58:32 ---> docker-login.sh ends [Pipeline] } 12:58:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:32 ========================================================= 12:58:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:58:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:58:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 12:58:33 Sending build context to Docker daemon 2.958MB 12:58:33 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:58:33 Step 2/13 : FROM ${BASE} AS builder 12:58:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:33 59bf1c3509f3: Pulling fs layer 12:58:33 666ba61612fd: Pulling fs layer 12:58:33 8ed8ca486205: Pulling fs layer 12:58:33 4fe6c5a15a65: Pulling fs layer 12:58:33 22a0e8bec74d: Pulling fs layer 12:58:33 640e595b4fbd: Pulling fs layer 12:58:33 763cafe07f6e: Pulling fs layer 12:58:33 0c0b528cf693: Pulling fs layer 12:58:33 10935f4eaf8b: Pulling fs layer 12:58:33 640e595b4fbd: Waiting 12:58:33 763cafe07f6e: Waiting 12:58:33 0c0b528cf693: Waiting 12:58:33 10935f4eaf8b: Waiting 12:58:33 4fe6c5a15a65: Waiting 12:58:33 22a0e8bec74d: Waiting 12:58:33 8ed8ca486205: Verifying Checksum 12:58:33 8ed8ca486205: Download complete 12:58:33 666ba61612fd: Verifying Checksum 12:58:33 666ba61612fd: Download complete 12:58:33 22a0e8bec74d: Verifying Checksum 12:58:33 22a0e8bec74d: Download complete 12:58:33 640e595b4fbd: Verifying Checksum 12:58:33 640e595b4fbd: Download complete 12:58:33 59bf1c3509f3: Verifying Checksum 12:58:33 59bf1c3509f3: Download complete 12:58:33 763cafe07f6e: Verifying Checksum 12:58:33 763cafe07f6e: Download complete 12:58:33 0c0b528cf693: Verifying Checksum 12:58:33 0c0b528cf693: Download complete 12:58:33 59bf1c3509f3: Pull complete 12:58:33 666ba61612fd: Pull complete 12:58:33 4fe6c5a15a65: Verifying Checksum 12:58:33 4fe6c5a15a65: Download complete 12:58:33 8ed8ca486205: Pull complete 12:58:33 10935f4eaf8b: Verifying Checksum 12:58:33 10935f4eaf8b: Download complete 12:58:38 4fe6c5a15a65: Pull complete 12:58:38 22a0e8bec74d: Pull complete 12:58:38 640e595b4fbd: Pull complete 12:58:38 763cafe07f6e: Pull complete 12:58:38 0c0b528cf693: Pull complete 12:58:40 10935f4eaf8b: Pull complete 12:58:40 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:58:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:58:40 ---> 99d49a6021b9 12:58:40 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:58:42 ---> Running in a3ea8268444a 12:58:42 Removing intermediate container a3ea8268444a 12:58:42 ---> 8296aa6e1e9e 12:58:42 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:58:42 ---> Running in 6ed8b962e2e2 12:58:42 Removing intermediate container 6ed8b962e2e2 12:58:42 ---> 2232e02c81a9 12:58:42 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:58:42 ---> Running in c3bb24a858bd 12:58:42 Removing intermediate container c3bb24a858bd 12:58:42 ---> b90b1e138cf4 12:58:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:42 ---> Running in 3057fa8731cf 12:58:43 Removing intermediate container 3057fa8731cf 12:58:43 ---> 3b362a1df0a0 12:58:43 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:43 ---> Running in 6bbdb431aa9e 12:58:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:58:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:58:44 OK: 221 MiB in 52 packages 12:58:45 Removing intermediate container 6bbdb431aa9e 12:58:45 ---> 589423a204e6 12:58:45 Step 8/13 : WORKDIR /app 12:58:45 ---> Running in 91801b665ceb 12:58:45 Removing intermediate container 91801b665ceb 12:58:45 ---> eb78912d7727 12:58:45 Step 9/13 : COPY go.mod vendor* ./ 12:58:45 ---> 8a6b5f763da2 12:58:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:45 ---> Running in 43cd3b4e4b49 12:58:46 Still waiting to schedule task 12:58:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:59:24 Removing intermediate container 43cd3b4e4b49 12:59:24 ---> 01f6e62f8281 12:59:24 Step 11/13 : COPY . . 12:59:24 ---> ac9d05d3a79a 12:59:24 Step 12/13 : ARG MAKE="make build" 12:59:24 ---> Running in 3c418c7d50e5 12:59:24 Removing intermediate container 3c418c7d50e5 12:59:24 ---> eeae8a28a72b 12:59:24 Step 13/13 : RUN $MAKE 12:59:24 ---> Running in 80ed67ccec07 12:59:24 noop 12:59:24 Removing intermediate container 80ed67ccec07 12:59:24 ---> f6cbe150e9dd 12:59:24 Successfully built f6cbe150e9dd 12:59:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:59:24 + docker inspect -f . ci-base-image-x86_64 12:59:24 . [Pipeline] withDockerContainer 12:59:24 prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container 12:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-379 -v /w/workspace/_app-service-configurable_PR-379:/w/workspace/_app-service-configurable_PR-379:rw,z -v /w/workspace/_app-service-configurable_PR-379@tmp:/w/workspace/_app-service-configurable_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:25 $ docker top c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:25 + go version 12:59:25 go version go1.17.6 linux/amd64 [Pipeline] } 12:59:25 $ docker stop --time=1 c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 12:59:26 $ docker rm -f c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:59:27 + docker inspect -f . ci-base-image-x86_64 12:59:27 . [Pipeline] withDockerContainer 12:59:27 prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container 12:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-379 -v /w/workspace/_app-service-configurable_PR-379:/w/workspace/_app-service-configurable_PR-379:rw,z -v /w/workspace/_app-service-configurable_PR-379@tmp:/w/workspace/_app-service-configurable_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:27 $ docker top 3b4ae2f631247076f812da5a1b771637d50605c5deaf6b25ee30b70f424500f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:59:28 + make test 12:59:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:59:33 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:161:9: undefined: container.EventClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:166:9: undefined: container.CommandClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:171:9: undefined: container.DeviceServiceClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:176:9: undefined: container.DeviceProfileClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:181:9: undefined: container.DeviceClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:186:9: undefined: container.NotificationClientFrom 12:59:33 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:191:9: undefined: container.SubscriptionClientFrom 12:59:41 make: *** [makefile:36: test] Error 2 [Pipeline] } 12:59:41 $ docker stop --time=1 3b4ae2f631247076f812da5a1b771637d50605c5deaf6b25ee30b70f424500f4 12:59:43 $ docker rm -f 3b4ae2f631247076f812da5a1b771637d50605c5deaf6b25ee30b70f424500f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:44 12:59:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:59:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:44 latest: Pulling from edgex-lftools-log-publisher 12:59:44 b4d181a07f80: Pulling fs layer 12:59:44 a1111a8f2ec3: Pulling fs layer 12:59:44 ed53099fbce6: Pulling fs layer 12:59:44 dc539afda2c1: Pulling fs layer 12:59:44 77bc0d833cb6: Pulling fs layer 12:59:44 9065ff56babe: Pulling fs layer 12:59:44 d287ab97295c: Pulling fs layer 12:59:44 77bc0d833cb6: Waiting 12:59:44 9065ff56babe: Waiting 12:59:44 d287ab97295c: Waiting 12:59:44 dc539afda2c1: Waiting 12:59:44 a1111a8f2ec3: Verifying Checksum 12:59:44 a1111a8f2ec3: Download complete 12:59:44 dc539afda2c1: Verifying Checksum 12:59:44 dc539afda2c1: Download complete 12:59:45 ed53099fbce6: Verifying Checksum 12:59:45 ed53099fbce6: Download complete 12:59:45 b4d181a07f80: Verifying Checksum 12:59:45 b4d181a07f80: Download complete 12:59:45 9065ff56babe: Verifying Checksum 12:59:45 9065ff56babe: Download complete 12:59:45 77bc0d833cb6: Verifying Checksum 12:59:45 77bc0d833cb6: Download complete 12:59:45 d287ab97295c: Verifying Checksum 12:59:45 d287ab97295c: Download complete 12:59:46 b4d181a07f80: Pull complete 12:59:46 a1111a8f2ec3: Pull complete 12:59:47 ed53099fbce6: Pull complete 12:59:47 dc539afda2c1: Pull complete 12:59:47 77bc0d833cb6: Pull complete 12:59:47 9065ff56babe: Pull complete 12:59:52 d287ab97295c: Pull complete 12:59:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:59:53 prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container 12:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-379 -v /w/workspace/_app-service-configurable_PR-379:/w/workspace/_app-service-configurable_PR-379:rw,z -v /w/workspace/_app-service-configurable_PR-379@tmp:/w/workspace/_app-service-configurable_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:59:55 $ docker top 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:55 ---> job-cost.sh 12:59:55 lf-activate-venv: SKIPPING 12:59:55 INFO: No Stack... 12:59:56 INFO: Retrieving Pricing Info for: v3-standard-2 12:59:56 INFO: Archiving Costs [Pipeline] sh 12:59:56 + cut -d, -f6 12:59:56 + cat /w/workspace/_app-service-configurable_PR-379/archives/cost.csv [Pipeline] lock 12:59:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] 12:59:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] did not exist. Created. 12:59:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:57 + echo total: 0.05999999865889549 [Pipeline] stash 12:59:57 Stashed 1 file(s) [Pipeline] } 12:59:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:57 $ docker stop --time=1 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed 12:59:58 $ docker rm -f 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:59:58 Failed in branch amd64 13:00:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4974 in /w/workspace/_app-service-configurable_PR-379 [Pipeline] { [Pipeline] ws 13:00:08 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:08 Selected Git installation does not exist. Using Default 13:00:08 The recommended git tool is: NONE 13:00:13 using credential edgex-jenkins-ssh 13:00:13 Cloning the remote Git repository 13:00:13 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:13 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:13 > git --version # timeout=10 13:00:13 > git --version # 'git version 2.17.1' 13:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:14 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:14 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:15 Merging remotes/origin/main commit e63de633fa87fe04a17029975032d1bd69f7eb9c into PR head commit aec1076bf3ebe0857245c52fb3f03503a963c7c5 13:00:15 Merge succeeded, producing aec1076bf3ebe0857245c52fb3f03503a963c7c5 13:00:15 Checking out Revision aec1076bf3ebe0857245c52fb3f03503a963c7c5 (PR-379) 13:00:15 > git config core.sparsecheckout # timeout=10 13:00:15 > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 13:00:15 > git remote # timeout=10 13:00:15 > git config --get remote.origin.url # timeout=10 13:00:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:15 > git merge e63de633fa87fe04a17029975032d1bd69f7eb9c # timeout=10 13:00:15 > git rev-parse HEAD^{commit} # timeout=10 13:00:15 > git config core.sparsecheckout # timeout=10 13:00:15 > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 13:00:19 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 13:00:19 > git --version # timeout=10 13:00:19 > git --version # 'git version 2.17.1' 13:00:19 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:21 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:21 Dload Upload Total Spent Left Speed 13:00:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65071 0 --:--:-- --:--:-- --:--:-- 65430 [Pipeline] sh 13:00:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:21 + sudo tee /etc/docker/daemon.new 13:00:21 { 13:00:21 "registry-mirrors": [ 13:00:21 "https://nexus3.edgexfoundry.org:10001" 13:00:21 ], 13:00:21 "bip": "10.250.0.254/24", 13:00:21 "hosts": [ 13:00:21 "tcp://0.0.0.0:5555", 13:00:21 "unix:///var/run/docker.sock" 13:00:21 ], 13:00:21 "mtu": 1458, 13:00:21 "selinux-enabled": true, 13:00:21 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:21 } [Pipeline] sh 13:00:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:40 provisioning config files... 13:00:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5831591754160679754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:41 ---> docker-login.sh 13:00:41 nexus3.edgexfoundry.org:10001 13:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:42 Configure a credential helper to remove this warning. See 13:00:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:42 13:00:42 Login Succeeded 13:00:42 nexus3.edgexfoundry.org:10002 13:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:42 Configure a credential helper to remove this warning. See 13:00:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:42 13:00:42 Login Succeeded 13:00:42 nexus3.edgexfoundry.org:10003 13:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:43 Configure a credential helper to remove this warning. See 13:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:43 13:00:43 Login Succeeded 13:00:43 nexus3.edgexfoundry.org:10004 13:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:43 Configure a credential helper to remove this warning. See 13:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:43 13:00:43 Login Succeeded 13:00:43 docker.io 13:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:44 Configure a credential helper to remove this warning. See 13:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:44 13:00:44 Login Succeeded 13:00:44 ---> docker-login.sh ends [Pipeline] } 13:00:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:00:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:44 ========================================================= 13:00:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:00:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:00:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:00:45 Sending build context to Docker daemon 207.9kB 13:00:45 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:00:45 Step 2/13 : FROM ${BASE} AS builder 13:00:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:00:45 9b3977197b4f: Pulling fs layer 13:00:45 1a89e8eeedd5: Pulling fs layer 13:00:45 94645a83ff95: Pulling fs layer 13:00:45 3f3a8bcf1eab: Pulling fs layer 13:00:45 0c92f367c5e7: Pulling fs layer 13:00:45 f7c0051592d6: Pulling fs layer 13:00:45 a227ed2f7395: Pulling fs layer 13:00:45 7b1c46037f91: Pulling fs layer 13:00:45 3f3a8bcf1eab: Waiting 13:00:45 0c92f367c5e7: Waiting 13:00:45 f7c0051592d6: Waiting 13:00:45 a227ed2f7395: Waiting 13:00:45 7b1c46037f91: Waiting 13:00:45 94645a83ff95: Verifying Checksum 13:00:45 94645a83ff95: Download complete 13:00:45 1a89e8eeedd5: Download complete 13:00:45 0c92f367c5e7: Verifying Checksum 13:00:45 0c92f367c5e7: Download complete 13:00:45 f7c0051592d6: Verifying Checksum 13:00:45 f7c0051592d6: Download complete 13:00:45 9b3977197b4f: Download complete 13:00:45 a227ed2f7395: Verifying Checksum 13:00:45 a227ed2f7395: Download complete 13:00:46 9b3977197b4f: Pull complete 13:00:47 1a89e8eeedd5: Pull complete 13:00:47 94645a83ff95: Pull complete 13:00:47 7b1c46037f91: Verifying Checksum 13:00:47 7b1c46037f91: Download complete 13:00:48 3f3a8bcf1eab: Verifying Checksum 13:00:48 3f3a8bcf1eab: Download complete 13:01:00 3f3a8bcf1eab: Pull complete 13:01:00 0c92f367c5e7: Pull complete 13:01:00 f7c0051592d6: Pull complete 13:01:00 a227ed2f7395: Pull complete 13:01:05 7b1c46037f91: Pull complete 13:01:05 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 13:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:01:05 ---> f79e39bc4007 13:01:05 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:01:07 ---> Running in 2bb16779a784 13:01:07 Removing intermediate container 2bb16779a784 13:01:07 ---> 77ad46352d63 13:01:07 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:01:08 ---> Running in 6da75d53f20d 13:01:08 Removing intermediate container 6da75d53f20d 13:01:08 ---> a8c8566d8d03 13:01:08 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:01:08 ---> Running in 457dd43a4bc5 13:01:09 Removing intermediate container 457dd43a4bc5 13:01:09 ---> 6aad67133171 13:01:09 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:09 ---> Running in 0e9b1f3b5aff 13:01:11 Removing intermediate container 0e9b1f3b5aff 13:01:11 ---> d2be2bf99548 13:01:11 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:11 ---> Running in f7fba8ab6070 13:01:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:01:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:01:13 OK: 220 MiB in 52 packages 13:01:14 Removing intermediate container f7fba8ab6070 13:01:14 ---> 1fadcff1f502 13:01:14 Step 8/13 : WORKDIR /app 13:01:14 ---> Running in 89c7d6d11a5b 13:01:14 Removing intermediate container 89c7d6d11a5b 13:01:14 ---> cdc5d9b382e9 13:01:14 Step 9/13 : COPY go.mod vendor* ./ 13:01:15 ---> 0edab85e00b6 13:01:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:15 ---> Running in b37fa645c1e3 13:02:23 Removing intermediate container b37fa645c1e3 13:02:23 ---> 5ddd795f3419 13:02:23 Step 11/13 : COPY . . 13:02:24 ---> adee56658764 13:02:24 Step 12/13 : ARG MAKE="make build" 13:02:24 ---> Running in b7119584f0ca 13:02:24 Removing intermediate container b7119584f0ca 13:02:24 ---> a68210b141ea 13:02:24 Step 13/13 : RUN $MAKE 13:02:24 ---> Running in ff3b105dfb96 13:02:25 noop 13:02:26 Removing intermediate container ff3b105dfb96 13:02:26 ---> f59394887175 13:02:26 Successfully built f59394887175 13:02:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:02:26 + docker inspect -f . ci-base-image-arm64 13:02:26 . [Pipeline] withDockerContainer 13:02:26 prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 13:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:02:28 $ docker top 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:29 + go version 13:02:29 go version go1.17.6 linux/arm64 [Pipeline] } 13:02:29 $ docker stop --time=1 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae 13:02:30 $ docker rm -f 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:02:31 + docker inspect -f . ci-base-image-arm64 13:02:31 . [Pipeline] withDockerContainer 13:02:31 prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 13:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:02:33 $ docker top 230228804fa6a4c487f92bf1175ec5f4b948861a842a112d47d8250df0e92d27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:02:34 + make test 13:02:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 13:02:56 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:161:9: undefined: container.EventClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:166:9: undefined: container.CommandClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:171:9: undefined: container.DeviceServiceClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:176:9: undefined: container.DeviceProfileClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:181:9: undefined: container.DeviceClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:186:9: undefined: container.NotificationClientFrom 13:02:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v2@v2.2.0-dev.23/internal/appfunction/context.go:191:9: undefined: container.SubscriptionClientFrom 13:03:18 make: *** [makefile:36: test] Error 2 [Pipeline] } 13:03:18 $ docker stop --time=1 230228804fa6a4c487f92bf1175ec5f4b948861a842a112d47d8250df0e92d27 13:03:20 $ docker rm -f 230228804fa6a4c487f92bf1175ec5f4b948861a842a112d47d8250df0e92d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:21 13:03:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:03:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:22 arm64: Pulling from edgex-lftools-log-publisher 13:03:22 448f6bf000e3: Pulling fs layer 13:03:22 f757da607395: Pulling fs layer 13:03:22 05883995daec: Pulling fs layer 13:03:22 8603b9c90790: Pulling fs layer 13:03:22 1560dd03e051: Pulling fs layer 13:03:22 27f5ce0e4adf: Pulling fs layer 13:03:22 c2d8d7efcc4b: Pulling fs layer 13:03:22 8603b9c90790: Waiting 13:03:22 1560dd03e051: Waiting 13:03:22 27f5ce0e4adf: Waiting 13:03:22 c2d8d7efcc4b: Waiting 13:03:22 f757da607395: Verifying Checksum 13:03:22 f757da607395: Download complete 13:03:22 8603b9c90790: Verifying Checksum 13:03:22 8603b9c90790: Download complete 13:03:22 1560dd03e051: Verifying Checksum 13:03:22 1560dd03e051: Download complete 13:03:22 27f5ce0e4adf: Verifying Checksum 13:03:22 27f5ce0e4adf: Download complete 13:03:22 05883995daec: Download complete 13:03:22 448f6bf000e3: Download complete 13:03:25 c2d8d7efcc4b: Verifying Checksum 13:03:25 c2d8d7efcc4b: Download complete 13:03:26 448f6bf000e3: Pull complete 13:03:26 f757da607395: Pull complete 13:03:28 05883995daec: Pull complete 13:03:28 8603b9c90790: Pull complete 13:03:29 1560dd03e051: Pull complete 13:03:29 27f5ce0e4adf: Pull complete 13:03:44 c2d8d7efcc4b: Pull complete 13:03:44 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 13:03:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:03:44 prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 13:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:03:47 $ docker top 183e2b5193c380f9b4ecd2671422bb1a914e22b670e01ca01512acff169d7fe5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:48 ---> job-cost.sh 13:03:48 lf-activate-venv: SKIPPING 13:03:48 INFO: No Stack... 13:03:48 INFO: Retrieving Pricing Info for: v3-standard-4 13:03:48 INFO: Archiving Costs [Pipeline] sh 13:03:49 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:03:49 + cut -d, -f6 [Pipeline] lock 13:03:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] 13:03:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] did not exist. Created. 13:03:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:03:50 /w/workspace/app-service-configurable/1@tmp/durable-b583fee1/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-b583fee1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 13:03:51 + echo total: 0.10999999940395355 [Pipeline] stash 13:03:51 Warning: overwriting stash ‘stack-cost’ 13:03:51 Stashed 1 file(s) [Pipeline] } 13:03:51 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:03:51 $ docker stop --time=1 183e2b5193c380f9b4ecd2671422bb1a914e22b670e01ca01512acff169d7fe5 13:03:53 $ docker rm -f 183e2b5193c380f9b4ecd2671422bb1a914e22b670e01ca01512acff169d7fe5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:03:53 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:03:55 + '[' -d /w/workspace/_app-service-configurable_PR-379/archives ']' 13:03:55 + ls -al /w/workspace/_app-service-configurable_PR-379/archives 13:03:55 total 8 13:03:55 drwxr-xr-x. 3 root root 34 Feb 10 12:59 . 13:03:55 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 12:59 .. 13:03:55 drwxr-xr-x. 2 root root 6 Feb 10 12:59 cost 13:03:55 -rw-r--r--. 1 root root 95 Feb 10 12:59 cost.csv 13:03:55 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-379/archives 13:03:55 + ls -al /w/workspace/_app-service-configurable_PR-379/archives 13:03:55 total 8 13:03:55 drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 12:59 . 13:03:55 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 12:59 .. 13:03:55 drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 12:59 cost 13:03:55 -rw-r--r--. 1 jenkins jenkins 95 Feb 10 12:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:03:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:03:56 ---> package-listing.sh 13:03:56 ++ facter osfamily 13:03:56 ++ tr '[:upper:]' '[:lower:]' 13:03:57 + OS_FAMILY=redhat 13:03:57 + workspace=/w/workspace/_app-service-configurable_PR-379 13:03:57 + START_PACKAGES=/tmp/packages_start.txt 13:03:57 + END_PACKAGES=/tmp/packages_end.txt 13:03:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:03:57 + PACKAGES=/tmp/packages_start.txt 13:03:57 + '[' /w/workspace/_app-service-configurable_PR-379 ']' 13:03:57 + PACKAGES=/tmp/packages_end.txt 13:03:57 + case "${OS_FAMILY}" in 13:03:57 + sort 13:03:57 + rpm -qa 13:03:57 + '[' -f /tmp/packages_start.txt ']' 13:03:57 + '[' -f /tmp/packages_end.txt ']' 13:03:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:03:57 + '[' /w/workspace/_app-service-configurable_PR-379 ']' 13:03:57 + mkdir -p /w/workspace/_app-service-configurable_PR-379/archives/ 13:03:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-379/archives/ [Pipeline] echo 13:03:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:03:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:58 . [Pipeline] withDockerContainer 13:03:58 prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container 13:03:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-379 -v /w/workspace/_app-service-configurable_PR-379:/w/workspace/_app-service-configurable_PR-379:rw,z -v /w/workspace/_app-service-configurable_PR-379@tmp:/w/workspace/_app-service-configurable_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:58 $ docker top 3d5373f0bcc5b8e6f831785d659e9ad848caebcfe8fdbaeaa1dee149947d2914 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:59 + touch /tmp/pre-build-complete [Pipeline] sh 13:03:59 + mkdir -p /var/log/sysstat [Pipeline] sh 13:03:59 + ls /var/log/sa-host 13:03:59 + sadf -c /var/log/sa-host/sa10 13:03:59 file_magic: OK 13:03:59 HZ: Using current value: 100 13:03:59 file_header: OK 13:03:59 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:03:59 Statistics: 13:03:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:03:59 File successfully converted to sysstat format version 12.0.3 13:03:59 + sadf -c /var/log/sa-host/sa17 13:03:59 file_magic: OK 13:03:59 HZ: Using current value: 100 13:03:59 file_header: OK 13:03:59 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:03:59 Statistics: 13:03:59 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:03:59 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:00 provisioning config files... 13:04:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config7914090056112292561tmp [Pipeline] { [Pipeline] echo 13:04:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:04:00 ---> create-netrc.sh [Pipeline] } 13:04:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:04:01 ---> python-tools-install.sh [Pipeline] echo 13:04:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:04:01 ---> sudo-logs.sh 13:04:01 Archiving 'sudo' log.. 13:04:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-4973.novalocal: Name or service not known 13:04:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-4973.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 13:04:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:04:01 ---> job-cost.sh 13:04:01 lf-activate-venv: SKIPPING 13:04:01 DEBUG: total: 0.05999999865889549 13:04:01 INFO: Retrieving Stack Cost... 13:04:02 INFO: Retrieving Pricing Info for: v3-standard-2 13:04:02 INFO: Archiving Costs [Pipeline] echo 13:04:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:04:03 ---> logs-deploy.sh 13:04:03 lf-activate-venv: SKIPPING 13:04:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-379/1 13:04:03 INFO: archiving workspace using pattern(s): 13:04:03 Archives upload complete. 13:04:03 INFO: archiving logs to Nexus