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 [2022-02-10T12:58:15.593Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T12:58:15.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T12:58:15.838Z] ========================================================= [2022-02-10T12:58:15.838Z] EdgeX Global Pipelines Version Info [2022-02-10T12:58:15.838Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-10T12:58:16.980Z] ------------------- [2022-02-10T12:58:16.981Z] stable info: [2022-02-10T12:58:16.981Z] ------------------- [2022-02-10T12:58:16.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T12:58:16.981Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T12:58:16.981Z] Message: update stable to v1.0.220 [2022-02-10T12:58:17.556Z] ------------------- [2022-02-10T12:58:17.556Z] experimental info: [2022-02-10T12:58:17.556Z] ------------------- [2022-02-10T12:58:17.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T12:58:17.556Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T12:58:17.556Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T12:58:17.830Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-02-10T12:58:17.870Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-02-10T12:58:17.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T12:58:17.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T12:58:17.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T12:58:18.038Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-10T12:58:18.078Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-10T12:58:18.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-10T12:58:18.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-10T12:58:18.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T12:58:18.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T12:58:18.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-02-10T12:58:18.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T12:58:18.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T12:58:18.402Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T12:58:18.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T12:58:18.484Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T12:58:18.523Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T12:58:18.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T12:58:18.595Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-10T12:58:18.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-10T12:58:18.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-10T12:58:18.712Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-10T12:58:18.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-10T12:58:18.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-10T12:58:18.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T12:58:18.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo [2022-02-10T12:58:18.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo [2022-02-10T12:58:18.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo [2022-02-10T12:58:18.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo [2022-02-10T12:58:19.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aec1076 [Pipeline] echo [2022-02-10T12:58:19.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T12:58:19.198Z] provisioning config files... [2022-02-10T12:58:19.213Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config3688331977848117845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T12:58:19.566Z] ---> docker-login.sh [2022-02-10T12:58:19.566Z] nexus3.edgexfoundry.org:10001 [2022-02-10T12:58:19.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:19.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:19.826Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:19.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:19.826Z] [2022-02-10T12:58:19.826Z] Login Succeeded [2022-02-10T12:58:19.826Z] nexus3.edgexfoundry.org:10002 [2022-02-10T12:58:19.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:19.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:19.826Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:19.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:19.826Z] [2022-02-10T12:58:19.826Z] Login Succeeded [2022-02-10T12:58:19.826Z] nexus3.edgexfoundry.org:10003 [2022-02-10T12:58:19.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:20.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:20.093Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:20.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:20.093Z] [2022-02-10T12:58:20.093Z] Login Succeeded [2022-02-10T12:58:20.093Z] nexus3.edgexfoundry.org:10004 [2022-02-10T12:58:20.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:20.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:20.093Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:20.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:20.093Z] [2022-02-10T12:58:20.093Z] Login Succeeded [2022-02-10T12:58:20.093Z] docker.io [2022-02-10T12:58:20.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:20.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:20.669Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:20.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:20.669Z] [2022-02-10T12:58:20.669Z] Login Succeeded [2022-02-10T12:58:20.669Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T12:58:20.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-10T12:58:21.348Z] + git rev-list -1 --merges aec1076bf3ebe0857245c52fb3f03503a963c7c5~1..aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo [2022-02-10T12:58:21.395Z] -----------> git rev-list -1 --merges aec1076bf3ebe0857245c52fb3f03503a963c7c5~1..aec1076bf3ebe0857245c52fb3f03503a963c7c5 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [false] [Pipeline] sh [2022-02-10T12:58:21.713Z] + git log --format=format:%s -1 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo [2022-02-10T12:58:21.753Z] ========================================================= [2022-02-10T12:58:21.753Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T12:58:21.753Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T12:58:22.193Z] + git log --format=format:%s -1 aec1076bf3ebe0857245c52fb3f03503a963c7c5 [Pipeline] echo [2022-02-10T12:58:22.232Z] [semverPrep] GIT_COMMIT: aec1076bf3ebe0857245c52fb3f03503a963c7c5, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-02-10T12:58:22.266Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-10T12:58:22.739Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T12:58:22.739Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T12:58:22.739Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T12:58:22.739Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T12:58:22.739Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T12:58:22.739Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T12:58:22.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:58:23.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T12:58:23.203Z] [2022-02-10T12:58:23.203Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:58:23.559Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T12:58:23.559Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T12:58:23.560Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T12:58:23.560Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T12:58:23.560Z] 4c7163046ea9: Pulling fs layer [2022-02-10T12:58:23.560Z] 0c2d73faf560: Pulling fs layer [2022-02-10T12:58:23.560Z] 0c2d73faf560: Waiting [2022-02-10T12:58:23.560Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T12:58:23.560Z] 3e5f54012d9b: Download complete [2022-02-10T12:58:23.560Z] a0d0a0d46f8b: Download complete [2022-02-10T12:58:23.560Z] 4c7163046ea9: Verifying Checksum [2022-02-10T12:58:23.560Z] 4c7163046ea9: Download complete [2022-02-10T12:58:23.830Z] 0c2d73faf560: Verifying Checksum [2022-02-10T12:58:23.830Z] 0c2d73faf560: Download complete [2022-02-10T12:58:23.830Z] a0d0a0d46f8b: Pull complete [2022-02-10T12:58:23.830Z] 3e5f54012d9b: Pull complete [2022-02-10T12:58:24.092Z] 4c7163046ea9: Pull complete [2022-02-10T12:58:24.354Z] 0c2d73faf560: Pull complete [2022-02-10T12:58:24.354Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T12:58:24.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T12:58:24.354Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T12:58:24.449Z] prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container [2022-02-10T12:58:24.496Z] $ 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 [2022-02-10T12:58:25.313Z] $ docker top d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T12:58:25.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T12:58:25.493Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T12:58:25.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T12:58:25.600Z] $ docker exec d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent [2022-02-10T12:58:25.704Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIJDFk/agent.14 [2022-02-10T12:58:25.704Z] SSH_AGENT_PID=20 [2022-02-10T12:58:25.712Z] Running ssh-add (command line suppressed) [2022-02-10T12:58:25.798Z] 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) [2022-02-10T12:58:25.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T12:58:26.154Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T12:58:26.179Z] $ docker exec --env ******** --env ******** d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent -k [2022-02-10T12:58:26.286Z] unset SSH_AUTH_SOCK; [2022-02-10T12:58:26.286Z] unset SSH_AGENT_PID; [2022-02-10T12:58:26.286Z] echo Agent pid 20 killed; [2022-02-10T12:58:26.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T12:58:26.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T12:58:26.386Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T12:58:26.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T12:58:26.497Z] $ docker exec d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent [2022-02-10T12:58:26.648Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOeHBMJ/agent.54 [2022-02-10T12:58:26.648Z] SSH_AGENT_PID=60 [2022-02-10T12:58:26.653Z] Running ssh-add (command line suppressed) [2022-02-10T12:58:26.769Z] 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) [2022-02-10T12:58:26.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T12:58:27.116Z] + git semver init [2022-02-10T12:58:27.117Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T12:58:27.117Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-379/.git [2022-02-10T12:58:27.117Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-379 [2022-02-10T12:58:27.117Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T12:58:27.117Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T12:58:27.117Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T12:58:27.117Z] # $SEMVER_BRANCH = PR-379 [2022-02-10T12:58:27.117Z] # $SEMVER_TEMP = /tmp/semver-225235445 [2022-02-10T12:58:27.117Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-02-10T12:58:28.058Z] # '/tmp/semver-225235445' -> '/w/workspace/_app-service-configurable_PR-379/.semver' [2022-02-10T12:58:28.058Z] # -> Force: false [2022-02-10T12:58:28.058Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-379/.semver [Pipeline] } [2022-02-10T12:58:28.086Z] $ docker exec --env ******** --env ******** d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 ssh-agent -k [2022-02-10T12:58:28.170Z] unset SSH_AUTH_SOCK; [2022-02-10T12:58:28.170Z] unset SSH_AGENT_PID; [2022-02-10T12:58:28.170Z] echo Agent pid 60 killed; [2022-02-10T12:58:28.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T12:58:28.603Z] + git semver [Pipeline] } [2022-02-10T12:58:28.631Z] $ docker stop --time=1 d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 [2022-02-10T12:58:29.878Z] $ docker rm -f d3b2519e206b1bada3fb7897f43e55caec36968c9620c1b1fe2919d491a70529 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T12:58:30.293Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T12:58:30.587Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T12:58:30.607Z] [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 [2022-02-10T12:58:31.225Z] provisioning config files... [2022-02-10T12:58:31.236Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config9080819112302331369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T12:58:31.603Z] ---> docker-login.sh [2022-02-10T12:58:31.603Z] nexus3.edgexfoundry.org:10001 [2022-02-10T12:58:31.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:31.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:31.603Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:31.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:31.603Z] [2022-02-10T12:58:31.603Z] Login Succeeded [2022-02-10T12:58:31.603Z] nexus3.edgexfoundry.org:10002 [2022-02-10T12:58:31.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:31.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:31.603Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:31.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:31.603Z] [2022-02-10T12:58:31.603Z] Login Succeeded [2022-02-10T12:58:31.603Z] nexus3.edgexfoundry.org:10003 [2022-02-10T12:58:31.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:31.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:31.870Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:31.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:31.870Z] [2022-02-10T12:58:31.870Z] Login Succeeded [2022-02-10T12:58:31.870Z] nexus3.edgexfoundry.org:10004 [2022-02-10T12:58:31.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:31.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:31.870Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:31.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:31.870Z] [2022-02-10T12:58:31.870Z] Login Succeeded [2022-02-10T12:58:31.870Z] docker.io [2022-02-10T12:58:32.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T12:58:32.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T12:58:32.392Z] Configure a credential helper to remove this warning. See [2022-02-10T12:58:32.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T12:58:32.392Z] [2022-02-10T12:58:32.392Z] Login Succeeded [2022-02-10T12:58:32.392Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T12:58:32.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T12:58:32.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T12:58:32.652Z] ========================================================= [2022-02-10T12:58:32.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-10T12:58:32.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:58:33.071Z] + 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 . [2022-02-10T12:58:33.071Z] Sending build context to Docker daemon 2.958MB [2022-02-10T12:58:33.071Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T12:58:33.071Z] Step 2/13 : FROM ${BASE} AS builder [2022-02-10T12:58:33.071Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-10T12:58:33.071Z] 59bf1c3509f3: Pulling fs layer [2022-02-10T12:58:33.071Z] 666ba61612fd: Pulling fs layer [2022-02-10T12:58:33.071Z] 8ed8ca486205: Pulling fs layer [2022-02-10T12:58:33.071Z] 4fe6c5a15a65: Pulling fs layer [2022-02-10T12:58:33.071Z] 22a0e8bec74d: Pulling fs layer [2022-02-10T12:58:33.071Z] 640e595b4fbd: Pulling fs layer [2022-02-10T12:58:33.071Z] 763cafe07f6e: Pulling fs layer [2022-02-10T12:58:33.071Z] 0c0b528cf693: Pulling fs layer [2022-02-10T12:58:33.071Z] 10935f4eaf8b: Pulling fs layer [2022-02-10T12:58:33.071Z] 640e595b4fbd: Waiting [2022-02-10T12:58:33.071Z] 763cafe07f6e: Waiting [2022-02-10T12:58:33.071Z] 0c0b528cf693: Waiting [2022-02-10T12:58:33.071Z] 10935f4eaf8b: Waiting [2022-02-10T12:58:33.071Z] 4fe6c5a15a65: Waiting [2022-02-10T12:58:33.071Z] 22a0e8bec74d: Waiting [2022-02-10T12:58:33.071Z] 8ed8ca486205: Verifying Checksum [2022-02-10T12:58:33.071Z] 8ed8ca486205: Download complete [2022-02-10T12:58:33.071Z] 666ba61612fd: Verifying Checksum [2022-02-10T12:58:33.071Z] 666ba61612fd: Download complete [2022-02-10T12:58:33.071Z] 22a0e8bec74d: Verifying Checksum [2022-02-10T12:58:33.071Z] 22a0e8bec74d: Download complete [2022-02-10T12:58:33.340Z] 640e595b4fbd: Verifying Checksum [2022-02-10T12:58:33.340Z] 640e595b4fbd: Download complete [2022-02-10T12:58:33.340Z] 59bf1c3509f3: Verifying Checksum [2022-02-10T12:58:33.340Z] 59bf1c3509f3: Download complete [2022-02-10T12:58:33.340Z] 763cafe07f6e: Verifying Checksum [2022-02-10T12:58:33.340Z] 763cafe07f6e: Download complete [2022-02-10T12:58:33.340Z] 0c0b528cf693: Verifying Checksum [2022-02-10T12:58:33.340Z] 0c0b528cf693: Download complete [2022-02-10T12:58:33.611Z] 59bf1c3509f3: Pull complete [2022-02-10T12:58:33.874Z] 666ba61612fd: Pull complete [2022-02-10T12:58:33.874Z] 4fe6c5a15a65: Verifying Checksum [2022-02-10T12:58:33.874Z] 4fe6c5a15a65: Download complete [2022-02-10T12:58:33.874Z] 8ed8ca486205: Pull complete [2022-02-10T12:58:33.874Z] 10935f4eaf8b: Verifying Checksum [2022-02-10T12:58:33.874Z] 10935f4eaf8b: Download complete [2022-02-10T12:58:38.114Z] 4fe6c5a15a65: Pull complete [2022-02-10T12:58:38.114Z] 22a0e8bec74d: Pull complete [2022-02-10T12:58:38.114Z] 640e595b4fbd: Pull complete [2022-02-10T12:58:38.114Z] 763cafe07f6e: Pull complete [2022-02-10T12:58:38.114Z] 0c0b528cf693: Pull complete [2022-02-10T12:58:40.694Z] 10935f4eaf8b: Pull complete [2022-02-10T12:58:40.695Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-10T12:58:40.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-10T12:58:40.695Z] ---> 99d49a6021b9 [2022-02-10T12:58:40.695Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-02-10T12:58:42.617Z] ---> Running in a3ea8268444a [2022-02-10T12:58:42.617Z] Removing intermediate container a3ea8268444a [2022-02-10T12:58:42.617Z] ---> 8296aa6e1e9e [2022-02-10T12:58:42.617Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-02-10T12:58:42.617Z] ---> Running in 6ed8b962e2e2 [2022-02-10T12:58:42.879Z] Removing intermediate container 6ed8b962e2e2 [2022-02-10T12:58:42.879Z] ---> 2232e02c81a9 [2022-02-10T12:58:42.879Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-10T12:58:42.880Z] ---> Running in c3bb24a858bd [2022-02-10T12:58:42.880Z] Removing intermediate container c3bb24a858bd [2022-02-10T12:58:42.880Z] ---> b90b1e138cf4 [2022-02-10T12:58:42.880Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T12:58:42.880Z] ---> Running in 3057fa8731cf [2022-02-10T12:58:43.455Z] Removing intermediate container 3057fa8731cf [2022-02-10T12:58:43.455Z] ---> 3b362a1df0a0 [2022-02-10T12:58:43.456Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-10T12:58:43.456Z] ---> Running in 6bbdb431aa9e [2022-02-10T12:58:43.717Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-10T12:58:44.669Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-10T12:58:44.932Z] OK: 221 MiB in 52 packages [2022-02-10T12:58:45.196Z] Removing intermediate container 6bbdb431aa9e [2022-02-10T12:58:45.196Z] ---> 589423a204e6 [2022-02-10T12:58:45.196Z] Step 8/13 : WORKDIR /app [2022-02-10T12:58:45.196Z] ---> Running in 91801b665ceb [2022-02-10T12:58:45.466Z] Removing intermediate container 91801b665ceb [2022-02-10T12:58:45.466Z] ---> eb78912d7727 [2022-02-10T12:58:45.466Z] Step 9/13 : COPY go.mod vendor* ./ [2022-02-10T12:58:45.466Z] ---> 8a6b5f763da2 [2022-02-10T12:58:45.466Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T12:58:45.466Z] ---> Running in 43cd3b4e4b49 [2022-02-10T12:58:46.034Z] Still waiting to schedule task [2022-02-10T12:58:46.035Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-10T12:59:24.236Z] Removing intermediate container 43cd3b4e4b49 [2022-02-10T12:59:24.236Z] ---> 01f6e62f8281 [2022-02-10T12:59:24.236Z] Step 11/13 : COPY . . [2022-02-10T12:59:24.236Z] ---> ac9d05d3a79a [2022-02-10T12:59:24.236Z] Step 12/13 : ARG MAKE="make build" [2022-02-10T12:59:24.236Z] ---> Running in 3c418c7d50e5 [2022-02-10T12:59:24.236Z] Removing intermediate container 3c418c7d50e5 [2022-02-10T12:59:24.236Z] ---> eeae8a28a72b [2022-02-10T12:59:24.236Z] Step 13/13 : RUN $MAKE [2022-02-10T12:59:24.236Z] ---> Running in 80ed67ccec07 [2022-02-10T12:59:24.236Z] noop [2022-02-10T12:59:24.236Z] Removing intermediate container 80ed67ccec07 [2022-02-10T12:59:24.236Z] ---> f6cbe150e9dd [2022-02-10T12:59:24.236Z] Successfully built f6cbe150e9dd [2022-02-10T12:59:24.236Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:59:24.564Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T12:59:24.564Z] . [Pipeline] withDockerContainer [2022-02-10T12:59:24.663Z] prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container [2022-02-10T12:59:24.699Z] $ 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 [2022-02-10T12:59:25.047Z] $ docker top c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T12:59:25.462Z] + go version [2022-02-10T12:59:25.462Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-10T12:59:25.495Z] $ docker stop --time=1 c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 [2022-02-10T12:59:26.663Z] $ docker rm -f c97238ccb38fcab1ffed272b215b460b95dfadc01b8eebaebc9f1ca330cf1f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:59:27.362Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T12:59:27.362Z] . [Pipeline] withDockerContainer [2022-02-10T12:59:27.459Z] prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container [2022-02-10T12:59:27.489Z] $ 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 [2022-02-10T12:59:27.847Z] $ docker top 3b4ae2f631247076f812da5a1b771637d50605c5deaf6b25ee30b70f424500f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T12:59:28.303Z] + make test [2022-02-10T12:59:28.304Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-02-10T12:59:33.642Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:33.642Z] /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 [2022-02-10T12:59:41.833Z] make: *** [makefile:36: test] Error 2 [Pipeline] } [2022-02-10T12:59:41.880Z] $ docker stop --time=1 3b4ae2f631247076f812da5a1b771637d50605c5deaf6b25ee30b70f424500f4 [2022-02-10T12:59:43.377Z] $ 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 [2022-02-10T12:59:44.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T12:59:44.405Z] [2022-02-10T12:59:44.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T12:59:44.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T12:59:44.786Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T12:59:44.786Z] b4d181a07f80: Pulling fs layer [2022-02-10T12:59:44.786Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T12:59:44.786Z] ed53099fbce6: Pulling fs layer [2022-02-10T12:59:44.786Z] dc539afda2c1: Pulling fs layer [2022-02-10T12:59:44.786Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T12:59:44.786Z] 9065ff56babe: Pulling fs layer [2022-02-10T12:59:44.786Z] d287ab97295c: Pulling fs layer [2022-02-10T12:59:44.786Z] 77bc0d833cb6: Waiting [2022-02-10T12:59:44.786Z] 9065ff56babe: Waiting [2022-02-10T12:59:44.786Z] d287ab97295c: Waiting [2022-02-10T12:59:44.786Z] dc539afda2c1: Waiting [2022-02-10T12:59:44.786Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T12:59:44.786Z] a1111a8f2ec3: Download complete [2022-02-10T12:59:44.786Z] dc539afda2c1: Verifying Checksum [2022-02-10T12:59:44.786Z] dc539afda2c1: Download complete [2022-02-10T12:59:45.050Z] ed53099fbce6: Verifying Checksum [2022-02-10T12:59:45.050Z] ed53099fbce6: Download complete [2022-02-10T12:59:45.050Z] b4d181a07f80: Verifying Checksum [2022-02-10T12:59:45.050Z] b4d181a07f80: Download complete [2022-02-10T12:59:45.050Z] 9065ff56babe: Verifying Checksum [2022-02-10T12:59:45.050Z] 9065ff56babe: Download complete [2022-02-10T12:59:45.050Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T12:59:45.050Z] 77bc0d833cb6: Download complete [2022-02-10T12:59:45.625Z] d287ab97295c: Verifying Checksum [2022-02-10T12:59:45.625Z] d287ab97295c: Download complete [2022-02-10T12:59:46.571Z] b4d181a07f80: Pull complete [2022-02-10T12:59:46.571Z] a1111a8f2ec3: Pull complete [2022-02-10T12:59:47.143Z] ed53099fbce6: Pull complete [2022-02-10T12:59:47.402Z] dc539afda2c1: Pull complete [2022-02-10T12:59:47.665Z] 77bc0d833cb6: Pull complete [2022-02-10T12:59:47.665Z] 9065ff56babe: Pull complete [2022-02-10T12:59:52.997Z] d287ab97295c: Pull complete [2022-02-10T12:59:52.997Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T12:59:52.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T12:59:52.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T12:59:53.093Z] prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container [2022-02-10T12:59:53.133Z] $ 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 [2022-02-10T12:59:55.394Z] $ docker top 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T12:59:55.906Z] ---> job-cost.sh [2022-02-10T12:59:55.906Z] lf-activate-venv: SKIPPING [2022-02-10T12:59:55.906Z] INFO: No Stack... [2022-02-10T12:59:56.167Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T12:59:56.433Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T12:59:56.772Z] + cut -d, -f6 [2022-02-10T12:59:56.773Z] + cat /w/workspace/_app-service-configurable_PR-379/archives/cost.csv [Pipeline] lock [2022-02-10T12:59:56.818Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [2022-02-10T12:59:56.822Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] did not exist. Created. [2022-02-10T12:59:56.823Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T12:59:57.219Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T12:59:57.278Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T12:59:57.296Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T12:59:57.369Z] $ docker stop --time=1 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed [2022-02-10T12:59:58.493Z] $ docker rm -f 427da225d7b214183f7ba75e3e972a1a2af5b9e7d25971c7b86d9b40f41b16ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T12:59:58.888Z] Failed in branch amd64 [2022-02-10T13:00:08.577Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4974 in /w/workspace/_app-service-configurable_PR-379 [Pipeline] { [Pipeline] ws [2022-02-10T13:00:08.618Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-02-10T13:00:08.994Z] Selected Git installation does not exist. Using Default [2022-02-10T13:00:08.994Z] The recommended git tool is: NONE [2022-02-10T13:00:13.276Z] using credential edgex-jenkins-ssh [2022-02-10T13:00:13.301Z] Cloning the remote Git repository [2022-02-10T13:00:13.349Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-02-10T13:00:13.421Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-02-10T13:00:13.535Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-02-10T13:00:13.536Z] > git --version # timeout=10 [2022-02-10T13:00:13.572Z] > git --version # 'git version 2.17.1' [2022-02-10T13:00:13.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T13:00:13.714Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T13:00:14.843Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-02-10T13:00:14.867Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T13:00:14.898Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-02-10T13:00:14.926Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-02-10T13:00:14.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T13:00:14.943Z] > 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 [2022-02-10T13:00:15.499Z] Merging remotes/origin/main commit e63de633fa87fe04a17029975032d1bd69f7eb9c into PR head commit aec1076bf3ebe0857245c52fb3f03503a963c7c5 [2022-02-10T13:00:15.689Z] Merge succeeded, producing aec1076bf3ebe0857245c52fb3f03503a963c7c5 [2022-02-10T13:00:15.690Z] Checking out Revision aec1076bf3ebe0857245c52fb3f03503a963c7c5 (PR-379) [2022-02-10T13:00:15.518Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T13:00:15.538Z] > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 [2022-02-10T13:00:15.614Z] > git remote # timeout=10 [2022-02-10T13:00:15.632Z] > git config --get remote.origin.url # timeout=10 [2022-02-10T13:00:15.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T13:00:15.655Z] > git merge e63de633fa87fe04a17029975032d1bd69f7eb9c # timeout=10 [2022-02-10T13:00:15.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-10T13:00:15.697Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T13:00:15.724Z] > git checkout -f aec1076bf3ebe0857245c52fb3f03503a963c7c5 # timeout=10 [2022-02-10T13:00:19.845Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-02-10T13:00:19.893Z] > git --version # timeout=10 [2022-02-10T13:00:19.902Z] > git --version # 'git version 2.17.1' [2022-02-10T13:00:19.919Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T13:00:21.021Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T13:00:21.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T13:00:21.021Z] Dload Upload Total Spent Left Speed [2022-02-10T13:00:21.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65071 0 --:--:-- --:--:-- --:--:-- 65430 [Pipeline] sh [2022-02-10T13:00:21.526Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T13:00:21.881Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T13:00:21.881Z] + sudo tee /etc/docker/daemon.new [2022-02-10T13:00:21.881Z] { [2022-02-10T13:00:21.881Z] "registry-mirrors": [ [2022-02-10T13:00:21.881Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T13:00:21.881Z] ], [2022-02-10T13:00:21.881Z] "bip": "10.250.0.254/24", [2022-02-10T13:00:21.881Z] "hosts": [ [2022-02-10T13:00:21.881Z] "tcp://0.0.0.0:5555", [2022-02-10T13:00:21.881Z] "unix:///var/run/docker.sock" [2022-02-10T13:00:21.881Z] ], [2022-02-10T13:00:21.881Z] "mtu": 1458, [2022-02-10T13:00:21.881Z] "selinux-enabled": true, [2022-02-10T13:00:21.881Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T13:00:21.881Z] } [Pipeline] sh [2022-02-10T13:00:22.238Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T13:00:22.604Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T13:00:40.987Z] provisioning config files... [2022-02-10T13:00:41.011Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5831591754160679754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:00:41.627Z] ---> docker-login.sh [2022-02-10T13:00:41.627Z] nexus3.edgexfoundry.org:10001 [2022-02-10T13:00:42.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T13:00:42.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T13:00:42.503Z] Configure a credential helper to remove this warning. See [2022-02-10T13:00:42.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T13:00:42.503Z] [2022-02-10T13:00:42.503Z] Login Succeeded [2022-02-10T13:00:42.503Z] nexus3.edgexfoundry.org:10002 [2022-02-10T13:00:42.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T13:00:42.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T13:00:42.775Z] Configure a credential helper to remove this warning. See [2022-02-10T13:00:42.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T13:00:42.775Z] [2022-02-10T13:00:42.775Z] Login Succeeded [2022-02-10T13:00:42.775Z] nexus3.edgexfoundry.org:10003 [2022-02-10T13:00:43.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T13:00:43.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T13:00:43.320Z] Configure a credential helper to remove this warning. See [2022-02-10T13:00:43.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T13:00:43.320Z] [2022-02-10T13:00:43.320Z] Login Succeeded [2022-02-10T13:00:43.320Z] nexus3.edgexfoundry.org:10004 [2022-02-10T13:00:43.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T13:00:43.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T13:00:43.593Z] Configure a credential helper to remove this warning. See [2022-02-10T13:00:43.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T13:00:43.593Z] [2022-02-10T13:00:43.593Z] Login Succeeded [2022-02-10T13:00:43.593Z] docker.io [2022-02-10T13:00:43.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T13:00:44.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T13:00:44.457Z] Configure a credential helper to remove this warning. See [2022-02-10T13:00:44.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T13:00:44.457Z] [2022-02-10T13:00:44.457Z] Login Succeeded [2022-02-10T13:00:44.457Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T13:00:44.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T13:00:44.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T13:00:44.875Z] ========================================================= [2022-02-10T13:00:44.875Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-10T13:00:44.875Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T13:00:45.313Z] + 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 . [2022-02-10T13:00:45.313Z] Sending build context to Docker daemon 207.9kB [2022-02-10T13:00:45.585Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T13:00:45.585Z] Step 2/13 : FROM ${BASE} AS builder [2022-02-10T13:00:45.865Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-10T13:00:45.865Z] 9b3977197b4f: Pulling fs layer [2022-02-10T13:00:45.865Z] 1a89e8eeedd5: Pulling fs layer [2022-02-10T13:00:45.865Z] 94645a83ff95: Pulling fs layer [2022-02-10T13:00:45.865Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-10T13:00:45.865Z] 0c92f367c5e7: Pulling fs layer [2022-02-10T13:00:45.865Z] f7c0051592d6: Pulling fs layer [2022-02-10T13:00:45.865Z] a227ed2f7395: Pulling fs layer [2022-02-10T13:00:45.865Z] 7b1c46037f91: Pulling fs layer [2022-02-10T13:00:45.865Z] 3f3a8bcf1eab: Waiting [2022-02-10T13:00:45.865Z] 0c92f367c5e7: Waiting [2022-02-10T13:00:45.865Z] f7c0051592d6: Waiting [2022-02-10T13:00:45.865Z] a227ed2f7395: Waiting [2022-02-10T13:00:45.865Z] 7b1c46037f91: Waiting [2022-02-10T13:00:45.865Z] 94645a83ff95: Verifying Checksum [2022-02-10T13:00:45.865Z] 94645a83ff95: Download complete [2022-02-10T13:00:45.865Z] 1a89e8eeedd5: Download complete [2022-02-10T13:00:45.865Z] 0c92f367c5e7: Verifying Checksum [2022-02-10T13:00:45.865Z] 0c92f367c5e7: Download complete [2022-02-10T13:00:45.865Z] f7c0051592d6: Verifying Checksum [2022-02-10T13:00:45.865Z] f7c0051592d6: Download complete [2022-02-10T13:00:45.865Z] 9b3977197b4f: Download complete [2022-02-10T13:00:45.865Z] a227ed2f7395: Verifying Checksum [2022-02-10T13:00:45.865Z] a227ed2f7395: Download complete [2022-02-10T13:00:46.463Z] 9b3977197b4f: Pull complete [2022-02-10T13:00:47.060Z] 1a89e8eeedd5: Pull complete [2022-02-10T13:00:47.337Z] 94645a83ff95: Pull complete [2022-02-10T13:00:47.613Z] 7b1c46037f91: Verifying Checksum [2022-02-10T13:00:47.613Z] 7b1c46037f91: Download complete [2022-02-10T13:00:48.210Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-10T13:00:48.210Z] 3f3a8bcf1eab: Download complete [2022-02-10T13:01:00.603Z] 3f3a8bcf1eab: Pull complete [2022-02-10T13:01:00.603Z] 0c92f367c5e7: Pull complete [2022-02-10T13:01:00.603Z] f7c0051592d6: Pull complete [2022-02-10T13:01:00.603Z] a227ed2f7395: Pull complete [2022-02-10T13:01:05.994Z] 7b1c46037f91: Pull complete [2022-02-10T13:01:05.994Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-10T13:01:05.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-10T13:01:05.994Z] ---> f79e39bc4007 [2022-02-10T13:01:05.994Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-02-10T13:01:07.975Z] ---> Running in 2bb16779a784 [2022-02-10T13:01:07.975Z] Removing intermediate container 2bb16779a784 [2022-02-10T13:01:07.975Z] ---> 77ad46352d63 [2022-02-10T13:01:07.975Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-02-10T13:01:08.251Z] ---> Running in 6da75d53f20d [2022-02-10T13:01:08.527Z] Removing intermediate container 6da75d53f20d [2022-02-10T13:01:08.527Z] ---> a8c8566d8d03 [2022-02-10T13:01:08.527Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-10T13:01:08.527Z] ---> Running in 457dd43a4bc5 [2022-02-10T13:01:09.125Z] Removing intermediate container 457dd43a4bc5 [2022-02-10T13:01:09.125Z] ---> 6aad67133171 [2022-02-10T13:01:09.125Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T13:01:09.125Z] ---> Running in 0e9b1f3b5aff [2022-02-10T13:01:11.090Z] Removing intermediate container 0e9b1f3b5aff [2022-02-10T13:01:11.090Z] ---> d2be2bf99548 [2022-02-10T13:01:11.090Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-10T13:01:11.090Z] ---> Running in f7fba8ab6070 [2022-02-10T13:01:12.068Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-10T13:01:13.044Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-10T13:01:13.638Z] OK: 220 MiB in 52 packages [2022-02-10T13:01:14.616Z] Removing intermediate container f7fba8ab6070 [2022-02-10T13:01:14.616Z] ---> 1fadcff1f502 [2022-02-10T13:01:14.616Z] Step 8/13 : WORKDIR /app [2022-02-10T13:01:14.616Z] ---> Running in 89c7d6d11a5b [2022-02-10T13:01:14.893Z] Removing intermediate container 89c7d6d11a5b [2022-02-10T13:01:14.893Z] ---> cdc5d9b382e9 [2022-02-10T13:01:14.893Z] Step 9/13 : COPY go.mod vendor* ./ [2022-02-10T13:01:15.490Z] ---> 0edab85e00b6 [2022-02-10T13:01:15.490Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T13:01:15.775Z] ---> Running in b37fa645c1e3 [2022-02-10T13:02:23.814Z] Removing intermediate container b37fa645c1e3 [2022-02-10T13:02:23.814Z] ---> 5ddd795f3419 [2022-02-10T13:02:23.814Z] Step 11/13 : COPY . . [2022-02-10T13:02:24.408Z] ---> adee56658764 [2022-02-10T13:02:24.408Z] Step 12/13 : ARG MAKE="make build" [2022-02-10T13:02:24.408Z] ---> Running in b7119584f0ca [2022-02-10T13:02:24.682Z] Removing intermediate container b7119584f0ca [2022-02-10T13:02:24.682Z] ---> a68210b141ea [2022-02-10T13:02:24.682Z] Step 13/13 : RUN $MAKE [2022-02-10T13:02:24.682Z] ---> Running in ff3b105dfb96 [2022-02-10T13:02:25.665Z] noop [2022-02-10T13:02:26.261Z] Removing intermediate container ff3b105dfb96 [2022-02-10T13:02:26.261Z] ---> f59394887175 [2022-02-10T13:02:26.261Z] Successfully built f59394887175 [2022-02-10T13:02:26.261Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T13:02:26.627Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T13:02:26.627Z] . [Pipeline] withDockerContainer [2022-02-10T13:02:26.871Z] prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container [2022-02-10T13:02:26.956Z] $ 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 [2022-02-10T13:02:28.232Z] $ docker top 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T13:02:29.181Z] + go version [2022-02-10T13:02:29.181Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-10T13:02:29.214Z] $ docker stop --time=1 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae [2022-02-10T13:02:30.835Z] $ docker rm -f 56761ecbde414388312cc2780edc0c892f0d9aa7342140803fb9fd086cb299ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T13:02:31.681Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T13:02:31.681Z] . [Pipeline] withDockerContainer [2022-02-10T13:02:31.900Z] prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container [2022-02-10T13:02:31.974Z] $ 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 [2022-02-10T13:02:33.215Z] $ docker top 230228804fa6a4c487f92bf1175ec5f4b948861a842a112d47d8250df0e92d27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T13:02:34.196Z] + make test [2022-02-10T13:02:34.196Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-02-10T13:02:56.377Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:02:56.377Z] /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 [2022-02-10T13:03:18.571Z] make: *** [makefile:36: test] Error 2 [Pipeline] } [2022-02-10T13:03:18.615Z] $ docker stop --time=1 230228804fa6a4c487f92bf1175ec5f4b948861a842a112d47d8250df0e92d27 [2022-02-10T13:03:20.346Z] $ 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 [2022-02-10T13:03:21.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T13:03:21.615Z] [2022-02-10T13:03:21.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T13:03:21.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T13:03:22.261Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T13:03:22.262Z] 448f6bf000e3: Pulling fs layer [2022-02-10T13:03:22.262Z] f757da607395: Pulling fs layer [2022-02-10T13:03:22.262Z] 05883995daec: Pulling fs layer [2022-02-10T13:03:22.262Z] 8603b9c90790: Pulling fs layer [2022-02-10T13:03:22.262Z] 1560dd03e051: Pulling fs layer [2022-02-10T13:03:22.262Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T13:03:22.262Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T13:03:22.262Z] 8603b9c90790: Waiting [2022-02-10T13:03:22.262Z] 1560dd03e051: Waiting [2022-02-10T13:03:22.262Z] 27f5ce0e4adf: Waiting [2022-02-10T13:03:22.262Z] c2d8d7efcc4b: Waiting [2022-02-10T13:03:22.262Z] f757da607395: Verifying Checksum [2022-02-10T13:03:22.262Z] f757da607395: Download complete [2022-02-10T13:03:22.262Z] 8603b9c90790: Verifying Checksum [2022-02-10T13:03:22.262Z] 8603b9c90790: Download complete [2022-02-10T13:03:22.262Z] 1560dd03e051: Verifying Checksum [2022-02-10T13:03:22.262Z] 1560dd03e051: Download complete [2022-02-10T13:03:22.541Z] 27f5ce0e4adf: Verifying Checksum [2022-02-10T13:03:22.541Z] 27f5ce0e4adf: Download complete [2022-02-10T13:03:22.541Z] 05883995daec: Download complete [2022-02-10T13:03:22.541Z] 448f6bf000e3: Download complete [2022-02-10T13:03:25.147Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T13:03:25.147Z] c2d8d7efcc4b: Download complete [2022-02-10T13:03:26.119Z] 448f6bf000e3: Pull complete [2022-02-10T13:03:26.711Z] f757da607395: Pull complete [2022-02-10T13:03:28.133Z] 05883995daec: Pull complete [2022-02-10T13:03:28.134Z] 8603b9c90790: Pull complete [2022-02-10T13:03:29.106Z] 1560dd03e051: Pull complete [2022-02-10T13:03:29.379Z] 27f5ce0e4adf: Pull complete [2022-02-10T13:03:44.447Z] c2d8d7efcc4b: Pull complete [2022-02-10T13:03:44.448Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T13:03:44.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T13:03:44.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T13:03:44.685Z] prd-ubuntu18.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container [2022-02-10T13:03:44.759Z] $ 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 [2022-02-10T13:03:47.325Z] $ docker top 183e2b5193c380f9b4ecd2671422bb1a914e22b670e01ca01512acff169d7fe5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:03:48.302Z] ---> job-cost.sh [2022-02-10T13:03:48.302Z] lf-activate-venv: SKIPPING [2022-02-10T13:03:48.302Z] INFO: No Stack... [2022-02-10T13:03:48.571Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T13:03:48.841Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T13:03:49.531Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-02-10T13:03:49.531Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T13:03:49.609Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [2022-02-10T13:03:49.614Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] did not exist. Created. [2022-02-10T13:03:49.614Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T13:03:50.354Z] /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 [2022-02-10T13:03:51.040Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T13:03:51.080Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T13:03:51.499Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T13:03:51.515Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T13:03:51.588Z] $ docker stop --time=1 183e2b5193c380f9b4ecd2671422bb1a914e22b670e01ca01512acff169d7fe5 [2022-02-10T13:03:53.062Z] $ 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] } [2022-02-10T13:03:53.813Z] 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 [2022-02-10T13:03:55.846Z] + '[' -d /w/workspace/_app-service-configurable_PR-379/archives ']' [2022-02-10T13:03:55.846Z] + ls -al /w/workspace/_app-service-configurable_PR-379/archives [2022-02-10T13:03:55.846Z] total 8 [2022-02-10T13:03:55.846Z] drwxr-xr-x. 3 root root 34 Feb 10 12:59 . [2022-02-10T13:03:55.846Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 12:59 .. [2022-02-10T13:03:55.846Z] drwxr-xr-x. 2 root root 6 Feb 10 12:59 cost [2022-02-10T13:03:55.846Z] -rw-r--r--. 1 root root 95 Feb 10 12:59 cost.csv [2022-02-10T13:03:55.846Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-379/archives [2022-02-10T13:03:55.846Z] + ls -al /w/workspace/_app-service-configurable_PR-379/archives [2022-02-10T13:03:55.846Z] total 8 [2022-02-10T13:03:55.846Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 12:59 . [2022-02-10T13:03:55.846Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 12:59 .. [2022-02-10T13:03:55.846Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 12:59 cost [2022-02-10T13:03:55.846Z] -rw-r--r--. 1 jenkins jenkins 95 Feb 10 12:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:03:56.196Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:03:56.790Z] ---> package-listing.sh [2022-02-10T13:03:56.790Z] ++ facter osfamily [2022-02-10T13:03:56.790Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T13:03:57.055Z] + OS_FAMILY=redhat [2022-02-10T13:03:57.055Z] + workspace=/w/workspace/_app-service-configurable_PR-379 [2022-02-10T13:03:57.055Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T13:03:57.055Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T13:03:57.055Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T13:03:57.055Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T13:03:57.055Z] + '[' /w/workspace/_app-service-configurable_PR-379 ']' [2022-02-10T13:03:57.055Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T13:03:57.055Z] + case "${OS_FAMILY}" in [2022-02-10T13:03:57.055Z] + sort [2022-02-10T13:03:57.055Z] + rpm -qa [2022-02-10T13:03:57.629Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T13:03:57.629Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T13:03:57.629Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T13:03:57.629Z] + '[' /w/workspace/_app-service-configurable_PR-379 ']' [2022-02-10T13:03:57.629Z] + mkdir -p /w/workspace/_app-service-configurable_PR-379/archives/ [2022-02-10T13:03:57.629Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-379/archives/ [Pipeline] echo [2022-02-10T13:03:57.663Z] 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 [2022-02-10T13:03:57.962Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T13:03:58.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T13:03:58.555Z] . [Pipeline] withDockerContainer [2022-02-10T13:03:58.641Z] prd-centos7-docker-4c-2g-4973 does not seem to be running inside a container [2022-02-10T13:03:58.673Z] $ 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 [2022-02-10T13:03:58.859Z] $ docker top 3d5373f0bcc5b8e6f831785d659e9ad848caebcfe8fdbaeaa1dee149947d2914 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T13:03:59.267Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T13:03:59.583Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T13:03:59.903Z] + ls /var/log/sa-host [2022-02-10T13:03:59.903Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T13:03:59.903Z] file_magic: OK [2022-02-10T13:03:59.903Z] HZ: Using current value: 100 [2022-02-10T13:03:59.903Z] file_header: OK [2022-02-10T13:03:59.903Z] 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 [2022-02-10T13:03:59.903Z] Statistics: [2022-02-10T13:03:59.903Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T13:03:59.903Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T13:03:59.903Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T13:03:59.903Z] file_magic: OK [2022-02-10T13:03:59.903Z] HZ: Using current value: 100 [2022-02-10T13:03:59.903Z] file_header: OK [2022-02-10T13:03:59.903Z] 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 [2022-02-10T13:03:59.903Z] Statistics: [2022-02-10T13:03:59.903Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T13:03:59.903Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T13:04:00.198Z] provisioning config files... [2022-02-10T13:04:00.208Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-379@tmp/config7914090056112292561tmp [Pipeline] { [Pipeline] echo [2022-02-10T13:04:00.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:04:00.587Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T13:04:00.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:04:01.049Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T13:04:01.085Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:04:01.409Z] ---> sudo-logs.sh [2022-02-10T13:04:01.409Z] Archiving 'sudo' log.. [2022-02-10T13:04:01.409Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4973.novalocal: Name or service not known [2022-02-10T13:04:01.409Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4973.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T13:04:01.492Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:04:01.807Z] ---> job-cost.sh [2022-02-10T13:04:01.807Z] lf-activate-venv: SKIPPING [2022-02-10T13:04:01.807Z] DEBUG: total: 0.05999999865889549 [2022-02-10T13:04:01.807Z] INFO: Retrieving Stack Cost... [2022-02-10T13:04:02.071Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T13:04:02.643Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T13:04:02.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T13:04:03.024Z] ---> logs-deploy.sh [2022-02-10T13:04:03.024Z] lf-activate-venv: SKIPPING [2022-02-10T13:04:03.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-379/1 [2022-02-10T13:04:03.024Z] INFO: archiving workspace using pattern(s): [2022-02-10T13:04:03.597Z] Archives upload complete. [2022-02-10T13:04:03.857Z] INFO: archiving logs to Nexus