Pull request #405 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4545a0dc65de264153a2b7cfb01ae096bab3884e+1a526f114784ef26915ff80fd995ea89bcf8e607 (4cef3412b94edee03189a72baf256bb6affda76d) 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-ssh6829510001845523394.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-ssh4674212272535642229.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5990366099251264877.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 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-ssh2286643487750057100.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-405/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3405009299575657322.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21360 in /w/workspace/_app-service-configurable_PR-405 [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-405 # 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 4545a0dc65de264153a2b7cfb01ae096bab3884e Merge succeeded, producing 4545a0dc65de264153a2b7cfb01ae096bab3884e Checking out Revision 4545a0dc65de264153a2b7cfb01ae096bab3884e (PR-405) > 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # 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 4545a0dc65de264153a2b7cfb01ae096bab3884e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git rev-list --no-walk 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-19T16:38:20.401Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-19T16:38:20.466Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-19T16:38:20.485Z] ========================================================= [2022-04-19T16:38:20.485Z] EdgeX Global Pipelines Version Info [2022-04-19T16:38:20.485Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:38:21.251Z] ------------------- [2022-04-19T16:38:21.251Z] stable info: [2022-04-19T16:38:21.251Z] ------------------- [2022-04-19T16:38:21.251Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T16:38:21.251Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-19T16:38:21.251Z] Message: update stable to v1.0.221 [2022-04-19T16:38:21.822Z] ------------------- [2022-04-19T16:38:21.822Z] experimental info: [2022-04-19T16:38:21.822Z] ------------------- [2022-04-19T16:38:21.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T16:38:21.822Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-19T16:38:21.822Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-19T16:38:21.958Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-19T16:38:21.973Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-19T16:38:21.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-19T16:38:21.997Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-19T16:38:22.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-19T16:38:22.026Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-19T16:38:22.040Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-19T16:38:22.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-19T16:38:22.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-19T16:38:22.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-19T16:38:22.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-19T16:38:22.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-19T16:38:22.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-19T16:38:22.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-19T16:38:22.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T16:38:22.163Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T16:38:22.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T16:38:22.201Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T16:38:22.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-19T16:38:22.233Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-19T16:38:22.252Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-19T16:38:22.271Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-19T16:38:22.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-19T16:38:22.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-19T16:38:22.316Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-19T16:38:22.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-19T16:38:22.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo [2022-04-19T16:38:22.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo [2022-04-19T16:38:22.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo [2022-04-19T16:38:22.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo [2022-04-19T16:38:22.390Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4545a0d [Pipeline] echo [2022-04-19T16:38:22.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T16:38:22.444Z] provisioning config files... [2022-04-19T16:38:22.457Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config1051306115232442389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:38:22.765Z] ---> docker-login.sh [2022-04-19T16:38:22.765Z] nexus3.edgexfoundry.org:10001 [2022-04-19T16:38:23.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:23.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:23.027Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:23.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:23.027Z] [2022-04-19T16:38:23.027Z] Login Succeeded [2022-04-19T16:38:23.027Z] nexus3.edgexfoundry.org:10002 [2022-04-19T16:38:23.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:23.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:23.287Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:23.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:23.287Z] [2022-04-19T16:38:23.287Z] Login Succeeded [2022-04-19T16:38:23.287Z] nexus3.edgexfoundry.org:10003 [2022-04-19T16:38:23.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:23.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:23.287Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:23.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:23.287Z] [2022-04-19T16:38:23.287Z] Login Succeeded [2022-04-19T16:38:23.287Z] nexus3.edgexfoundry.org:10004 [2022-04-19T16:38:23.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:23.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:23.549Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:23.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:23.549Z] [2022-04-19T16:38:23.549Z] Login Succeeded [2022-04-19T16:38:23.549Z] docker.io [2022-04-19T16:38:23.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:23.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:23.809Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:23.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:23.809Z] [2022-04-19T16:38:23.809Z] Login Succeeded [2022-04-19T16:38:23.809Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T16:38:23.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-19T16:38:24.209Z] + git rev-list -1 --merges 4545a0dc65de264153a2b7cfb01ae096bab3884e~1..4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo [2022-04-19T16:38:24.331Z] -----------> git rev-list -1 --merges 4545a0dc65de264153a2b7cfb01ae096bab3884e~1..4545a0dc65de264153a2b7cfb01ae096bab3884e 4545a0dc65de264153a2b7cfb01ae096bab3884e [false] [Pipeline] sh [2022-04-19T16:38:24.625Z] + git log --format=format:%s -1 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo [2022-04-19T16:38:24.642Z] ========================================================= [2022-04-19T16:38:24.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-19T16:38:24.643Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T16:38:24.964Z] + git log --format=format:%s -1 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo [2022-04-19T16:38:24.977Z] [semverPrep] GIT_COMMIT: 4545a0dc65de264153a2b7cfb01ae096bab3884e, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-19T16:38:24.986Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-19T16:38:25.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-19T16:38:25.390Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-19T16:38:25.390Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-19T16:38:25.390Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-19T16:38:25.390Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-19T16:38:25.390Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-19T16:38:25.390Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:38:25.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T16:38:25.742Z] [2022-04-19T16:38:25.742Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:38:26.041Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T16:38:26.041Z] latest: Pulling from edgex-devops/git-semver [2022-04-19T16:38:26.041Z] a0d0a0d46f8b: Pulling fs layer [2022-04-19T16:38:26.041Z] 3e5f54012d9b: Pulling fs layer [2022-04-19T16:38:26.041Z] 4c7163046ea9: Pulling fs layer [2022-04-19T16:38:26.041Z] 0c2d73faf560: Pulling fs layer [2022-04-19T16:38:26.041Z] 0c2d73faf560: Waiting [2022-04-19T16:38:26.041Z] 3e5f54012d9b: Download complete [2022-04-19T16:38:26.041Z] a0d0a0d46f8b: Verifying Checksum [2022-04-19T16:38:26.041Z] a0d0a0d46f8b: Download complete [2022-04-19T16:38:26.041Z] 0c2d73faf560: Verifying Checksum [2022-04-19T16:38:26.041Z] 4c7163046ea9: Verifying Checksum [2022-04-19T16:38:26.041Z] 4c7163046ea9: Download complete [2022-04-19T16:38:26.299Z] a0d0a0d46f8b: Pull complete [2022-04-19T16:38:26.299Z] 3e5f54012d9b: Pull complete [2022-04-19T16:38:26.558Z] 4c7163046ea9: Pull complete [2022-04-19T16:38:26.818Z] 0c2d73faf560: Pull complete [2022-04-19T16:38:26.818Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-19T16:38:26.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T16:38:26.818Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-19T16:38:26.884Z] prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container [2022-04-19T16:38:26.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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:10004/edgex-devops/git-semver:latest cat [2022-04-19T16:38:27.625Z] $ docker top f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-19T16:38:27.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T16:38:27.730Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T16:38:27.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T16:38:27.857Z] $ docker exec f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent [2022-04-19T16:38:27.980Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAGeOKn/agent.14 [2022-04-19T16:38:27.980Z] SSH_AGENT_PID=20 [2022-04-19T16:38:27.988Z] Running ssh-add (command line suppressed) [2022-04-19T16:38:28.113Z] Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_8552594182430793029.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_8552594182430793029.key) [2022-04-19T16:38:28.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T16:38:28.416Z] + git tag --points-at HEAD [Pipeline] } [2022-04-19T16:38:28.436Z] $ docker exec --env ******** --env ******** f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent -k [2022-04-19T16:38:28.549Z] unset SSH_AUTH_SOCK; [2022-04-19T16:38:28.549Z] unset SSH_AGENT_PID; [2022-04-19T16:38:28.549Z] echo Agent pid 20 killed; [2022-04-19T16:38:28.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-19T16:38:28.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T16:38:28.584Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T16:38:28.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T16:38:28.725Z] $ docker exec f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent [2022-04-19T16:38:28.839Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCOjKMD/agent.53 [2022-04-19T16:38:28.839Z] SSH_AGENT_PID=59 [2022-04-19T16:38:28.845Z] Running ssh-add (command line suppressed) [2022-04-19T16:38:28.972Z] Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_2392429208284380055.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_2392429208284380055.key) [2022-04-19T16:38:28.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T16:38:29.278Z] + git semver init [2022-04-19T16:38:29.278Z] # -> Open(): unable to determine branch for HEAD [2022-04-19T16:38:29.278Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-405/.git [2022-04-19T16:38:29.278Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-405 [2022-04-19T16:38:29.278Z] # $SEMVER_REMOTE_NAME = origin [2022-04-19T16:38:29.278Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-19T16:38:29.278Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-19T16:38:29.278Z] # $SEMVER_BRANCH = PR-405 [2022-04-19T16:38:29.278Z] # $SEMVER_TEMP = /tmp/semver-097632119 [2022-04-19T16:38:29.278Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-19T16:38:30.223Z] # '/tmp/semver-097632119' -> '/w/workspace/_app-service-configurable_PR-405/.semver' [2022-04-19T16:38:30.223Z] # -> Force: false [2022-04-19T16:38:30.223Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-405/.semver [Pipeline] } [2022-04-19T16:38:30.240Z] $ docker exec --env ******** --env ******** f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent -k [2022-04-19T16:38:30.347Z] unset SSH_AUTH_SOCK; [2022-04-19T16:38:30.348Z] unset SSH_AGENT_PID; [2022-04-19T16:38:30.348Z] echo Agent pid 59 killed; [2022-04-19T16:38:30.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-19T16:38:30.677Z] + git semver [Pipeline] } [2022-04-19T16:38:30.699Z] $ docker stop --time=1 f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c [2022-04-19T16:38:32.063Z] $ docker rm -f f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T16:38:32.410Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-19T16:38:32.665Z] Stashed 1 file(s) [Pipeline] echo [2022-04-19T16:38:32.669Z] [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-19T16:38:32.830Z] provisioning config files... [2022-04-19T16:38:32.840Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config3274257070504615592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:38:33.136Z] ---> docker-login.sh [2022-04-19T16:38:33.136Z] nexus3.edgexfoundry.org:10001 [2022-04-19T16:38:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:33.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:33.136Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:33.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:33.136Z] [2022-04-19T16:38:33.136Z] Login Succeeded [2022-04-19T16:38:33.136Z] nexus3.edgexfoundry.org:10002 [2022-04-19T16:38:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:33.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:33.397Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:33.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:33.397Z] [2022-04-19T16:38:33.397Z] Login Succeeded [2022-04-19T16:38:33.397Z] nexus3.edgexfoundry.org:10003 [2022-04-19T16:38:33.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:33.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:33.397Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:33.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:33.397Z] [2022-04-19T16:38:33.397Z] Login Succeeded [2022-04-19T16:38:33.397Z] nexus3.edgexfoundry.org:10004 [2022-04-19T16:38:33.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:33.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:33.656Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:33.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:33.656Z] [2022-04-19T16:38:33.656Z] Login Succeeded [2022-04-19T16:38:33.656Z] docker.io [2022-04-19T16:38:33.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:38:33.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:38:33.917Z] Configure a credential helper to remove this warning. See [2022-04-19T16:38:33.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:38:33.917Z] [2022-04-19T16:38:33.917Z] Login Succeeded [2022-04-19T16:38:33.917Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T16:38:33.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T16:38:33.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T16:38:34.000Z] ========================================================= [2022-04-19T16:38:34.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-19T16:38:34.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:38:34.305Z] + 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-19T16:38:34.306Z] Sending build context to Docker daemon 3.016MB [2022-04-19T16:38:34.306Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T16:38:34.306Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-19T16:38:34.306Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-19T16:38:34.306Z] 59bf1c3509f3: Pulling fs layer [2022-04-19T16:38:34.306Z] 666ba61612fd: Pulling fs layer [2022-04-19T16:38:34.306Z] 8ed8ca486205: Pulling fs layer [2022-04-19T16:38:34.306Z] 4fe6c5a15a65: Pulling fs layer [2022-04-19T16:38:34.306Z] 22a0e8bec74d: Pulling fs layer [2022-04-19T16:38:34.306Z] 640e595b4fbd: Pulling fs layer [2022-04-19T16:38:34.306Z] 763cafe07f6e: Pulling fs layer [2022-04-19T16:38:34.306Z] 0c0b528cf693: Pulling fs layer [2022-04-19T16:38:34.306Z] 10935f4eaf8b: Pulling fs layer [2022-04-19T16:38:34.306Z] 22a0e8bec74d: Waiting [2022-04-19T16:38:34.306Z] 640e595b4fbd: Waiting [2022-04-19T16:38:34.306Z] 763cafe07f6e: Waiting [2022-04-19T16:38:34.306Z] 0c0b528cf693: Waiting [2022-04-19T16:38:34.306Z] 10935f4eaf8b: Waiting [2022-04-19T16:38:34.306Z] 4fe6c5a15a65: Waiting [2022-04-19T16:38:34.306Z] 8ed8ca486205: Download complete [2022-04-19T16:38:34.306Z] 666ba61612fd: Download complete [2022-04-19T16:38:34.306Z] 22a0e8bec74d: Verifying Checksum [2022-04-19T16:38:34.306Z] 22a0e8bec74d: Download complete [2022-04-19T16:38:34.306Z] 640e595b4fbd: Download complete [2022-04-19T16:38:34.306Z] 59bf1c3509f3: Verifying Checksum [2022-04-19T16:38:34.306Z] 59bf1c3509f3: Download complete [2022-04-19T16:38:34.306Z] 763cafe07f6e: Verifying Checksum [2022-04-19T16:38:34.306Z] 763cafe07f6e: Download complete [2022-04-19T16:38:34.565Z] 0c0b528cf693: Verifying Checksum [2022-04-19T16:38:34.565Z] 0c0b528cf693: Download complete [2022-04-19T16:38:34.565Z] 59bf1c3509f3: Pull complete [2022-04-19T16:38:34.825Z] 666ba61612fd: Pull complete [2022-04-19T16:38:34.825Z] 8ed8ca486205: Pull complete [2022-04-19T16:38:35.084Z] 10935f4eaf8b: Verifying Checksum [2022-04-19T16:38:35.084Z] 10935f4eaf8b: Download complete [2022-04-19T16:38:35.084Z] 4fe6c5a15a65: Verifying Checksum [2022-04-19T16:38:35.084Z] 4fe6c5a15a65: Download complete [2022-04-19T16:38:39.280Z] 4fe6c5a15a65: Pull complete [2022-04-19T16:38:39.280Z] 22a0e8bec74d: Pull complete [2022-04-19T16:38:39.280Z] 640e595b4fbd: Pull complete [2022-04-19T16:38:39.280Z] 763cafe07f6e: Pull complete [2022-04-19T16:38:39.280Z] 0c0b528cf693: Pull complete [2022-04-19T16:38:40.660Z] 10935f4eaf8b: Pull complete [2022-04-19T16:38:40.660Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-19T16:38:40.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-19T16:38:40.920Z] ---> 99d49a6021b9 [2022-04-19T16:38:40.920Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-19T16:38:42.304Z] ---> Running in 86d75703414c [2022-04-19T16:38:42.304Z] Removing intermediate container 86d75703414c [2022-04-19T16:38:42.304Z] ---> ff923befb092 [2022-04-19T16:38:42.304Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T16:38:42.304Z] ---> Running in 5d7c0af1df99 [2022-04-19T16:38:42.563Z] Removing intermediate container 5d7c0af1df99 [2022-04-19T16:38:42.563Z] ---> e878496e6cdf [2022-04-19T16:38:42.563Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:38:42.563Z] ---> Running in ef8116181e85 [2022-04-19T16:38:42.563Z] Removing intermediate container ef8116181e85 [2022-04-19T16:38:42.563Z] ---> dd3b7075ec5f [2022-04-19T16:38:42.563Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T16:38:42.563Z] ---> Running in ea8c47d36edf [2022-04-19T16:38:43.135Z] Removing intermediate container ea8c47d36edf [2022-04-19T16:38:43.135Z] ---> 8fe14154c3ad [2022-04-19T16:38:43.135Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T16:38:43.394Z] ---> Running in 44a5137c5f81 [2022-04-19T16:38:43.652Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T16:38:44.589Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T16:38:44.853Z] OK: 221 MiB in 52 packages [2022-04-19T16:38:45.112Z] Removing intermediate container 44a5137c5f81 [2022-04-19T16:38:45.112Z] ---> f3e759291406 [2022-04-19T16:38:45.112Z] Step 8/13 : WORKDIR /app [2022-04-19T16:38:45.113Z] ---> Running in 53a30861a01a [2022-04-19T16:38:45.113Z] Removing intermediate container 53a30861a01a [2022-04-19T16:38:45.113Z] ---> 77f449705bf9 [2022-04-19T16:38:45.113Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-19T16:38:45.372Z] ---> fd801509ec0f [2022-04-19T16:38:45.372Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T16:38:45.372Z] ---> Running in ee06273ed4a6 [2022-04-19T16:38:47.782Z] Still waiting to schedule task [2022-04-19T16:38:47.782Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-19T16:39:00.269Z] Removing intermediate container ee06273ed4a6 [2022-04-19T16:39:00.269Z] ---> 3eafdd2d4487 [2022-04-19T16:39:00.269Z] Step 11/13 : COPY . . [2022-04-19T16:39:00.269Z] ---> fdd292e7ae9c [2022-04-19T16:39:00.269Z] Step 12/13 : ARG MAKE="make build" [2022-04-19T16:39:00.269Z] ---> Running in 80aea757d7aa [2022-04-19T16:39:00.269Z] Removing intermediate container 80aea757d7aa [2022-04-19T16:39:00.269Z] ---> ad0e645eab2c [2022-04-19T16:39:00.269Z] Step 13/13 : RUN $MAKE [2022-04-19T16:39:00.269Z] ---> Running in 6e4f2eb6fccc [2022-04-19T16:39:00.269Z] noop [2022-04-19T16:39:00.269Z] Removing intermediate container 6e4f2eb6fccc [2022-04-19T16:39:00.269Z] ---> 9ff03c5e2fd5 [2022-04-19T16:39:00.269Z] Successfully built 9ff03c5e2fd5 [2022-04-19T16:39:00.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:39:00.566Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T16:39:00.567Z] . [Pipeline] withDockerContainer [2022-04-19T16:39:00.632Z] prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container [2022-04-19T16:39:00.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T16:39:01.071Z] $ docker top c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T16:39:01.422Z] + go version [2022-04-19T16:39:01.422Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-19T16:39:01.440Z] $ docker stop --time=1 c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 [2022-04-19T16:39:02.756Z] $ docker rm -f c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:39:03.153Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T16:39:03.153Z] . [Pipeline] withDockerContainer [2022-04-19T16:39:03.220Z] prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container [2022-04-19T16:39:03.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T16:39:03.628Z] $ docker top cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T16:39:04.018Z] + make test [2022-04-19T16:39:04.019Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-19T16:39:14.087Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-19T16:39:14.087Z] CGO_ENABLED=1 go vet ./... [2022-04-19T16:39:17.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T16:39:17.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T16:39:17.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T16:39:17.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T16:39:17.997Z] $ docker stop --time=1 cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 [2022-04-19T16:39:19.771Z] $ docker rm -f cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T16:39:20.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T16:39:20.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-19T16:39:20.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T16:39:21.060Z] + ls -al . [2022-04-19T16:39:21.060Z] total 184 [2022-04-19T16:39:21.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:39 . [2022-04-19T16:39:21.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 16:38 .. [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 16:38 .dockerignore [2022-04-19T16:39:21.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:38 .git [2022-04-19T16:39:21.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:38 .github [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 16:38 .gitignore [2022-04-19T16:39:21.060Z] drwx------ 3 jenkins jenkins 4096 Apr 19 16:38 .semver [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 16:38 Attribution.txt [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 16:38 CHANGELOG.md [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 16:38 Dockerfile [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 16:38 GOVERNANCE.md [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 16:38 Jenkinsfile [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 16:38 LICENSE [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 16:38 OWNERS.md [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 16:38 README.md [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 16:38 VERSION [2022-04-19T16:39:21.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 16:38 bin [2022-04-19T16:39:21.060Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 19 16:39 coverage.out [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 16:38 go.mod [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 54185 Apr 19 16:38 go.sum [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 16:38 main.go [2022-04-19T16:39:21.060Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 16:38 makefile [2022-04-19T16:39:21.060Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:38 res [2022-04-19T16:39:21.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:38 snap [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:39:21.359Z] + 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=4545a0dc65de264153a2b7cfb01ae096bab3884e --label arch=amd64 --label version=0.0.0 . [2022-04-19T16:39:21.359Z] Sending build context to Docker daemon 3.017MB [2022-04-19T16:39:21.359Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T16:39:21.359Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-19T16:39:21.359Z] ---> 9ff03c5e2fd5 [2022-04-19T16:39:21.359Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-19T16:39:21.359Z] ---> Running in 8faf72edb1e6 [2022-04-19T16:39:21.619Z] Removing intermediate container 8faf72edb1e6 [2022-04-19T16:39:21.619Z] ---> 606dfec2556a [2022-04-19T16:39:21.619Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T16:39:21.619Z] ---> Running in e4420f2803e1 [2022-04-19T16:39:21.619Z] Removing intermediate container e4420f2803e1 [2022-04-19T16:39:21.619Z] ---> 52d17bf0e741 [2022-04-19T16:39:21.619Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:39:21.619Z] ---> Running in 49adf06a1dc7 [2022-04-19T16:39:21.879Z] Removing intermediate container 49adf06a1dc7 [2022-04-19T16:39:21.879Z] ---> 76a69f728037 [2022-04-19T16:39:21.879Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T16:39:21.879Z] ---> Running in aec064abf75b [2022-04-19T16:39:22.450Z] Removing intermediate container aec064abf75b [2022-04-19T16:39:22.450Z] ---> 38bf70861139 [2022-04-19T16:39:22.450Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T16:39:22.450Z] ---> Running in e3d92ce3e0c0 [2022-04-19T16:39:22.710Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T16:39:23.652Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T16:39:23.912Z] OK: 221 MiB in 52 packages [2022-04-19T16:39:24.486Z] Removing intermediate container e3d92ce3e0c0 [2022-04-19T16:39:24.486Z] ---> 571b330bbb44 [2022-04-19T16:39:24.486Z] Step 8/27 : WORKDIR /app [2022-04-19T16:39:24.486Z] ---> Running in 4067f34504a5 [2022-04-19T16:39:24.486Z] Removing intermediate container 4067f34504a5 [2022-04-19T16:39:24.486Z] ---> e236bcd28f66 [2022-04-19T16:39:24.486Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-19T16:39:24.744Z] ---> d23a9e245834 [2022-04-19T16:39:24.744Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T16:39:24.744Z] ---> Running in 20bc7836057d [2022-04-19T16:39:25.701Z] Removing intermediate container 20bc7836057d [2022-04-19T16:39:25.701Z] ---> 926b9a151c75 [2022-04-19T16:39:25.701Z] Step 11/27 : COPY . . [2022-04-19T16:39:25.963Z] ---> dc9321a535b9 [2022-04-19T16:39:25.963Z] Step 12/27 : ARG MAKE="make build" [2022-04-19T16:39:25.963Z] ---> Running in 9c9ed6258f17 [2022-04-19T16:39:26.225Z] Removing intermediate container 9c9ed6258f17 [2022-04-19T16:39:26.225Z] ---> 976046420f13 [2022-04-19T16:39:26.225Z] Step 13/27 : RUN $MAKE [2022-04-19T16:39:26.225Z] ---> Running in 7bd9503c11b6 [2022-04-19T16:39:26.486Z] 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-19T16:39:48.481Z] Removing intermediate container 7bd9503c11b6 [2022-04-19T16:39:48.481Z] ---> 764ef61d2b6e [2022-04-19T16:39:48.481Z] Step 14/27 : FROM alpine:3.14 [2022-04-19T16:39:48.481Z] 3.14: Pulling from library/alpine [2022-04-19T16:39:48.481Z] 8663204ce13b: Pulling fs layer [2022-04-19T16:39:48.481Z] 8663204ce13b: Download complete [2022-04-19T16:39:48.481Z] 8663204ce13b: Pull complete [2022-04-19T16:39:48.481Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T16:39:48.481Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T16:39:48.481Z] ---> e04c818066af [2022-04-19T16:39:48.481Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:39:48.481Z] ---> Running in e755570a9773 [2022-04-19T16:39:48.481Z] Removing intermediate container e755570a9773 [2022-04-19T16:39:48.481Z] ---> 3655ab97a97b [2022-04-19T16:39:48.481Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-19T16:39:48.481Z] ---> Running in b09e4ec76fe8 [2022-04-19T16:39:48.481Z] Removing intermediate container b09e4ec76fe8 [2022-04-19T16:39:48.481Z] ---> 7ac91c9927f4 [2022-04-19T16:39:48.481Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-19T16:39:48.481Z] ---> Running in 201530641c3e [2022-04-19T16:39:48.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-19T16:39:48.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-19T16:39:48.481Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-19T16:39:48.481Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-19T16:39:48.481Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T16:39:48.481Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-19T16:39:48.481Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T16:39:48.481Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-19T16:39:48.481Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-19T16:39:48.481Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T16:39:48.481Z] Executing ca-certificates-20211220-r0.trigger [2022-04-19T16:39:48.481Z] OK: 9 MiB in 21 packages [2022-04-19T16:39:49.426Z] Removing intermediate container 201530641c3e [2022-04-19T16:39:49.426Z] ---> a0539cbdd256 [2022-04-19T16:39:49.426Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-19T16:39:49.426Z] ---> 92a6556f7227 [2022-04-19T16:39:49.426Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-19T16:39:49.685Z] ---> 3098a6454c88 [2022-04-19T16:39:49.685Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-19T16:39:49.944Z] ---> d5e7cf4a6ee8 [2022-04-19T16:39:49.944Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-19T16:39:50.515Z] ---> 8b062d71836a [2022-04-19T16:39:50.515Z] Step 22/27 : EXPOSE 48095 [2022-04-19T16:39:50.515Z] ---> Running in 29217f7b0647 [2022-04-19T16:39:50.515Z] Removing intermediate container 29217f7b0647 [2022-04-19T16:39:50.515Z] ---> c094416c829c [2022-04-19T16:39:50.515Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-19T16:39:50.775Z] ---> Running in ad6690f93564 [2022-04-19T16:39:50.775Z] Removing intermediate container ad6690f93564 [2022-04-19T16:39:50.775Z] ---> 2efd21e8c72e [2022-04-19T16:39:50.775Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T16:39:50.775Z] ---> Running in 955907689acd [2022-04-19T16:39:51.035Z] Removing intermediate container 955907689acd [2022-04-19T16:39:51.035Z] ---> 4d454fa2ad4b [2022-04-19T16:39:51.035Z] Step 25/27 : LABEL arch=amd64 [2022-04-19T16:39:51.035Z] ---> Running in f62bcb4d9967 [2022-04-19T16:39:51.035Z] Removing intermediate container f62bcb4d9967 [2022-04-19T16:39:51.035Z] ---> 32e1f727f53c [2022-04-19T16:39:51.035Z] Step 26/27 : LABEL git_sha=4545a0dc65de264153a2b7cfb01ae096bab3884e [2022-04-19T16:39:51.035Z] ---> Running in e168f40d2c23 [2022-04-19T16:39:51.295Z] Removing intermediate container e168f40d2c23 [2022-04-19T16:39:51.295Z] ---> 9dc381f2c5c7 [2022-04-19T16:39:51.295Z] Step 27/27 : LABEL version=0.0.0 [2022-04-19T16:39:51.295Z] ---> Running in 866a9e89092b [2022-04-19T16:39:51.295Z] Removing intermediate container 866a9e89092b [2022-04-19T16:39:51.295Z] ---> cb907f22adcb [2022-04-19T16:39:51.295Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T16:39:51.295Z] Successfully built cb907f22adcb [2022-04-19T16:39:51.295Z] 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-19T16:39:51.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T16:39:51.700Z] [2022-04-19T16:39:51.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:39:52.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T16:39:52.010Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-19T16:39:52.010Z] 5eb5b503b376: Pulling fs layer [2022-04-19T16:39:52.010Z] 5c69ac0246d0: Pulling fs layer [2022-04-19T16:39:52.010Z] ec43610c2a17: Pulling fs layer [2022-04-19T16:39:52.010Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-19T16:39:52.010Z] 33b1e0a273af: Pulling fs layer [2022-04-19T16:39:52.010Z] 5d3b04190fa2: Pulling fs layer [2022-04-19T16:39:52.010Z] 33b1e0a273af: Waiting [2022-04-19T16:39:52.010Z] 3a2ae6a8a46f: Waiting [2022-04-19T16:39:52.010Z] 2f39f015ded8: Pulling fs layer [2022-04-19T16:39:52.010Z] 5d3b04190fa2: Waiting [2022-04-19T16:39:52.010Z] 2f39f015ded8: Waiting [2022-04-19T16:39:52.010Z] 5c69ac0246d0: Verifying Checksum [2022-04-19T16:39:52.010Z] 5c69ac0246d0: Download complete [2022-04-19T16:39:52.010Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-19T16:39:52.010Z] 3a2ae6a8a46f: Download complete [2022-04-19T16:39:52.010Z] 33b1e0a273af: Verifying Checksum [2022-04-19T16:39:52.010Z] 33b1e0a273af: Download complete [2022-04-19T16:39:52.010Z] 5d3b04190fa2: Download complete [2022-04-19T16:39:52.010Z] ec43610c2a17: Verifying Checksum [2022-04-19T16:39:52.269Z] 5eb5b503b376: Download complete [2022-04-19T16:39:52.836Z] 2f39f015ded8: Download complete [2022-04-19T16:39:53.403Z] 5eb5b503b376: Pull complete [2022-04-19T16:39:53.663Z] 5c69ac0246d0: Pull complete [2022-04-19T16:39:53.922Z] ec43610c2a17: Pull complete [2022-04-19T16:39:53.922Z] 3a2ae6a8a46f: Pull complete [2022-04-19T16:39:54.181Z] 33b1e0a273af: Pull complete [2022-04-19T16:39:54.439Z] 5d3b04190fa2: Pull complete [2022-04-19T16:39:58.631Z] 2f39f015ded8: Pull complete [2022-04-19T16:39:58.631Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-19T16:39:58.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T16:39:58.631Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-19T16:39:58.692Z] prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container [2022-04-19T16:39:58.730Z] $ 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-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T16:40:00.959Z] $ docker top 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:40:01.350Z] ---> job-cost.sh [2022-04-19T16:40:01.350Z] lf-activate-venv: SKIPPING [2022-04-19T16:40:01.350Z] INFO: No Stack... [2022-04-19T16:40:01.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T16:40:02.186Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T16:40:02.484Z] + cat /w/workspace/_app-service-configurable_PR-405/archives/cost.csv [2022-04-19T16:40:02.484Z] + cut -d, -f6 [Pipeline] lock [2022-04-19T16:40:02.498Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [2022-04-19T16:40:02.503Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] did not exist. Created. [2022-04-19T16:40:02.503Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T16:40:02.809Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-19T16:40:02.844Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T16:40:02.858Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T16:40:02.883Z] $ docker stop --time=1 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 [2022-04-19T16:40:04.088Z] $ docker rm -f 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T16:42:18.569Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21362 in /w/workspace/_app-service-configurable_PR-405 [Pipeline] { [Pipeline] ws [2022-04-19T16:42:18.582Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-04-19T16:42:19.793Z] Selected Git installation does not exist. Using Default [2022-04-19T16:42:19.793Z] The recommended git tool is: NONE [2022-04-19T16:42:27.612Z] using credential edgex-jenkins-ssh [2022-04-19T16:42:27.637Z] Cloning the remote Git repository [2022-04-19T16:42:27.720Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-19T16:42:27.818Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-04-19T16:42:27.910Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-19T16:42:27.912Z] > git --version # timeout=10 [2022-04-19T16:42:28.001Z] > git --version # 'git version 2.25.1' [2022-04-19T16:42:28.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T16:42:28.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T16:42:29.382Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-19T16:42:29.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T16:42:29.441Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-19T16:42:29.486Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-19T16:42:29.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T16:42:29.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-19T16:42:30.073Z] Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit 4545a0dc65de264153a2b7cfb01ae096bab3884e [2022-04-19T16:42:30.388Z] Merge succeeded, producing 4545a0dc65de264153a2b7cfb01ae096bab3884e [2022-04-19T16:42:30.389Z] Checking out Revision 4545a0dc65de264153a2b7cfb01ae096bab3884e (PR-405) [2022-04-19T16:42:30.101Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T16:42:30.132Z] > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # timeout=10 [2022-04-19T16:42:30.234Z] > git remote # timeout=10 [2022-04-19T16:42:30.260Z] > git config --get remote.origin.url # timeout=10 [2022-04-19T16:42:30.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T16:42:30.301Z] > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 [2022-04-19T16:42:30.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-19T16:42:30.405Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T16:42:30.472Z] > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # timeout=10 [2022-04-19T16:42:34.960Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T16:42:35.794Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-19T16:42:35.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-19T16:42:35.794Z] Dload Upload Total Spent Left Speed [2022-04-19T16:42:35.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-04-19T16:42:36.355Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-19T16:42:36.706Z] + sudo tee /etc/docker/daemon.new [2022-04-19T16:42:36.706Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-19T16:42:36.706Z] { [2022-04-19T16:42:36.706Z] "registry-mirrors": [ [2022-04-19T16:42:36.706Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-19T16:42:36.706Z] ], [2022-04-19T16:42:36.706Z] "bip": "10.250.0.254/24", [2022-04-19T16:42:36.706Z] "hosts": [ [2022-04-19T16:42:36.706Z] "tcp://0.0.0.0:5555", [2022-04-19T16:42:36.706Z] "unix:///var/run/docker.sock" [2022-04-19T16:42:36.706Z] ], [2022-04-19T16:42:36.706Z] "mtu": 1458, [2022-04-19T16:42:36.706Z] "selinux-enabled": true, [2022-04-19T16:42:36.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-19T16:42:36.706Z] } [Pipeline] sh [2022-04-19T16:42:37.068Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-19T16:42:37.449Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T16:42:55.873Z] provisioning config files... [2022-04-19T16:42:55.900Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config3114536856196805601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:42:56.277Z] ---> docker-login.sh [2022-04-19T16:42:56.277Z] nexus3.edgexfoundry.org:10001 [2022-04-19T16:42:56.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:42:57.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:42:57.149Z] Configure a credential helper to remove this warning. See [2022-04-19T16:42:57.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:42:57.149Z] [2022-04-19T16:42:57.149Z] Login Succeeded [2022-04-19T16:42:57.149Z] nexus3.edgexfoundry.org:10002 [2022-04-19T16:42:57.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:42:57.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:42:57.749Z] Configure a credential helper to remove this warning. See [2022-04-19T16:42:57.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:42:57.749Z] [2022-04-19T16:42:57.749Z] Login Succeeded [2022-04-19T16:42:57.749Z] nexus3.edgexfoundry.org:10003 [2022-04-19T16:42:58.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:42:58.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:42:58.298Z] Configure a credential helper to remove this warning. See [2022-04-19T16:42:58.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:42:58.298Z] [2022-04-19T16:42:58.298Z] Login Succeeded [2022-04-19T16:42:58.298Z] nexus3.edgexfoundry.org:10004 [2022-04-19T16:42:58.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:42:58.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:42:58.574Z] Configure a credential helper to remove this warning. See [2022-04-19T16:42:58.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:42:58.574Z] [2022-04-19T16:42:58.574Z] Login Succeeded [2022-04-19T16:42:58.574Z] docker.io [2022-04-19T16:42:59.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T16:42:59.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T16:42:59.448Z] Configure a credential helper to remove this warning. See [2022-04-19T16:42:59.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T16:42:59.448Z] [2022-04-19T16:42:59.448Z] Login Succeeded [2022-04-19T16:42:59.448Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T16:42:59.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T16:42:59.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T16:42:59.744Z] ========================================================= [2022-04-19T16:42:59.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-19T16:42:59.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:43:00.092Z] + 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-19T16:43:00.092Z] Sending build context to Docker daemon 218.1kB [2022-04-19T16:43:00.371Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T16:43:00.371Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-19T16:43:00.646Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-19T16:43:00.646Z] 9b3977197b4f: Pulling fs layer [2022-04-19T16:43:00.646Z] 1a89e8eeedd5: Pulling fs layer [2022-04-19T16:43:00.646Z] 94645a83ff95: Pulling fs layer [2022-04-19T16:43:00.646Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-19T16:43:00.646Z] 0c92f367c5e7: Pulling fs layer [2022-04-19T16:43:00.646Z] f7c0051592d6: Pulling fs layer [2022-04-19T16:43:00.646Z] a227ed2f7395: Pulling fs layer [2022-04-19T16:43:00.646Z] 7b1c46037f91: Pulling fs layer [2022-04-19T16:43:00.646Z] f7c0051592d6: Waiting [2022-04-19T16:43:00.646Z] 3f3a8bcf1eab: Waiting [2022-04-19T16:43:00.646Z] a227ed2f7395: Waiting [2022-04-19T16:43:00.646Z] 0c92f367c5e7: Waiting [2022-04-19T16:43:00.646Z] 7b1c46037f91: Waiting [2022-04-19T16:43:00.646Z] 94645a83ff95: Download complete [2022-04-19T16:43:00.646Z] 1a89e8eeedd5: Verifying Checksum [2022-04-19T16:43:00.646Z] 1a89e8eeedd5: Download complete [2022-04-19T16:43:00.646Z] 0c92f367c5e7: Verifying Checksum [2022-04-19T16:43:00.646Z] 0c92f367c5e7: Download complete [2022-04-19T16:43:00.646Z] f7c0051592d6: Verifying Checksum [2022-04-19T16:43:00.646Z] f7c0051592d6: Download complete [2022-04-19T16:43:00.646Z] 9b3977197b4f: Verifying Checksum [2022-04-19T16:43:00.646Z] 9b3977197b4f: Download complete [2022-04-19T16:43:00.646Z] a227ed2f7395: Verifying Checksum [2022-04-19T16:43:00.646Z] a227ed2f7395: Download complete [2022-04-19T16:43:01.638Z] 9b3977197b4f: Pull complete [2022-04-19T16:43:01.923Z] 1a89e8eeedd5: Pull complete [2022-04-19T16:43:02.199Z] 94645a83ff95: Pull complete [2022-04-19T16:43:02.478Z] 7b1c46037f91: Verifying Checksum [2022-04-19T16:43:02.478Z] 7b1c46037f91: Download complete [2022-04-19T16:43:03.083Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-19T16:43:03.083Z] 3f3a8bcf1eab: Download complete [2022-04-19T16:43:15.477Z] 3f3a8bcf1eab: Pull complete [2022-04-19T16:43:15.477Z] 0c92f367c5e7: Pull complete [2022-04-19T16:43:15.477Z] f7c0051592d6: Pull complete [2022-04-19T16:43:15.477Z] a227ed2f7395: Pull complete [2022-04-19T16:43:20.997Z] 7b1c46037f91: Pull complete [2022-04-19T16:43:20.997Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-19T16:43:20.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-19T16:43:20.997Z] ---> f79e39bc4007 [2022-04-19T16:43:20.997Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-19T16:43:21.271Z] ---> Running in 368f70b3fdd2 [2022-04-19T16:43:21.543Z] Removing intermediate container 368f70b3fdd2 [2022-04-19T16:43:21.543Z] ---> 0e2a70578d54 [2022-04-19T16:43:21.543Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T16:43:21.543Z] ---> Running in 7d434903794b [2022-04-19T16:43:21.817Z] Removing intermediate container 7d434903794b [2022-04-19T16:43:21.817Z] ---> fb1c79bc7155 [2022-04-19T16:43:21.817Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:43:22.098Z] ---> Running in 3a6ffa64e075 [2022-04-19T16:43:22.371Z] Removing intermediate container 3a6ffa64e075 [2022-04-19T16:43:22.371Z] ---> 58b263a4a30a [2022-04-19T16:43:22.371Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T16:43:22.371Z] ---> Running in 9f868073c2a9 [2022-04-19T16:43:24.359Z] Removing intermediate container 9f868073c2a9 [2022-04-19T16:43:24.359Z] ---> cfbbcefdcb51 [2022-04-19T16:43:24.359Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T16:43:24.359Z] ---> Running in 8f44ce2dcd11 [2022-04-19T16:43:25.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-19T16:43:26.319Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-19T16:43:27.320Z] OK: 220 MiB in 52 packages [2022-04-19T16:43:27.926Z] Removing intermediate container 8f44ce2dcd11 [2022-04-19T16:43:27.926Z] ---> 0b93b3a2c844 [2022-04-19T16:43:27.926Z] Step 8/13 : WORKDIR /app [2022-04-19T16:43:27.926Z] ---> Running in cb2b2a1a0ddc [2022-04-19T16:43:28.531Z] Removing intermediate container cb2b2a1a0ddc [2022-04-19T16:43:28.531Z] ---> c9c6db473af5 [2022-04-19T16:43:28.531Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-19T16:43:28.807Z] ---> 765377568a62 [2022-04-19T16:43:28.807Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T16:43:29.084Z] ---> Running in f979ec762065 [2022-04-19T16:44:25.718Z] Removing intermediate container f979ec762065 [2022-04-19T16:44:25.718Z] ---> 81d4a4c56049 [2022-04-19T16:44:25.718Z] Step 11/13 : COPY . . [2022-04-19T16:44:25.718Z] ---> 0a1482a83ab7 [2022-04-19T16:44:25.718Z] Step 12/13 : ARG MAKE="make build" [2022-04-19T16:44:25.718Z] ---> Running in 404fc659b5b4 [2022-04-19T16:44:25.718Z] Removing intermediate container 404fc659b5b4 [2022-04-19T16:44:25.718Z] ---> f8521d70f779 [2022-04-19T16:44:25.718Z] Step 13/13 : RUN $MAKE [2022-04-19T16:44:25.718Z] ---> Running in f132cedfb204 [2022-04-19T16:44:25.718Z] noop [2022-04-19T16:44:25.718Z] Removing intermediate container f132cedfb204 [2022-04-19T16:44:25.718Z] ---> 7aa689c040d6 [2022-04-19T16:44:25.718Z] Successfully built 7aa689c040d6 [2022-04-19T16:44:25.718Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:44:26.068Z] + docker inspect -f . ci-base-image-arm64 [2022-04-19T16:44:26.068Z] . [Pipeline] withDockerContainer [2022-04-19T16:44:26.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container [2022-04-19T16:44:26.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-19T16:44:27.837Z] $ docker top 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T16:44:28.788Z] + go version [2022-04-19T16:44:28.788Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-19T16:44:28.819Z] $ docker stop --time=1 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 [2022-04-19T16:44:30.547Z] $ docker rm -f 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:44:31.202Z] + docker inspect -f . ci-base-image-arm64 [2022-04-19T16:44:31.202Z] . [Pipeline] withDockerContainer [2022-04-19T16:44:31.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container [2022-04-19T16:44:31.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-19T16:44:32.984Z] $ docker top b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T16:44:33.952Z] + make test [2022-04-19T16:44:33.952Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-19T16:46:10.869Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-19T16:46:10.869Z] CGO_ENABLED=1 go vet ./... [2022-04-19T16:46:29.240Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T16:46:29.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T16:46:29.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T16:46:30.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T16:46:30.714Z] $ docker stop --time=1 b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c [2022-04-19T16:46:32.480Z] $ docker rm -f b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T16:46:33.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T16:46:33.458Z] Warning: overwriting stash ‘coverage-report’ [2022-04-19T16:46:33.923Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T16:46:34.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T16:46:34.643Z] + ls -al . [2022-04-19T16:46:34.643Z] total 180 [2022-04-19T16:46:34.643Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 16:46 . [2022-04-19T16:46:34.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 16:42 .. [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 16:42 .dockerignore [2022-04-19T16:46:34.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:42 .git [2022-04-19T16:46:34.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:42 .github [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 16:42 .gitignore [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 16:42 Attribution.txt [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 16:42 CHANGELOG.md [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 16:42 Dockerfile [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 16:42 GOVERNANCE.md [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 16:42 Jenkinsfile [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 16:42 LICENSE [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 16:42 OWNERS.md [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 16:42 README.md [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 16:38 VERSION [2022-04-19T16:46:34.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 16:42 bin [2022-04-19T16:46:34.643Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 19 16:44 coverage.out [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 16:42 go.mod [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 54185 Apr 19 16:42 go.sum [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 16:42 main.go [2022-04-19T16:46:34.643Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 16:42 makefile [2022-04-19T16:46:34.643Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:42 res [2022-04-19T16:46:34.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:42 snap [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:46:34.995Z] + 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=4545a0dc65de264153a2b7cfb01ae096bab3884e --label arch=arm64 --label version=0.0.0 . [2022-04-19T16:46:34.995Z] Sending build context to Docker daemon 219.1kB [2022-04-19T16:46:35.269Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T16:46:35.270Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-19T16:46:35.270Z] ---> 7aa689c040d6 [2022-04-19T16:46:35.270Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-19T16:46:35.270Z] ---> Running in 363e488741a7 [2022-04-19T16:46:35.866Z] Removing intermediate container 363e488741a7 [2022-04-19T16:46:35.866Z] ---> ffc1b8fc2c94 [2022-04-19T16:46:35.866Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T16:46:35.866Z] ---> Running in ebe093699626 [2022-04-19T16:46:36.138Z] Removing intermediate container ebe093699626 [2022-04-19T16:46:36.138Z] ---> 3a342ed1b0c4 [2022-04-19T16:46:36.138Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:46:36.138Z] ---> Running in c89a71f729a1 [2022-04-19T16:46:36.415Z] Removing intermediate container c89a71f729a1 [2022-04-19T16:46:36.415Z] ---> 0285dae90a9d [2022-04-19T16:46:36.415Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T16:46:36.415Z] ---> Running in c3f8f12d2add [2022-04-19T16:46:38.388Z] Removing intermediate container c3f8f12d2add [2022-04-19T16:46:38.388Z] ---> 51082c61f5fe [2022-04-19T16:46:38.388Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T16:46:38.388Z] ---> Running in 1fcbfcaec2fc [2022-04-19T16:46:38.982Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-19T16:46:39.959Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-19T16:46:41.400Z] OK: 220 MiB in 52 packages [2022-04-19T16:46:41.997Z] Removing intermediate container 1fcbfcaec2fc [2022-04-19T16:46:41.997Z] ---> 52e39baa12a3 [2022-04-19T16:46:41.997Z] Step 8/27 : WORKDIR /app [2022-04-19T16:46:41.997Z] ---> Running in ca3624fd4174 [2022-04-19T16:46:42.270Z] Removing intermediate container ca3624fd4174 [2022-04-19T16:46:42.270Z] ---> 20f704f0917b [2022-04-19T16:46:42.270Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-19T16:46:42.867Z] ---> 7fcf83bd24bd [2022-04-19T16:46:42.867Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T16:46:42.867Z] ---> Running in 2128dce19c20 [2022-04-19T16:46:44.853Z] Removing intermediate container 2128dce19c20 [2022-04-19T16:46:44.853Z] ---> 2e6e983bbb98 [2022-04-19T16:46:44.853Z] Step 11/27 : COPY . . [2022-04-19T16:46:45.449Z] ---> b68f542c4f34 [2022-04-19T16:46:45.449Z] Step 12/27 : ARG MAKE="make build" [2022-04-19T16:46:45.449Z] ---> Running in 6efbb19f8b79 [2022-04-19T16:46:45.725Z] Removing intermediate container 6efbb19f8b79 [2022-04-19T16:46:45.725Z] ---> 352074d2a57f [2022-04-19T16:46:45.725Z] Step 13/27 : RUN $MAKE [2022-04-19T16:46:45.725Z] ---> Running in fe9a77b3135e [2022-04-19T16:46:46.707Z] 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-19T16:49:08.622Z] Removing intermediate container fe9a77b3135e [2022-04-19T16:49:08.622Z] ---> b0c35d1c915a [2022-04-19T16:49:08.622Z] Step 14/27 : FROM alpine:3.14 [2022-04-19T16:49:08.622Z] 3.14: Pulling from library/alpine [2022-04-19T16:49:08.622Z] 455c02918c45: Pulling fs layer [2022-04-19T16:49:08.622Z] 455c02918c45: Verifying Checksum [2022-04-19T16:49:08.622Z] 455c02918c45: Download complete [2022-04-19T16:49:08.622Z] 455c02918c45: Pull complete [2022-04-19T16:49:08.622Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T16:49:08.622Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T16:49:08.622Z] ---> ac73e934f311 [2022-04-19T16:49:08.622Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-19T16:49:08.622Z] ---> Running in fe8ff85f4cca [2022-04-19T16:49:08.622Z] Removing intermediate container fe8ff85f4cca [2022-04-19T16:49:08.622Z] ---> 6e19c5a636c6 [2022-04-19T16:49:08.622Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-19T16:49:08.622Z] ---> Running in 0deb11be5f97 [2022-04-19T16:49:08.622Z] Removing intermediate container 0deb11be5f97 [2022-04-19T16:49:08.622Z] ---> eda28c3955f6 [2022-04-19T16:49:08.622Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-19T16:49:08.622Z] ---> Running in cd29ea0a5b2d [2022-04-19T16:49:08.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-19T16:49:08.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-19T16:49:08.622Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-19T16:49:08.622Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-19T16:49:08.622Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T16:49:08.622Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-19T16:49:08.622Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T16:49:08.622Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-19T16:49:08.622Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-19T16:49:08.622Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T16:49:08.622Z] Executing ca-certificates-20211220-r0.trigger [2022-04-19T16:49:08.622Z] OK: 9 MiB in 21 packages [2022-04-19T16:49:08.622Z] Removing intermediate container cd29ea0a5b2d [2022-04-19T16:49:08.622Z] ---> a7b87ac59845 [2022-04-19T16:49:08.622Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-19T16:49:08.622Z] ---> 27337c772c67 [2022-04-19T16:49:08.623Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-19T16:49:08.623Z] ---> cd27a33fad3a [2022-04-19T16:49:08.623Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-19T16:49:08.623Z] ---> 7ff4ed93102b [2022-04-19T16:49:08.623Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-19T16:49:08.623Z] ---> 71719baf338f [2022-04-19T16:49:08.623Z] Step 22/27 : EXPOSE 48095 [2022-04-19T16:49:08.623Z] ---> Running in 7b5e8d96e139 [2022-04-19T16:49:08.623Z] Removing intermediate container 7b5e8d96e139 [2022-04-19T16:49:08.623Z] ---> bbba47894399 [2022-04-19T16:49:08.623Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-19T16:49:08.623Z] ---> Running in 96fe883631ce [2022-04-19T16:49:08.623Z] Removing intermediate container 96fe883631ce [2022-04-19T16:49:08.623Z] ---> c15202f856a5 [2022-04-19T16:49:08.623Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T16:49:08.623Z] ---> Running in acc3da8c6038 [2022-04-19T16:49:08.623Z] Removing intermediate container acc3da8c6038 [2022-04-19T16:49:08.623Z] ---> 981aba4c0900 [2022-04-19T16:49:08.623Z] Step 25/27 : LABEL arch=arm64 [2022-04-19T16:49:08.623Z] ---> Running in 4f0826f65b91 [2022-04-19T16:49:08.623Z] Removing intermediate container 4f0826f65b91 [2022-04-19T16:49:08.623Z] ---> 088db92b7303 [2022-04-19T16:49:08.623Z] Step 26/27 : LABEL git_sha=4545a0dc65de264153a2b7cfb01ae096bab3884e [2022-04-19T16:49:08.623Z] ---> Running in 08091aea0dd2 [2022-04-19T16:49:08.623Z] Removing intermediate container 08091aea0dd2 [2022-04-19T16:49:08.623Z] ---> 751aefcf5c84 [2022-04-19T16:49:08.623Z] Step 27/27 : LABEL version=0.0.0 [2022-04-19T16:49:08.623Z] ---> Running in ab8d305ed009 [2022-04-19T16:49:08.623Z] Removing intermediate container ab8d305ed009 [2022-04-19T16:49:08.623Z] ---> 0abd8a9979d8 [2022-04-19T16:49:08.623Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T16:49:08.623Z] Successfully built 0abd8a9979d8 [2022-04-19T16:49:08.623Z] 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-19T16:49:09.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T16:49:09.072Z] [2022-04-19T16:49:09.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:49:09.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T16:49:09.707Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-19T16:49:09.707Z] 8998bd30e6a1: Pulling fs layer [2022-04-19T16:49:09.707Z] 04944245beec: Pulling fs layer [2022-04-19T16:49:09.707Z] 699f458cf7ca: Pulling fs layer [2022-04-19T16:49:09.707Z] 765212b225bb: Pulling fs layer [2022-04-19T16:49:09.707Z] f23df028b6ca: Pulling fs layer [2022-04-19T16:49:09.707Z] d65c8cfc05b1: Pulling fs layer [2022-04-19T16:49:09.707Z] 2437ff75d9bd: Pulling fs layer [2022-04-19T16:49:09.707Z] 765212b225bb: Waiting [2022-04-19T16:49:09.707Z] f23df028b6ca: Waiting [2022-04-19T16:49:09.707Z] d65c8cfc05b1: Waiting [2022-04-19T16:49:09.707Z] 2437ff75d9bd: Waiting [2022-04-19T16:49:09.707Z] 04944245beec: Verifying Checksum [2022-04-19T16:49:09.707Z] 04944245beec: Download complete [2022-04-19T16:49:09.707Z] 765212b225bb: Verifying Checksum [2022-04-19T16:49:09.707Z] 765212b225bb: Download complete [2022-04-19T16:49:09.707Z] f23df028b6ca: Verifying Checksum [2022-04-19T16:49:09.707Z] f23df028b6ca: Download complete [2022-04-19T16:49:09.707Z] d65c8cfc05b1: Verifying Checksum [2022-04-19T16:49:09.707Z] d65c8cfc05b1: Download complete [2022-04-19T16:49:09.986Z] 699f458cf7ca: Verifying Checksum [2022-04-19T16:49:09.986Z] 699f458cf7ca: Download complete [2022-04-19T16:49:10.278Z] 8998bd30e6a1: Verifying Checksum [2022-04-19T16:49:10.278Z] 8998bd30e6a1: Download complete [2022-04-19T16:49:12.909Z] 2437ff75d9bd: Verifying Checksum [2022-04-19T16:49:12.909Z] 2437ff75d9bd: Download complete [2022-04-19T16:49:14.570Z] 8998bd30e6a1: Pull complete [2022-04-19T16:49:14.849Z] 04944245beec: Pull complete [2022-04-19T16:49:16.295Z] 699f458cf7ca: Pull complete [2022-04-19T16:49:16.568Z] 765212b225bb: Pull complete [2022-04-19T16:49:17.556Z] f23df028b6ca: Pull complete [2022-04-19T16:49:17.830Z] d65c8cfc05b1: Pull complete [2022-04-19T16:49:32.953Z] 2437ff75d9bd: Pull complete [2022-04-19T16:49:32.953Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-19T16:49:32.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T16:49:32.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-19T16:49:33.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container [2022-04-19T16:49:33.271Z] $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-19T16:49:35.945Z] $ docker top a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:36.874Z] ---> job-cost.sh [2022-04-19T16:49:36.874Z] lf-activate-venv: SKIPPING [2022-04-19T16:49:36.874Z] INFO: No Stack... [2022-04-19T16:49:37.148Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-19T16:49:38.125Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T16:49:38.806Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [2022-04-19T16:49:38.806Z] + cut -d, -f6 [Pipeline] lock [2022-04-19T16:49:38.841Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [2022-04-19T16:49:38.848Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] did not exist. Created. [2022-04-19T16:49:38.848Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T16:49:39.553Z] /w/workspace/app-service-configurable/2@tmp/durable-1f25297d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-19T16:49:40.251Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-19T16:49:40.274Z] Warning: overwriting stash ‘stack-cost’ [2022-04-19T16:49:40.335Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T16:49:40.341Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T16:49:40.364Z] $ docker stop --time=1 a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 [2022-04-19T16:49:41.883Z] $ docker rm -f a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 [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-19T16:49:42.343Z] provisioning config files... [2022-04-19T16:49:42.350Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config8393214090775196652tmp [Pipeline] { [Pipeline] sh [2022-04-19T16:49:42.651Z] + set +x [2022-04-19T16:49:42.651Z] + + curl -s https://codecov.io/bash [2022-04-19T16:49:42.651Z] bash -s -- [2022-04-19T16:49:42.651Z] [2022-04-19T16:49:42.651Z] _____ _ [2022-04-19T16:49:42.651Z] / ____| | | [2022-04-19T16:49:42.651Z] | | ___ __| | ___ ___ _____ __ [2022-04-19T16:49:42.651Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-19T16:49:42.651Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-19T16:49:42.651Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-19T16:49:42.651Z] Bash-1.0.6 [2022-04-19T16:49:42.651Z] [2022-04-19T16:49:42.651Z] [2022-04-19T16:49:42.651Z] ==> git version 2.25.1 found [2022-04-19T16:49:42.651Z] ==> 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-19T16:49:42.651Z] Release-Date: 2020-01-08 [2022-04-19T16:49:42.651Z] 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-19T16:49:42.651Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-19T16:49:42.651Z] ==> Jenkins CI detected. [2022-04-19T16:49:42.651Z] current dir:  /w/workspace/_app-service-configurable_PR-405 [2022-04-19T16:49:42.651Z] project root: . [2022-04-19T16:49:42.651Z] --> token set from env [2022-04-19T16:49:42.651Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-19T16:49:42.651Z] ==> Running gcov in . (disable via -X gcov) [2022-04-19T16:49:42.651Z] ==> Python coveragepy not found [2022-04-19T16:49:42.651Z] ==> Searching for coverage reports in: [2022-04-19T16:49:42.651Z] + . [2022-04-19T16:49:42.651Z] -> Found 1 reports [2022-04-19T16:49:42.651Z] ==> Detecting git/mercurial file structure [2022-04-19T16:49:42.651Z] ==> Reading reports [2022-04-19T16:49:42.651Z] + ./coverage.out bytes=10 [2022-04-19T16:49:42.651Z] ==> Appending adjustments [2022-04-19T16:49:42.651Z] https://docs.codecov.io/docs/fixing-reports [2022-04-19T16:49:42.910Z] + Found adjustments [2022-04-19T16:49:42.910Z] ==> Gzipping contents [2022-04-19T16:49:42.911Z] 4.0K /tmp/codecov.CmyHCC.gz [2022-04-19T16:49:42.911Z] ==> Uploading reports [2022-04-19T16:49:42.911Z] url: https://codecov.io [2022-04-19T16:49:42.911Z] query: branch=PR-405&commit=4545a0dc65de264153a2b7cfb01ae096bab3884e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-405%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=405&job=&cmd_args= [2022-04-19T16:49:42.911Z] -> Pinging Codecov [2022-04-19T16:49:42.911Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-405&commit=4545a0dc65de264153a2b7cfb01ae096bab3884e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-405%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=405&job=&cmd_args= [2022-04-19T16:49:42.911Z] -> Uploading to [2022-04-19T16:49:42.911Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-19/A97CA9966030D2A3747ED39772930CCE/4545a0dc65de264153a2b7cfb01ae096bab3884e/cd9844b7-050d-4b00-8e70-5207e6eb5b5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T164942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22ae88d0c554502357877932b015f7a380676c8ec71e81a6ae84502939dc2293 [2022-04-19T16:49:42.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-19T16:49:42.911Z] Dload Upload Total Spent Left Speed [2022-04-19T16:49:43.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2696 --:--:-- --:--:-- --:--:-- 2696 [2022-04-19T16:49:43.171Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] } [2022-04-19T16:49:43.179Z] 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-19T16:49:43.905Z] + [ -d /w/workspace/_app-service-configurable_PR-405/archives ] [2022-04-19T16:49:43.905Z] + ls -al /w/workspace/_app-service-configurable_PR-405/archives [2022-04-19T16:49:43.905Z] total 16 [2022-04-19T16:49:43.905Z] drwxr-xr-x 3 root root 4096 Apr 19 16:40 . [2022-04-19T16:49:43.906Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:40 .. [2022-04-19T16:49:43.906Z] drwxr-xr-x 2 root root 4096 Apr 19 16:40 cost [2022-04-19T16:49:43.906Z] -rw-r--r-- 1 root root 95 Apr 19 16:40 cost.csv [2022-04-19T16:49:43.906Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-405/archives [2022-04-19T16:49:43.906Z] + ls -al /w/workspace/_app-service-configurable_PR-405/archives [2022-04-19T16:49:43.906Z] total 16 [2022-04-19T16:49:43.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 16:40 . [2022-04-19T16:49:43.906Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:40 .. [2022-04-19T16:49:43.906Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 16:40 cost [2022-04-19T16:49:43.906Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 19 16:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:44.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:45.066Z] ---> package-listing.sh [2022-04-19T16:49:45.066Z] ++ facter osfamily [2022-04-19T16:49:45.066Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-19T16:49:45.325Z] + OS_FAMILY=debian [2022-04-19T16:49:45.325Z] + workspace=/w/workspace/_app-service-configurable_PR-405 [2022-04-19T16:49:45.325Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-19T16:49:45.325Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-19T16:49:45.325Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-19T16:49:45.325Z] + PACKAGES=/tmp/packages_start.txt [2022-04-19T16:49:45.325Z] + '[' /w/workspace/_app-service-configurable_PR-405 ']' [2022-04-19T16:49:45.325Z] + PACKAGES=/tmp/packages_end.txt [2022-04-19T16:49:45.325Z] + case "${OS_FAMILY}" in [2022-04-19T16:49:45.325Z] + dpkg -l [2022-04-19T16:49:45.325Z] + grep '^ii' [2022-04-19T16:49:45.325Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-19T16:49:45.325Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-19T16:49:45.325Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-19T16:49:45.325Z] + '[' /w/workspace/_app-service-configurable_PR-405 ']' [2022-04-19T16:49:45.325Z] + mkdir -p /w/workspace/_app-service-configurable_PR-405/archives/ [2022-04-19T16:49:45.325Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-405/archives/ [Pipeline] echo [2022-04-19T16:49:45.337Z] 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-19T16:49:45.618Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-19T16:49:46.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T16:49:46.175Z] . [Pipeline] withDockerContainer [2022-04-19T16:49:46.245Z] prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container [2022-04-19T16:49:46.285Z] $ 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-405/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-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T16:49:46.543Z] $ docker top 904a133e87b1570a2d7b01a9fc8b6716b7fb46ddbd5f883d0970450ea850bf06 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T16:49:46.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-19T16:49:47.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-19T16:49:47.489Z] + ls /var/log/sa-host [2022-04-19T16:49:47.489Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T16:49:47.571Z] provisioning config files... [2022-04-19T16:49:47.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config4204394245869208128tmp [Pipeline] { [Pipeline] echo [2022-04-19T16:49:47.596Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:47.882Z] ---> create-netrc.sh [Pipeline] } [2022-04-19T16:49:47.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:48.222Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-19T16:49:48.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:48.521Z] ---> sudo-logs.sh [2022-04-19T16:49:48.521Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-19T16:49:48.555Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:48.851Z] ---> job-cost.sh [2022-04-19T16:49:48.851Z] lf-activate-venv: SKIPPING [2022-04-19T16:49:48.851Z] DEBUG: total: 0.2199999988079071 [2022-04-19T16:49:48.851Z] INFO: Retrieving Stack Cost... [2022-04-19T16:49:49.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T16:49:49.681Z] INFO: Archiving Costs [Pipeline] echo [2022-04-19T16:49:49.694Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T16:49:49.981Z] ---> logs-deploy.sh [2022-04-19T16:49:49.982Z] lf-activate-venv: SKIPPING [2022-04-19T16:49:49.982Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-405/2 [2022-04-19T16:49:49.982Z] INFO: archiving workspace using pattern(s): [2022-04-19T16:49:50.923Z] Archives upload complete. [2022-04-19T16:49:50.923Z] INFO: archiving logs to Nexus