Pull request #374 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebd2e62053f3f121f30aa8bed492446b4c867d99+5c87ede0545ad4f8161b18be631b499d146a8158 (bc031a6a3cad73274997005741abf9a24b716801) 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-ssh1465115570212593194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18266678679228242258.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-374/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-374/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12884690603502438651.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-374/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1301381772534682151.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh4457207322328173881.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-374/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-374/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh211336989119066832.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 dae07dc806156effb2cae02074e2f5f64a063e83 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4016’ Running on prd-centos7-docker-4c-2g-4020 in /w/workspace/_app-service-configurable_PR-374 [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-374 # 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-374@tmp/jenkins-gitclient-ssh8797410009838826256.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-374@tmp/jenkins-gitclient-ssh4116903251266801134.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c87ede0545ad4f8161b18be631b499d146a8158 into PR head commit ebd2e62053f3f121f30aa8bed492446b4c867d99 Merge succeeded, producing ebd2e62053f3f121f30aa8bed492446b4c867d99 Checking out Revision ebd2e62053f3f121f30aa8bed492446b4c867d99 (PR-374) > git config core.sparsecheckout # timeout=10 > git checkout -f ebd2e62053f3f121f30aa8bed492446b4c867d99 # 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-374@tmp/jenkins-gitclient-ssh8307447668170107913.key > git merge 5c87ede0545ad4f8161b18be631b499d146a8158 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebd2e62053f3f121f30aa8bed492446b4c867d99 # 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 dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:05:14 ========================================================= 12:05:14 EdgeX Global Pipelines Version Info 12:05:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:05:15 ------------------- 12:05:15 stable info: 12:05:15 ------------------- 12:05:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:15 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 12:05:15 Message: update stable to v1.0.219 12:05:16 ------------------- 12:05:16 experimental info: 12:05:16 ------------------- 12:05:16 Commited By: **** collab-it+edgex@linuxfoundation.org 12:05:16 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 12:05:16 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebd2e62053f3f121f30aa8bed492446b4c867d99 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebd2e62 [Pipeline] echo 12:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:17 provisioning config files... 12:05:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-374@tmp/config8765526944250762439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:18 ---> docker-login.sh 12:05:18 nexus3.edgexfoundry.org:10001 12:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:18 Configure a credential helper to remove this warning. See 12:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:18 12:05:18 Login Succeeded 12:05:18 nexus3.edgexfoundry.org:10002 12:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:18 Configure a credential helper to remove this warning. See 12:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:18 12:05:18 Login Succeeded 12:05:18 nexus3.edgexfoundry.org:10003 12:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:18 Configure a credential helper to remove this warning. See 12:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:18 12:05:18 Login Succeeded 12:05:18 nexus3.edgexfoundry.org:10004 12:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:18 Configure a credential helper to remove this warning. See 12:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:18 12:05:18 Login Succeeded 12:05:18 docker.io 12:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:19 Configure a credential helper to remove this warning. See 12:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:19 12:05:19 Login Succeeded 12:05:19 ---> docker-login.sh ends [Pipeline] } 12:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:05:19 + git rev-list -1 --merges ebd2e62053f3f121f30aa8bed492446b4c867d99~1..ebd2e62053f3f121f30aa8bed492446b4c867d99 [Pipeline] echo 12:05:19 -----------> git rev-list -1 --merges ebd2e62053f3f121f30aa8bed492446b4c867d99~1..ebd2e62053f3f121f30aa8bed492446b4c867d99 ebd2e62053f3f121f30aa8bed492446b4c867d99 [false] [Pipeline] sh 12:05:20 + git log --format=format:%s -1 ebd2e62053f3f121f30aa8bed492446b4c867d99 [Pipeline] echo 12:05:20 ========================================================= 12:05:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:05:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:20 + git log --format=format:%s -1 ebd2e62053f3f121f30aa8bed492446b4c867d99 [Pipeline] echo 12:05:20 [semverPrep] GIT_COMMIT: ebd2e62053f3f121f30aa8bed492446b4c867d99, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:05:20 [semverPrep] This is not a build commit. [Pipeline] sh 12:05:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:05:21 + grep -v github /etc/ssh/ssh_known_hosts 12:05:21 + '[' -e /tmp/ssh_known_hosts ']' 12:05:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:05:21 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:05:21 + sudo tee -a /etc/ssh/ssh_known_hosts 12:05:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:21 12:05:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:05:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:22 latest: Pulling from edgex-devops/git-semver 12:05:22 a0d0a0d46f8b: Pulling fs layer 12:05:22 3e5f54012d9b: Pulling fs layer 12:05:22 4c7163046ea9: Pulling fs layer 12:05:22 0c2d73faf560: Pulling fs layer 12:05:22 0c2d73faf560: Waiting 12:05:22 3e5f54012d9b: Verifying Checksum 12:05:22 3e5f54012d9b: Download complete 12:05:22 a0d0a0d46f8b: Verifying Checksum 12:05:22 a0d0a0d46f8b: Download complete 12:05:22 4c7163046ea9: Verifying Checksum 12:05:22 4c7163046ea9: Download complete 12:05:22 0c2d73faf560: Verifying Checksum 12:05:22 0c2d73faf560: Download complete 12:05:22 a0d0a0d46f8b: Pull complete 12:05:22 3e5f54012d9b: Pull complete 12:05:22 4c7163046ea9: Pull complete 12:05:22 0c2d73faf560: Pull complete 12:05:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:05:22 prd-centos7-docker-4c-2g-4020 does not seem to be running inside a container 12:05:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-374 -v /w/workspace/_app-service-configurable_PR-374:/w/workspace/_app-service-configurable_PR-374:rw,z -v /w/workspace/_app-service-configurable_PR-374@tmp:/w/workspace/_app-service-configurable_PR-374@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:05:23 $ docker top d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:23 [ssh-agent] Looking for ssh-agent implementation... 12:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:23 $ docker exec d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 ssh-agent 12:05:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhDAdpG/agent.14 12:05:23 SSH_AGENT_PID=20 12:05:23 Running ssh-add (command line suppressed) 12:05:24 Identity added: /w/workspace/_app-service-configurable_PR-374@tmp/private_key_5929664060235014535.key (/w/workspace/_app-service-configurable_PR-374@tmp/private_key_5929664060235014535.key) 12:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:24 + git tag --points-at HEAD [Pipeline] } 12:05:24 $ docker exec --env ******** --env ******** d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 ssh-agent -k 12:05:24 unset SSH_AUTH_SOCK; 12:05:24 unset SSH_AGENT_PID; 12:05:24 echo Agent pid 20 killed; 12:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:24 [ssh-agent] Looking for ssh-agent implementation... 12:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:24 $ docker exec d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 ssh-agent 12:05:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEpGcCK/agent.53 12:05:24 SSH_AGENT_PID=59 12:05:24 Running ssh-add (command line suppressed) 12:05:24 Identity added: /w/workspace/_app-service-configurable_PR-374@tmp/private_key_7662742259564258249.key (/w/workspace/_app-service-configurable_PR-374@tmp/private_key_7662742259564258249.key) 12:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:25 + git semver init 12:05:25 # -> Open(): unable to determine branch for HEAD 12:05:25 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-374/.git 12:05:25 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-374 12:05:25 # $SEMVER_REMOTE_NAME = origin 12:05:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:25 # $SEMVER_USER_NAME = edgex-jenkins 12:05:25 # $SEMVER_BRANCH = PR-374 12:05:25 # $SEMVER_TEMP = /tmp/semver-282388190 12:05:25 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:05:26 # '/tmp/semver-282388190' -> '/w/workspace/_app-service-configurable_PR-374/.semver' 12:05:26 # -> Force: false 12:05:26 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-374/.semver [Pipeline] } 12:05:26 $ docker exec --env ******** --env ******** d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 ssh-agent -k 12:05:26 unset SSH_AUTH_SOCK; 12:05:26 unset SSH_AGENT_PID; 12:05:26 echo Agent pid 59 killed; 12:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:26 + git semver [Pipeline] } 12:05:26 $ docker stop --time=1 d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 12:05:28 $ docker rm -f d7f8943a8899834f15a95a0c3ac6658404fae691445e33c08d068fecf26627f4 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:05:28 Stashed 1 file(s) [Pipeline] echo 12:05:28 [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:05:29 provisioning config files... 12:05:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-374@tmp/config4810323218384648423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:29 ---> docker-login.sh 12:05:29 nexus3.edgexfoundry.org:10001 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10002 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10003 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10004 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 docker.io 12:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:30 Configure a credential helper to remove this warning. See 12:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:30 12:05:30 Login Succeeded 12:05:30 ---> docker-login.sh ends [Pipeline] } 12:05:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:30 ========================================================= 12:05:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:05:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:05:31 + 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:05:31 Sending build context to Docker daemon 2.949MB 12:05:31 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:05:31 Step 2/13 : FROM ${BASE} AS builder 12:05:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:05:31 59bf1c3509f3: Pulling fs layer 12:05:31 666ba61612fd: Pulling fs layer 12:05:31 8ed8ca486205: Pulling fs layer 12:05:31 4fe6c5a15a65: Pulling fs layer 12:05:31 22a0e8bec74d: Pulling fs layer 12:05:31 f965cba54748: Pulling fs layer 12:05:31 861ffc35075e: Pulling fs layer 12:05:31 4b385c91608e: Pulling fs layer 12:05:31 560528eb2ebb: Pulling fs layer 12:05:31 4fe6c5a15a65: Waiting 12:05:31 22a0e8bec74d: Waiting 12:05:31 f965cba54748: Waiting 12:05:31 861ffc35075e: Waiting 12:05:31 4b385c91608e: Waiting 12:05:31 560528eb2ebb: Waiting 12:05:31 666ba61612fd: Verifying Checksum 12:05:31 666ba61612fd: Download complete 12:05:31 8ed8ca486205: Verifying Checksum 12:05:31 8ed8ca486205: Download complete 12:05:31 22a0e8bec74d: Verifying Checksum 12:05:31 22a0e8bec74d: Download complete 12:05:31 f965cba54748: Verifying Checksum 12:05:31 f965cba54748: Download complete 12:05:31 59bf1c3509f3: Verifying Checksum 12:05:31 59bf1c3509f3: Download complete 12:05:31 861ffc35075e: Verifying Checksum 12:05:31 861ffc35075e: Download complete 12:05:31 4b385c91608e: Verifying Checksum 12:05:31 4b385c91608e: Download complete 12:05:31 59bf1c3509f3: Pull complete 12:05:32 4fe6c5a15a65: Verifying Checksum 12:05:32 4fe6c5a15a65: Download complete 12:05:32 666ba61612fd: Pull complete 12:05:32 560528eb2ebb: Verifying Checksum 12:05:32 560528eb2ebb: Download complete 12:05:32 8ed8ca486205: Pull complete 12:05:36 4fe6c5a15a65: Pull complete 12:05:36 22a0e8bec74d: Pull complete 12:05:36 f965cba54748: Pull complete 12:05:36 861ffc35075e: Pull complete 12:05:36 4b385c91608e: Pull complete 12:05:38 560528eb2ebb: Pull complete 12:05:38 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 12:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:05:38 ---> dd4a08f94e63 12:05:38 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:40 ---> Running in 792b0633c86d 12:05:41 Removing intermediate container 792b0633c86d 12:05:41 ---> 227320a94345 12:05:41 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:05:41 ---> Running in a7d969c248c4 12:05:41 Removing intermediate container a7d969c248c4 12:05:41 ---> 6db4b7329553 12:05:41 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:41 ---> Running in 8e323c908c6f 12:05:41 Removing intermediate container 8e323c908c6f 12:05:41 ---> 22c6f2df5792 12:05:41 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:41 ---> Running in ba050d74204b 12:05:41 Removing intermediate container ba050d74204b 12:05:41 ---> 662be4d48151 12:05:41 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:41 ---> Running in 0efb5cb1e49d 12:05:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:43 OK: 221 MiB in 52 packages 12:05:43 Removing intermediate container 0efb5cb1e49d 12:05:43 ---> 61db4cec12f2 12:05:43 Step 8/13 : WORKDIR /app 12:05:43 ---> Running in 328d1e7b343c 12:05:43 Removing intermediate container 328d1e7b343c 12:05:43 ---> 66a7632a9c5c 12:05:43 Step 9/13 : COPY go.mod vendor* ./ 12:05:43 ---> 9b07664cbdab 12:05:43 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:43 ---> Running in 884473a69a21 12:05:44 Still waiting to schedule task 12:05:44 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4017’ 12:06:22 Removing intermediate container 884473a69a21 12:06:22 ---> 4bf891221fe0 12:06:22 Step 11/13 : COPY . . 12:06:22 ---> 656d79ac8d54 12:06:22 Step 12/13 : ARG MAKE="make build" 12:06:22 ---> Running in a48f102204f3 12:06:22 Removing intermediate container a48f102204f3 12:06:22 ---> fbba5b509afe 12:06:22 Step 13/13 : RUN $MAKE 12:06:22 ---> Running in f41c88aa5eb3 12:06:22 noop 12:06:22 Removing intermediate container f41c88aa5eb3 12:06:22 ---> 470453032d39 12:06:22 Successfully built 470453032d39 12:06:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:06:22 + docker inspect -f . ci-base-image-x86_64 12:06:22 . [Pipeline] withDockerContainer 12:06:22 prd-centos7-docker-4c-2g-4020 does not seem to be running inside a container 12:06:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-374 -v /w/workspace/_app-service-configurable_PR-374:/w/workspace/_app-service-configurable_PR-374:rw,z -v /w/workspace/_app-service-configurable_PR-374@tmp:/w/workspace/_app-service-configurable_PR-374@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 ******** ci-base-image-x86_64 cat 12:06:23 $ docker top 1c2b9c93eeb4ac363d59275391d7e98bc1efc14db025c47f844f73e1e8dd875c -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:23 + go version 12:06:23 go version go1.17.6 linux/amd64 [Pipeline] } 12:06:23 $ docker stop --time=1 1c2b9c93eeb4ac363d59275391d7e98bc1efc14db025c47f844f73e1e8dd875c 12:06:24 $ docker rm -f 1c2b9c93eeb4ac363d59275391d7e98bc1efc14db025c47f844f73e1e8dd875c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:06:25 + docker inspect -f . ci-base-image-x86_64 12:06:25 . [Pipeline] withDockerContainer 12:06:25 prd-centos7-docker-4c-2g-4020 does not seem to be running inside a container 12:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-374 -v /w/workspace/_app-service-configurable_PR-374:/w/workspace/_app-service-configurable_PR-374:rw,z -v /w/workspace/_app-service-configurable_PR-374@tmp:/w/workspace/_app-service-configurable_PR-374@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 ******** ci-base-image-x86_64 cat 12:06:25 $ docker top 4bcf7dda3fcb0c884b7f4d16401e8a9fa94411b8f28a6982dbaf9d8a7733a75f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:06:26 + make test 12:06:26 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:06:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:06:41 CGO_ENABLED=1 go vet ./... 12:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:06:44 ./bin/test-attribution-txt.sh 12:06:45 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 12:06:45 make: *** [makefile:40: test] Error 1 [Pipeline] } 12:06:45 $ docker stop --time=1 4bcf7dda3fcb0c884b7f4d16401e8a9fa94411b8f28a6982dbaf9d8a7733a75f 12:06:46 $ docker rm -f 4bcf7dda3fcb0c884b7f4d16401e8a9fa94411b8f28a6982dbaf9d8a7733a75f [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:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:47 12:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:48 latest: Pulling from edgex-lftools-log-publisher 12:06:48 b4d181a07f80: Pulling fs layer 12:06:48 a1111a8f2ec3: Pulling fs layer 12:06:48 ed53099fbce6: Pulling fs layer 12:06:48 dc539afda2c1: Pulling fs layer 12:06:48 77bc0d833cb6: Pulling fs layer 12:06:48 9065ff56babe: Pulling fs layer 12:06:48 d287ab97295c: Pulling fs layer 12:06:48 dc539afda2c1: Waiting 12:06:48 77bc0d833cb6: Waiting 12:06:48 9065ff56babe: Waiting 12:06:48 d287ab97295c: Waiting 12:06:48 a1111a8f2ec3: Verifying Checksum 12:06:48 a1111a8f2ec3: Download complete 12:06:48 dc539afda2c1: Verifying Checksum 12:06:48 dc539afda2c1: Download complete 12:06:48 77bc0d833cb6: Verifying Checksum 12:06:48 77bc0d833cb6: Download complete 12:06:48 ed53099fbce6: Verifying Checksum 12:06:48 ed53099fbce6: Download complete 12:06:48 9065ff56babe: Verifying Checksum 12:06:48 9065ff56babe: Download complete 12:06:48 b4d181a07f80: Verifying Checksum 12:06:48 b4d181a07f80: Download complete 12:06:49 d287ab97295c: Verifying Checksum 12:06:49 d287ab97295c: Download complete 12:06:49 b4d181a07f80: Pull complete 12:06:50 a1111a8f2ec3: Pull complete 12:06:50 ed53099fbce6: Pull complete 12:06:50 dc539afda2c1: Pull complete 12:06:50 77bc0d833cb6: Pull complete 12:06:51 9065ff56babe: Pull complete 12:06:56 d287ab97295c: Pull complete 12:06:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:06:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:06:56 prd-centos7-docker-4c-2g-4020 does not seem to be running inside a container 12:06:56 $ 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-374 -v /w/workspace/_app-service-configurable_PR-374:/w/workspace/_app-service-configurable_PR-374:rw,z -v /w/workspace/_app-service-configurable_PR-374@tmp:/w/workspace/_app-service-configurable_PR-374@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 12:06:59 $ docker top 5ca86f61ee86f2492d24422d6ef98d695e6a8fda20ed97f4cd2f36a1645b51ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:59 ---> job-cost.sh 12:06:59 lf-activate-venv: SKIPPING 12:06:59 INFO: No Stack... 12:07:00 INFO: Retrieving Pricing Info for: v3-standard-2 12:07:00 INFO: Archiving Costs [Pipeline] sh 12:07:00 + cat /w/workspace/_app-service-configurable_PR-374/archives/cost.csv 12:07:00 + cut -d, -f6 [Pipeline] lock 12:07:00 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] 12:07:00 Resource [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] did not exist. Created. 12:07:00 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:07:01 + echo total: 0.05999999865889549 [Pipeline] stash 12:07:01 Stashed 1 file(s) [Pipeline] } 12:07:01 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:07:01 $ docker stop --time=1 5ca86f61ee86f2492d24422d6ef98d695e6a8fda20ed97f4cd2f36a1645b51ce 12:07:02 $ docker rm -f 5ca86f61ee86f2492d24422d6ef98d695e6a8fda20ed97f4cd2f36a1645b51ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:07:02 Failed in branch amd64 12:09:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4021 in /w/workspace/_app-service-configurable_PR-374 [Pipeline] { [Pipeline] ws 12:09:15 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:09:15 Selected Git installation does not exist. Using Default 12:09:15 The recommended git tool is: NONE 12:09:20 using credential edgex-jenkins-ssh 12:09:20 Cloning the remote Git repository 12:09:20 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:09:20 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:09:20 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:09:20 > git --version # timeout=10 12:09:20 > git --version # 'git version 2.17.1' 12:09:20 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:09:22 Merging remotes/origin/main commit 5c87ede0545ad4f8161b18be631b499d146a8158 into PR head commit ebd2e62053f3f121f30aa8bed492446b4c867d99 12:09:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:09:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:09:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:09:22 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:09:22 > git config core.sparsecheckout # timeout=10 12:09:22 > git checkout -f ebd2e62053f3f121f30aa8bed492446b4c867d99 # timeout=10 12:09:23 > git remote # timeout=10 12:09:23 Merge succeeded, producing ebd2e62053f3f121f30aa8bed492446b4c867d99 12:09:23 Checking out Revision ebd2e62053f3f121f30aa8bed492446b4c867d99 (PR-374) 12:09:23 > git config --get remote.origin.url # timeout=10 12:09:23 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:23 > git merge 5c87ede0545ad4f8161b18be631b499d146a8158 # timeout=10 12:09:23 > git rev-parse HEAD^{commit} # timeout=10 12:09:23 > git config core.sparsecheckout # timeout=10 12:09:23 > git checkout -f ebd2e62053f3f121f30aa8bed492446b4c867d99 # timeout=10 12:09:27 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:09:27 > git --version # timeout=10 12:09:27 > git --version # 'git version 2.17.1' 12:09:27 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:09:28 % Total % Received % Xferd Average Speed Time Time Time Current 12:09:28 Dload Upload Total Spent Left Speed 12:09:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82818 0 --:--:-- --:--:-- --:--:-- 83401 [Pipeline] sh 12:09:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:09:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:09:29 + sudo tee /etc/docker/daemon.new 12:09:29 { 12:09:29 "registry-mirrors": [ 12:09:29 "https://nexus3.edgexfoundry.org:10001" 12:09:29 ], 12:09:29 "bip": "10.250.0.254/24", 12:09:29 "hosts": [ 12:09:29 "tcp://0.0.0.0:5555", 12:09:29 "unix:///var/run/docker.sock" 12:09:29 ], 12:09:29 "mtu": 1458, 12:09:29 "selinux-enabled": true, 12:09:29 "seccomp-profile": "/etc/docker/seccomp.json" 12:09:29 } [Pipeline] sh 12:09:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:09:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:49 provisioning config files... 12:09:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7319453935441568470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:49 ---> docker-login.sh 12:09:49 nexus3.edgexfoundry.org:10001 12:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:50 Configure a credential helper to remove this warning. See 12:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:50 12:09:50 Login Succeeded 12:09:50 nexus3.edgexfoundry.org:10002 12:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:50 Configure a credential helper to remove this warning. See 12:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:50 12:09:50 Login Succeeded 12:09:50 nexus3.edgexfoundry.org:10003 12:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:51 Configure a credential helper to remove this warning. See 12:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:51 12:09:51 Login Succeeded 12:09:51 nexus3.edgexfoundry.org:10004 12:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:51 Configure a credential helper to remove this warning. See 12:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:51 12:09:51 Login Succeeded 12:09:51 docker.io 12:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:52 Configure a credential helper to remove this warning. See 12:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:52 12:09:52 Login Succeeded 12:09:52 ---> docker-login.sh ends [Pipeline] } 12:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:53 ========================================================= 12:09:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:09:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:09:53 + 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 . 12:09:53 Sending build context to Docker daemon 207.9kB 12:09:53 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:09:53 Step 2/13 : FROM ${BASE} AS builder 12:09:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:09:54 9b3977197b4f: Pulling fs layer 12:09:54 1a89e8eeedd5: Pulling fs layer 12:09:54 94645a83ff95: Pulling fs layer 12:09:54 3f3a8bcf1eab: Pulling fs layer 12:09:54 0c92f367c5e7: Pulling fs layer 12:09:54 4b8299f9d1f4: Pulling fs layer 12:09:54 9a6b49a46696: Pulling fs layer 12:09:54 cf05db05a679: Pulling fs layer 12:09:54 0c92f367c5e7: Waiting 12:09:54 4b8299f9d1f4: Waiting 12:09:54 9a6b49a46696: Waiting 12:09:54 cf05db05a679: Waiting 12:09:54 3f3a8bcf1eab: Waiting 12:09:54 94645a83ff95: Verifying Checksum 12:09:54 94645a83ff95: Download complete 12:09:54 1a89e8eeedd5: Verifying Checksum 12:09:54 1a89e8eeedd5: Download complete 12:09:54 0c92f367c5e7: Verifying Checksum 12:09:54 0c92f367c5e7: Download complete 12:09:54 4b8299f9d1f4: Verifying Checksum 12:09:54 4b8299f9d1f4: Download complete 12:09:54 9b3977197b4f: Download complete 12:09:54 9a6b49a46696: Verifying Checksum 12:09:54 9a6b49a46696: Download complete 12:09:54 9b3977197b4f: Pull complete 12:09:55 1a89e8eeedd5: Pull complete 12:09:55 94645a83ff95: Pull complete 12:09:55 cf05db05a679: Verifying Checksum 12:09:55 cf05db05a679: Download complete 12:09:56 3f3a8bcf1eab: Verifying Checksum 12:09:56 3f3a8bcf1eab: Download complete 12:10:08 3f3a8bcf1eab: Pull complete 12:10:08 0c92f367c5e7: Pull complete 12:10:08 4b8299f9d1f4: Pull complete 12:10:09 9a6b49a46696: Pull complete 12:10:15 cf05db05a679: Pull complete 12:10:15 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 12:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:10:15 ---> 0ccda1f7e2ee 12:10:15 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:10:16 ---> Running in 70f1f1f73738 12:10:17 Removing intermediate container 70f1f1f73738 12:10:17 ---> 9a6aa0cab8e4 12:10:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:10:17 ---> Running in 9591e01070dc 12:10:17 Removing intermediate container 9591e01070dc 12:10:17 ---> 0db9826d32f8 12:10:17 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:10:17 ---> Running in c575f137b413 12:10:18 Removing intermediate container c575f137b413 12:10:18 ---> be53bca76c85 12:10:18 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:18 ---> Running in d34249501bc6 12:10:20 Removing intermediate container d34249501bc6 12:10:20 ---> 298a1428fafa 12:10:20 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:20 ---> Running in eed24e8242a3 12:10:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:23 OK: 220 MiB in 52 packages 12:10:23 Removing intermediate container eed24e8242a3 12:10:23 ---> 01ff5d0151ff 12:10:23 Step 8/13 : WORKDIR /app 12:10:24 ---> Running in 64c2ba0f6441 12:10:24 Removing intermediate container 64c2ba0f6441 12:10:24 ---> 33cce8bd1699 12:10:24 Step 9/13 : COPY go.mod vendor* ./ 12:10:25 ---> aa32a8131155 12:10:25 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:25 ---> Running in 333bca5a38b7 12:11:47 Removing intermediate container 333bca5a38b7 12:11:47 ---> 6cc68e3f21a7 12:11:47 Step 11/13 : COPY . . 12:11:47 ---> cf38f40c8d4f 12:11:47 Step 12/13 : ARG MAKE="make build" 12:11:47 ---> Running in f2cfdbcabbb1 12:11:47 Removing intermediate container f2cfdbcabbb1 12:11:47 ---> 2e75e0863681 12:11:47 Step 13/13 : RUN $MAKE 12:11:47 ---> Running in 5c8103974017 12:11:47 noop 12:11:47 Removing intermediate container 5c8103974017 12:11:47 ---> 99ee4d39b747 12:11:47 Successfully built 99ee4d39b747 12:11:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:11:47 + docker inspect -f . ci-base-image-arm64 12:11:47 . [Pipeline] withDockerContainer 12:11:47 prd-ubuntu18.04-docker-arm64-4c-16g-4021 does not seem to be running inside a container 12:11:47 $ 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 ******** ci-base-image-arm64 cat 12:11:49 $ docker top 3486da602740a81b4eb4b83b56f9e77c7b8668158d951fba5098c5f43614a108 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:50 + go version 12:11:50 go version go1.17.6 linux/arm64 [Pipeline] } 12:11:50 $ docker stop --time=1 3486da602740a81b4eb4b83b56f9e77c7b8668158d951fba5098c5f43614a108 12:11:52 $ docker rm -f 3486da602740a81b4eb4b83b56f9e77c7b8668158d951fba5098c5f43614a108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:52 + docker inspect -f . ci-base-image-arm64 12:11:52 . [Pipeline] withDockerContainer 12:11:53 prd-ubuntu18.04-docker-arm64-4c-16g-4021 does not seem to be running inside a container 12:11:53 $ 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 ******** ci-base-image-arm64 cat 12:11:54 $ docker top fdcd0a0a5b192944cb22b02bcba797d9901d54c2c1315bd29c68b8059d8f9ff3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:11:55 + make test 12:11:55 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:12:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:12:42 CGO_ENABLED=1 go vet ./... 12:13:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:13:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:13:01 ./bin/test-attribution-txt.sh 12:13:01 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 12:13:01 make: *** [makefile:40: test] Error 1 [Pipeline] } 12:13:01 $ docker stop --time=1 fdcd0a0a5b192944cb22b02bcba797d9901d54c2c1315bd29c68b8059d8f9ff3 12:13:02 $ docker rm -f fdcd0a0a5b192944cb22b02bcba797d9901d54c2c1315bd29c68b8059d8f9ff3 [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 12:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:04 12:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:04 arm64: Pulling from edgex-lftools-log-publisher 12:13:04 448f6bf000e3: Pulling fs layer 12:13:04 f757da607395: Pulling fs layer 12:13:04 05883995daec: Pulling fs layer 12:13:04 8603b9c90790: Pulling fs layer 12:13:04 1560dd03e051: Pulling fs layer 12:13:04 27f5ce0e4adf: Pulling fs layer 12:13:04 c2d8d7efcc4b: Pulling fs layer 12:13:04 1560dd03e051: Waiting 12:13:04 27f5ce0e4adf: Waiting 12:13:04 c2d8d7efcc4b: Waiting 12:13:04 8603b9c90790: Waiting 12:13:04 f757da607395: Verifying Checksum 12:13:04 f757da607395: Download complete 12:13:04 8603b9c90790: Verifying Checksum 12:13:04 8603b9c90790: Download complete 12:13:05 1560dd03e051: Verifying Checksum 12:13:05 1560dd03e051: Download complete 12:13:05 27f5ce0e4adf: Verifying Checksum 12:13:05 27f5ce0e4adf: Download complete 12:13:05 05883995daec: Verifying Checksum 12:13:05 05883995daec: Download complete 12:13:05 448f6bf000e3: Download complete 12:13:08 c2d8d7efcc4b: Verifying Checksum 12:13:08 c2d8d7efcc4b: Download complete 12:13:09 448f6bf000e3: Pull complete 12:13:09 f757da607395: Pull complete 12:13:11 05883995daec: Pull complete 12:13:11 8603b9c90790: Pull complete 12:13:12 1560dd03e051: Pull complete 12:13:12 27f5ce0e4adf: Pull complete 12:13:27 c2d8d7efcc4b: Pull complete 12:13:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:13:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:13:28 prd-ubuntu18.04-docker-arm64-4c-16g-4021 does not seem to be running inside a container 12:13:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:13:31 $ docker top d7753e86bbd796427c9288ea595357303e16cb7558d4fa37eb7aed44007c9655 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:32 ---> job-cost.sh 12:13:32 lf-activate-venv: SKIPPING 12:13:32 INFO: No Stack... 12:13:32 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:32 INFO: Archiving Costs [Pipeline] sh 12:13:33 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:13:33 + cut -d, -f6 [Pipeline] lock 12:13:33 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] 12:13:33 Resource [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] did not exist. Created. 12:13:33 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:34 /w/workspace/app-service-configurable/1@tmp/durable-690d7e16/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-690d7e16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:13:35 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:35 Warning: overwriting stash ‘stack-cost’ 12:13:35 Stashed 1 file(s) [Pipeline] } 12:13:35 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:35 $ docker stop --time=1 d7753e86bbd796427c9288ea595357303e16cb7558d4fa37eb7aed44007c9655 12:13:37 $ docker rm -f d7753e86bbd796427c9288ea595357303e16cb7558d4fa37eb7aed44007c9655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:37 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 12:13:40 + '[' -d /w/workspace/_app-service-configurable_PR-374/archives ']' 12:13:40 + ls -al /w/workspace/_app-service-configurable_PR-374/archives 12:13:40 total 8 12:13:40 drwxr-xr-x. 3 root root 34 Jan 27 12:07 . 12:13:40 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 27 12:07 .. 12:13:40 drwxr-xr-x. 2 root root 6 Jan 27 12:07 cost 12:13:40 -rw-r--r--. 1 root root 95 Jan 27 12:07 cost.csv 12:13:40 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-374/archives 12:13:40 + ls -al /w/workspace/_app-service-configurable_PR-374/archives 12:13:40 total 8 12:13:40 drwxr-xr-x. 3 jenkins jenkins 34 Jan 27 12:07 . 12:13:40 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 27 12:07 .. 12:13:40 drwxr-xr-x. 2 jenkins jenkins 6 Jan 27 12:07 cost 12:13:40 -rw-r--r--. 1 jenkins jenkins 95 Jan 27 12:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:40 ---> package-listing.sh 12:13:40 ++ facter osfamily 12:13:40 ++ tr '[:upper:]' '[:lower:]' 12:13:41 + OS_FAMILY=redhat 12:13:41 + workspace=/w/workspace/_app-service-configurable_PR-374 12:13:41 + START_PACKAGES=/tmp/packages_start.txt 12:13:41 + END_PACKAGES=/tmp/packages_end.txt 12:13:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:41 + PACKAGES=/tmp/packages_start.txt 12:13:41 + '[' /w/workspace/_app-service-configurable_PR-374 ']' 12:13:41 + PACKAGES=/tmp/packages_end.txt 12:13:41 + case "${OS_FAMILY}" in 12:13:41 + rpm -qa 12:13:41 + sort 12:13:41 + '[' -f /tmp/packages_start.txt ']' 12:13:41 + '[' -f /tmp/packages_end.txt ']' 12:13:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:41 + '[' /w/workspace/_app-service-configurable_PR-374 ']' 12:13:41 + mkdir -p /w/workspace/_app-service-configurable_PR-374/archives/ 12:13:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-374/archives/ [Pipeline] echo 12:13:41 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-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:13:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:42 . [Pipeline] withDockerContainer 12:13:42 prd-centos7-docker-4c-2g-4020 does not seem to be running inside a container 12:13:42 $ 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-374/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-374 -v /w/workspace/_app-service-configurable_PR-374:/w/workspace/_app-service-configurable_PR-374:rw,z -v /w/workspace/_app-service-configurable_PR-374@tmp:/w/workspace/_app-service-configurable_PR-374@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:43 $ docker top 0837e9c74ca4e2286b8addb1cc3f56f61817412c985d416f26dc0cd786deb138 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:43 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:43 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:44 + ls /var/log/sa-host 12:13:44 + sadf -c /var/log/sa-host/sa17 12:13:44 file_magic: OK 12:13:44 HZ: Using current value: 100 12:13:44 file_header: OK 12:13:44 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 12:13:44 Statistics: 12:13:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:13:44 File successfully converted to sysstat format version 12.0.3 12:13:44 + sadf -c /var/log/sa-host/sa27 12:13:44 file_magic: OK 12:13:44 HZ: Using current value: 100 12:13:44 file_header: OK 12:13:44 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 12:13:44 Statistics: 12:13:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:13:44 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:44 provisioning config files... 12:13:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-374@tmp/config612928769544401047tmp [Pipeline] { [Pipeline] echo 12:13:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:45 ---> create-netrc.sh [Pipeline] } 12:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:45 ---> python-tools-install.sh [Pipeline] echo 12:13:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:45 ---> sudo-logs.sh 12:13:45 Archiving 'sudo' log.. 12:13:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-4020.novalocal: Name or service not known 12:13:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-4020.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:13:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:46 ---> job-cost.sh 12:13:46 lf-activate-venv: SKIPPING 12:13:46 DEBUG: total: 0.05999999865889549 12:13:46 INFO: Retrieving Stack Cost... 12:13:46 INFO: Retrieving Pricing Info for: v3-standard-2 12:13:46 INFO: Archiving Costs [Pipeline] echo 12:13:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:47 ---> logs-deploy.sh 12:13:47 lf-activate-venv: SKIPPING 12:13:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-374/1 12:13:47 INFO: archiving workspace using pattern(s): 12:13:47 Archives upload complete. 12:13:47 INFO: archiving logs to Nexus