Pull request #406 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 691e404553cc9db5d1d6fc168f2c259f64b3b6f3+1a526f114784ef26915ff80fd995ea89bcf8e607 (208a985f5b11c8551210364c86b8cb703132e6c9) 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-ssh3555548881816333949.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-ssh13712640846114246272.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-406/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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11444752023596061536.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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12337937699185445822.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-ssh4634256332978211238.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-406/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-406/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17597585604671327961.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-21780 in /w/workspace/_app-service-configurable_PR-406 [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-406 # 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 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 Merge succeeded, producing 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 Checking out Revision 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 (PR-406) > 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/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # 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 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # 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-22T12:04:20.683Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T12:04:20.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T12:04:20.954Z] ========================================================= [2022-04-22T12:04:20.954Z] EdgeX Global Pipelines Version Info [2022-04-22T12:04:20.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:04:21.759Z] ------------------- [2022-04-22T12:04:21.759Z] stable info: [2022-04-22T12:04:21.759Z] ------------------- [2022-04-22T12:04:21.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T12:04:21.759Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T12:04:21.759Z] Message: update stable to v1.0.221 [2022-04-22T12:04:22.330Z] ------------------- [2022-04-22T12:04:22.330Z] experimental info: [2022-04-22T12:04:22.330Z] ------------------- [2022-04-22T12:04:22.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T12:04:22.330Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T12:04:22.330Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T12:04:22.592Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-22T12:04:22.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-22T12:04:22.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T12:04:22.705Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T12:04:22.741Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T12:04:22.779Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T12:04:22.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T12:04:22.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-22T12:04:22.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T12:04:22.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T12:04:22.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T12:04:23.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-22T12:04:23.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T12:04:23.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T12:04:23.148Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T12:04:23.190Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T12:04:23.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T12:04:23.272Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T12:04:23.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T12:04:23.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T12:04:23.390Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-22T12:04:23.430Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-22T12:04:23.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T12:04:23.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T12:04:23.575Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T12:04:23.617Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T12:04:23.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo [2022-04-22T12:04:23.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo [2022-04-22T12:04:23.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo [2022-04-22T12:04:23.788Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo [2022-04-22T12:04:23.832Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 691e404 [Pipeline] echo [2022-04-22T12:04:23.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T12:04:24.008Z] provisioning config files... [2022-04-22T12:04:24.021Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config4585312311517692260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:04:24.372Z] ---> docker-login.sh [2022-04-22T12:04:24.372Z] nexus3.edgexfoundry.org:10001 [2022-04-22T12:04:24.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:24.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:24.632Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:24.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:24.632Z] [2022-04-22T12:04:24.632Z] Login Succeeded [2022-04-22T12:04:24.632Z] nexus3.edgexfoundry.org:10002 [2022-04-22T12:04:24.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:24.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:24.895Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:24.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:24.895Z] [2022-04-22T12:04:24.895Z] Login Succeeded [2022-04-22T12:04:24.895Z] nexus3.edgexfoundry.org:10003 [2022-04-22T12:04:24.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:25.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:25.156Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:25.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:25.156Z] [2022-04-22T12:04:25.156Z] Login Succeeded [2022-04-22T12:04:25.156Z] nexus3.edgexfoundry.org:10004 [2022-04-22T12:04:25.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:25.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:25.156Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:25.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:25.156Z] [2022-04-22T12:04:25.156Z] Login Succeeded [2022-04-22T12:04:25.156Z] docker.io [2022-04-22T12:04:25.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:25.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:25.728Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:25.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:25.728Z] [2022-04-22T12:04:25.728Z] Login Succeeded [2022-04-22T12:04:25.728Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T12:04:25.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T12:04:26.399Z] + git rev-list -1 --merges 691e404553cc9db5d1d6fc168f2c259f64b3b6f3~1..691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo [2022-04-22T12:04:26.535Z] -----------> git rev-list -1 --merges 691e404553cc9db5d1d6fc168f2c259f64b3b6f3~1..691e404553cc9db5d1d6fc168f2c259f64b3b6f3 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [false] [Pipeline] sh [2022-04-22T12:04:26.859Z] + git log --format=format:%s -1 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo [2022-04-22T12:04:26.896Z] ========================================================= [2022-04-22T12:04:26.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T12:04:26.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T12:04:27.340Z] + git log --format=format:%s -1 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo [2022-04-22T12:04:27.372Z] [semverPrep] GIT_COMMIT: 691e404553cc9db5d1d6fc168f2c259f64b3b6f3, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-22T12:04:27.401Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T12:04:27.860Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T12:04:27.860Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T12:04:27.860Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T12:04:27.860Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T12:04:27.860Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T12:04:27.860Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T12:04:27.860Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:04:28.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T12:04:28.326Z] [2022-04-22T12:04:28.326Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:04:28.686Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T12:04:28.686Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T12:04:28.686Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T12:04:28.686Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T12:04:28.686Z] 4c7163046ea9: Pulling fs layer [2022-04-22T12:04:28.686Z] 0c2d73faf560: Pulling fs layer [2022-04-22T12:04:28.686Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T12:04:28.686Z] 3e5f54012d9b: Download complete [2022-04-22T12:04:28.686Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T12:04:28.686Z] a0d0a0d46f8b: Download complete [2022-04-22T12:04:28.686Z] 0c2d73faf560: Verifying Checksum [2022-04-22T12:04:28.686Z] 0c2d73faf560: Download complete [2022-04-22T12:04:28.946Z] 4c7163046ea9: Verifying Checksum [2022-04-22T12:04:28.946Z] 4c7163046ea9: Download complete [2022-04-22T12:04:28.946Z] a0d0a0d46f8b: Pull complete [2022-04-22T12:04:28.946Z] 3e5f54012d9b: Pull complete [2022-04-22T12:04:29.520Z] 4c7163046ea9: Pull complete [2022-04-22T12:04:29.520Z] 0c2d73faf560: Pull complete [2022-04-22T12:04:29.520Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T12:04:29.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T12:04:29.520Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T12:04:29.619Z] prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container [2022-04-22T12:04:29.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T12:04:30.352Z] $ docker top ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T12:04:30.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T12:04:30.549Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T12:04:30.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T12:04:30.691Z] $ docker exec ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent [2022-04-22T12:04:30.812Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPjlGkE/agent.15 [2022-04-22T12:04:30.812Z] SSH_AGENT_PID=21 [2022-04-22T12:04:30.819Z] Running ssh-add (command line suppressed) [2022-04-22T12:04:30.953Z] Identity added: /w/workspace/_app-service-configurable_PR-406@tmp/private_key_6246468352966499307.key (/w/workspace/_app-service-configurable_PR-406@tmp/private_key_6246468352966499307.key) [2022-04-22T12:04:30.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T12:04:31.304Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T12:04:31.337Z] $ docker exec --env ******** --env ******** ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent -k [2022-04-22T12:04:31.458Z] unset SSH_AUTH_SOCK; [2022-04-22T12:04:31.459Z] unset SSH_AGENT_PID; [2022-04-22T12:04:31.459Z] echo Agent pid 21 killed; [2022-04-22T12:04:31.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T12:04:31.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T12:04:31.552Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T12:04:31.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T12:04:31.702Z] $ docker exec ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent [2022-04-22T12:04:31.826Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdnBnBo/agent.56 [2022-04-22T12:04:31.826Z] SSH_AGENT_PID=62 [2022-04-22T12:04:31.831Z] Running ssh-add (command line suppressed) [2022-04-22T12:04:31.975Z] Identity added: /w/workspace/_app-service-configurable_PR-406@tmp/private_key_3957918735031859669.key (/w/workspace/_app-service-configurable_PR-406@tmp/private_key_3957918735031859669.key) [2022-04-22T12:04:31.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T12:04:32.319Z] + git semver init [2022-04-22T12:04:32.319Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T12:04:32.319Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-406/.git [2022-04-22T12:04:32.319Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-406 [2022-04-22T12:04:32.319Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T12:04:32.319Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T12:04:32.319Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T12:04:32.319Z] # $SEMVER_BRANCH = PR-406 [2022-04-22T12:04:32.319Z] # $SEMVER_TEMP = /tmp/semver-294977819 [2022-04-22T12:04:32.319Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-22T12:04:33.267Z] # '/tmp/semver-294977819' -> '/w/workspace/_app-service-configurable_PR-406/.semver' [2022-04-22T12:04:33.267Z] # -> Force: false [2022-04-22T12:04:33.267Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-406/.semver [Pipeline] } [2022-04-22T12:04:33.304Z] $ docker exec --env ******** --env ******** ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent -k [2022-04-22T12:04:33.414Z] unset SSH_AUTH_SOCK; [2022-04-22T12:04:33.414Z] unset SSH_AGENT_PID; [2022-04-22T12:04:33.414Z] echo Agent pid 62 killed; [2022-04-22T12:04:33.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T12:04:33.848Z] + git semver [Pipeline] } [2022-04-22T12:04:33.887Z] $ docker stop --time=1 ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 [2022-04-22T12:04:35.289Z] $ docker rm -f ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T12:04:35.706Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T12:04:36.076Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T12:04:36.102Z] [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-22T12:04:36.720Z] provisioning config files... [2022-04-22T12:04:36.731Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config4699023768140271722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:04:37.088Z] ---> docker-login.sh [2022-04-22T12:04:37.088Z] nexus3.edgexfoundry.org:10001 [2022-04-22T12:04:37.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:37.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:37.088Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:37.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:37.088Z] [2022-04-22T12:04:37.088Z] Login Succeeded [2022-04-22T12:04:37.088Z] nexus3.edgexfoundry.org:10002 [2022-04-22T12:04:37.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:37.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:37.350Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:37.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:37.350Z] [2022-04-22T12:04:37.350Z] Login Succeeded [2022-04-22T12:04:37.350Z] nexus3.edgexfoundry.org:10003 [2022-04-22T12:04:37.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:37.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:37.350Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:37.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:37.350Z] [2022-04-22T12:04:37.350Z] Login Succeeded [2022-04-22T12:04:37.350Z] nexus3.edgexfoundry.org:10004 [2022-04-22T12:04:37.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:37.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:37.610Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:37.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:37.610Z] [2022-04-22T12:04:37.610Z] Login Succeeded [2022-04-22T12:04:37.610Z] docker.io [2022-04-22T12:04:37.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:04:37.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:04:37.870Z] Configure a credential helper to remove this warning. See [2022-04-22T12:04:37.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:04:37.870Z] [2022-04-22T12:04:37.870Z] Login Succeeded [2022-04-22T12:04:37.870Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T12:04:37.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T12:04:38.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T12:04:38.130Z] ========================================================= [2022-04-22T12:04:38.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T12:04:38.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:04:38.542Z] + 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-22T12:04:38.543Z] Sending build context to Docker daemon 3.043MB [2022-04-22T12:04:38.543Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T12:04:38.543Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-22T12:04:38.543Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T12:04:38.543Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T12:04:38.543Z] 666ba61612fd: Pulling fs layer [2022-04-22T12:04:38.543Z] 8ed8ca486205: Pulling fs layer [2022-04-22T12:04:38.543Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T12:04:38.543Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T12:04:38.543Z] 640e595b4fbd: Pulling fs layer [2022-04-22T12:04:38.543Z] 763cafe07f6e: Pulling fs layer [2022-04-22T12:04:38.543Z] 0c0b528cf693: Pulling fs layer [2022-04-22T12:04:38.543Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T12:04:38.543Z] 22a0e8bec74d: Waiting [2022-04-22T12:04:38.543Z] 640e595b4fbd: Waiting [2022-04-22T12:04:38.543Z] 763cafe07f6e: Waiting [2022-04-22T12:04:38.543Z] 0c0b528cf693: Waiting [2022-04-22T12:04:38.543Z] 10935f4eaf8b: Waiting [2022-04-22T12:04:38.543Z] 4fe6c5a15a65: Waiting [2022-04-22T12:04:38.543Z] 8ed8ca486205: Verifying Checksum [2022-04-22T12:04:38.543Z] 8ed8ca486205: Download complete [2022-04-22T12:04:38.543Z] 666ba61612fd: Download complete [2022-04-22T12:04:38.543Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T12:04:38.543Z] 22a0e8bec74d: Download complete [2022-04-22T12:04:38.543Z] 640e595b4fbd: Download complete [2022-04-22T12:04:38.803Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T12:04:38.803Z] 59bf1c3509f3: Download complete [2022-04-22T12:04:38.803Z] 763cafe07f6e: Download complete [2022-04-22T12:04:38.803Z] 0c0b528cf693: Verifying Checksum [2022-04-22T12:04:38.803Z] 0c0b528cf693: Download complete [2022-04-22T12:04:38.803Z] 59bf1c3509f3: Pull complete [2022-04-22T12:04:39.068Z] 666ba61612fd: Pull complete [2022-04-22T12:04:39.068Z] 8ed8ca486205: Pull complete [2022-04-22T12:04:39.329Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T12:04:39.329Z] 10935f4eaf8b: Download complete [2022-04-22T12:04:39.592Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T12:04:39.592Z] 4fe6c5a15a65: Download complete [2022-04-22T12:04:43.796Z] 4fe6c5a15a65: Pull complete [2022-04-22T12:04:44.058Z] 22a0e8bec74d: Pull complete [2022-04-22T12:04:44.058Z] 640e595b4fbd: Pull complete [2022-04-22T12:04:44.058Z] 763cafe07f6e: Pull complete [2022-04-22T12:04:44.320Z] 0c0b528cf693: Pull complete [2022-04-22T12:04:46.865Z] 10935f4eaf8b: Pull complete [2022-04-22T12:04:46.865Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T12:04:46.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T12:04:46.865Z] ---> 99d49a6021b9 [2022-04-22T12:04:46.865Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-22T12:04:48.252Z] ---> Running in 6c0d931d1d2d [2022-04-22T12:04:48.252Z] Removing intermediate container 6c0d931d1d2d [2022-04-22T12:04:48.252Z] ---> 8cb640b2ac65 [2022-04-22T12:04:48.252Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T12:04:48.252Z] ---> Running in dff040e40f6e [2022-04-22T12:04:48.520Z] Removing intermediate container dff040e40f6e [2022-04-22T12:04:48.520Z] ---> 5fcf3e44d588 [2022-04-22T12:04:48.520Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:04:48.520Z] ---> Running in f46ea6580210 [2022-04-22T12:04:48.783Z] Removing intermediate container f46ea6580210 [2022-04-22T12:04:48.783Z] ---> 2150bffb2c63 [2022-04-22T12:04:48.783Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T12:04:48.783Z] ---> Running in 3e3216e15fcd [2022-04-22T12:04:49.356Z] Removing intermediate container 3e3216e15fcd [2022-04-22T12:04:49.356Z] ---> b2d69df5c4c6 [2022-04-22T12:04:49.356Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T12:04:49.356Z] ---> Running in dc837978cb71 [2022-04-22T12:04:49.617Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T12:04:50.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T12:04:50.832Z] OK: 221 MiB in 52 packages [2022-04-22T12:04:51.407Z] Removing intermediate container dc837978cb71 [2022-04-22T12:04:51.407Z] ---> 56c5b3ecd79c [2022-04-22T12:04:51.407Z] Step 8/13 : WORKDIR /app [2022-04-22T12:04:51.407Z] ---> Running in 46fcf2a45dcf [2022-04-22T12:04:51.407Z] Removing intermediate container 46fcf2a45dcf [2022-04-22T12:04:51.407Z] ---> 6e740466c7b3 [2022-04-22T12:04:51.407Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-22T12:04:51.545Z] Still waiting to schedule task [2022-04-22T12:04:51.545Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T12:04:51.668Z] ---> 5841e78598a8 [2022-04-22T12:04:51.668Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T12:04:51.668Z] ---> Running in d86d1d7e73a6 [2022-04-22T12:05:09.795Z] Removing intermediate container d86d1d7e73a6 [2022-04-22T12:05:09.795Z] ---> 1a3dfc9b1ec8 [2022-04-22T12:05:09.795Z] Step 11/13 : COPY . . [2022-04-22T12:05:09.795Z] ---> 8fb7ef2c76f1 [2022-04-22T12:05:09.795Z] Step 12/13 : ARG MAKE="make build" [2022-04-22T12:05:09.795Z] ---> Running in f4beb11d8512 [2022-04-22T12:05:09.795Z] Removing intermediate container f4beb11d8512 [2022-04-22T12:05:09.795Z] ---> 6ab5ce28e604 [2022-04-22T12:05:09.795Z] Step 13/13 : RUN $MAKE [2022-04-22T12:05:09.795Z] ---> Running in 8c55edd60b08 [2022-04-22T12:05:09.796Z] noop [2022-04-22T12:05:09.796Z] Removing intermediate container 8c55edd60b08 [2022-04-22T12:05:09.796Z] ---> 6ffd6d461fbd [2022-04-22T12:05:09.796Z] Successfully built 6ffd6d461fbd [2022-04-22T12:05:09.796Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:05:10.130Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T12:05:10.130Z] . [Pipeline] withDockerContainer [2022-04-22T12:05:10.242Z] prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container [2022-04-22T12:05:10.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T12:05:10.708Z] $ docker top edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T12:05:11.140Z] + go version [2022-04-22T12:05:11.140Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T12:05:11.176Z] $ docker stop --time=1 edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef [2022-04-22T12:05:12.516Z] $ docker rm -f edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:05:13.189Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T12:05:13.190Z] . [Pipeline] withDockerContainer [2022-04-22T12:05:13.280Z] prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container [2022-04-22T12:05:13.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T12:05:13.731Z] $ docker top 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T12:05:14.189Z] + make test [2022-04-22T12:05:14.189Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-22T12:05:24.192Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-22T12:05:24.192Z] CGO_ENABLED=1 go vet ./... [2022-04-22T12:05:28.515Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T12:05:28.515Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T12:05:28.515Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T12:05:29.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T12:05:29.152Z] $ docker stop --time=1 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 [2022-04-22T12:05:30.761Z] $ docker rm -f 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T12:05:31.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T12:05:31.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T12:05:32.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T12:05:32.816Z] + ls -al . [2022-04-22T12:05:32.816Z] total 184 [2022-04-22T12:05:32.816Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:05 . [2022-04-22T12:05:32.816Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:04 .. [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:04 .dockerignore [2022-04-22T12:05:32.816Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:04 .git [2022-04-22T12:05:32.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:04 .github [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:04 .gitignore [2022-04-22T12:05:32.816Z] drwx------ 3 jenkins jenkins 4096 Apr 22 12:04 .semver [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:04 Attribution.txt [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:04 CHANGELOG.md [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:04 Dockerfile [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:04 GOVERNANCE.md [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:04 Jenkinsfile [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:04 LICENSE [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:04 OWNERS.md [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:04 README.md [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:04 VERSION [2022-04-22T12:05:32.816Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:04 bin [2022-04-22T12:05:32.816Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:05 coverage.out [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:04 go.mod [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 54185 Apr 22 12:04 go.sum [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:04 main.go [2022-04-22T12:05:32.816Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:04 makefile [2022-04-22T12:05:32.816Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:04 res [2022-04-22T12:05:32.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:04 snap [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:05:33.168Z] + 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=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 --label arch=amd64 --label version=0.0.0 . [2022-04-22T12:05:33.168Z] Sending build context to Docker daemon 3.044MB [2022-04-22T12:05:33.168Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T12:05:33.168Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-22T12:05:33.168Z] ---> 6ffd6d461fbd [2022-04-22T12:05:33.168Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-22T12:05:33.168Z] ---> Running in d858b14f3d90 [2022-04-22T12:05:33.430Z] Removing intermediate container d858b14f3d90 [2022-04-22T12:05:33.430Z] ---> 216aeb050561 [2022-04-22T12:05:33.430Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T12:05:33.430Z] ---> Running in 19ab0df97874 [2022-04-22T12:05:33.430Z] Removing intermediate container 19ab0df97874 [2022-04-22T12:05:33.430Z] ---> dd71d38b9bf3 [2022-04-22T12:05:33.430Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:05:33.430Z] ---> Running in 4cb2eb789019 [2022-04-22T12:05:33.691Z] Removing intermediate container 4cb2eb789019 [2022-04-22T12:05:33.691Z] ---> 2e5fabb0e6a8 [2022-04-22T12:05:33.691Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T12:05:33.691Z] ---> Running in a349286bbafb [2022-04-22T12:05:34.261Z] Removing intermediate container a349286bbafb [2022-04-22T12:05:34.261Z] ---> f78e85e3c972 [2022-04-22T12:05:34.261Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T12:05:34.261Z] ---> Running in eb7e65bcd635 [2022-04-22T12:05:34.832Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T12:05:35.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T12:05:35.978Z] OK: 221 MiB in 52 packages [2022-04-22T12:05:36.239Z] Removing intermediate container eb7e65bcd635 [2022-04-22T12:05:36.239Z] ---> 13fac5681111 [2022-04-22T12:05:36.239Z] Step 8/27 : WORKDIR /app [2022-04-22T12:05:36.239Z] ---> Running in c46c50ad0478 [2022-04-22T12:05:36.239Z] Removing intermediate container c46c50ad0478 [2022-04-22T12:05:36.239Z] ---> 4e8ed933778e [2022-04-22T12:05:36.239Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-22T12:05:36.500Z] ---> 16063446dbbb [2022-04-22T12:05:36.500Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T12:05:36.500Z] ---> Running in d2b63a119d01 [2022-04-22T12:05:37.072Z] Removing intermediate container d2b63a119d01 [2022-04-22T12:05:37.072Z] ---> e2c403544e63 [2022-04-22T12:05:37.072Z] Step 11/27 : COPY . . [2022-04-22T12:05:37.332Z] ---> c16e073041c2 [2022-04-22T12:05:37.332Z] Step 12/27 : ARG MAKE="make build" [2022-04-22T12:05:37.594Z] ---> Running in 0e73e1781613 [2022-04-22T12:05:37.594Z] Removing intermediate container 0e73e1781613 [2022-04-22T12:05:37.594Z] ---> 0fbfb7436a93 [2022-04-22T12:05:37.594Z] Step 13/27 : RUN $MAKE [2022-04-22T12:05:37.594Z] ---> Running in c49cc7cd3064 [2022-04-22T12:05:37.856Z] 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-22T12:05:59.826Z] Removing intermediate container c49cc7cd3064 [2022-04-22T12:05:59.826Z] ---> 0f70dbb165d0 [2022-04-22T12:05:59.826Z] Step 14/27 : FROM alpine:3.14 [2022-04-22T12:05:59.826Z] 3.14: Pulling from library/alpine [2022-04-22T12:05:59.826Z] 8663204ce13b: Pulling fs layer [2022-04-22T12:05:59.826Z] 8663204ce13b: Verifying Checksum [2022-04-22T12:05:59.826Z] 8663204ce13b: Download complete [2022-04-22T12:05:59.826Z] 8663204ce13b: Pull complete [2022-04-22T12:05:59.826Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T12:05:59.826Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T12:05:59.826Z] ---> e04c818066af [2022-04-22T12:05:59.826Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:05:59.826Z] ---> Running in c7543dae6692 [2022-04-22T12:05:59.826Z] Removing intermediate container c7543dae6692 [2022-04-22T12:05:59.826Z] ---> 92cfcd336a75 [2022-04-22T12:05:59.826Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-22T12:05:59.826Z] ---> Running in 2f5a0b9067f6 [2022-04-22T12:05:59.827Z] Removing intermediate container 2f5a0b9067f6 [2022-04-22T12:05:59.827Z] ---> a7882514a3d0 [2022-04-22T12:05:59.827Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-22T12:05:59.827Z] ---> Running in 1a31dc76f384 [2022-04-22T12:05:59.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T12:06:00.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T12:06:00.347Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-22T12:06:00.347Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-22T12:06:00.347Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T12:06:00.347Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-22T12:06:00.347Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T12:06:00.347Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-22T12:06:00.347Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-22T12:06:00.347Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T12:06:00.347Z] Executing ca-certificates-20211220-r0.trigger [2022-04-22T12:06:00.347Z] OK: 9 MiB in 21 packages [2022-04-22T12:06:01.289Z] Removing intermediate container 1a31dc76f384 [2022-04-22T12:06:01.289Z] ---> 96f1229270b5 [2022-04-22T12:06:01.289Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-22T12:06:01.289Z] ---> 677f6663d153 [2022-04-22T12:06:01.289Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-22T12:06:01.289Z] ---> f3292cdb7bea [2022-04-22T12:06:01.289Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-22T12:06:01.549Z] ---> a98fcacc3835 [2022-04-22T12:06:01.549Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-22T12:06:02.123Z] ---> 4c667c08c049 [2022-04-22T12:06:02.123Z] Step 22/27 : EXPOSE 48095 [2022-04-22T12:06:02.123Z] ---> Running in df8f21cc0551 [2022-04-22T12:06:02.384Z] Removing intermediate container df8f21cc0551 [2022-04-22T12:06:02.384Z] ---> a9b4e38e24f1 [2022-04-22T12:06:02.384Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-22T12:06:02.384Z] ---> Running in 9d7d43777095 [2022-04-22T12:06:02.384Z] Removing intermediate container 9d7d43777095 [2022-04-22T12:06:02.384Z] ---> 21032b6d6672 [2022-04-22T12:06:02.384Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T12:06:02.646Z] ---> Running in f454cc495f99 [2022-04-22T12:06:02.646Z] Removing intermediate container f454cc495f99 [2022-04-22T12:06:02.646Z] ---> cd0a2e9a2e62 [2022-04-22T12:06:02.646Z] Step 25/27 : LABEL arch=amd64 [2022-04-22T12:06:02.646Z] ---> Running in d801c7e4d76b [2022-04-22T12:06:02.646Z] Removing intermediate container d801c7e4d76b [2022-04-22T12:06:02.646Z] ---> ae95ee20134f [2022-04-22T12:06:02.646Z] Step 26/27 : LABEL git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [2022-04-22T12:06:02.908Z] ---> Running in 162bfdc86ca3 [2022-04-22T12:06:02.908Z] Removing intermediate container 162bfdc86ca3 [2022-04-22T12:06:02.908Z] ---> 92433feee1b9 [2022-04-22T12:06:02.908Z] Step 27/27 : LABEL version=0.0.0 [2022-04-22T12:06:02.908Z] ---> Running in a30436d8a79e [2022-04-22T12:06:02.908Z] Removing intermediate container a30436d8a79e [2022-04-22T12:06:02.908Z] ---> 542a725a0e8c [2022-04-22T12:06:02.908Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T12:06:02.908Z] Successfully built 542a725a0e8c [2022-04-22T12:06:03.170Z] 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-22T12:06:04.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T12:06:04.016Z] [2022-04-22T12:06:04.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:06:04.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T12:06:04.362Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T12:06:04.362Z] 5eb5b503b376: Pulling fs layer [2022-04-22T12:06:04.362Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T12:06:04.362Z] ec43610c2a17: Pulling fs layer [2022-04-22T12:06:04.362Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T12:06:04.362Z] 33b1e0a273af: Pulling fs layer [2022-04-22T12:06:04.362Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T12:06:04.362Z] 2f39f015ded8: Pulling fs layer [2022-04-22T12:06:04.362Z] 3a2ae6a8a46f: Waiting [2022-04-22T12:06:04.362Z] 33b1e0a273af: Waiting [2022-04-22T12:06:04.362Z] 5d3b04190fa2: Waiting [2022-04-22T12:06:04.362Z] 2f39f015ded8: Waiting [2022-04-22T12:06:04.362Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T12:06:04.362Z] 5c69ac0246d0: Download complete [2022-04-22T12:06:04.362Z] 3a2ae6a8a46f: Download complete [2022-04-22T12:06:04.623Z] 33b1e0a273af: Verifying Checksum [2022-04-22T12:06:04.623Z] 33b1e0a273af: Download complete [2022-04-22T12:06:04.623Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T12:06:04.623Z] 5d3b04190fa2: Download complete [2022-04-22T12:06:04.623Z] ec43610c2a17: Verifying Checksum [2022-04-22T12:06:04.623Z] ec43610c2a17: Download complete [2022-04-22T12:06:04.623Z] 5eb5b503b376: Verifying Checksum [2022-04-22T12:06:04.623Z] 5eb5b503b376: Download complete [2022-04-22T12:06:05.194Z] 2f39f015ded8: Verifying Checksum [2022-04-22T12:06:05.194Z] 2f39f015ded8: Download complete [2022-04-22T12:06:05.763Z] 5eb5b503b376: Pull complete [2022-04-22T12:06:06.024Z] 5c69ac0246d0: Pull complete [2022-04-22T12:06:06.596Z] ec43610c2a17: Pull complete [2022-04-22T12:06:06.596Z] 3a2ae6a8a46f: Pull complete [2022-04-22T12:06:06.856Z] 33b1e0a273af: Pull complete [2022-04-22T12:06:06.856Z] 5d3b04190fa2: Pull complete [2022-04-22T12:06:11.063Z] 2f39f015ded8: Pull complete [2022-04-22T12:06:11.063Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T12:06:11.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T12:06:11.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T12:06:11.159Z] prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container [2022-04-22T12:06:11.206Z] $ 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-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T12:06:13.041Z] $ docker top 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:06:13.549Z] ---> job-cost.sh [2022-04-22T12:06:13.549Z] lf-activate-venv: SKIPPING [2022-04-22T12:06:13.549Z] INFO: No Stack... [2022-04-22T12:06:13.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T12:06:14.388Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T12:06:14.710Z] + cat /w/workspace/_app-service-configurable_PR-406/archives/cost.csv [2022-04-22T12:06:14.710Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T12:06:14.759Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [2022-04-22T12:06:14.765Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] did not exist. Created. [2022-04-22T12:06:14.766Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T12:06:15.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T12:06:15.210Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T12:06:15.237Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T12:06:15.316Z] $ docker stop --time=1 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e [2022-04-22T12:06:16.488Z] $ docker rm -f 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T12:06:33.507Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21781 in /w/workspace/_app-service-configurable_PR-406 [Pipeline] { [Pipeline] ws [2022-04-22T12:06:33.546Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-22T12:06:33.829Z] Selected Git installation does not exist. Using Default [2022-04-22T12:06:33.829Z] The recommended git tool is: NONE [2022-04-22T12:06:38.709Z] using credential edgex-jenkins-ssh [2022-04-22T12:06:38.727Z] Cloning the remote Git repository [2022-04-22T12:06:38.786Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-22T12:06:38.859Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-22T12:06:38.951Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-22T12:06:38.952Z] > git --version # timeout=10 [2022-04-22T12:06:38.974Z] > git --version # 'git version 2.25.1' [2022-04-22T12:06:38.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T12:06:39.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T12:06:40.809Z] Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [2022-04-22T12:06:41.002Z] Merge succeeded, producing 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [2022-04-22T12:06:41.002Z] Checking out Revision 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 (PR-406) [2022-04-22T12:06:40.175Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-22T12:06:40.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T12:06:40.230Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-22T12:06:40.265Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-22T12:06:40.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T12:06:40.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T12:06:40.832Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T12:06:40.847Z] > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 [2022-04-22T12:06:40.928Z] > git remote # timeout=10 [2022-04-22T12:06:40.945Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T12:06:40.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T12:06:40.969Z] > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 [2022-04-22T12:06:40.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T12:06:41.015Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T12:06:41.032Z] > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 [2022-04-22T12:06:45.148Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-04-22T12:06:45.215Z] > git --version # timeout=10 [2022-04-22T12:06:45.226Z] > git --version # 'git version 2.25.1' [2022-04-22T12:06:45.241Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T12:06:46.393Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T12:06:46.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T12:06:46.393Z] Dload Upload Total Spent Left Speed [2022-04-22T12:06:46.393Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97876 [Pipeline] sh [2022-04-22T12:06:46.943Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T12:06:47.355Z] + + sudo tee /etc/docker/daemon.new [2022-04-22T12:06:47.355Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T12:06:47.355Z] { [2022-04-22T12:06:47.355Z] "registry-mirrors": [ [2022-04-22T12:06:47.355Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T12:06:47.355Z] ], [2022-04-22T12:06:47.355Z] "bip": "10.250.0.254/24", [2022-04-22T12:06:47.355Z] "hosts": [ [2022-04-22T12:06:47.355Z] "tcp://0.0.0.0:5555", [2022-04-22T12:06:47.355Z] "unix:///var/run/docker.sock" [2022-04-22T12:06:47.355Z] ], [2022-04-22T12:06:47.355Z] "mtu": 1458, [2022-04-22T12:06:47.355Z] "selinux-enabled": true, [2022-04-22T12:06:47.355Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T12:06:47.355Z] } [Pipeline] sh [2022-04-22T12:06:47.717Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T12:06:48.075Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T12:07:06.471Z] provisioning config files... [2022-04-22T12:07:06.496Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config660462421374572964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:07:07.091Z] ---> docker-login.sh [2022-04-22T12:07:07.091Z] nexus3.edgexfoundry.org:10001 [2022-04-22T12:07:07.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:07:07.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:07:07.965Z] Configure a credential helper to remove this warning. See [2022-04-22T12:07:07.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:07:07.965Z] [2022-04-22T12:07:07.965Z] Login Succeeded [2022-04-22T12:07:07.965Z] nexus3.edgexfoundry.org:10002 [2022-04-22T12:07:08.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:07:08.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:07:08.516Z] Configure a credential helper to remove this warning. See [2022-04-22T12:07:08.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:07:08.516Z] [2022-04-22T12:07:08.516Z] Login Succeeded [2022-04-22T12:07:08.516Z] nexus3.edgexfoundry.org:10003 [2022-04-22T12:07:08.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:07:08.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:07:08.800Z] Configure a credential helper to remove this warning. See [2022-04-22T12:07:08.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:07:08.800Z] [2022-04-22T12:07:08.800Z] Login Succeeded [2022-04-22T12:07:08.800Z] nexus3.edgexfoundry.org:10004 [2022-04-22T12:07:09.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:07:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:07:09.401Z] Configure a credential helper to remove this warning. See [2022-04-22T12:07:09.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:07:09.401Z] [2022-04-22T12:07:09.401Z] Login Succeeded [2022-04-22T12:07:09.401Z] docker.io [2022-04-22T12:07:09.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T12:07:10.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T12:07:10.270Z] Configure a credential helper to remove this warning. See [2022-04-22T12:07:10.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T12:07:10.270Z] [2022-04-22T12:07:10.270Z] Login Succeeded [2022-04-22T12:07:10.270Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T12:07:10.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T12:07:10.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T12:07:10.696Z] ========================================================= [2022-04-22T12:07:10.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T12:07:10.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:07:11.138Z] + 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-22T12:07:11.138Z] Sending build context to Docker daemon 218.1kB [2022-04-22T12:07:11.413Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T12:07:11.413Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-22T12:07:11.694Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T12:07:11.694Z] 9b3977197b4f: Pulling fs layer [2022-04-22T12:07:11.694Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T12:07:11.694Z] 94645a83ff95: Pulling fs layer [2022-04-22T12:07:11.694Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T12:07:11.694Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T12:07:11.694Z] f7c0051592d6: Pulling fs layer [2022-04-22T12:07:11.694Z] a227ed2f7395: Pulling fs layer [2022-04-22T12:07:11.694Z] 7b1c46037f91: Pulling fs layer [2022-04-22T12:07:11.694Z] 0c92f367c5e7: Waiting [2022-04-22T12:07:11.694Z] f7c0051592d6: Waiting [2022-04-22T12:07:11.694Z] a227ed2f7395: Waiting [2022-04-22T12:07:11.694Z] 7b1c46037f91: Waiting [2022-04-22T12:07:11.694Z] 94645a83ff95: Download complete [2022-04-22T12:07:11.694Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T12:07:11.694Z] 1a89e8eeedd5: Download complete [2022-04-22T12:07:11.694Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T12:07:11.694Z] 0c92f367c5e7: Download complete [2022-04-22T12:07:11.694Z] f7c0051592d6: Download complete [2022-04-22T12:07:11.694Z] 9b3977197b4f: Verifying Checksum [2022-04-22T12:07:11.694Z] 9b3977197b4f: Download complete [2022-04-22T12:07:11.694Z] a227ed2f7395: Verifying Checksum [2022-04-22T12:07:11.694Z] a227ed2f7395: Download complete [2022-04-22T12:07:12.297Z] 9b3977197b4f: Pull complete [2022-04-22T12:07:12.903Z] 1a89e8eeedd5: Pull complete [2022-04-22T12:07:13.182Z] 94645a83ff95: Pull complete [2022-04-22T12:07:13.782Z] 7b1c46037f91: Verifying Checksum [2022-04-22T12:07:13.782Z] 7b1c46037f91: Download complete [2022-04-22T12:07:14.381Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T12:07:14.381Z] 3f3a8bcf1eab: Download complete [2022-04-22T12:07:26.809Z] 3f3a8bcf1eab: Pull complete [2022-04-22T12:07:26.809Z] 0c92f367c5e7: Pull complete [2022-04-22T12:07:26.809Z] f7c0051592d6: Pull complete [2022-04-22T12:07:26.809Z] a227ed2f7395: Pull complete [2022-04-22T12:07:33.551Z] 7b1c46037f91: Pull complete [2022-04-22T12:07:33.551Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T12:07:33.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T12:07:33.551Z] ---> f79e39bc4007 [2022-04-22T12:07:33.551Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-22T12:07:33.829Z] ---> Running in 28091ab11d6d [2022-04-22T12:07:34.105Z] Removing intermediate container 28091ab11d6d [2022-04-22T12:07:34.105Z] ---> 0870a55a3487 [2022-04-22T12:07:34.105Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T12:07:34.105Z] ---> Running in f456b19fa806 [2022-04-22T12:07:34.386Z] Removing intermediate container f456b19fa806 [2022-04-22T12:07:34.386Z] ---> 06d693963810 [2022-04-22T12:07:34.386Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:07:34.671Z] ---> Running in d24e0fe0581b [2022-04-22T12:07:34.948Z] Removing intermediate container d24e0fe0581b [2022-04-22T12:07:34.948Z] ---> 5b8bdf608c83 [2022-04-22T12:07:34.948Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T12:07:34.948Z] ---> Running in fb4b14f40d95 [2022-04-22T12:07:37.599Z] Removing intermediate container fb4b14f40d95 [2022-04-22T12:07:37.599Z] ---> cd4d3fad7e06 [2022-04-22T12:07:37.599Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T12:07:37.599Z] ---> Running in 59e7d73ee8ce [2022-04-22T12:07:38.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T12:07:39.562Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T12:07:40.162Z] OK: 220 MiB in 52 packages [2022-04-22T12:07:41.148Z] Removing intermediate container 59e7d73ee8ce [2022-04-22T12:07:41.148Z] ---> 4103bb4c3326 [2022-04-22T12:07:41.148Z] Step 8/13 : WORKDIR /app [2022-04-22T12:07:41.148Z] ---> Running in 11c7a85f8e1a [2022-04-22T12:07:41.423Z] Removing intermediate container 11c7a85f8e1a [2022-04-22T12:07:41.423Z] ---> c33b82769005 [2022-04-22T12:07:41.423Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-22T12:07:42.025Z] ---> 92c6e6eb481b [2022-04-22T12:07:42.025Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T12:07:42.025Z] ---> Running in c66e5b3c4bf4 [2022-04-22T12:08:29.068Z] Removing intermediate container c66e5b3c4bf4 [2022-04-22T12:08:29.068Z] ---> 1a44c321f23f [2022-04-22T12:08:29.068Z] Step 11/13 : COPY . . [2022-04-22T12:08:29.068Z] ---> 009345e37be3 [2022-04-22T12:08:29.068Z] Step 12/13 : ARG MAKE="make build" [2022-04-22T12:08:29.068Z] ---> Running in 47148a7c7b0c [2022-04-22T12:08:29.068Z] Removing intermediate container 47148a7c7b0c [2022-04-22T12:08:29.068Z] ---> a35b001f46b4 [2022-04-22T12:08:29.068Z] Step 13/13 : RUN $MAKE [2022-04-22T12:08:29.068Z] ---> Running in b0373567abf4 [2022-04-22T12:08:29.068Z] noop [2022-04-22T12:08:29.068Z] Removing intermediate container b0373567abf4 [2022-04-22T12:08:29.068Z] ---> d0f17f022544 [2022-04-22T12:08:29.068Z] Successfully built d0f17f022544 [2022-04-22T12:08:29.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:08:29.438Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T12:08:29.438Z] . [Pipeline] withDockerContainer [2022-04-22T12:08:29.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container [2022-04-22T12:08:29.773Z] $ 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-22T12:08:31.088Z] $ docker top e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T12:08:32.036Z] + go version [2022-04-22T12:08:32.036Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T12:08:32.078Z] $ docker stop --time=1 e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 [2022-04-22T12:08:33.728Z] $ docker rm -f e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:08:34.612Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T12:08:34.612Z] . [Pipeline] withDockerContainer [2022-04-22T12:08:34.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container [2022-04-22T12:08:34.952Z] $ 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-22T12:08:36.175Z] $ docker top 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T12:08:37.191Z] + make test [2022-04-22T12:08:37.191Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-22T12:09:59.024Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-22T12:09:59.024Z] CGO_ENABLED=1 go vet ./... [2022-04-22T12:10:17.428Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T12:10:17.428Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T12:10:17.428Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T12:10:20.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T12:10:20.125Z] $ docker stop --time=1 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 [2022-04-22T12:10:21.855Z] $ docker rm -f 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T12:10:22.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T12:10:22.949Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T12:10:23.389Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T12:10:23.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T12:10:24.322Z] + ls -al . [2022-04-22T12:10:24.322Z] total 180 [2022-04-22T12:10:24.322Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 22 12:10 . [2022-04-22T12:10:24.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:06 .. [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:06 .dockerignore [2022-04-22T12:10:24.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:06 .git [2022-04-22T12:10:24.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:06 .github [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:06 .gitignore [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:06 Attribution.txt [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:06 CHANGELOG.md [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:06 Dockerfile [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:06 GOVERNANCE.md [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:06 Jenkinsfile [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:06 LICENSE [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:06 OWNERS.md [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:06 README.md [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:04 VERSION [2022-04-22T12:10:24.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:06 bin [2022-04-22T12:10:24.322Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:08 coverage.out [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:06 go.mod [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 54185 Apr 22 12:06 go.sum [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:06 main.go [2022-04-22T12:10:24.322Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:06 makefile [2022-04-22T12:10:24.322Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 res [2022-04-22T12:10:24.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:06 snap [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:10:24.688Z] + 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=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 --label arch=arm64 --label version=0.0.0 . [2022-04-22T12:10:24.688Z] Sending build context to Docker daemon 219.1kB [2022-04-22T12:10:24.962Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T12:10:24.962Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-22T12:10:24.962Z] ---> d0f17f022544 [2022-04-22T12:10:24.962Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-22T12:10:24.962Z] ---> Running in 2017526b1318 [2022-04-22T12:10:25.238Z] Removing intermediate container 2017526b1318 [2022-04-22T12:10:25.238Z] ---> b6c7b851d7ba [2022-04-22T12:10:25.238Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T12:10:25.518Z] ---> Running in 25b44b8a033b [2022-04-22T12:10:25.795Z] Removing intermediate container 25b44b8a033b [2022-04-22T12:10:25.795Z] ---> fe3baa2ff3c1 [2022-04-22T12:10:25.795Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:10:25.795Z] ---> Running in f1126d1ba7df [2022-04-22T12:10:26.086Z] Removing intermediate container f1126d1ba7df [2022-04-22T12:10:26.086Z] ---> df44bbf78259 [2022-04-22T12:10:26.086Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T12:10:26.086Z] ---> Running in 0301d44a0c33 [2022-04-22T12:10:28.075Z] Removing intermediate container 0301d44a0c33 [2022-04-22T12:10:28.075Z] ---> 51820bdb8733 [2022-04-22T12:10:28.075Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T12:10:28.075Z] ---> Running in 0e9807650f34 [2022-04-22T12:10:29.058Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T12:10:29.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T12:10:30.639Z] OK: 220 MiB in 52 packages [2022-04-22T12:10:31.632Z] Removing intermediate container 0e9807650f34 [2022-04-22T12:10:31.632Z] ---> c82e8a13d92d [2022-04-22T12:10:31.632Z] Step 8/27 : WORKDIR /app [2022-04-22T12:10:31.632Z] ---> Running in f6a90a177c3a [2022-04-22T12:10:31.907Z] Removing intermediate container f6a90a177c3a [2022-04-22T12:10:31.907Z] ---> d02260549f28 [2022-04-22T12:10:31.907Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-22T12:10:32.506Z] ---> 261882219b50 [2022-04-22T12:10:32.506Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T12:10:32.506Z] ---> Running in cfab30409fc4 [2022-04-22T12:10:34.491Z] Removing intermediate container cfab30409fc4 [2022-04-22T12:10:34.491Z] ---> 6a7344862bf0 [2022-04-22T12:10:34.491Z] Step 11/27 : COPY . . [2022-04-22T12:10:35.087Z] ---> 5c0c9077fa94 [2022-04-22T12:10:35.087Z] Step 12/27 : ARG MAKE="make build" [2022-04-22T12:10:35.087Z] ---> Running in ea6f460d863c [2022-04-22T12:10:35.364Z] Removing intermediate container ea6f460d863c [2022-04-22T12:10:35.364Z] ---> ab26c0dba07b [2022-04-22T12:10:35.364Z] Step 13/27 : RUN $MAKE [2022-04-22T12:10:35.364Z] ---> Running in 071bbae03efd [2022-04-22T12:10:36.354Z] 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-22T12:12:43.250Z] Removing intermediate container 071bbae03efd [2022-04-22T12:12:43.250Z] ---> 9f20b56d985f [2022-04-22T12:12:43.250Z] Step 14/27 : FROM alpine:3.14 [2022-04-22T12:12:43.250Z] 3.14: Pulling from library/alpine [2022-04-22T12:12:43.250Z] 455c02918c45: Pulling fs layer [2022-04-22T12:12:43.250Z] 455c02918c45: Verifying Checksum [2022-04-22T12:12:43.250Z] 455c02918c45: Download complete [2022-04-22T12:12:43.250Z] 455c02918c45: Pull complete [2022-04-22T12:12:43.250Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T12:12:43.250Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T12:12:43.250Z] ---> ac73e934f311 [2022-04-22T12:12:43.250Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-22T12:12:43.250Z] ---> Running in 7ecdbfa4f224 [2022-04-22T12:12:43.251Z] Removing intermediate container 7ecdbfa4f224 [2022-04-22T12:12:43.251Z] ---> 8300c38b6dea [2022-04-22T12:12:43.251Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-22T12:12:43.251Z] ---> Running in 554f794e95e5 [2022-04-22T12:12:43.251Z] Removing intermediate container 554f794e95e5 [2022-04-22T12:12:43.251Z] ---> a5d591e971b2 [2022-04-22T12:12:43.251Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-22T12:12:43.251Z] ---> Running in b18f8d8b1193 [2022-04-22T12:12:43.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T12:12:43.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T12:12:43.251Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-22T12:12:43.251Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-22T12:12:43.251Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T12:12:43.251Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-22T12:12:43.251Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T12:12:43.251Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-22T12:12:43.251Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-22T12:12:43.251Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T12:12:43.251Z] Executing ca-certificates-20211220-r0.trigger [2022-04-22T12:12:43.251Z] OK: 9 MiB in 21 packages [2022-04-22T12:12:43.251Z] Removing intermediate container b18f8d8b1193 [2022-04-22T12:12:43.251Z] ---> bbb4b3cf38bd [2022-04-22T12:12:43.251Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-22T12:12:43.251Z] ---> e20cc033dd8f [2022-04-22T12:12:43.251Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-22T12:12:43.251Z] ---> 8f65a974a185 [2022-04-22T12:12:43.251Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-22T12:12:43.251Z] ---> 87543283d5ca [2022-04-22T12:12:43.251Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-22T12:12:43.251Z] ---> 6d7ec4acb437 [2022-04-22T12:12:43.251Z] Step 22/27 : EXPOSE 48095 [2022-04-22T12:12:43.251Z] ---> Running in 6c77c479c817 [2022-04-22T12:12:43.251Z] Removing intermediate container 6c77c479c817 [2022-04-22T12:12:43.251Z] ---> cd648962b474 [2022-04-22T12:12:43.251Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-22T12:12:43.251Z] ---> Running in 5478e223c279 [2022-04-22T12:12:43.251Z] Removing intermediate container 5478e223c279 [2022-04-22T12:12:43.251Z] ---> f6529b9f15bd [2022-04-22T12:12:43.251Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T12:12:43.251Z] ---> Running in 8ccab4c555ad [2022-04-22T12:12:43.251Z] Removing intermediate container 8ccab4c555ad [2022-04-22T12:12:43.251Z] ---> e2f4093e192e [2022-04-22T12:12:43.251Z] Step 25/27 : LABEL arch=arm64 [2022-04-22T12:12:43.251Z] ---> Running in e1529bdcbdf0 [2022-04-22T12:12:43.251Z] Removing intermediate container e1529bdcbdf0 [2022-04-22T12:12:43.251Z] ---> 95b744220d11 [2022-04-22T12:12:43.251Z] Step 26/27 : LABEL git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [2022-04-22T12:12:43.251Z] ---> Running in ca7dee3f73c4 [2022-04-22T12:12:43.251Z] Removing intermediate container ca7dee3f73c4 [2022-04-22T12:12:43.251Z] ---> bc40afa18323 [2022-04-22T12:12:43.251Z] Step 27/27 : LABEL version=0.0.0 [2022-04-22T12:12:43.251Z] ---> Running in f6bb12151259 [2022-04-22T12:12:43.251Z] Removing intermediate container f6bb12151259 [2022-04-22T12:12:43.251Z] ---> c0a51f0a2e49 [2022-04-22T12:12:43.251Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T12:12:43.251Z] Successfully built c0a51f0a2e49 [2022-04-22T12:12:43.251Z] 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-22T12:12:43.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T12:12:43.947Z] [2022-04-22T12:12:43.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:12:44.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T12:12:44.605Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T12:12:44.605Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T12:12:44.605Z] 04944245beec: Pulling fs layer [2022-04-22T12:12:44.605Z] 699f458cf7ca: Pulling fs layer [2022-04-22T12:12:44.605Z] 765212b225bb: Pulling fs layer [2022-04-22T12:12:44.605Z] f23df028b6ca: Pulling fs layer [2022-04-22T12:12:44.605Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T12:12:44.605Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T12:12:44.605Z] 765212b225bb: Waiting [2022-04-22T12:12:44.605Z] d65c8cfc05b1: Waiting [2022-04-22T12:12:44.605Z] 2437ff75d9bd: Waiting [2022-04-22T12:12:44.605Z] f23df028b6ca: Waiting [2022-04-22T12:12:44.605Z] 04944245beec: Verifying Checksum [2022-04-22T12:12:44.605Z] 04944245beec: Download complete [2022-04-22T12:12:44.605Z] 765212b225bb: Download complete [2022-04-22T12:12:44.605Z] f23df028b6ca: Verifying Checksum [2022-04-22T12:12:44.605Z] f23df028b6ca: Download complete [2022-04-22T12:12:44.605Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T12:12:44.605Z] d65c8cfc05b1: Download complete [2022-04-22T12:12:44.887Z] 699f458cf7ca: Verifying Checksum [2022-04-22T12:12:44.887Z] 699f458cf7ca: Download complete [2022-04-22T12:12:45.164Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T12:12:45.164Z] 8998bd30e6a1: Download complete [2022-04-22T12:12:47.791Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T12:12:47.791Z] 2437ff75d9bd: Download complete [2022-04-22T12:12:49.791Z] 8998bd30e6a1: Pull complete [2022-04-22T12:12:49.791Z] 04944245beec: Pull complete [2022-04-22T12:12:51.236Z] 699f458cf7ca: Pull complete [2022-04-22T12:12:51.513Z] 765212b225bb: Pull complete [2022-04-22T12:12:52.500Z] f23df028b6ca: Pull complete [2022-04-22T12:12:52.776Z] d65c8cfc05b1: Pull complete [2022-04-22T12:13:07.887Z] 2437ff75d9bd: Pull complete [2022-04-22T12:13:07.887Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T12:13:07.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T12:13:07.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T12:13:08.125Z] prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container [2022-04-22T12:13:08.217Z] $ 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-22T12:13:10.781Z] $ docker top 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:11.758Z] ---> job-cost.sh [2022-04-22T12:13:11.758Z] lf-activate-venv: SKIPPING [2022-04-22T12:13:11.758Z] INFO: No Stack... [2022-04-22T12:13:12.030Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T12:13:13.008Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T12:13:13.690Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-22T12:13:13.690Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T12:13:13.768Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [2022-04-22T12:13:13.773Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] did not exist. Created. [2022-04-22T12:13:13.773Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T12:13:14.520Z] /w/workspace/app-service-configurable/1@tmp/durable-8e075c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T12:13:15.224Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T12:13:15.262Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T12:13:15.313Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T12:13:15.327Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T12:13:15.406Z] $ docker stop --time=1 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b [2022-04-22T12:13:16.913Z] $ docker rm -f 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b [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-22T12:13:17.911Z] provisioning config files... [2022-04-22T12:13:17.921Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config2092202231291375tmp [Pipeline] { [Pipeline] sh [2022-04-22T12:13:18.259Z] + set +x [2022-04-22T12:13:18.259Z] + curl -s https://codecov.io/bash [2022-04-22T12:13:18.259Z] + bash -s -- [2022-04-22T12:13:18.259Z] [2022-04-22T12:13:18.259Z] _____ _ [2022-04-22T12:13:18.259Z] / ____| | | [2022-04-22T12:13:18.259Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T12:13:18.259Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T12:13:18.259Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T12:13:18.259Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T12:13:18.259Z] Bash-1.0.6 [2022-04-22T12:13:18.259Z] [2022-04-22T12:13:18.259Z] [2022-04-22T12:13:18.259Z] ==> git version 2.25.1 found [2022-04-22T12:13:18.259Z] ==> 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-22T12:13:18.259Z] Release-Date: 2020-01-08 [2022-04-22T12:13:18.259Z] 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-22T12:13:18.259Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T12:13:18.259Z] ==> Jenkins CI detected. [2022-04-22T12:13:18.259Z] current dir:  /w/workspace/_app-service-configurable_PR-406 [2022-04-22T12:13:18.259Z] project root: . [2022-04-22T12:13:18.259Z] --> token set from env [2022-04-22T12:13:18.259Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T12:13:18.259Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T12:13:18.259Z] ==> Python coveragepy not found [2022-04-22T12:13:18.259Z] ==> Searching for coverage reports in: [2022-04-22T12:13:18.259Z] + . [2022-04-22T12:13:18.259Z] -> Found 1 reports [2022-04-22T12:13:18.259Z] ==> Detecting git/mercurial file structure [2022-04-22T12:13:18.259Z] ==> Reading reports [2022-04-22T12:13:18.259Z] + ./coverage.out bytes=10 [2022-04-22T12:13:18.520Z] ==> Appending adjustments [2022-04-22T12:13:18.520Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T12:13:18.520Z] + Found adjustments [2022-04-22T12:13:18.520Z] ==> Gzipping contents [2022-04-22T12:13:18.520Z] 4.0K /tmp/codecov.SO3U97.gz [2022-04-22T12:13:18.520Z] ==> Uploading reports [2022-04-22T12:13:18.520Z] url: https://codecov.io [2022-04-22T12:13:18.520Z] query: branch=PR-406&commit=691e404553cc9db5d1d6fc168f2c259f64b3b6f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=406&job=&cmd_args= [2022-04-22T12:13:18.520Z] -> Pinging Codecov [2022-04-22T12:13:18.520Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-406&commit=691e404553cc9db5d1d6fc168f2c259f64b3b6f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=406&job=&cmd_args= [2022-04-22T12:13:18.781Z] -> Uploading to [2022-04-22T12:13:18.781Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/A97CA9966030D2A3747ED39772930CCE/691e404553cc9db5d1d6fc168f2c259f64b3b6f3/9b2d053b-26d5-4a62-a424-7356d50e41d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T121318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08869c8350cf053a46691ccd437209ea92164ec1338c8e634a6e21d6840ce84e [2022-04-22T12:13:18.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T12:13:18.781Z] Dload Upload Total Spent Left Speed [2022-04-22T12:13:19.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2574 --:--:-- --:--:-- --:--:-- 2563 100 569 0 0 100 569 0 2322 --:--:-- --:--:-- --:--:-- 2313 [2022-04-22T12:13:19.043Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] } [2022-04-22T12:13:19.068Z] 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-22T12:13:20.805Z] + [ -d /w/workspace/_app-service-configurable_PR-406/archives ] [2022-04-22T12:13:20.805Z] + ls -al /w/workspace/_app-service-configurable_PR-406/archives [2022-04-22T12:13:20.805Z] total 16 [2022-04-22T12:13:20.805Z] drwxr-xr-x 3 root root 4096 Apr 22 12:06 . [2022-04-22T12:13:20.805Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 .. [2022-04-22T12:13:20.805Z] drwxr-xr-x 2 root root 4096 Apr 22 12:06 cost [2022-04-22T12:13:20.805Z] -rw-r--r-- 1 root root 95 Apr 22 12:06 cost.csv [2022-04-22T12:13:20.805Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-406/archives [2022-04-22T12:13:20.805Z] + ls -al /w/workspace/_app-service-configurable_PR-406/archives [2022-04-22T12:13:20.805Z] total 16 [2022-04-22T12:13:20.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 12:06 . [2022-04-22T12:13:20.805Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 .. [2022-04-22T12:13:20.805Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 12:06 cost [2022-04-22T12:13:20.805Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 22 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:21.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:21.934Z] ---> package-listing.sh [2022-04-22T12:13:21.934Z] ++ facter osfamily [2022-04-22T12:13:21.934Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T12:13:22.196Z] + OS_FAMILY=debian [2022-04-22T12:13:22.196Z] + workspace=/w/workspace/_app-service-configurable_PR-406 [2022-04-22T12:13:22.196Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T12:13:22.196Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T12:13:22.196Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T12:13:22.196Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T12:13:22.196Z] + '[' /w/workspace/_app-service-configurable_PR-406 ']' [2022-04-22T12:13:22.196Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T12:13:22.196Z] + case "${OS_FAMILY}" in [2022-04-22T12:13:22.196Z] + dpkg -l [2022-04-22T12:13:22.196Z] + grep '^ii' [2022-04-22T12:13:22.196Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T12:13:22.196Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T12:13:22.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T12:13:22.196Z] + '[' /w/workspace/_app-service-configurable_PR-406 ']' [2022-04-22T12:13:22.196Z] + mkdir -p /w/workspace/_app-service-configurable_PR-406/archives/ [2022-04-22T12:13:22.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-406/archives/ [Pipeline] echo [2022-04-22T12:13:22.230Z] 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-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T12:13:22.531Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T12:13:23.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T12:13:23.115Z] . [Pipeline] withDockerContainer [2022-04-22T12:13:23.207Z] prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container [2022-04-22T12:13:23.243Z] $ 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-406/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-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@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-22T12:13:23.461Z] $ docker top 1bf54615d605cb8ee70fe8495c0998b4b386690dc32d7429d6db487d3eab4faf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T12:13:23.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T12:13:24.185Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T12:13:24.502Z] + ls /var/log/sa-host [2022-04-22T12:13:24.503Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T12:13:24.781Z] provisioning config files... [2022-04-22T12:13:24.794Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config153828930990088860tmp [Pipeline] { [Pipeline] echo [2022-04-22T12:13:24.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:25.165Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T12:13:25.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:25.613Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T12:13:25.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:25.974Z] ---> sudo-logs.sh [2022-04-22T12:13:25.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T12:13:26.055Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:26.385Z] ---> job-cost.sh [2022-04-22T12:13:26.385Z] lf-activate-venv: SKIPPING [2022-04-22T12:13:26.385Z] DEBUG: total: 0.2199999988079071 [2022-04-22T12:13:26.385Z] INFO: Retrieving Stack Cost... [2022-04-22T12:13:26.958Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T12:13:27.532Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T12:13:27.563Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T12:13:27.889Z] ---> logs-deploy.sh [2022-04-22T12:13:27.889Z] lf-activate-venv: SKIPPING [2022-04-22T12:13:27.889Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-406/1 [2022-04-22T12:13:27.889Z] INFO: archiving workspace using pattern(s): [2022-04-22T12:13:28.837Z] Archives upload complete. [2022-04-22T12:13:29.098Z] INFO: archiving logs to Nexus