Pull request #408 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4+df3e4aa32325b4ff01c9571101f476251afb5081 (0d66c0ff62f69b42981203bd99150ff5832d3ce2) 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-ssh13224369918597092007.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-ssh4350491268174434874.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-408/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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18399778254239951569.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-ssh743913421164954133.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-408/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-408/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1207723215641278313.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 ‘prd-ubuntu20.04-docker-8c-8g-23614’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-23613’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23617 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 Merge succeeded, producing 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 Checking out Revision 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 (PR-408) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # 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 a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:33:48.092Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:33:48.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:33:48.191Z] ========================================================= [2022-04-26T15:33:48.191Z] EdgeX Global Pipelines Version Info [2022-04-26T15:33:48.191Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:33:50.245Z] ------------------- [2022-04-26T15:33:50.245Z] stable info: [2022-04-26T15:33:50.245Z] ------------------- [2022-04-26T15:33:50.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:33:50.245Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:33:50.245Z] Message: update stable to v1.0.221 [2022-04-26T15:33:51.253Z] ------------------- [2022-04-26T15:33:51.253Z] experimental info: [2022-04-26T15:33:51.253Z] ------------------- [2022-04-26T15:33:51.253Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:33:51.253Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:33:51.253Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:33:51.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-26T15:33:51.776Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-26T15:33:51.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:33:51.810Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:33:51.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:33:51.842Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:33:51.860Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:33:51.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:33:51.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:33:51.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:33:51.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:33:51.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-26T15:33:51.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:33:51.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:33:51.988Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:33:52.004Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:33:52.019Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:33:52.033Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:33:52.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:33:52.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:33:52.088Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:33:52.108Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:33:52.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:33:52.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:33:52.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:33:52.189Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:33:52.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo [2022-04-26T15:33:52.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo [2022-04-26T15:33:52.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo [2022-04-26T15:33:52.270Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo [2022-04-26T15:33:52.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33be463 [Pipeline] echo [2022-04-26T15:33:52.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:33:52.348Z] provisioning config files... [2022-04-26T15:33:52.373Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config1942325788057271513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:33:52.769Z] ---> docker-login.sh [2022-04-26T15:33:52.769Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:33:53.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:33:54.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:33:54.052Z] Configure a credential helper to remove this warning. See [2022-04-26T15:33:54.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:33:54.052Z] [2022-04-26T15:33:54.052Z] Login Succeeded [2022-04-26T15:33:54.052Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:33:54.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:33:54.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:33:54.617Z] Configure a credential helper to remove this warning. See [2022-04-26T15:33:54.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:33:54.617Z] [2022-04-26T15:33:54.617Z] Login Succeeded [2022-04-26T15:33:54.617Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:33:54.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:33:57.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:33:57.275Z] Configure a credential helper to remove this warning. See [2022-04-26T15:33:57.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:33:57.275Z] [2022-04-26T15:33:57.275Z] Login Succeeded [2022-04-26T15:33:57.275Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:33:57.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:33:57.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:33:57.551Z] Configure a credential helper to remove this warning. See [2022-04-26T15:33:57.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:33:57.551Z] [2022-04-26T15:33:57.551Z] Login Succeeded [2022-04-26T15:33:57.551Z] docker.io [2022-04-26T15:33:57.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:33:58.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:33:58.539Z] Configure a credential helper to remove this warning. See [2022-04-26T15:33:58.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:33:58.539Z] [2022-04-26T15:33:58.539Z] Login Succeeded [2022-04-26T15:33:58.539Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:33:58.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:33:59.020Z] + git rev-list -1 --merges 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4~1..33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo [2022-04-26T15:33:59.070Z] -----------> git rev-list -1 --merges 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4~1..33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [false] [Pipeline] sh [2022-04-26T15:33:59.396Z] + git log --format=format:%s -1 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo [2022-04-26T15:33:59.447Z] ========================================================= [2022-04-26T15:33:59.447Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:33:59.447Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:34:00.170Z] + git log --format=format:%s -1 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo [2022-04-26T15:34:00.185Z] [semverPrep] GIT_COMMIT: 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-26T15:34:00.194Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:34:00.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:34:00.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:34:00.697Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:34:00.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:34:00.697Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:34:00.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:34:00.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:34:01.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:34:01.284Z] [2022-04-26T15:34:01.284Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:34:01.653Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:34:01.653Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:34:01.653Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:34:01.653Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:34:01.653Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:34:01.653Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:34:01.653Z] 0c2d73faf560: Waiting [2022-04-26T15:34:01.653Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:34:01.653Z] 3e5f54012d9b: Download complete [2022-04-26T15:34:02.005Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:34:02.005Z] 0c2d73faf560: Download complete [2022-04-26T15:34:02.005Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:34:02.005Z] 4c7163046ea9: Download complete [2022-04-26T15:34:02.005Z] a0d0a0d46f8b: Download complete [2022-04-26T15:34:02.284Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:34:02.284Z] 3e5f54012d9b: Pull complete [2022-04-26T15:34:02.546Z] 4c7163046ea9: Pull complete [2022-04-26T15:34:02.809Z] 0c2d73faf560: Pull complete [2022-04-26T15:34:02.809Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:34:02.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:34:02.809Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:34:02.898Z] prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container [2022-04-26T15:34:02.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T15:34:03.687Z] $ docker top aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:34:03.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:34:03.806Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:34:03.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:34:03.960Z] $ docker exec aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent [2022-04-26T15:34:04.094Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGABcGo/agent.14 [2022-04-26T15:34:04.094Z] SSH_AGENT_PID=21 [2022-04-26T15:34:04.102Z] Running ssh-add (command line suppressed) [2022-04-26T15:34:04.227Z] Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_9140798352252676688.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_9140798352252676688.key) [2022-04-26T15:34:04.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:34:04.546Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:34:04.564Z] $ docker exec --env ******** --env ******** aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent -k [2022-04-26T15:34:04.677Z] unset SSH_AUTH_SOCK; [2022-04-26T15:34:04.678Z] unset SSH_AGENT_PID; [2022-04-26T15:34:04.678Z] echo Agent pid 21 killed; [2022-04-26T15:34:04.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:34:04.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:34:04.743Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:34:04.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:34:04.895Z] $ docker exec aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent [2022-04-26T15:34:05.030Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDaBeBm/agent.54 [2022-04-26T15:34:05.030Z] SSH_AGENT_PID=61 [2022-04-26T15:34:05.037Z] Running ssh-add (command line suppressed) [2022-04-26T15:34:05.172Z] Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_3461485634611876349.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_3461485634611876349.key) [2022-04-26T15:34:05.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:34:05.486Z] + git semver init [2022-04-26T15:34:05.486Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:34:05.486Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-408/.git [2022-04-26T15:34:05.486Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-408 [2022-04-26T15:34:05.486Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:34:05.486Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:34:05.486Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:34:05.487Z] # $SEMVER_BRANCH = PR-408 [2022-04-26T15:34:05.487Z] # $SEMVER_TEMP = /tmp/semver-613092858 [2022-04-26T15:34:05.487Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-26T15:34:06.432Z] # '/tmp/semver-613092858' -> '/w/workspace/_app-service-configurable_PR-408/.semver' [2022-04-26T15:34:06.432Z] # -> Force: false [2022-04-26T15:34:06.432Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-408/.semver [Pipeline] } [2022-04-26T15:34:06.446Z] $ docker exec --env ******** --env ******** aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent -k [2022-04-26T15:34:06.586Z] unset SSH_AUTH_SOCK; [2022-04-26T15:34:06.586Z] unset SSH_AGENT_PID; [2022-04-26T15:34:06.586Z] echo Agent pid 61 killed; [2022-04-26T15:34:06.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:34:06.913Z] + git semver [Pipeline] } [2022-04-26T15:34:06.930Z] $ docker stop --time=1 aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 [2022-04-26T15:34:08.284Z] $ docker rm -f aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:34:08.656Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:34:08.968Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:34:08.973Z] [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-26T15:34:09.152Z] provisioning config files... [2022-04-26T15:34:09.167Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config228079470530408617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:34:09.482Z] ---> docker-login.sh [2022-04-26T15:34:09.482Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:34:09.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:34:09.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:34:09.482Z] Configure a credential helper to remove this warning. See [2022-04-26T15:34:09.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:34:09.482Z] [2022-04-26T15:34:09.482Z] Login Succeeded [2022-04-26T15:34:09.482Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:34:09.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:34:09.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:34:09.741Z] Configure a credential helper to remove this warning. See [2022-04-26T15:34:09.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:34:09.741Z] [2022-04-26T15:34:09.741Z] Login Succeeded [2022-04-26T15:34:09.741Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:34:09.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:34:09.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:34:09.741Z] Configure a credential helper to remove this warning. See [2022-04-26T15:34:09.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:34:09.741Z] [2022-04-26T15:34:09.741Z] Login Succeeded [2022-04-26T15:34:09.741Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:34:10.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:34:10.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:34:10.001Z] Configure a credential helper to remove this warning. See [2022-04-26T15:34:10.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:34:10.001Z] [2022-04-26T15:34:10.001Z] Login Succeeded [2022-04-26T15:34:10.001Z] docker.io [2022-04-26T15:34:10.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:34:10.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:34:10.263Z] Configure a credential helper to remove this warning. See [2022-04-26T15:34:10.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:34:10.263Z] [2022-04-26T15:34:10.263Z] Login Succeeded [2022-04-26T15:34:10.263Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:34:10.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:34:10.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:34:10.360Z] ========================================================= [2022-04-26T15:34:10.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:34:10.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:34:10.682Z] + 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-26T15:34:10.682Z] Sending build context to Docker daemon 3.043MB [2022-04-26T15:34:10.682Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:34:10.682Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T15:34:10.682Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:34:10.682Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:34:10.682Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:34:10.682Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:34:10.682Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:34:10.682Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:34:10.682Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:34:10.682Z] a51346096db8: Pulling fs layer [2022-04-26T15:34:10.682Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:34:10.682Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:34:10.682Z] daebc70d1ce1: Waiting [2022-04-26T15:34:10.682Z] ca2b28591e48: Waiting [2022-04-26T15:34:10.682Z] 0e18a0eac166: Waiting [2022-04-26T15:34:10.682Z] 22a0e8bec74d: Waiting [2022-04-26T15:34:10.682Z] 4fe6c5a15a65: Waiting [2022-04-26T15:34:10.682Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:34:10.682Z] 8ed8ca486205: Download complete [2022-04-26T15:34:10.682Z] 666ba61612fd: Verifying Checksum [2022-04-26T15:34:10.682Z] 666ba61612fd: Download complete [2022-04-26T15:34:10.682Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:34:10.682Z] 22a0e8bec74d: Download complete [2022-04-26T15:34:10.944Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:34:10.944Z] 59bf1c3509f3: Download complete [2022-04-26T15:34:10.944Z] ca2b28591e48: Download complete [2022-04-26T15:34:10.944Z] a51346096db8: Verifying Checksum [2022-04-26T15:34:10.944Z] a51346096db8: Download complete [2022-04-26T15:34:10.944Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:34:10.944Z] daebc70d1ce1: Download complete [2022-04-26T15:34:10.944Z] 59bf1c3509f3: Pull complete [2022-04-26T15:34:11.211Z] 666ba61612fd: Pull complete [2022-04-26T15:34:11.211Z] 8ed8ca486205: Pull complete [2022-04-26T15:34:11.783Z] 0e18a0eac166: Download complete [2022-04-26T15:34:11.783Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:34:11.783Z] 4fe6c5a15a65: Download complete [2022-04-26T15:34:15.987Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:34:15.987Z] 22a0e8bec74d: Pull complete [2022-04-26T15:34:16.248Z] ca2b28591e48: Pull complete [2022-04-26T15:34:16.248Z] a51346096db8: Pull complete [2022-04-26T15:34:16.508Z] daebc70d1ce1: Pull complete [2022-04-26T15:34:19.062Z] 0e18a0eac166: Pull complete [2022-04-26T15:34:19.062Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:34:19.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:34:19.062Z] ---> f018257e8ee9 [2022-04-26T15:34:19.062Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T15:34:20.457Z] ---> Running in a74e0a5f2e03 [2022-04-26T15:34:20.720Z] Removing intermediate container a74e0a5f2e03 [2022-04-26T15:34:20.720Z] ---> e053cef19848 [2022-04-26T15:34:20.720Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:34:20.720Z] ---> Running in 51ba7049de4c [2022-04-26T15:34:20.720Z] Removing intermediate container 51ba7049de4c [2022-04-26T15:34:20.720Z] ---> ca51a274370e [2022-04-26T15:34:20.720Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:34:20.982Z] ---> Running in b4ffe643e2c8 [2022-04-26T15:34:20.982Z] Removing intermediate container b4ffe643e2c8 [2022-04-26T15:34:20.982Z] ---> 3ce8d354eeef [2022-04-26T15:34:20.982Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:34:20.982Z] ---> Running in e8d84dcc9763 [2022-04-26T15:34:21.929Z] Removing intermediate container e8d84dcc9763 [2022-04-26T15:34:21.929Z] ---> f3a432cea22c [2022-04-26T15:34:21.929Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:34:21.929Z] ---> Running in 577724ad3369 [2022-04-26T15:34:21.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:34:22.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:34:23.136Z] OK: 221 MiB in 52 packages [2022-04-26T15:34:23.709Z] Removing intermediate container 577724ad3369 [2022-04-26T15:34:23.709Z] ---> 7acc7a9b8ec0 [2022-04-26T15:34:23.709Z] Step 8/13 : WORKDIR /app [2022-04-26T15:34:23.709Z] ---> Running in 4f30878b9eaf [2022-04-26T15:34:23.709Z] Removing intermediate container 4f30878b9eaf [2022-04-26T15:34:23.709Z] ---> 25017d69180b [2022-04-26T15:34:23.709Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T15:34:23.970Z] ---> 5ed6e5c3b99e [2022-04-26T15:34:23.970Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:34:23.970Z] ---> Running in 53128102cc2c [2022-04-26T15:34:24.112Z] Still waiting to schedule task [2022-04-26T15:34:24.112Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-23619’ is offline [2022-04-26T15:34:42.101Z] Removing intermediate container 53128102cc2c [2022-04-26T15:34:42.101Z] ---> 07a2b2a0cbf6 [2022-04-26T15:34:42.101Z] Step 11/13 : COPY . . [2022-04-26T15:34:42.101Z] ---> 16730d4b0962 [2022-04-26T15:34:42.101Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T15:34:42.101Z] ---> Running in f69f3f9960f0 [2022-04-26T15:34:42.101Z] Removing intermediate container f69f3f9960f0 [2022-04-26T15:34:42.101Z] ---> cb6c78f18d23 [2022-04-26T15:34:42.101Z] Step 13/13 : RUN $MAKE [2022-04-26T15:34:42.101Z] ---> Running in cb866de9accc [2022-04-26T15:34:42.101Z] noop [2022-04-26T15:34:42.101Z] Removing intermediate container cb866de9accc [2022-04-26T15:34:42.101Z] ---> 77707196dd5c [2022-04-26T15:34:42.102Z] Successfully built 77707196dd5c [2022-04-26T15:34:42.102Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:34:42.401Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:34:42.401Z] . [Pipeline] withDockerContainer [2022-04-26T15:34:42.478Z] prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container [2022-04-26T15:34:42.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T15:34:42.954Z] $ docker top 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:34:43.321Z] + go version [2022-04-26T15:34:43.321Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:34:43.335Z] $ docker stop --time=1 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c [2022-04-26T15:34:44.688Z] $ docker rm -f 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:34:45.129Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:34:45.129Z] . [Pipeline] withDockerContainer [2022-04-26T15:34:45.203Z] prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container [2022-04-26T15:34:45.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T15:34:45.673Z] $ docker top 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:34:46.060Z] + make test [2022-04-26T15:34:46.061Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T15:34:58.304Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T15:34:58.304Z] CGO_ENABLED=1 go vet ./... [2022-04-26T15:35:00.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:35:00.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:35:00.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:35:01.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:35:01.455Z] $ docker stop --time=1 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb [2022-04-26T15:35:03.164Z] $ docker rm -f 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:35:03.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:35:03.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T15:35:04.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:35:04.548Z] + ls -al . [2022-04-26T15:35:04.549Z] total 184 [2022-04-26T15:35:04.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:35 . [2022-04-26T15:35:04.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:33 .. [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 15:33 .dockerignore [2022-04-26T15:35:04.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:33 .git [2022-04-26T15:35:04.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:33 .github [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 15:33 .gitignore [2022-04-26T15:35:04.549Z] drwx------ 3 jenkins jenkins 4096 Apr 26 15:34 .semver [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 15:33 Attribution.txt [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 15:33 CHANGELOG.md [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 15:33 Dockerfile [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:33 GOVERNANCE.md [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 15:33 Jenkinsfile [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 15:33 LICENSE [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 15:33 OWNERS.md [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 15:33 README.md [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:34 VERSION [2022-04-26T15:35:04.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:33 bin [2022-04-26T15:35:04.549Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 15:34 coverage.out [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 15:33 go.mod [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 15:33 go.sum [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 15:33 main.go [2022-04-26T15:35:04.549Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 15:33 makefile [2022-04-26T15:35:04.549Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:33 res [2022-04-26T15:35:04.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:33 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:35:04.854Z] + 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=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 --label arch=amd64 --label version=0.0.0 . [2022-04-26T15:35:04.854Z] Sending build context to Docker daemon 3.044MB [2022-04-26T15:35:04.854Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:35:04.854Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T15:35:04.854Z] ---> 77707196dd5c [2022-04-26T15:35:04.854Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T15:35:04.854Z] ---> Running in 186c9aca725f [2022-04-26T15:35:05.117Z] Removing intermediate container 186c9aca725f [2022-04-26T15:35:05.117Z] ---> 724de19f371c [2022-04-26T15:35:05.117Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:35:05.117Z] ---> Running in badbb08ce3a7 [2022-04-26T15:35:05.117Z] Removing intermediate container badbb08ce3a7 [2022-04-26T15:35:05.117Z] ---> 558f9940089e [2022-04-26T15:35:05.117Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:35:05.380Z] ---> Running in ebab5f5bdcac [2022-04-26T15:35:05.380Z] Removing intermediate container ebab5f5bdcac [2022-04-26T15:35:05.380Z] ---> 13d1c1593b85 [2022-04-26T15:35:05.380Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:35:05.380Z] ---> Running in 90258eecabfb [2022-04-26T15:35:05.953Z] Removing intermediate container 90258eecabfb [2022-04-26T15:35:05.953Z] ---> 60dcbb09b7ab [2022-04-26T15:35:05.953Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:35:05.953Z] ---> Running in aa7dd1a8c707 [2022-04-26T15:35:06.215Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:35:07.162Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:35:07.424Z] OK: 221 MiB in 52 packages [2022-04-26T15:35:07.685Z] Removing intermediate container aa7dd1a8c707 [2022-04-26T15:35:07.685Z] ---> 0884f34eee9a [2022-04-26T15:35:07.685Z] Step 8/27 : WORKDIR /app [2022-04-26T15:35:07.685Z] ---> Running in e4dec4f72101 [2022-04-26T15:35:07.948Z] Removing intermediate container e4dec4f72101 [2022-04-26T15:35:07.948Z] ---> 8b6ac937dcca [2022-04-26T15:35:07.948Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T15:35:07.948Z] ---> 1ad9c9c169d2 [2022-04-26T15:35:07.948Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:35:07.948Z] ---> Running in bf6728cc8e1b [2022-04-26T15:35:08.893Z] Removing intermediate container bf6728cc8e1b [2022-04-26T15:35:08.893Z] ---> 7b97001c961f [2022-04-26T15:35:08.893Z] Step 11/27 : COPY . . [2022-04-26T15:35:09.472Z] ---> fa0852ce77a8 [2022-04-26T15:35:09.472Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T15:35:09.472Z] ---> Running in 79ae61e59d45 [2022-04-26T15:35:09.735Z] Removing intermediate container 79ae61e59d45 [2022-04-26T15:35:09.735Z] ---> e24b83932387 [2022-04-26T15:35:09.735Z] Step 13/27 : RUN $MAKE [2022-04-26T15:35:09.735Z] ---> Running in c8994152ca85 [2022-04-26T15:35:09.997Z] 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-26T15:35:31.980Z] Removing intermediate container c8994152ca85 [2022-04-26T15:35:31.980Z] ---> ce0ae99ebdff [2022-04-26T15:35:31.980Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T15:35:32.242Z] 3.14: Pulling from library/alpine [2022-04-26T15:35:32.503Z] 8663204ce13b: Pulling fs layer [2022-04-26T15:35:32.764Z] 8663204ce13b: Download complete [2022-04-26T15:35:32.764Z] 8663204ce13b: Pull complete [2022-04-26T15:35:32.764Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:35:32.764Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:35:32.764Z] ---> e04c818066af [2022-04-26T15:35:32.764Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:35:33.026Z] ---> Running in ac1f842b0ec5 [2022-04-26T15:35:33.026Z] Removing intermediate container ac1f842b0ec5 [2022-04-26T15:35:33.026Z] ---> e99502272f9c [2022-04-26T15:35:33.026Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T15:35:33.026Z] ---> Running in 0760f1b18be1 [2022-04-26T15:35:33.288Z] Removing intermediate container 0760f1b18be1 [2022-04-26T15:35:33.288Z] ---> 745f707c46b0 [2022-04-26T15:35:33.288Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T15:35:33.288Z] ---> Running in 45acd5e345b5 [2022-04-26T15:35:33.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:35:33.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:35:33.809Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T15:35:33.809Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T15:35:33.809Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:35:33.809Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T15:35:33.809Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:35:33.809Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T15:35:33.809Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T15:35:33.809Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:35:33.809Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T15:35:33.809Z] OK: 9 MiB in 21 packages [2022-04-26T15:35:34.384Z] Removing intermediate container 45acd5e345b5 [2022-04-26T15:35:34.384Z] ---> 51c2f8186211 [2022-04-26T15:35:34.384Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T15:35:34.646Z] ---> 7a35f2fb8184 [2022-04-26T15:35:34.646Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T15:35:34.646Z] ---> e2cfbb3839de [2022-04-26T15:35:34.646Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T15:35:34.907Z] ---> f28549ce0997 [2022-04-26T15:35:34.907Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T15:35:35.477Z] ---> 0d79e2861b85 [2022-04-26T15:35:35.477Z] Step 22/27 : EXPOSE 48095 [2022-04-26T15:35:35.477Z] ---> Running in 24a15cae2ade [2022-04-26T15:35:35.738Z] Removing intermediate container 24a15cae2ade [2022-04-26T15:35:35.738Z] ---> 3ae298947027 [2022-04-26T15:35:35.738Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T15:35:35.738Z] ---> Running in 7e686d4d3a70 [2022-04-26T15:35:35.738Z] Removing intermediate container 7e686d4d3a70 [2022-04-26T15:35:35.738Z] ---> e37621dc588d [2022-04-26T15:35:35.738Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T15:35:35.999Z] ---> Running in ac964e0362b3 [2022-04-26T15:35:35.999Z] Removing intermediate container ac964e0362b3 [2022-04-26T15:35:35.999Z] ---> 6346edf8dc21 [2022-04-26T15:35:35.999Z] Step 25/27 : LABEL arch=amd64 [2022-04-26T15:35:35.999Z] ---> Running in 7650715a030c [2022-04-26T15:35:35.999Z] Removing intermediate container 7650715a030c [2022-04-26T15:35:35.999Z] ---> 3b2171e77cc9 [2022-04-26T15:35:35.999Z] Step 26/27 : LABEL git_sha=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [2022-04-26T15:35:36.261Z] ---> Running in 96692cbf8fc0 [2022-04-26T15:35:36.261Z] Removing intermediate container 96692cbf8fc0 [2022-04-26T15:35:36.261Z] ---> 17854f1a6aaa [2022-04-26T15:35:36.261Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T15:35:36.261Z] ---> Running in 90f24ca3bd9d [2022-04-26T15:35:36.525Z] Removing intermediate container 90f24ca3bd9d [2022-04-26T15:35:36.525Z] ---> aa244abbb88d [2022-04-26T15:35:36.525Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:35:36.525Z] Successfully built aa244abbb88d [2022-04-26T15:35:36.525Z] 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-26T15:35:36.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:35:36.939Z] [2022-04-26T15:35:36.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:35:37.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:35:37.248Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:35:37.248Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:35:37.248Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:35:37.248Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:35:37.248Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:35:37.248Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:35:37.248Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:35:37.248Z] 33b1e0a273af: Waiting [2022-04-26T15:35:37.248Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:35:37.248Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:35:37.248Z] 2f39f015ded8: Waiting [2022-04-26T15:35:37.248Z] 5c69ac0246d0: Download complete [2022-04-26T15:35:37.248Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:35:37.248Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:35:37.510Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:35:37.510Z] 33b1e0a273af: Download complete [2022-04-26T15:35:37.510Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T15:35:37.510Z] 5d3b04190fa2: Download complete [2022-04-26T15:35:37.510Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:35:37.510Z] ec43610c2a17: Download complete [2022-04-26T15:35:37.510Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:35:37.510Z] 5eb5b503b376: Download complete [2022-04-26T15:35:38.451Z] 2f39f015ded8: Download complete [2022-04-26T15:35:39.022Z] 5eb5b503b376: Pull complete [2022-04-26T15:35:39.022Z] 5c69ac0246d0: Pull complete [2022-04-26T15:35:39.593Z] ec43610c2a17: Pull complete [2022-04-26T15:35:39.593Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:35:39.854Z] 33b1e0a273af: Pull complete [2022-04-26T15:35:40.115Z] 5d3b04190fa2: Pull complete [2022-04-26T15:35:44.317Z] 2f39f015ded8: Pull complete [2022-04-26T15:35:44.317Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:35:44.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:35:44.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:35:44.392Z] prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container [2022-04-26T15:35:44.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T15:35:46.439Z] $ docker top 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:35:46.842Z] ---> job-cost.sh [2022-04-26T15:35:46.842Z] lf-activate-venv: SKIPPING [2022-04-26T15:35:46.842Z] INFO: No Stack... [2022-04-26T15:35:53.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:35:53.419Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:35:53.708Z] + cat /w/workspace/_app-service-configurable_PR-408/archives/cost.csv [2022-04-26T15:35:53.708Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:35:53.725Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [2022-04-26T15:35:53.730Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] did not exist. Created. [2022-04-26T15:35:53.730Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:35:54.040Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:35:54.075Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:35:54.082Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:35:54.110Z] $ docker stop --time=1 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 [2022-04-26T15:35:55.318Z] $ docker rm -f 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T15:37:25.493Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23621 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] ws [2022-04-26T15:37:25.508Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2022-04-26T15:37:26.059Z] Selected Git installation does not exist. Using Default [2022-04-26T15:37:26.060Z] The recommended git tool is: NONE [2022-04-26T15:37:34.742Z] using credential edgex-jenkins-ssh [2022-04-26T15:37:34.761Z] Cloning the remote Git repository [2022-04-26T15:37:34.863Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T15:37:34.966Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2022-04-26T15:37:35.083Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T15:37:35.084Z] > git --version # timeout=10 [2022-04-26T15:37:35.110Z] > git --version # 'git version 2.25.1' [2022-04-26T15:37:35.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T15:37:35.276Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T15:37:36.559Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T15:37:36.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T15:37:36.630Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T15:37:36.691Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T15:37:36.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T15:37:36.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T15:37:37.300Z] Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [2022-04-26T15:37:37.608Z] Merge succeeded, producing 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [2022-04-26T15:37:37.609Z] Checking out Revision 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 (PR-408) [2022-04-26T15:37:37.334Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T15:37:37.361Z] > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 [2022-04-26T15:37:37.487Z] > git remote # timeout=10 [2022-04-26T15:37:37.517Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T15:37:37.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T15:37:37.559Z] > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 [2022-04-26T15:37:37.593Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T15:37:37.624Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T15:37:37.653Z] > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 [2022-04-26T15:37:42.237Z] 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-26T15:37:43.101Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T15:37:43.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T15:37:43.101Z] Dload Upload Total Spent Left Speed [2022-04-26T15:37:43.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-26T15:37:43.679Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T15:37:44.031Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T15:37:44.031Z] + sudo tee /etc/docker/daemon.new [2022-04-26T15:37:44.031Z] { [2022-04-26T15:37:44.031Z] "registry-mirrors": [ [2022-04-26T15:37:44.031Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T15:37:44.031Z] ], [2022-04-26T15:37:44.031Z] "bip": "10.250.0.254/24", [2022-04-26T15:37:44.031Z] "hosts": [ [2022-04-26T15:37:44.031Z] "tcp://0.0.0.0:5555", [2022-04-26T15:37:44.031Z] "unix:///var/run/docker.sock" [2022-04-26T15:37:44.031Z] ], [2022-04-26T15:37:44.031Z] "mtu": 1458, [2022-04-26T15:37:44.031Z] "selinux-enabled": true, [2022-04-26T15:37:44.031Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T15:37:44.031Z] } [Pipeline] sh [2022-04-26T15:37:44.404Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T15:37:44.764Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:38:03.162Z] provisioning config files... [2022-04-26T15:38:03.193Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config807722581531796752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:38:03.578Z] ---> docker-login.sh [2022-04-26T15:38:03.578Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:38:04.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:38:04.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:38:04.786Z] Configure a credential helper to remove this warning. See [2022-04-26T15:38:04.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:38:04.786Z] [2022-04-26T15:38:04.786Z] Login Succeeded [2022-04-26T15:38:04.786Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:38:05.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:38:05.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:38:05.062Z] Configure a credential helper to remove this warning. See [2022-04-26T15:38:05.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:38:05.062Z] [2022-04-26T15:38:05.062Z] Login Succeeded [2022-04-26T15:38:05.341Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:38:05.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:38:05.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:38:05.900Z] Configure a credential helper to remove this warning. See [2022-04-26T15:38:05.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:38:05.900Z] [2022-04-26T15:38:05.900Z] Login Succeeded [2022-04-26T15:38:05.900Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:38:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:38:06.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:38:06.456Z] Configure a credential helper to remove this warning. See [2022-04-26T15:38:06.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:38:06.456Z] [2022-04-26T15:38:06.456Z] Login Succeeded [2022-04-26T15:38:06.456Z] docker.io [2022-04-26T15:38:06.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:38:07.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:38:07.338Z] Configure a credential helper to remove this warning. See [2022-04-26T15:38:07.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:38:07.339Z] [2022-04-26T15:38:07.339Z] Login Succeeded [2022-04-26T15:38:07.339Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:38:07.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:38:07.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:38:07.928Z] ========================================================= [2022-04-26T15:38:07.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T15:38:07.928Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:38:08.392Z] + 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-26T15:38:08.392Z] Sending build context to Docker daemon 218.1kB [2022-04-26T15:38:08.671Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:38:08.671Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T15:38:08.951Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T15:38:08.951Z] 9b3977197b4f: Pulling fs layer [2022-04-26T15:38:08.951Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T15:38:08.951Z] 94645a83ff95: Pulling fs layer [2022-04-26T15:38:08.951Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T15:38:08.951Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T15:38:08.951Z] 3096ccb668a1: Pulling fs layer [2022-04-26T15:38:08.951Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T15:38:08.951Z] a4caa8a26152: Pulling fs layer [2022-04-26T15:38:08.951Z] 3f3a8bcf1eab: Waiting [2022-04-26T15:38:08.951Z] 0c92f367c5e7: Waiting [2022-04-26T15:38:08.951Z] 3096ccb668a1: Waiting [2022-04-26T15:38:08.951Z] e8cf19c19ddd: Waiting [2022-04-26T15:38:08.951Z] a4caa8a26152: Waiting [2022-04-26T15:38:08.951Z] 94645a83ff95: Verifying Checksum [2022-04-26T15:38:08.951Z] 94645a83ff95: Download complete [2022-04-26T15:38:08.951Z] 1a89e8eeedd5: Download complete [2022-04-26T15:38:08.951Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T15:38:08.951Z] 0c92f367c5e7: Download complete [2022-04-26T15:38:08.951Z] 3096ccb668a1: Download complete [2022-04-26T15:38:09.239Z] 9b3977197b4f: Download complete [2022-04-26T15:38:09.239Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T15:38:09.239Z] e8cf19c19ddd: Download complete [2022-04-26T15:38:09.851Z] 9b3977197b4f: Pull complete [2022-04-26T15:38:10.465Z] 1a89e8eeedd5: Pull complete [2022-04-26T15:38:11.078Z] 94645a83ff95: Pull complete [2022-04-26T15:38:11.359Z] a4caa8a26152: Download complete [2022-04-26T15:38:11.966Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T15:38:11.966Z] 3f3a8bcf1eab: Download complete [2022-04-26T15:38:24.412Z] 3f3a8bcf1eab: Pull complete [2022-04-26T15:38:24.412Z] 0c92f367c5e7: Pull complete [2022-04-26T15:38:24.412Z] 3096ccb668a1: Pull complete [2022-04-26T15:38:24.689Z] e8cf19c19ddd: Pull complete [2022-04-26T15:38:31.448Z] a4caa8a26152: Pull complete [2022-04-26T15:38:31.448Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T15:38:31.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T15:38:31.448Z] ---> 725f1c02e7f9 [2022-04-26T15:38:31.448Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T15:38:32.447Z] ---> Running in 2f0a0510768c [2022-04-26T15:38:32.447Z] Removing intermediate container 2f0a0510768c [2022-04-26T15:38:32.447Z] ---> 3dd204f9996a [2022-04-26T15:38:32.447Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:38:32.736Z] ---> Running in f963297007e4 [2022-04-26T15:38:33.012Z] Removing intermediate container f963297007e4 [2022-04-26T15:38:33.012Z] ---> 910e9023c9c6 [2022-04-26T15:38:33.012Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:38:33.012Z] ---> Running in 6b978f0008f6 [2022-04-26T15:38:33.609Z] Removing intermediate container 6b978f0008f6 [2022-04-26T15:38:33.609Z] ---> 28278586b4df [2022-04-26T15:38:33.609Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:38:33.609Z] ---> Running in c3a56b8d0e56 [2022-04-26T15:38:35.598Z] Removing intermediate container c3a56b8d0e56 [2022-04-26T15:38:35.598Z] ---> 85f797c27f33 [2022-04-26T15:38:35.598Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:38:35.598Z] ---> Running in 044d900a2888 [2022-04-26T15:38:37.584Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T15:38:38.573Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T15:38:39.564Z] OK: 220 MiB in 52 packages [2022-04-26T15:38:40.583Z] Removing intermediate container 044d900a2888 [2022-04-26T15:38:40.583Z] ---> 8163a6030dd5 [2022-04-26T15:38:40.583Z] Step 8/13 : WORKDIR /app [2022-04-26T15:38:40.583Z] ---> Running in f4273cbcf45e [2022-04-26T15:38:41.199Z] Removing intermediate container f4273cbcf45e [2022-04-26T15:38:41.199Z] ---> ca5a91e06c8a [2022-04-26T15:38:41.199Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T15:38:41.819Z] ---> 6482b0127f20 [2022-04-26T15:38:41.819Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:38:41.819Z] ---> Running in f2809a959638 [2022-04-26T15:39:38.442Z] Removing intermediate container f2809a959638 [2022-04-26T15:39:38.442Z] ---> b25e31925b76 [2022-04-26T15:39:38.442Z] Step 11/13 : COPY . . [2022-04-26T15:39:38.442Z] ---> db9188b8ef96 [2022-04-26T15:39:38.442Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T15:39:38.442Z] ---> Running in 4ff8193badee [2022-04-26T15:39:38.442Z] Removing intermediate container 4ff8193badee [2022-04-26T15:39:38.442Z] ---> 4ef4927fb5c8 [2022-04-26T15:39:38.442Z] Step 13/13 : RUN $MAKE [2022-04-26T15:39:38.442Z] ---> Running in f69f0792924a [2022-04-26T15:39:38.442Z] noop [2022-04-26T15:39:38.442Z] Removing intermediate container f69f0792924a [2022-04-26T15:39:38.442Z] ---> e1775f06ee65 [2022-04-26T15:39:38.442Z] Successfully built e1775f06ee65 [2022-04-26T15:39:38.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:39:38.803Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T15:39:38.803Z] . [Pipeline] withDockerContainer [2022-04-26T15:39:39.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container [2022-04-26T15:39:39.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-26T15:39:40.764Z] $ docker top a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:39:41.755Z] + go version [2022-04-26T15:39:41.755Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T15:39:41.790Z] $ docker stop --time=1 a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb [2022-04-26T15:39:43.573Z] $ docker rm -f a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:39:44.244Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T15:39:44.244Z] . [Pipeline] withDockerContainer [2022-04-26T15:39:44.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container [2022-04-26T15:39:44.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-26T15:39:46.230Z] $ docker top 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:39:47.215Z] + make test [2022-04-26T15:39:47.215Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T15:41:24.468Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T15:41:24.468Z] CGO_ENABLED=1 go vet ./... [2022-04-26T15:41:56.928Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:41:56.928Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:41:56.928Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:41:56.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:41:56.980Z] $ docker stop --time=1 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 [2022-04-26T15:41:58.935Z] $ docker rm -f 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:42:00.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:42:00.109Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T15:42:00.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:42:01.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:42:01.546Z] + ls -al . [2022-04-26T15:42:01.546Z] total 180 [2022-04-26T15:42:01.546Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 15:41 . [2022-04-26T15:42:01.546Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:37 .. [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 15:37 .dockerignore [2022-04-26T15:42:01.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:37 .git [2022-04-26T15:42:01.546Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:37 .github [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 15:37 .gitignore [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 15:37 Attribution.txt [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 15:37 CHANGELOG.md [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 15:37 Dockerfile [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:37 GOVERNANCE.md [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 15:37 Jenkinsfile [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 15:37 LICENSE [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 15:37 OWNERS.md [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 15:37 README.md [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:34 VERSION [2022-04-26T15:42:01.546Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:37 bin [2022-04-26T15:42:01.546Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 15:39 coverage.out [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 15:37 go.mod [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 15:37 go.sum [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 15:37 main.go [2022-04-26T15:42:01.546Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 15:37 makefile [2022-04-26T15:42:01.546Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:37 res [2022-04-26T15:42:01.546Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:37 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:01.909Z] + 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=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 --label arch=arm64 --label version=0.0.0 . [2022-04-26T15:42:01.909Z] Sending build context to Docker daemon 219.1kB [2022-04-26T15:42:02.524Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:42:02.524Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T15:42:02.524Z] ---> e1775f06ee65 [2022-04-26T15:42:02.524Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T15:42:02.524Z] ---> Running in 9bc3a74bcc8d [2022-04-26T15:42:02.804Z] Removing intermediate container 9bc3a74bcc8d [2022-04-26T15:42:02.804Z] ---> cc23b7e53403 [2022-04-26T15:42:02.804Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:42:03.081Z] ---> Running in 7e95f5ce2d6b [2022-04-26T15:42:03.359Z] Removing intermediate container 7e95f5ce2d6b [2022-04-26T15:42:03.359Z] ---> 434971df43a8 [2022-04-26T15:42:03.359Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:42:03.359Z] ---> Running in e08a4eb2eec9 [2022-04-26T15:42:03.972Z] Removing intermediate container e08a4eb2eec9 [2022-04-26T15:42:03.972Z] ---> 116b41c308fa [2022-04-26T15:42:03.972Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:42:03.972Z] ---> Running in c7a730e6f452 [2022-04-26T15:42:05.965Z] Removing intermediate container c7a730e6f452 [2022-04-26T15:42:05.965Z] ---> 66fa13c4c77a [2022-04-26T15:42:05.965Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:42:05.965Z] ---> Running in 987442c00369 [2022-04-26T15:42:07.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T15:42:08.031Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T15:42:09.478Z] OK: 220 MiB in 52 packages [2022-04-26T15:42:10.499Z] Removing intermediate container 987442c00369 [2022-04-26T15:42:10.499Z] ---> ec16bc1c807c [2022-04-26T15:42:10.499Z] Step 8/27 : WORKDIR /app [2022-04-26T15:42:10.499Z] ---> Running in a32dcab9453d [2022-04-26T15:42:10.777Z] Removing intermediate container a32dcab9453d [2022-04-26T15:42:10.777Z] ---> 538d8f65893f [2022-04-26T15:42:10.777Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T15:42:11.776Z] ---> 0a9efb9d71b3 [2022-04-26T15:42:11.776Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:42:11.776Z] ---> Running in 8f7806652f14 [2022-04-26T15:42:14.442Z] Removing intermediate container 8f7806652f14 [2022-04-26T15:42:14.442Z] ---> ee4441203aa0 [2022-04-26T15:42:14.442Z] Step 11/27 : COPY . . [2022-04-26T15:42:14.724Z] ---> cf5bd4959a03 [2022-04-26T15:42:14.724Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T15:42:15.010Z] ---> Running in 4aaf05047e30 [2022-04-26T15:42:15.292Z] Removing intermediate container 4aaf05047e30 [2022-04-26T15:42:15.292Z] ---> 70e7e06cf4df [2022-04-26T15:42:15.292Z] Step 13/27 : RUN $MAKE [2022-04-26T15:42:15.292Z] ---> Running in 6eaa143c66d8 [2022-04-26T15:42:16.766Z] 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-26T15:44:53.788Z] Removing intermediate container 6eaa143c66d8 [2022-04-26T15:44:53.788Z] ---> 09f265289aff [2022-04-26T15:44:53.788Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T15:44:53.788Z] 3.14: Pulling from library/alpine [2022-04-26T15:44:53.788Z] 455c02918c45: Pulling fs layer [2022-04-26T15:44:53.788Z] 455c02918c45: Verifying Checksum [2022-04-26T15:44:53.788Z] 455c02918c45: Download complete [2022-04-26T15:44:53.788Z] 455c02918c45: Pull complete [2022-04-26T15:44:53.788Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:44:53.788Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:44:53.788Z] ---> ac73e934f311 [2022-04-26T15:44:53.788Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T15:44:53.788Z] ---> Running in aa150d1dcf99 [2022-04-26T15:44:53.788Z] Removing intermediate container aa150d1dcf99 [2022-04-26T15:44:53.788Z] ---> f51c0c12bec1 [2022-04-26T15:44:53.788Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T15:44:53.788Z] ---> Running in 2e9adfb4968f [2022-04-26T15:44:53.788Z] Removing intermediate container 2e9adfb4968f [2022-04-26T15:44:53.788Z] ---> ad713dc07477 [2022-04-26T15:44:53.788Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T15:44:53.788Z] ---> Running in e43bc914b420 [2022-04-26T15:44:53.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T15:44:53.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T15:44:53.788Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T15:44:53.788Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T15:44:53.788Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:44:53.788Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T15:44:53.788Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:44:53.788Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T15:44:53.788Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T15:44:53.788Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:44:53.788Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T15:44:53.788Z] OK: 9 MiB in 21 packages [2022-04-26T15:44:53.788Z] Removing intermediate container e43bc914b420 [2022-04-26T15:44:53.788Z] ---> f52a9dd70255 [2022-04-26T15:44:53.788Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T15:44:53.788Z] ---> cb5f0f17b52f [2022-04-26T15:44:53.788Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T15:44:54.064Z] ---> 61975eb28117 [2022-04-26T15:44:54.064Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T15:44:54.667Z] ---> 11e5423f5094 [2022-04-26T15:44:54.667Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T15:44:56.654Z] ---> fa313c0b0fdd [2022-04-26T15:44:56.654Z] Step 22/27 : EXPOSE 48095 [2022-04-26T15:44:56.654Z] ---> Running in aaa08b9a731c [2022-04-26T15:44:56.654Z] Removing intermediate container aaa08b9a731c [2022-04-26T15:44:56.654Z] ---> 0357c06e8f9f [2022-04-26T15:44:56.654Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T15:44:56.936Z] ---> Running in 4388b9b3326b [2022-04-26T15:44:57.216Z] Removing intermediate container 4388b9b3326b [2022-04-26T15:44:57.216Z] ---> bca8bea09703 [2022-04-26T15:44:57.216Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T15:44:57.216Z] ---> Running in 19df731cab65 [2022-04-26T15:44:57.827Z] Removing intermediate container 19df731cab65 [2022-04-26T15:44:57.827Z] ---> e41c2758ad4e [2022-04-26T15:44:57.827Z] Step 25/27 : LABEL arch=arm64 [2022-04-26T15:44:57.827Z] ---> Running in 1acb929acb8a [2022-04-26T15:44:58.103Z] Removing intermediate container 1acb929acb8a [2022-04-26T15:44:58.103Z] ---> d4fbca84902c [2022-04-26T15:44:58.103Z] Step 26/27 : LABEL git_sha=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [2022-04-26T15:44:58.103Z] ---> Running in d9f8c27be967 [2022-04-26T15:44:58.704Z] Removing intermediate container d9f8c27be967 [2022-04-26T15:44:58.704Z] ---> 9015c4618626 [2022-04-26T15:44:58.704Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T15:44:58.704Z] ---> Running in a12a390880c0 [2022-04-26T15:44:58.983Z] Removing intermediate container a12a390880c0 [2022-04-26T15:44:58.983Z] ---> a6cd997a6c7e [2022-04-26T15:44:58.983Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:44:58.983Z] Successfully built a6cd997a6c7e [2022-04-26T15:44:58.983Z] 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-26T15:44:59.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T15:44:59.433Z] [2022-04-26T15:44:59.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:59.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T15:45:00.083Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T15:45:00.083Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T15:45:00.083Z] 04944245beec: Pulling fs layer [2022-04-26T15:45:00.083Z] 699f458cf7ca: Pulling fs layer [2022-04-26T15:45:00.083Z] 765212b225bb: Pulling fs layer [2022-04-26T15:45:00.083Z] f23df028b6ca: Pulling fs layer [2022-04-26T15:45:00.083Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T15:45:00.083Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T15:45:00.083Z] 765212b225bb: Waiting [2022-04-26T15:45:00.083Z] f23df028b6ca: Waiting [2022-04-26T15:45:00.083Z] d65c8cfc05b1: Waiting [2022-04-26T15:45:00.083Z] 2437ff75d9bd: Waiting [2022-04-26T15:45:00.083Z] 04944245beec: Verifying Checksum [2022-04-26T15:45:00.083Z] 04944245beec: Download complete [2022-04-26T15:45:00.083Z] 765212b225bb: Download complete [2022-04-26T15:45:00.083Z] f23df028b6ca: Download complete [2022-04-26T15:45:00.367Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T15:45:00.367Z] d65c8cfc05b1: Download complete [2022-04-26T15:45:00.367Z] 699f458cf7ca: Verifying Checksum [2022-04-26T15:45:00.367Z] 699f458cf7ca: Download complete [2022-04-26T15:45:00.644Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T15:45:00.644Z] 8998bd30e6a1: Download complete [2022-04-26T15:45:03.285Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T15:45:03.285Z] 2437ff75d9bd: Download complete [2022-04-26T15:45:05.278Z] 8998bd30e6a1: Pull complete [2022-04-26T15:45:05.554Z] 04944245beec: Pull complete [2022-04-26T15:45:07.001Z] 699f458cf7ca: Pull complete [2022-04-26T15:45:07.276Z] 765212b225bb: Pull complete [2022-04-26T15:45:07.887Z] f23df028b6ca: Pull complete [2022-04-26T15:45:08.161Z] d65c8cfc05b1: Pull complete [2022-04-26T15:45:23.283Z] 2437ff75d9bd: Pull complete [2022-04-26T15:45:23.283Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T15:45:23.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T15:45:23.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T15:45:23.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container [2022-04-26T15:45:23.613Z] $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T15:45:26.514Z] $ docker top a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:27.436Z] ---> job-cost.sh [2022-04-26T15:45:27.436Z] lf-activate-venv: SKIPPING [2022-04-26T15:45:27.436Z] INFO: No Stack... [2022-04-26T15:45:27.708Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T15:45:28.686Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:45:29.366Z] + cat /w/workspace/app-service-configurable/3/archives/cost.csv [2022-04-26T15:45:29.366Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:45:29.438Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [2022-04-26T15:45:29.443Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] did not exist. Created. [2022-04-26T15:45:29.443Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:45:30.128Z] /w/workspace/app-service-configurable/3@tmp/durable-a5f2d17f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T15:45:30.813Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T15:45:30.845Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T15:45:30.910Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:45:30.916Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:45:30.943Z] $ docker stop --time=1 a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d [2022-04-26T15:45:32.458Z] $ docker rm -f a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d [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-26T15:45:32.883Z] provisioning config files... [2022-04-26T15:45:32.892Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config6539437971078297559tmp [Pipeline] { [Pipeline] sh [2022-04-26T15:45:33.190Z] + set +x [2022-04-26T15:45:33.190Z] + curl -s https://codecov.io/bash [2022-04-26T15:45:33.190Z] + bash -s -- [2022-04-26T15:45:33.190Z] [2022-04-26T15:45:33.190Z] _____ _ [2022-04-26T15:45:33.190Z] / ____| | | [2022-04-26T15:45:33.190Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T15:45:33.190Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T15:45:33.190Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T15:45:33.190Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T15:45:33.190Z] Bash-1.0.6 [2022-04-26T15:45:33.190Z] [2022-04-26T15:45:33.190Z] [2022-04-26T15:45:33.190Z] ==> git version 2.25.1 found [2022-04-26T15:45:33.190Z] ==> 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-26T15:45:33.190Z] Release-Date: 2020-01-08 [2022-04-26T15:45:33.190Z] 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-26T15:45:33.190Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T15:45:33.190Z] ==> Jenkins CI detected. [2022-04-26T15:45:33.190Z] current dir:  /w/workspace/_app-service-configurable_PR-408 [2022-04-26T15:45:33.190Z] project root: . [2022-04-26T15:45:33.190Z] --> token set from env [2022-04-26T15:45:33.190Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T15:45:33.190Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T15:45:33.190Z] ==> Python coveragepy not found [2022-04-26T15:45:33.190Z] ==> Searching for coverage reports in: [2022-04-26T15:45:33.190Z] + . [2022-04-26T15:45:33.190Z] -> Found 1 reports [2022-04-26T15:45:33.190Z] ==> Detecting git/mercurial file structure [2022-04-26T15:45:33.190Z] ==> Reading reports [2022-04-26T15:45:33.190Z] + ./coverage.out bytes=10 [2022-04-26T15:45:33.190Z] ==> Appending adjustments [2022-04-26T15:45:33.190Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T15:45:33.190Z] + Found adjustments [2022-04-26T15:45:33.190Z] ==> Gzipping contents [2022-04-26T15:45:33.190Z] 4.0K /tmp/codecov.s030AD.gz [2022-04-26T15:45:33.190Z] ==> Uploading reports [2022-04-26T15:45:33.190Z] url: https://codecov.io [2022-04-26T15:45:33.190Z] query: branch=PR-408&commit=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= [2022-04-26T15:45:33.190Z] -> Pinging Codecov [2022-04-26T15:45:33.190Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-408&commit=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= [2022-04-26T15:45:33.449Z] -> Uploading to [2022-04-26T15:45:33.450Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/33be4634f6d4eb7b07c28c22636b15fbd46bdeb4/81fd7ce1-855e-4d90-af4b-8349962560d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T154533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88cccf45e6bb1309d5b63361c32ca6f40b88ee00df84dae74122dcbc721a945e [2022-04-26T15:45:33.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T15:45:33.450Z] Dload Upload Total Spent Left Speed [2022-04-26T15:45:33.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2671 --:--:-- --:--:-- --:--:-- 2671 [2022-04-26T15:45:33.709Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] } [2022-04-26T15:45:33.717Z] 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-26T15:45:34.459Z] + [ -d /w/workspace/_app-service-configurable_PR-408/archives ] [2022-04-26T15:45:34.459Z] + ls -al /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T15:45:34.459Z] total 16 [2022-04-26T15:45:34.459Z] drwxr-xr-x 3 root root 4096 Apr 26 15:35 . [2022-04-26T15:45:34.459Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:35 .. [2022-04-26T15:45:34.459Z] drwxr-xr-x 2 root root 4096 Apr 26 15:35 cost [2022-04-26T15:45:34.459Z] -rw-r--r-- 1 root root 95 Apr 26 15:35 cost.csv [2022-04-26T15:45:34.459Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T15:45:34.459Z] + ls -al /w/workspace/_app-service-configurable_PR-408/archives [2022-04-26T15:45:34.459Z] total 16 [2022-04-26T15:45:34.459Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:35 . [2022-04-26T15:45:34.459Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:35 .. [2022-04-26T15:45:34.459Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:35 cost [2022-04-26T15:45:34.459Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 26 15:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:34.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:35.662Z] ---> package-listing.sh [2022-04-26T15:45:35.662Z] ++ facter osfamily [2022-04-26T15:45:35.662Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T15:45:35.920Z] + OS_FAMILY=debian [2022-04-26T15:45:35.920Z] + workspace=/w/workspace/_app-service-configurable_PR-408 [2022-04-26T15:45:35.920Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T15:45:35.920Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T15:45:35.920Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T15:45:35.920Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T15:45:35.920Z] + '[' /w/workspace/_app-service-configurable_PR-408 ']' [2022-04-26T15:45:35.920Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T15:45:35.920Z] + case "${OS_FAMILY}" in [2022-04-26T15:45:35.920Z] + dpkg -l [2022-04-26T15:45:35.921Z] + grep '^ii' [2022-04-26T15:45:35.921Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T15:45:35.921Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T15:45:35.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T15:45:35.921Z] + '[' /w/workspace/_app-service-configurable_PR-408 ']' [2022-04-26T15:45:35.921Z] + mkdir -p /w/workspace/_app-service-configurable_PR-408/archives/ [2022-04-26T15:45:35.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-408/archives/ [Pipeline] echo [2022-04-26T15:45:35.933Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T15:45:36.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:36.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:45:36.774Z] . [Pipeline] withDockerContainer [2022-04-26T15:45:36.838Z] prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container [2022-04-26T15:45:36.882Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T15:45:37.110Z] $ docker top 51932a257428dde03449ae6fc28e0821f2b565f96752443a4f67811470f691c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:45:37.466Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T15:45:37.755Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T15:45:38.041Z] + ls /var/log/sa-host [2022-04-26T15:45:38.041Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:45:38.129Z] provisioning config files... [2022-04-26T15:45:38.139Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config4161254995639212664tmp [Pipeline] { [Pipeline] echo [2022-04-26T15:45:38.156Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:38.445Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T15:45:38.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:38.789Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T15:45:38.798Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:39.087Z] ---> sudo-logs.sh [2022-04-26T15:45:39.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T15:45:39.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:39.396Z] ---> job-cost.sh [2022-04-26T15:45:39.396Z] lf-activate-venv: SKIPPING [2022-04-26T15:45:39.396Z] DEBUG: total: 0.2199999988079071 [2022-04-26T15:45:39.396Z] INFO: Retrieving Stack Cost... [2022-04-26T15:45:39.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:45:40.224Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T15:45:40.240Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:40.527Z] ---> logs-deploy.sh [2022-04-26T15:45:40.527Z] lf-activate-venv: SKIPPING [2022-04-26T15:45:40.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-408/3 [2022-04-26T15:45:40.527Z] INFO: archiving workspace using pattern(s): [2022-04-26T15:45:41.467Z] Archives upload complete. [2022-04-26T15:45:41.467Z] INFO: archiving logs to Nexus