Pull request #408 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2a64409e1acb691c7a77096580297ed2c4f9923+1a526f114784ef26915ff80fd995ea89bcf8e607 (aee8d37d79c349763b0c92f0b3b2e05e7da02a74) 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-ssh8380839389272739221.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12568242366455024435.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-408/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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10500969907856576919.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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10969127849334565917.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh5189252774450181561.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-408/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-408/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4691372510175122515.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: false 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 Running on prd-ubuntu20.04-docker-8c-8g-23601 in /w/workspace/_app-service-configurable_PR-408 [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-408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit a2a64409e1acb691c7a77096580297ed2c4f9923 Merge succeeded, producing a2a64409e1acb691c7a77096580297ed2c4f9923 Checking out Revision a2a64409e1acb691c7a77096580297ed2c4f9923 (PR-408) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # 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.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T12:03:51.765Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T12:03:51.947Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T12:03:52.050Z] ========================================================= [2022-04-26T12:03:52.050Z] EdgeX Global Pipelines Version Info [2022-04-26T12:03:52.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:03:52.849Z] ------------------- [2022-04-26T12:03:52.849Z] stable info: [2022-04-26T12:03:52.849Z] ------------------- [2022-04-26T12:03:52.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T12:03:52.849Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T12:03:52.849Z] Message: update stable to v1.0.221 [2022-04-26T12:03:53.421Z] ------------------- [2022-04-26T12:03:53.421Z] experimental info: [2022-04-26T12:03:53.421Z] ------------------- [2022-04-26T12:03:53.421Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T12:03:53.421Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-26T12:03:53.421Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T12:03:53.674Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-26T12:03:53.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-26T12:03:53.752Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T12:03:53.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T12:03:53.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T12:03:53.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T12:03:53.921Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T12:03:53.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T12:03:54.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T12:03:54.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T12:03:54.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T12:03:54.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-26T12:03:54.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T12:03:54.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T12:03:54.248Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T12:03:54.289Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T12:03:54.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T12:03:54.373Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T12:03:54.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T12:03:54.449Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T12:03:54.486Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T12:03:54.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T12:03:54.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T12:03:54.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T12:03:54.643Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T12:03:54.691Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T12:03:54.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo [2022-04-26T12:03:54.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo [2022-04-26T12:03:54.811Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo [2022-04-26T12:03:54.854Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo [2022-04-26T12:03:54.893Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2a6440 [Pipeline] echo [2022-04-26T12:03:54.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T12:03:55.043Z] provisioning config files... [2022-04-26T12:03:55.059Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config9181820167084915135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:03:55.411Z] ---> docker-login.sh [2022-04-26T12:03:55.411Z] nexus3.edgexfoundry.org:10001 [2022-04-26T12:03:56.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:03:56.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:03:56.355Z] Configure a credential helper to remove this warning. See [2022-04-26T12:03:56.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:03:56.355Z] [2022-04-26T12:03:56.355Z] Login Succeeded [2022-04-26T12:03:56.355Z] nexus3.edgexfoundry.org:10002 [2022-04-26T12:03:56.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:03:56.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:03:56.355Z] Configure a credential helper to remove this warning. See [2022-04-26T12:03:56.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:03:56.355Z] [2022-04-26T12:03:56.355Z] Login Succeeded [2022-04-26T12:03:56.355Z] nexus3.edgexfoundry.org:10003 [2022-04-26T12:03:56.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:03:56.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:03:56.617Z] Configure a credential helper to remove this warning. See [2022-04-26T12:03:56.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:03:56.617Z] [2022-04-26T12:03:56.617Z] Login Succeeded [2022-04-26T12:03:56.617Z] nexus3.edgexfoundry.org:10004 [2022-04-26T12:03:56.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:03:56.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:03:56.617Z] Configure a credential helper to remove this warning. See [2022-04-26T12:03:56.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:03:56.617Z] [2022-04-26T12:03:56.617Z] Login Succeeded [2022-04-26T12:03:56.617Z] docker.io [2022-04-26T12:03:56.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:03:57.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:03:57.140Z] Configure a credential helper to remove this warning. See [2022-04-26T12:03:57.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:03:57.140Z] [2022-04-26T12:03:57.140Z] Login Succeeded [2022-04-26T12:03:57.140Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T12:03:57.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T12:03:57.787Z] + git rev-list -1 --merges a2a64409e1acb691c7a77096580297ed2c4f9923~1..a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo [2022-04-26T12:03:57.944Z] -----------> git rev-list -1 --merges a2a64409e1acb691c7a77096580297ed2c4f9923~1..a2a64409e1acb691c7a77096580297ed2c4f9923 a2a64409e1acb691c7a77096580297ed2c4f9923 [false] [Pipeline] sh [2022-04-26T12:03:58.261Z] + git log --format=format:%s -1 a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo [2022-04-26T12:03:58.309Z] ========================================================= [2022-04-26T12:03:58.309Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T12:03:58.309Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T12:03:58.765Z] + git log --format=format:%s -1 a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo [2022-04-26T12:03:58.803Z] [semverPrep] GIT_COMMIT: a2a64409e1acb691c7a77096580297ed2c4f9923, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-26T12:03:58.836Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T12:03:59.301Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T12:03:59.301Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T12:03:59.301Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T12:03:59.301Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T12:03:59.301Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T12:03:59.301Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T12:03:59.301Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:03:59.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T12:03:59.767Z] [2022-04-26T12:03:59.767Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:04:00.113Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T12:04:00.114Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T12:04:00.114Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T12:04:00.114Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T12:04:00.114Z] 4c7163046ea9: Pulling fs layer [2022-04-26T12:04:00.114Z] 0c2d73faf560: Pulling fs layer [2022-04-26T12:04:00.114Z] 0c2d73faf560: Waiting [2022-04-26T12:04:00.114Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T12:04:00.114Z] 3e5f54012d9b: Download complete [2022-04-26T12:04:00.114Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T12:04:00.114Z] a0d0a0d46f8b: Download complete [2022-04-26T12:04:00.114Z] 0c2d73faf560: Verifying Checksum [2022-04-26T12:04:00.114Z] 0c2d73faf560: Download complete [2022-04-26T12:04:00.376Z] 4c7163046ea9: Verifying Checksum [2022-04-26T12:04:00.376Z] 4c7163046ea9: Download complete [2022-04-26T12:04:00.376Z] a0d0a0d46f8b: Pull complete [2022-04-26T12:04:00.376Z] 3e5f54012d9b: Pull complete [2022-04-26T12:04:00.950Z] 4c7163046ea9: Pull complete [2022-04-26T12:04:00.950Z] 0c2d73faf560: Pull complete [2022-04-26T12:04:00.950Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T12:04:00.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T12:04:00.950Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T12:04:01.051Z] prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container [2022-04-26T12:04:01.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 [2022-04-26T12:04:01.774Z] $ docker top a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T12:04:01.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T12:04:01.965Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T12:04:02.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T12:04:02.108Z] $ docker exec a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent [2022-04-26T12:04:02.220Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkBDHF/agent.15 [2022-04-26T12:04:02.220Z] SSH_AGENT_PID=21 [2022-04-26T12:04:02.228Z] Running ssh-add (command line suppressed) [2022-04-26T12:04:02.355Z] Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_380469837244686536.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_380469837244686536.key) [2022-04-26T12:04:02.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T12:04:02.708Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T12:04:02.736Z] $ docker exec --env ******** --env ******** a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent -k [2022-04-26T12:04:02.866Z] unset SSH_AUTH_SOCK; [2022-04-26T12:04:02.866Z] unset SSH_AGENT_PID; [2022-04-26T12:04:02.866Z] echo Agent pid 21 killed; [2022-04-26T12:04:02.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T12:04:02.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T12:04:02.965Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T12:04:03.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T12:04:03.113Z] $ docker exec a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent [2022-04-26T12:04:03.233Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoPakaN/agent.55 [2022-04-26T12:04:03.233Z] SSH_AGENT_PID=62 [2022-04-26T12:04:03.238Z] Running ssh-add (command line suppressed) [2022-04-26T12:04:03.369Z] Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_847927513778807296.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_847927513778807296.key) [2022-04-26T12:04:03.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T12:04:03.716Z] + git semver init [2022-04-26T12:04:03.716Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T12:04:03.716Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-408/.git [2022-04-26T12:04:03.716Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-408 [2022-04-26T12:04:03.716Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T12:04:03.716Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T12:04:03.716Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T12:04:03.716Z] # $SEMVER_BRANCH = PR-408 [2022-04-26T12:04:03.716Z] # $SEMVER_TEMP = /tmp/semver-988380114 [2022-04-26T12:04:03.716Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-26T12:04:04.669Z] # '/tmp/semver-988380114' -> '/w/workspace/_app-service-configurable_PR-408/.semver' [2022-04-26T12:04:04.669Z] # -> Force: false [2022-04-26T12:04:04.669Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-408/.semver [Pipeline] } [2022-04-26T12:04:04.703Z] $ docker exec --env ******** --env ******** a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent -k [2022-04-26T12:04:04.819Z] unset SSH_AUTH_SOCK; [2022-04-26T12:04:04.819Z] unset SSH_AGENT_PID; [2022-04-26T12:04:04.819Z] echo Agent pid 62 killed; [2022-04-26T12:04:04.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T12:04:05.262Z] + git semver [Pipeline] } [2022-04-26T12:04:05.299Z] $ docker stop --time=1 a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 [2022-04-26T12:04:06.620Z] $ docker rm -f a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T12:04:07.049Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T12:04:07.376Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T12:04:07.393Z] [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-04-26T12:04:07.935Z] provisioning config files... [2022-04-26T12:04:07.946Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config5739747225189605558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:04:08.296Z] ---> docker-login.sh [2022-04-26T12:04:08.296Z] nexus3.edgexfoundry.org:10001 [2022-04-26T12:04:08.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:04:08.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:04:08.296Z] Configure a credential helper to remove this warning. See [2022-04-26T12:04:08.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:04:08.296Z] [2022-04-26T12:04:08.296Z] Login Succeeded [2022-04-26T12:04:08.296Z] nexus3.edgexfoundry.org:10002 [2022-04-26T12:04:08.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:04:08.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:04:08.558Z] Configure a credential helper to remove this warning. See [2022-04-26T12:04:08.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:04:08.558Z] [2022-04-26T12:04:08.558Z] Login Succeeded [2022-04-26T12:04:08.558Z] nexus3.edgexfoundry.org:10003 [2022-04-26T12:04:08.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:04:08.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:04:08.558Z] Configure a credential helper to remove this warning. See [2022-04-26T12:04:08.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:04:08.558Z] [2022-04-26T12:04:08.558Z] Login Succeeded [2022-04-26T12:04:08.558Z] nexus3.edgexfoundry.org:10004 [2022-04-26T12:04:08.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:04:08.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:04:08.820Z] Configure a credential helper to remove this warning. See [2022-04-26T12:04:08.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:04:08.820Z] [2022-04-26T12:04:08.820Z] Login Succeeded [2022-04-26T12:04:08.820Z] docker.io [2022-04-26T12:04:08.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:04:09.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:04:09.083Z] Configure a credential helper to remove this warning. See [2022-04-26T12:04:09.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:04:09.083Z] [2022-04-26T12:04:09.083Z] Login Succeeded [2022-04-26T12:04:09.083Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T12:04:09.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T12:04:09.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T12:04:09.356Z] ========================================================= [2022-04-26T12:04:09.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T12:04:09.356Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:04:09.764Z] + 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-04-26T12:04:09.764Z] Sending build context to Docker daemon 3.043MB [2022-04-26T12:04:09.764Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T12:04:09.764Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T12:04:09.764Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T12:04:09.764Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T12:04:09.764Z] 666ba61612fd: Pulling fs layer [2022-04-26T12:04:09.764Z] 8ed8ca486205: Pulling fs layer [2022-04-26T12:04:09.764Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T12:04:09.764Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T12:04:09.764Z] ca2b28591e48: Pulling fs layer [2022-04-26T12:04:09.764Z] a51346096db8: Pulling fs layer [2022-04-26T12:04:09.764Z] daebc70d1ce1: Pulling fs layer [2022-04-26T12:04:09.764Z] 0e18a0eac166: Pulling fs layer [2022-04-26T12:04:09.764Z] 4fe6c5a15a65: Waiting [2022-04-26T12:04:09.764Z] 22a0e8bec74d: Waiting [2022-04-26T12:04:09.764Z] ca2b28591e48: Waiting [2022-04-26T12:04:09.764Z] a51346096db8: Waiting [2022-04-26T12:04:09.764Z] daebc70d1ce1: Waiting [2022-04-26T12:04:09.764Z] 0e18a0eac166: Waiting [2022-04-26T12:04:09.764Z] 8ed8ca486205: Verifying Checksum [2022-04-26T12:04:09.764Z] 8ed8ca486205: Download complete [2022-04-26T12:04:09.764Z] 666ba61612fd: Download complete [2022-04-26T12:04:09.764Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T12:04:09.764Z] 22a0e8bec74d: Download complete [2022-04-26T12:04:09.764Z] ca2b28591e48: Verifying Checksum [2022-04-26T12:04:09.764Z] ca2b28591e48: Download complete [2022-04-26T12:04:09.764Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T12:04:09.764Z] 59bf1c3509f3: Download complete [2022-04-26T12:04:10.026Z] a51346096db8: Verifying Checksum [2022-04-26T12:04:10.026Z] a51346096db8: Download complete [2022-04-26T12:04:10.026Z] daebc70d1ce1: Verifying Checksum [2022-04-26T12:04:10.026Z] daebc70d1ce1: Download complete [2022-04-26T12:04:10.026Z] 59bf1c3509f3: Pull complete [2022-04-26T12:04:10.294Z] 666ba61612fd: Pull complete [2022-04-26T12:04:10.294Z] 8ed8ca486205: Pull complete [2022-04-26T12:04:10.560Z] 0e18a0eac166: Verifying Checksum [2022-04-26T12:04:10.561Z] 0e18a0eac166: Download complete [2022-04-26T12:04:10.820Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T12:04:10.821Z] 4fe6c5a15a65: Download complete [2022-04-26T12:04:15.029Z] 4fe6c5a15a65: Pull complete [2022-04-26T12:04:15.029Z] 22a0e8bec74d: Pull complete [2022-04-26T12:04:15.029Z] ca2b28591e48: Pull complete [2022-04-26T12:04:15.029Z] a51346096db8: Pull complete [2022-04-26T12:04:15.288Z] daebc70d1ce1: Pull complete [2022-04-26T12:04:17.830Z] 0e18a0eac166: Pull complete [2022-04-26T12:04:17.830Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T12:04:17.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T12:04:17.830Z] ---> f018257e8ee9 [2022-04-26T12:04:17.830Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T12:04:18.773Z] ---> Running in bec35e38747e [2022-04-26T12:04:18.773Z] Removing intermediate container bec35e38747e [2022-04-26T12:04:18.773Z] ---> 666e85dd4340 [2022-04-26T12:04:18.773Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T12:04:19.034Z] ---> Running in c2898bb26b1f [2022-04-26T12:04:19.034Z] Removing intermediate container c2898bb26b1f [2022-04-26T12:04:19.034Z] ---> 02d007539684 [2022-04-26T12:04:19.034Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:04:19.034Z] ---> Running in f3262bdffbcd [2022-04-26T12:04:19.034Z] Removing intermediate container f3262bdffbcd [2022-04-26T12:04:19.034Z] ---> 5c63b689cc00 [2022-04-26T12:04:19.034Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T12:04:19.034Z] ---> Running in 33a2a1c2fc15 [2022-04-26T12:04:19.978Z] Removing intermediate container 33a2a1c2fc15 [2022-04-26T12:04:19.978Z] ---> 715ad7257095 [2022-04-26T12:04:19.978Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T12:04:19.978Z] ---> Running in a0e183cfb3c4 [2022-04-26T12:04:19.978Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T12:04:20.925Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T12:04:21.186Z] OK: 221 MiB in 52 packages [2022-04-26T12:04:21.763Z] Removing intermediate container a0e183cfb3c4 [2022-04-26T12:04:21.763Z] ---> 016abd44aadd [2022-04-26T12:04:21.763Z] Step 8/13 : WORKDIR /app [2022-04-26T12:04:21.763Z] ---> Running in c39c85694378 [2022-04-26T12:04:21.763Z] Removing intermediate container c39c85694378 [2022-04-26T12:04:21.763Z] ---> 045ba5c3e748 [2022-04-26T12:04:21.763Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T12:04:22.025Z] ---> 1143096aaf7d [2022-04-26T12:04:22.025Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T12:04:22.025Z] ---> Running in 516e6b042f4c [2022-04-26T12:04:22.779Z] Still waiting to schedule task [2022-04-26T12:04:22.779Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T12:04:40.155Z] Removing intermediate container 516e6b042f4c [2022-04-26T12:04:40.155Z] ---> 4378d1fdfac6 [2022-04-26T12:04:40.155Z] Step 11/13 : COPY . . [2022-04-26T12:04:40.155Z] ---> f71fe883bf14 [2022-04-26T12:04:40.155Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T12:04:40.155Z] ---> Running in 7cefccda8364 [2022-04-26T12:04:40.155Z] Removing intermediate container 7cefccda8364 [2022-04-26T12:04:40.155Z] ---> bc6c969f1b1a [2022-04-26T12:04:40.155Z] Step 13/13 : RUN $MAKE [2022-04-26T12:04:40.155Z] ---> Running in ad498214b688 [2022-04-26T12:04:40.155Z] noop [2022-04-26T12:04:40.418Z] Removing intermediate container ad498214b688 [2022-04-26T12:04:40.418Z] ---> a575e71eb7f6 [2022-04-26T12:04:40.418Z] Successfully built a575e71eb7f6 [2022-04-26T12:04:40.418Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:04:40.754Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T12:04:40.754Z] . [Pipeline] withDockerContainer [2022-04-26T12:04:40.845Z] prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container [2022-04-26T12:04:40.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 [2022-04-26T12:04:41.303Z] $ docker top 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T12:04:41.715Z] + go version [2022-04-26T12:04:41.715Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T12:04:41.752Z] $ docker stop --time=1 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e [2022-04-26T12:04:43.059Z] $ docker rm -f 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:04:43.727Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T12:04:43.727Z] . [Pipeline] withDockerContainer [2022-04-26T12:04:43.827Z] prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container [2022-04-26T12:04:43.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 [2022-04-26T12:04:44.270Z] $ docker top d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T12:04:44.739Z] + make test [2022-04-26T12:04:44.739Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T12:04:56.979Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T12:04:56.979Z] CGO_ENABLED=1 go vet ./... [2022-04-26T12:04:59.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T12:04:59.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T12:04:59.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T12:05:00.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T12:05:00.270Z] $ docker stop --time=1 d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b [2022-04-26T12:05:01.912Z] $ docker rm -f d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T12:05:02.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T12:05:02.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T12:05:03.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T12:05:03.947Z] + ls -al . [2022-04-26T12:05:03.947Z] total 184 [2022-04-26T12:05:03.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:05 . [2022-04-26T12:05:03.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:03 .. [2022-04-26T12:05:03.947Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 12:03 .dockerignore [2022-04-26T12:05:03.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:03 .git [2022-04-26T12:05:03.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:03 .github [2022-04-26T12:05:03.947Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 12:03 .gitignore [2022-04-26T12:05:03.947Z] drwx------ 3 jenkins jenkins 4096 Apr 26 12:04 .semver [2022-04-26T12:05:03.947Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 12:03 Attribution.txt [2022-04-26T12:05:03.947Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 12:03 CHANGELOG.md [2022-04-26T12:05:03.947Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 12:03 Dockerfile [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:03 GOVERNANCE.md [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 12:03 Jenkinsfile [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 12:03 LICENSE [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 12:03 OWNERS.md [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 12:03 README.md [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:04 VERSION [2022-04-26T12:05:03.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:03 bin [2022-04-26T12:05:03.948Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 12:04 coverage.out [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 12:03 go.mod [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 12:03 go.sum [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 12:03 main.go [2022-04-26T12:05:03.948Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 12:03 makefile [2022-04-26T12:05:03.948Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:03 res [2022-04-26T12:05:03.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:03 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:05:04.277Z] + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 --label arch=amd64 --label version=0.0.0 . [2022-04-26T12:05:04.277Z] Sending build context to Docker daemon 3.044MB [2022-04-26T12:05:04.277Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T12:05:04.277Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T12:05:04.277Z] ---> a575e71eb7f6 [2022-04-26T12:05:04.277Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T12:05:04.277Z] ---> Running in 1558823e06c6 [2022-04-26T12:05:04.538Z] Removing intermediate container 1558823e06c6 [2022-04-26T12:05:04.538Z] ---> e3e1bbd30044 [2022-04-26T12:05:04.538Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T12:05:04.538Z] ---> Running in fa3f545b9ea0 [2022-04-26T12:05:04.538Z] Removing intermediate container fa3f545b9ea0 [2022-04-26T12:05:04.538Z] ---> 131eed5791e5 [2022-04-26T12:05:04.538Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:05:04.538Z] ---> Running in 70fbcc2b48ec [2022-04-26T12:05:04.797Z] Removing intermediate container 70fbcc2b48ec [2022-04-26T12:05:04.797Z] ---> 8a23db3b7991 [2022-04-26T12:05:04.797Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T12:05:04.797Z] ---> Running in ddeaf37eaa50 [2022-04-26T12:05:05.366Z] Removing intermediate container ddeaf37eaa50 [2022-04-26T12:05:05.366Z] ---> 87062f1103bf [2022-04-26T12:05:05.366Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T12:05:05.366Z] ---> Running in b100b85dbf0e [2022-04-26T12:05:05.628Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T12:05:06.572Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T12:05:06.833Z] OK: 221 MiB in 52 packages [2022-04-26T12:05:07.093Z] Removing intermediate container b100b85dbf0e [2022-04-26T12:05:07.093Z] ---> 4e0af6060aae [2022-04-26T12:05:07.093Z] Step 8/27 : WORKDIR /app [2022-04-26T12:05:07.093Z] ---> Running in e3e4f8f2f127 [2022-04-26T12:05:07.353Z] Removing intermediate container e3e4f8f2f127 [2022-04-26T12:05:07.353Z] ---> 7b1a25a6e29b [2022-04-26T12:05:07.353Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T12:05:07.353Z] ---> c1bd7c625719 [2022-04-26T12:05:07.353Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T12:05:07.615Z] ---> Running in 0af6935585fb [2022-04-26T12:05:08.185Z] Removing intermediate container 0af6935585fb [2022-04-26T12:05:08.185Z] ---> 4868a7865553 [2022-04-26T12:05:08.185Z] Step 11/27 : COPY . . [2022-04-26T12:05:08.445Z] ---> 875bbed47701 [2022-04-26T12:05:08.445Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T12:05:08.445Z] ---> Running in f947b7dad1fb [2022-04-26T12:05:08.445Z] Removing intermediate container f947b7dad1fb [2022-04-26T12:05:08.445Z] ---> 0c2dbc3176f8 [2022-04-26T12:05:08.445Z] Step 13/27 : RUN $MAKE [2022-04-26T12:05:08.445Z] ---> Running in 613545ccfe23 [2022-04-26T12:05:08.708Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T12:05:30.665Z] Removing intermediate container 613545ccfe23 [2022-04-26T12:05:30.665Z] ---> 900c801a96d3 [2022-04-26T12:05:30.665Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T12:05:30.665Z] 3.14: Pulling from library/alpine [2022-04-26T12:05:30.665Z] 8663204ce13b: Pulling fs layer [2022-04-26T12:05:30.665Z] 8663204ce13b: Verifying Checksum [2022-04-26T12:05:30.665Z] 8663204ce13b: Download complete [2022-04-26T12:05:30.665Z] 8663204ce13b: Pull complete [2022-04-26T12:05:30.665Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T12:05:30.665Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T12:05:30.665Z] ---> e04c818066af [2022-04-26T12:05:30.665Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:05:30.665Z] ---> Running in 2e227cb713bc [2022-04-26T12:05:30.665Z] Removing intermediate container 2e227cb713bc [2022-04-26T12:05:30.665Z] ---> f4f775939063 [2022-04-26T12:05:30.665Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T12:05:30.665Z] ---> Running in 3342b1d63260 [2022-04-26T12:05:30.665Z] Removing intermediate container 3342b1d63260 [2022-04-26T12:05:30.665Z] ---> dd74494e073c [2022-04-26T12:05:30.665Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T12:05:30.665Z] ---> Running in 60d87d38742d [2022-04-26T12:05:30.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T12:05:31.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T12:05:31.189Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T12:05:31.189Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T12:05:31.189Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T12:05:31.189Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T12:05:31.189Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T12:05:31.449Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T12:05:31.449Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T12:05:31.449Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T12:05:31.449Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T12:05:31.449Z] OK: 9 MiB in 21 packages [2022-04-26T12:05:32.020Z] Removing intermediate container 60d87d38742d [2022-04-26T12:05:32.020Z] ---> cfe693b610cf [2022-04-26T12:05:32.020Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T12:05:32.020Z] ---> 2500140a36c5 [2022-04-26T12:05:32.020Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T12:05:32.280Z] ---> fac2e6294f20 [2022-04-26T12:05:32.280Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T12:05:32.280Z] ---> c30e30bda8fe [2022-04-26T12:05:32.280Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T12:05:32.851Z] ---> 11bac7500c63 [2022-04-26T12:05:32.851Z] Step 22/27 : EXPOSE 48095 [2022-04-26T12:05:33.110Z] ---> Running in 85ee8533781f [2022-04-26T12:05:33.110Z] Removing intermediate container 85ee8533781f [2022-04-26T12:05:33.110Z] ---> 6a572aa5f8d0 [2022-04-26T12:05:33.110Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T12:05:33.110Z] ---> Running in 8b4bac12c8a5 [2022-04-26T12:05:33.110Z] Removing intermediate container 8b4bac12c8a5 [2022-04-26T12:05:33.110Z] ---> 7af83c13d72d [2022-04-26T12:05:33.110Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T12:05:33.110Z] ---> Running in 861dd2cda624 [2022-04-26T12:05:33.369Z] Removing intermediate container 861dd2cda624 [2022-04-26T12:05:33.369Z] ---> 92be340f977a [2022-04-26T12:05:33.369Z] Step 25/27 : LABEL arch=amd64 [2022-04-26T12:05:33.369Z] ---> Running in b0484ed8d564 [2022-04-26T12:05:33.369Z] Removing intermediate container b0484ed8d564 [2022-04-26T12:05:33.369Z] ---> fe219cea3979 [2022-04-26T12:05:33.369Z] Step 26/27 : LABEL git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 [2022-04-26T12:05:33.628Z] ---> Running in fc63080fe01b [2022-04-26T12:05:33.628Z] Removing intermediate container fc63080fe01b [2022-04-26T12:05:33.628Z] ---> 61fa91394818 [2022-04-26T12:05:33.628Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T12:05:33.628Z] ---> Running in e7c9726debab [2022-04-26T12:05:33.628Z] Removing intermediate container e7c9726debab [2022-04-26T12:05:33.628Z] ---> bc66fb5c0247 [2022-04-26T12:05:33.628Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T12:05:33.628Z] Successfully built bc66fb5c0247 [2022-04-26T12:05:33.629Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:05:34.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T12:05:34.380Z] [2022-04-26T12:05:34.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:05:34.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T12:05:34.721Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T12:05:34.721Z] 5eb5b503b376: Pulling fs layer [2022-04-26T12:05:34.721Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T12:05:34.721Z] ec43610c2a17: Pulling fs layer [2022-04-26T12:05:34.721Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T12:05:34.721Z] 33b1e0a273af: Pulling fs layer [2022-04-26T12:05:34.721Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T12:05:34.721Z] 2f39f015ded8: Pulling fs layer [2022-04-26T12:05:34.721Z] 3a2ae6a8a46f: Waiting [2022-04-26T12:05:34.721Z] 33b1e0a273af: Waiting [2022-04-26T12:05:34.721Z] 5d3b04190fa2: Waiting [2022-04-26T12:05:34.721Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T12:05:34.721Z] 5c69ac0246d0: Download complete [2022-04-26T12:05:34.721Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T12:05:34.721Z] 3a2ae6a8a46f: Download complete [2022-04-26T12:05:34.721Z] 33b1e0a273af: Verifying Checksum [2022-04-26T12:05:34.721Z] 33b1e0a273af: Download complete [2022-04-26T12:05:34.721Z] ec43610c2a17: Verifying Checksum [2022-04-26T12:05:34.721Z] ec43610c2a17: Download complete [2022-04-26T12:05:34.721Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T12:05:34.721Z] 5d3b04190fa2: Download complete [2022-04-26T12:05:34.984Z] 5eb5b503b376: Verifying Checksum [2022-04-26T12:05:34.984Z] 5eb5b503b376: Download complete [2022-04-26T12:05:35.555Z] 2f39f015ded8: Download complete [2022-04-26T12:05:36.494Z] 5eb5b503b376: Pull complete [2022-04-26T12:05:36.494Z] 5c69ac0246d0: Pull complete [2022-04-26T12:05:37.067Z] ec43610c2a17: Pull complete [2022-04-26T12:05:37.067Z] 3a2ae6a8a46f: Pull complete [2022-04-26T12:05:37.327Z] 33b1e0a273af: Pull complete [2022-04-26T12:05:37.327Z] 5d3b04190fa2: Pull complete [2022-04-26T12:05:42.608Z] 2f39f015ded8: Pull complete [2022-04-26T12:05:42.608Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T12:05:42.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T12:05:42.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T12:05:42.705Z] prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container [2022-04-26T12:05:42.748Z] $ 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-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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-04-26T12:05:44.424Z] $ docker top d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:05:44.919Z] ---> job-cost.sh [2022-04-26T12:05:44.919Z] lf-activate-venv: SKIPPING [2022-04-26T12:05:44.919Z] INFO: No Stack... [2022-04-26T12:05:45.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T12:05:45.754Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T12:05:46.072Z] + cat /w/workspace/_app-service-configurable_PR-408/archives/cost.csv [2022-04-26T12:05:46.072Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T12:05:46.118Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [2022-04-26T12:05:46.123Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] did not exist. Created. [2022-04-26T12:05:46.123Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T12:05:46.519Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T12:05:46.582Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T12:05:46.615Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T12:05:46.709Z] $ docker stop --time=1 d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c [2022-04-26T12:05:47.890Z] $ docker rm -f d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T12:06:02.773Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23603 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] ws [2022-04-26T12:06:02.814Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-26T12:06:03.469Z] Selected Git installation does not exist. Using Default [2022-04-26T12:06:03.469Z] The recommended git tool is: NONE [2022-04-26T12:06:09.495Z] using credential edgex-jenkins-ssh [2022-04-26T12:06:09.513Z] Cloning the remote Git repository [2022-04-26T12:06:09.575Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T12:06:09.731Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-26T12:06:09.808Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T12:06:09.809Z] > git --version # timeout=10 [2022-04-26T12:06:09.828Z] > git --version # 'git version 2.25.1' [2022-04-26T12:06:09.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T12:06:09.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T12:06:11.695Z] Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit a2a64409e1acb691c7a77096580297ed2c4f9923 [2022-04-26T12:06:11.916Z] Merge succeeded, producing a2a64409e1acb691c7a77096580297ed2c4f9923 [2022-04-26T12:06:11.917Z] Checking out Revision a2a64409e1acb691c7a77096580297ed2c4f9923 (PR-408) [2022-04-26T12:06:11.053Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T12:06:11.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T12:06:11.101Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T12:06:11.134Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T12:06:11.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T12:06:11.148Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T12:06:11.717Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T12:06:11.732Z] > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 [2022-04-26T12:06:11.823Z] > git remote # timeout=10 [2022-04-26T12:06:11.845Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T12:06:11.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T12:06:11.877Z] > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 [2022-04-26T12:06:11.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T12:06:11.928Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T12:06:11.938Z] > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 [2022-04-26T12:06:16.561Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-04-26T12:06:16.623Z] > git --version # timeout=10 [2022-04-26T12:06:16.634Z] > git --version # 'git version 2.25.1' [2022-04-26T12:06:16.647Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T12:06:17.887Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T12:06:17.887Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T12:06:17.887Z] Dload Upload Total Spent Left Speed [2022-04-26T12:06:17.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh [2022-04-26T12:06:18.723Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T12:06:19.098Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-04-26T12:06:19.098Z] sudo tee /etc/docker/daemon.new [2022-04-26T12:06:19.098Z] { [2022-04-26T12:06:19.098Z] "registry-mirrors": [ [2022-04-26T12:06:19.098Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T12:06:19.098Z] ], [2022-04-26T12:06:19.098Z] "bip": "10.250.0.254/24", [2022-04-26T12:06:19.098Z] "hosts": [ [2022-04-26T12:06:19.098Z] "tcp://0.0.0.0:5555", [2022-04-26T12:06:19.098Z] "unix:///var/run/docker.sock" [2022-04-26T12:06:19.098Z] ], [2022-04-26T12:06:19.098Z] "mtu": 1458, [2022-04-26T12:06:19.098Z] "selinux-enabled": true, [2022-04-26T12:06:19.098Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T12:06:19.098Z] } [Pipeline] sh [2022-04-26T12:06:19.478Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T12:06:19.976Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T12:06:38.418Z] provisioning config files... [2022-04-26T12:06:38.446Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5298576130190923156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:06:39.098Z] ---> docker-login.sh [2022-04-26T12:06:39.098Z] nexus3.edgexfoundry.org:10001 [2022-04-26T12:06:39.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:06:39.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:06:39.982Z] Configure a credential helper to remove this warning. See [2022-04-26T12:06:39.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:06:39.982Z] [2022-04-26T12:06:39.982Z] Login Succeeded [2022-04-26T12:06:39.982Z] nexus3.edgexfoundry.org:10002 [2022-04-26T12:06:40.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:06:40.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:06:40.539Z] Configure a credential helper to remove this warning. See [2022-04-26T12:06:40.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:06:40.539Z] [2022-04-26T12:06:40.539Z] Login Succeeded [2022-04-26T12:06:40.539Z] nexus3.edgexfoundry.org:10003 [2022-04-26T12:06:40.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:06:40.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:06:40.821Z] Configure a credential helper to remove this warning. See [2022-04-26T12:06:40.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:06:40.821Z] [2022-04-26T12:06:40.821Z] Login Succeeded [2022-04-26T12:06:40.821Z] nexus3.edgexfoundry.org:10004 [2022-04-26T12:06:41.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:06:41.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:06:41.452Z] Configure a credential helper to remove this warning. See [2022-04-26T12:06:41.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:06:41.452Z] [2022-04-26T12:06:41.452Z] Login Succeeded [2022-04-26T12:06:41.452Z] docker.io [2022-04-26T12:06:41.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T12:06:42.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T12:06:42.010Z] Configure a credential helper to remove this warning. See [2022-04-26T12:06:42.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T12:06:42.010Z] [2022-04-26T12:06:42.010Z] Login Succeeded [2022-04-26T12:06:42.286Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T12:06:42.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T12:06:42.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T12:06:42.790Z] ========================================================= [2022-04-26T12:06:42.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T12:06:42.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:06:43.245Z] + 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-04-26T12:06:43.245Z] Sending build context to Docker daemon 218.1kB [2022-04-26T12:06:43.526Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T12:06:43.526Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T12:06:43.803Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T12:06:43.803Z] 9b3977197b4f: Pulling fs layer [2022-04-26T12:06:43.803Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T12:06:43.803Z] 94645a83ff95: Pulling fs layer [2022-04-26T12:06:43.803Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T12:06:43.803Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T12:06:43.803Z] 3096ccb668a1: Pulling fs layer [2022-04-26T12:06:43.803Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T12:06:43.803Z] a4caa8a26152: Pulling fs layer [2022-04-26T12:06:43.803Z] 3096ccb668a1: Waiting [2022-04-26T12:06:43.803Z] e8cf19c19ddd: Waiting [2022-04-26T12:06:43.803Z] 3f3a8bcf1eab: Waiting [2022-04-26T12:06:43.803Z] a4caa8a26152: Waiting [2022-04-26T12:06:43.803Z] 0c92f367c5e7: Waiting [2022-04-26T12:06:43.803Z] 94645a83ff95: Verifying Checksum [2022-04-26T12:06:43.803Z] 94645a83ff95: Download complete [2022-04-26T12:06:43.803Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T12:06:43.803Z] 1a89e8eeedd5: Download complete [2022-04-26T12:06:43.803Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T12:06:43.803Z] 0c92f367c5e7: Download complete [2022-04-26T12:06:43.803Z] 3096ccb668a1: Verifying Checksum [2022-04-26T12:06:43.803Z] 3096ccb668a1: Download complete [2022-04-26T12:06:43.803Z] 9b3977197b4f: Verifying Checksum [2022-04-26T12:06:43.803Z] 9b3977197b4f: Download complete [2022-04-26T12:06:43.803Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T12:06:43.803Z] e8cf19c19ddd: Download complete [2022-04-26T12:06:44.409Z] 9b3977197b4f: Pull complete [2022-04-26T12:06:45.021Z] 1a89e8eeedd5: Pull complete [2022-04-26T12:06:45.301Z] 94645a83ff95: Pull complete [2022-04-26T12:06:45.917Z] a4caa8a26152: Verifying Checksum [2022-04-26T12:06:45.917Z] a4caa8a26152: Download complete [2022-04-26T12:06:46.902Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T12:06:46.902Z] 3f3a8bcf1eab: Download complete [2022-04-26T12:06:59.360Z] 3f3a8bcf1eab: Pull complete [2022-04-26T12:06:59.360Z] 0c92f367c5e7: Pull complete [2022-04-26T12:06:59.360Z] 3096ccb668a1: Pull complete [2022-04-26T12:06:59.638Z] e8cf19c19ddd: Pull complete [2022-04-26T12:07:05.755Z] a4caa8a26152: Pull complete [2022-04-26T12:07:05.755Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T12:07:06.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T12:07:06.042Z] ---> 725f1c02e7f9 [2022-04-26T12:07:06.042Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T12:07:06.658Z] ---> Running in 8ac9c5471d65 [2022-04-26T12:07:06.937Z] Removing intermediate container 8ac9c5471d65 [2022-04-26T12:07:06.937Z] ---> 901a450eeca0 [2022-04-26T12:07:06.937Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T12:07:06.937Z] ---> Running in 3a55589cb824 [2022-04-26T12:07:07.221Z] Removing intermediate container 3a55589cb824 [2022-04-26T12:07:07.221Z] ---> fbf2873e39e3 [2022-04-26T12:07:07.221Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:07:07.221Z] ---> Running in dc38e89e1b33 [2022-04-26T12:07:07.509Z] Removing intermediate container dc38e89e1b33 [2022-04-26T12:07:07.509Z] ---> 502eac479b2a [2022-04-26T12:07:07.509Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T12:07:07.798Z] ---> Running in 2dd254548ed0 [2022-04-26T12:07:11.246Z] Removing intermediate container 2dd254548ed0 [2022-04-26T12:07:11.246Z] ---> 0c67cb91ad3c [2022-04-26T12:07:11.246Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T12:07:11.246Z] ---> Running in e2c48f2259f0 [2022-04-26T12:07:11.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T12:07:12.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T12:07:13.464Z] OK: 220 MiB in 52 packages [2022-04-26T12:07:14.478Z] Removing intermediate container e2c48f2259f0 [2022-04-26T12:07:14.478Z] ---> 7b50481e3688 [2022-04-26T12:07:14.478Z] Step 8/13 : WORKDIR /app [2022-04-26T12:07:14.478Z] ---> Running in ee503340165c [2022-04-26T12:07:14.478Z] Removing intermediate container ee503340165c [2022-04-26T12:07:14.478Z] ---> 1d8e1ecad22d [2022-04-26T12:07:14.478Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T12:07:15.102Z] ---> 7691d170291a [2022-04-26T12:07:15.102Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T12:07:15.102Z] ---> Running in 17590e734138 [2022-04-26T12:08:02.181Z] Removing intermediate container 17590e734138 [2022-04-26T12:08:02.181Z] ---> 36b46a529e59 [2022-04-26T12:08:02.181Z] Step 11/13 : COPY . . [2022-04-26T12:08:02.181Z] ---> 1ffdd721d5e0 [2022-04-26T12:08:02.181Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T12:08:02.181Z] ---> Running in 5c176d5d9046 [2022-04-26T12:08:02.181Z] Removing intermediate container 5c176d5d9046 [2022-04-26T12:08:02.181Z] ---> 547e9a28e00c [2022-04-26T12:08:02.181Z] Step 13/13 : RUN $MAKE [2022-04-26T12:08:02.181Z] ---> Running in 97e52f852f96 [2022-04-26T12:08:02.181Z] noop [2022-04-26T12:08:02.181Z] Removing intermediate container 97e52f852f96 [2022-04-26T12:08:02.181Z] ---> 507dc63a27d3 [2022-04-26T12:08:02.181Z] Successfully built 507dc63a27d3 [2022-04-26T12:08:02.181Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:08:02.569Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T12:08:02.569Z] . [Pipeline] withDockerContainer [2022-04-26T12:08:02.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container [2022-04-26T12:08:02.906Z] $ 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-04-26T12:08:04.194Z] $ docker top 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T12:08:05.388Z] + go version [2022-04-26T12:08:05.388Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T12:08:05.423Z] $ docker stop --time=1 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 [2022-04-26T12:08:07.054Z] $ docker rm -f 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:08:07.944Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T12:08:07.944Z] . [Pipeline] withDockerContainer [2022-04-26T12:08:08.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container [2022-04-26T12:08:08.283Z] $ 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-04-26T12:08:09.521Z] $ docker top bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T12:08:10.545Z] + make test [2022-04-26T12:08:10.545Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T12:09:32.398Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T12:09:32.398Z] CGO_ENABLED=1 go vet ./... [2022-04-26T12:09:50.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T12:09:50.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T12:09:50.798Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T12:09:52.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T12:09:52.313Z] $ docker stop --time=1 bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af [2022-04-26T12:09:54.066Z] $ docker rm -f bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T12:09:55.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T12:09:55.124Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T12:09:55.571Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T12:09:56.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T12:09:56.558Z] + ls -al . [2022-04-26T12:09:56.558Z] total 180 [2022-04-26T12:09:56.558Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 12:09 . [2022-04-26T12:09:56.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:06 .. [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 12:06 .dockerignore [2022-04-26T12:09:56.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:06 .git [2022-04-26T12:09:56.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:06 .github [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 12:06 .gitignore [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 12:06 Attribution.txt [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 12:06 CHANGELOG.md [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 12:06 Dockerfile [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:06 GOVERNANCE.md [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 12:06 Jenkinsfile [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 12:06 LICENSE [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 12:06 OWNERS.md [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 12:06 README.md [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:04 VERSION [2022-04-26T12:09:56.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:06 bin [2022-04-26T12:09:56.558Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 12:08 coverage.out [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 12:06 go.mod [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 12:06 go.sum [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 12:06 main.go [2022-04-26T12:09:56.558Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 12:06 makefile [2022-04-26T12:09:56.558Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:06 res [2022-04-26T12:09:56.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:06 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:09:56.937Z] + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 --label arch=arm64 --label version=0.0.0 . [2022-04-26T12:09:56.937Z] Sending build context to Docker daemon 219.1kB [2022-04-26T12:09:57.213Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T12:09:57.213Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T12:09:57.213Z] ---> 507dc63a27d3 [2022-04-26T12:09:57.213Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T12:09:57.496Z] ---> Running in e23b9d38af8d [2022-04-26T12:09:57.772Z] Removing intermediate container e23b9d38af8d [2022-04-26T12:09:57.772Z] ---> 8568b8aca195 [2022-04-26T12:09:57.772Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T12:09:57.772Z] ---> Running in 3168ccd03555 [2022-04-26T12:09:58.048Z] Removing intermediate container 3168ccd03555 [2022-04-26T12:09:58.048Z] ---> 6f3efc8252d4 [2022-04-26T12:09:58.048Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:09:58.048Z] ---> Running in 9b6c44a98c5c [2022-04-26T12:09:58.324Z] Removing intermediate container 9b6c44a98c5c [2022-04-26T12:09:58.324Z] ---> e11919844119 [2022-04-26T12:09:58.324Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T12:09:58.609Z] ---> Running in 1a911650c054 [2022-04-26T12:10:00.060Z] Removing intermediate container 1a911650c054 [2022-04-26T12:10:00.060Z] ---> a6498b28bfe6 [2022-04-26T12:10:00.060Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T12:10:00.350Z] ---> Running in 68d45cfabda2 [2022-04-26T12:10:01.335Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T12:10:02.325Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T12:10:02.926Z] OK: 220 MiB in 52 packages [2022-04-26T12:10:03.948Z] Removing intermediate container 68d45cfabda2 [2022-04-26T12:10:03.948Z] ---> bb82db2f9831 [2022-04-26T12:10:03.948Z] Step 8/27 : WORKDIR /app [2022-04-26T12:10:03.948Z] ---> Running in 896273848e7d [2022-04-26T12:10:04.221Z] Removing intermediate container 896273848e7d [2022-04-26T12:10:04.221Z] ---> 70fa20582a41 [2022-04-26T12:10:04.221Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T12:10:04.826Z] ---> b97c865c89bb [2022-04-26T12:10:04.826Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T12:10:04.826Z] ---> Running in 6c090ff3a002 [2022-04-26T12:10:06.819Z] Removing intermediate container 6c090ff3a002 [2022-04-26T12:10:06.819Z] ---> 82d34bd491e3 [2022-04-26T12:10:06.819Z] Step 11/27 : COPY . . [2022-04-26T12:10:07.428Z] ---> 338edda95569 [2022-04-26T12:10:07.428Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T12:10:07.428Z] ---> Running in 0e7013b3bd10 [2022-04-26T12:10:07.706Z] Removing intermediate container 0e7013b3bd10 [2022-04-26T12:10:07.706Z] ---> 972ec23990e1 [2022-04-26T12:10:07.706Z] Step 13/27 : RUN $MAKE [2022-04-26T12:10:07.706Z] ---> Running in bd3e1607f766 [2022-04-26T12:10:08.689Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T12:12:15.607Z] Removing intermediate container bd3e1607f766 [2022-04-26T12:12:15.607Z] ---> a6cbce0512fa [2022-04-26T12:12:15.607Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T12:12:15.607Z] 3.14: Pulling from library/alpine [2022-04-26T12:12:15.607Z] 455c02918c45: Pulling fs layer [2022-04-26T12:12:15.607Z] 455c02918c45: Download complete [2022-04-26T12:12:15.607Z] 455c02918c45: Pull complete [2022-04-26T12:12:15.607Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T12:12:15.607Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T12:12:15.607Z] ---> ac73e934f311 [2022-04-26T12:12:15.607Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T12:12:15.607Z] ---> Running in 3a8359fae285 [2022-04-26T12:12:15.607Z] Removing intermediate container 3a8359fae285 [2022-04-26T12:12:15.607Z] ---> 1cffb2f31150 [2022-04-26T12:12:15.607Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T12:12:15.607Z] ---> Running in c8c77c018fa1 [2022-04-26T12:12:15.607Z] Removing intermediate container c8c77c018fa1 [2022-04-26T12:12:15.607Z] ---> 8787665e0311 [2022-04-26T12:12:15.607Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T12:12:15.607Z] ---> Running in c57edca490ff [2022-04-26T12:12:15.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T12:12:15.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T12:12:15.607Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T12:12:15.607Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T12:12:15.607Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T12:12:15.607Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T12:12:15.607Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T12:12:15.607Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T12:12:15.607Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T12:12:15.607Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T12:12:15.607Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T12:12:15.607Z] OK: 9 MiB in 21 packages [2022-04-26T12:12:15.607Z] Removing intermediate container c57edca490ff [2022-04-26T12:12:15.607Z] ---> c9107084f0bf [2022-04-26T12:12:15.607Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T12:12:15.607Z] ---> c3f22999a3ec [2022-04-26T12:12:15.607Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T12:12:15.607Z] ---> b859f580a5cf [2022-04-26T12:12:15.607Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T12:12:15.607Z] ---> b5ebee224ff4 [2022-04-26T12:12:15.607Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T12:12:15.607Z] ---> 739ae323ed5b [2022-04-26T12:12:15.607Z] Step 22/27 : EXPOSE 48095 [2022-04-26T12:12:15.607Z] ---> Running in 2fcbb6ed32c5 [2022-04-26T12:12:15.607Z] Removing intermediate container 2fcbb6ed32c5 [2022-04-26T12:12:15.607Z] ---> a1d2c11b63b0 [2022-04-26T12:12:15.607Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T12:12:15.607Z] ---> Running in a89195fcb859 [2022-04-26T12:12:15.607Z] Removing intermediate container a89195fcb859 [2022-04-26T12:12:15.607Z] ---> f8f2976f160c [2022-04-26T12:12:15.607Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T12:12:15.607Z] ---> Running in d002be3a454b [2022-04-26T12:12:15.607Z] Removing intermediate container d002be3a454b [2022-04-26T12:12:15.607Z] ---> 6e68dec86079 [2022-04-26T12:12:15.607Z] Step 25/27 : LABEL arch=arm64 [2022-04-26T12:12:15.607Z] ---> Running in 202ba8873c93 [2022-04-26T12:12:15.607Z] Removing intermediate container 202ba8873c93 [2022-04-26T12:12:15.607Z] ---> e39743536486 [2022-04-26T12:12:15.607Z] Step 26/27 : LABEL git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 [2022-04-26T12:12:15.607Z] ---> Running in 79def97dd257 [2022-04-26T12:12:15.607Z] Removing intermediate container 79def97dd257 [2022-04-26T12:12:15.607Z] ---> 6425a58700d4 [2022-04-26T12:12:15.607Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T12:12:15.607Z] ---> Running in c1cfcfb4fcb6 [2022-04-26T12:12:15.607Z] Removing intermediate container c1cfcfb4fcb6 [2022-04-26T12:12:15.607Z] ---> ff366eb39ab4 [2022-04-26T12:12:15.607Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T12:12:15.607Z] Successfully built ff366eb39ab4 [2022-04-26T12:12:15.607Z] Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:12:16.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T12:12:16.325Z] [2022-04-26T12:12:16.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:12:16.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T12:12:17.003Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T12:12:17.003Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T12:12:17.003Z] 04944245beec: Pulling fs layer [2022-04-26T12:12:17.003Z] 699f458cf7ca: Pulling fs layer [2022-04-26T12:12:17.003Z] 765212b225bb: Pulling fs layer [2022-04-26T12:12:17.003Z] f23df028b6ca: Pulling fs layer [2022-04-26T12:12:17.003Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T12:12:17.003Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T12:12:17.003Z] f23df028b6ca: Waiting [2022-04-26T12:12:17.003Z] d65c8cfc05b1: Waiting [2022-04-26T12:12:17.003Z] 2437ff75d9bd: Waiting [2022-04-26T12:12:17.003Z] 765212b225bb: Waiting [2022-04-26T12:12:17.003Z] 04944245beec: Download complete [2022-04-26T12:12:17.003Z] 765212b225bb: Verifying Checksum [2022-04-26T12:12:17.003Z] 765212b225bb: Download complete [2022-04-26T12:12:17.003Z] f23df028b6ca: Verifying Checksum [2022-04-26T12:12:17.003Z] f23df028b6ca: Download complete [2022-04-26T12:12:17.280Z] d65c8cfc05b1: Download complete [2022-04-26T12:12:17.280Z] 699f458cf7ca: Verifying Checksum [2022-04-26T12:12:17.280Z] 699f458cf7ca: Download complete [2022-04-26T12:12:17.557Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T12:12:17.557Z] 8998bd30e6a1: Download complete [2022-04-26T12:12:20.187Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T12:12:20.187Z] 2437ff75d9bd: Download complete [2022-04-26T12:12:21.643Z] 8998bd30e6a1: Pull complete [2022-04-26T12:12:22.253Z] 04944245beec: Pull complete [2022-04-26T12:12:23.697Z] 699f458cf7ca: Pull complete [2022-04-26T12:12:23.972Z] 765212b225bb: Pull complete [2022-04-26T12:12:24.964Z] f23df028b6ca: Pull complete [2022-04-26T12:12:24.964Z] d65c8cfc05b1: Pull complete [2022-04-26T12:12:40.077Z] 2437ff75d9bd: Pull complete [2022-04-26T12:12:40.077Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T12:12:40.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T12:12:40.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T12:12:40.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container [2022-04-26T12:12:40.438Z] $ 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-04-26T12:12:42.930Z] $ docker top f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:43.921Z] ---> job-cost.sh [2022-04-26T12:12:43.922Z] lf-activate-venv: SKIPPING [2022-04-26T12:12:43.922Z] INFO: No Stack... [2022-04-26T12:12:44.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T12:12:45.173Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T12:12:45.856Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-26T12:12:45.856Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T12:12:45.938Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [2022-04-26T12:12:45.943Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] did not exist. Created. [2022-04-26T12:12:45.943Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T12:12:46.687Z] /w/workspace/app-service-configurable/1@tmp/durable-59b13769/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T12:12:47.398Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T12:12:47.454Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T12:12:47.501Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T12:12:47.517Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T12:12:47.611Z] $ docker stop --time=1 f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c [2022-04-26T12:12:49.089Z] $ docker rm -f f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-26T12:12:50.225Z] provisioning config files... [2022-04-26T12:12:50.235Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config3250002320797306984tmp [Pipeline] { [Pipeline] sh [2022-04-26T12:12:50.576Z] + set +x [2022-04-26T12:12:50.576Z] + curl -s https://codecov.io/bash [2022-04-26T12:12:50.576Z] + bash -s -- [2022-04-26T12:12:50.576Z] [2022-04-26T12:12:50.576Z] _____ _ [2022-04-26T12:12:50.576Z] / ____| | | [2022-04-26T12:12:50.576Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T12:12:50.576Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T12:12:50.576Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T12:12:50.576Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T12:12:50.576Z] Bash-1.0.6 [2022-04-26T12:12:50.576Z] [2022-04-26T12:12:50.576Z] [2022-04-26T12:12:50.576Z] ==> git version 2.25.1 found [2022-04-26T12:12:50.576Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-26T12:12:50.576Z] Release-Date: 2020-01-08 [2022-04-26T12:12:50.576Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T12:12:50.576Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T12:12:50.576Z] ==> Jenkins CI detected. [2022-04-26T12:12:50.576Z] current dir:  /w/workspace/_app-service-configurable_PR-408 [2022-04-26T12:12:50.576Z] project root: . [2022-04-26T12:12:50.576Z] --> token set from env [2022-04-26T12:12:50.576Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T12:12:50.576Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T12:12:50.576Z] ==> Python coveragepy not found [2022-04-26T12:12:50.576Z] ==> Searching for coverage reports in: [2022-04-26T12:12:50.576Z] + . [2022-04-26T12:12:50.576Z] -> Found 1 reports [2022-04-26T12:12:50.576Z] ==> Detecting git/mercurial file structure [2022-04-26T12:12:50.576Z] ==> Reading reports [2022-04-26T12:12:50.576Z] + ./coverage.out bytes=10 [2022-04-26T12:12:50.576Z] ==> Appending adjustments [2022-04-26T12:12:50.576Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T12:12:50.838Z] + Found adjustments [2022-04-26T12:12:50.838Z] ==> Gzipping contents [2022-04-26T12:12:50.838Z] 4.0K /tmp/codecov.zGGnLf.gz [2022-04-26T12:12:50.838Z] ==> Uploading reports [2022-04-26T12:12:50.838Z] url: https://codecov.io [2022-04-26T12:12:50.838Z] query: branch=PR-408&commit=a2a64409e1acb691c7a77096580297ed2c4f9923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= [2022-04-26T12:12:50.838Z] -> Pinging Codecov [2022-04-26T12:12:50.838Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-408&commit=a2a64409e1acb691c7a77096580297ed2c4f9923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= [2022-04-26T12:12:51.098Z] -> Uploading to [2022-04-26T12:12:51.098Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/a2a64409e1acb691c7a77096580297ed2c4f9923/1d45e28c-dd34-4006-a121-e168e741c27a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T121251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8be3148006272e3a697dbd709195e8c2876c4bf40e268f8298e9b3f6a190905 [2022-04-26T12:12:51.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T12:12:51.098Z] Dload Upload Total Spent Left Speed [2022-04-26T12:12:51.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2231 --:--:-- --:--:-- --:--:-- 2231 [2022-04-26T12:12:51.619Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] } [2022-04-26T12:12:51.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-04-26T12:12:53.426Z] + [ -d /w/workspace/_app-service-configurable_PR-408/archives ] [2022-04-26T12:12:53.426Z] + ls -al /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T12:12:53.426Z] total 16 [2022-04-26T12:12:53.426Z] drwxr-xr-x 3 root root 4096 Apr 26 12:05 . [2022-04-26T12:12:53.426Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:05 .. [2022-04-26T12:12:53.426Z] drwxr-xr-x 2 root root 4096 Apr 26 12:05 cost [2022-04-26T12:12:53.426Z] -rw-r--r-- 1 root root 95 Apr 26 12:05 cost.csv [2022-04-26T12:12:53.426Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T12:12:53.426Z] + ls -al /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T12:12:53.426Z] total 16 [2022-04-26T12:12:53.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 12:05 . [2022-04-26T12:12:53.426Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:05 .. [2022-04-26T12:12:53.426Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 12:05 cost [2022-04-26T12:12:53.426Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 26 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:53.792Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:54.755Z] ---> package-listing.sh [2022-04-26T12:12:54.755Z] ++ facter osfamily [2022-04-26T12:12:54.755Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T12:12:55.016Z] + OS_FAMILY=debian [2022-04-26T12:12:55.016Z] + workspace=/w/workspace/_app-service-configurable_PR-408 [2022-04-26T12:12:55.016Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T12:12:55.016Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T12:12:55.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T12:12:55.016Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T12:12:55.016Z] + '[' /w/workspace/_app-service-configurable_PR-408 ']' [2022-04-26T12:12:55.016Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T12:12:55.016Z] + case "${OS_FAMILY}" in [2022-04-26T12:12:55.016Z] + dpkg -l [2022-04-26T12:12:55.016Z] + grep '^ii' [2022-04-26T12:12:55.016Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T12:12:55.016Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T12:12:55.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T12:12:55.016Z] + '[' /w/workspace/_app-service-configurable_PR-408 ']' [2022-04-26T12:12:55.016Z] + mkdir -p /w/workspace/_app-service-configurable_PR-408/archives/ [2022-04-26T12:12:55.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-408/archives/ [Pipeline] echo [2022-04-26T12:12:55.058Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T12:12:55.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T12:12:55.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T12:12:55.953Z] . [Pipeline] withDockerContainer [2022-04-26T12:12:56.037Z] prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container [2022-04-26T12:12:56.075Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/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-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 [2022-04-26T12:12:56.306Z] $ docker top c1ea8dd2eac8646b8bf984d4c02a5a0a5c370f80c46a863dc1bc54279a83e705 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T12:12:56.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T12:12:57.036Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T12:12:57.353Z] + ls /var/log/sa-host [2022-04-26T12:12:57.353Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T12:12:57.694Z] provisioning config files... [2022-04-26T12:12:57.704Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config256815782144536617tmp [Pipeline] { [Pipeline] echo [2022-04-26T12:12:57.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:58.081Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T12:12:58.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:58.531Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T12:12:58.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:58.878Z] ---> sudo-logs.sh [2022-04-26T12:12:58.878Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T12:12:58.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:12:59.278Z] ---> job-cost.sh [2022-04-26T12:12:59.278Z] lf-activate-venv: SKIPPING [2022-04-26T12:12:59.278Z] DEBUG: total: 0.2199999988079071 [2022-04-26T12:12:59.278Z] INFO: Retrieving Stack Cost... [2022-04-26T12:12:59.848Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T12:13:00.110Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T12:13:00.148Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T12:13:00.551Z] ---> logs-deploy.sh [2022-04-26T12:13:00.551Z] lf-activate-venv: SKIPPING [2022-04-26T12:13:00.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-408/1 [2022-04-26T12:13:00.551Z] INFO: archiving workspace using pattern(s): [2022-04-26T12:13:01.494Z] Archives upload complete. [2022-04-26T12:13:01.494Z] INFO: archiving logs to Nexus