Pull request #342 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 68059623440cfade95e189a828c64b6a4bf683a6+510fea55546d2a9cfee0b501985e4f37129c1dcb (2cecf0d8b32162d8708c0238d6f81cd3346ec056) Running in Durability level: MAX_SURVIVABILITY 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-ssh7642988911367601677.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8795442686419036148.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-342/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-342/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2935002397352398958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-342/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1852762651980304371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8690374926529183626.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-342/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-342/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3770310944145437981.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-962 in /w/workspace/_app-service-configurable_PR-342 [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-342 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-342@tmp/jenkins-gitclient-ssh191123186628473327.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-342@tmp/jenkins-gitclient-ssh5732441553063910549.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 510fea55546d2a9cfee0b501985e4f37129c1dcb into PR head commit 68059623440cfade95e189a828c64b6a4bf683a6 Merge succeeded, producing 68059623440cfade95e189a828c64b6a4bf683a6 Checking out Revision 68059623440cfade95e189a828c64b6a4bf683a6 (PR-342) > git config core.sparsecheckout # timeout=10 > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-342@tmp/jenkins-gitclient-ssh3018258097550273654.key > git merge 510fea55546d2a9cfee0b501985e4f37129c1dcb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 Commit message: "feat: Add CORS capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-21T19:10:03.913Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-21T19:10:04.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-21T19:10:04.088Z] ========================================================= [2021-10-21T19:10:04.088Z] EdgeX Global Pipelines Version Info [2021-10-21T19:10:04.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:10:05.250Z] ------------------- [2021-10-21T19:10:05.250Z] stable info: [2021-10-21T19:10:05.250Z] ------------------- [2021-10-21T19:10:05.250Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-21T19:10:05.250Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T19:10:05.250Z] Message: update stable to v1.0.210 [2021-10-21T19:10:05.824Z] ------------------- [2021-10-21T19:10:05.824Z] experimental info: [2021-10-21T19:10:05.824Z] ------------------- [2021-10-21T19:10:05.824Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-21T19:10:05.825Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T19:10:05.825Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-21T19:10:05.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2021-10-21T19:10:06.021Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2021-10-21T19:10:06.055Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-21T19:10:06.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-21T19:10:06.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-21T19:10:06.164Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-21T19:10:06.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-21T19:10:06.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-21T19:10:06.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-21T19:10:06.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-21T19:10:06.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-21T19:10:06.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2021-10-21T19:10:06.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-21T19:10:06.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-21T19:10:06.483Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-21T19:10:06.520Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-21T19:10:06.558Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T19:10:06.594Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T19:10:06.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-21T19:10:06.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-21T19:10:06.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-21T19:10:06.761Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-21T19:10:06.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-21T19:10:06.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-21T19:10:06.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-21T19:10:06.899Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-21T19:10:06.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-342 [Pipeline] echo [2021-10-21T19:10:06.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-342 [Pipeline] echo [2021-10-21T19:10:07.003Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-342 [Pipeline] echo [2021-10-21T19:10:07.040Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68059623440cfade95e189a828c64b6a4bf683a6 [Pipeline] echo [2021-10-21T19:10:07.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6805962 [Pipeline] echo [2021-10-21T19:10:07.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T19:10:07.205Z] provisioning config files... [2021-10-21T19:10:07.218Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-342@tmp/config5502450151776174305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:10:07.567Z] ---> docker-login.sh [2021-10-21T19:10:07.567Z] nexus3.edgexfoundry.org:10001 [2021-10-21T19:10:07.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:10:07.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:10:07.833Z] Configure a credential helper to remove this warning. See [2021-10-21T19:10:07.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:10:07.833Z] [2021-10-21T19:10:07.833Z] Login Succeeded [2021-10-21T19:10:07.833Z] nexus3.edgexfoundry.org:10002 [2021-10-21T19:10:07.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:10:07.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:10:07.833Z] Configure a credential helper to remove this warning. See [2021-10-21T19:10:07.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:10:07.833Z] [2021-10-21T19:10:07.833Z] Login Succeeded [2021-10-21T19:10:07.833Z] nexus3.edgexfoundry.org:10003 [2021-10-21T19:10:07.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:10:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:10:08.094Z] Configure a credential helper to remove this warning. See [2021-10-21T19:10:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:10:08.094Z] [2021-10-21T19:10:08.094Z] Login Succeeded [2021-10-21T19:10:08.094Z] nexus3.edgexfoundry.org:10004 [2021-10-21T19:10:08.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:10:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:10:08.094Z] Configure a credential helper to remove this warning. See [2021-10-21T19:10:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:10:08.094Z] [2021-10-21T19:10:08.094Z] Login Succeeded [2021-10-21T19:10:08.094Z] docker.io [2021-10-21T19:10:08.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:10:08.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:10:08.667Z] Configure a credential helper to remove this warning. See [2021-10-21T19:10:08.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:10:08.667Z] [2021-10-21T19:10:08.667Z] Login Succeeded [2021-10-21T19:10:08.667Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T19:10:08.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T19:10:09.293Z] + git log --format=format:%s -1 68059623440cfade95e189a828c64b6a4bf683a6 [Pipeline] echo [2021-10-21T19:10:09.341Z] GIT_COMMIT: 68059623440cfade95e189a828c64b6a4bf683a6, Commit Message: feat: Add CORS capability [Pipeline] echo [2021-10-21T19:10:09.366Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:10:09.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T19:10:09.859Z] [2021-10-21T19:10:09.859Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:10:10.197Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T19:10:10.197Z] latest: Pulling from edgex-devops/git-semver [2021-10-21T19:10:10.197Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T19:10:10.197Z] 3e5f54012d9b: Pulling fs layer [2021-10-21T19:10:10.197Z] 4c7163046ea9: Pulling fs layer [2021-10-21T19:10:10.197Z] 0c2d73faf560: Pulling fs layer [2021-10-21T19:10:10.197Z] 3e5f54012d9b: Verifying Checksum [2021-10-21T19:10:10.197Z] 3e5f54012d9b: Download complete [2021-10-21T19:10:10.197Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T19:10:10.197Z] a0d0a0d46f8b: Download complete [2021-10-21T19:10:10.461Z] 4c7163046ea9: Verifying Checksum [2021-10-21T19:10:10.462Z] 4c7163046ea9: Download complete [2021-10-21T19:10:10.462Z] 0c2d73faf560: Verifying Checksum [2021-10-21T19:10:10.462Z] 0c2d73faf560: Download complete [2021-10-21T19:10:10.462Z] a0d0a0d46f8b: Pull complete [2021-10-21T19:10:10.462Z] 3e5f54012d9b: Pull complete [2021-10-21T19:10:10.727Z] 4c7163046ea9: Pull complete [2021-10-21T19:10:10.992Z] 0c2d73faf560: Pull complete [2021-10-21T19:10:10.992Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-21T19:10:10.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T19:10:10.992Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-21T19:10:11.082Z] prd-centos7-docker-4c-2g-962 does not seem to be running inside a container [2021-10-21T19:10:11.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-342 -v /w/workspace/_app-service-configurable_PR-342:/w/workspace/_app-service-configurable_PR-342:rw,z -v /w/workspace/_app-service-configurable_PR-342@tmp:/w/workspace/_app-service-configurable_PR-342@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-21T19:10:11.794Z] $ docker top 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T19:10:11.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T19:10:11.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T19:10:12.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T19:10:12.076Z] $ docker exec 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 ssh-agent [2021-10-21T19:10:12.179Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDAPpoi/agent.13 [2021-10-21T19:10:12.179Z] SSH_AGENT_PID=19 [2021-10-21T19:10:12.186Z] Running ssh-add (command line suppressed) [2021-10-21T19:10:12.277Z] Identity added: /w/workspace/_app-service-configurable_PR-342@tmp/private_key_8608389899927850590.key (/w/workspace/_app-service-configurable_PR-342@tmp/private_key_8608389899927850590.key) [2021-10-21T19:10:12.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T19:10:12.614Z] + git tag --points-at HEAD [Pipeline] } [2021-10-21T19:10:12.635Z] $ docker exec --env ******** --env ******** 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 ssh-agent -k [2021-10-21T19:10:12.721Z] unset SSH_AUTH_SOCK; [2021-10-21T19:10:12.722Z] unset SSH_AGENT_PID; [2021-10-21T19:10:12.722Z] echo Agent pid 19 killed; [2021-10-21T19:10:12.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-21T19:10:12.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T19:10:12.791Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T19:10:12.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T19:10:12.893Z] $ docker exec 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 ssh-agent [2021-10-21T19:10:13.018Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEhCiHB/agent.51 [2021-10-21T19:10:13.018Z] SSH_AGENT_PID=58 [2021-10-21T19:10:13.023Z] Running ssh-add (command line suppressed) [2021-10-21T19:10:13.130Z] Identity added: /w/workspace/_app-service-configurable_PR-342@tmp/private_key_702439410611865421.key (/w/workspace/_app-service-configurable_PR-342@tmp/private_key_702439410611865421.key) [2021-10-21T19:10:13.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T19:10:13.461Z] + git semver init [2021-10-21T19:10:13.461Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T19:10:13.461Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-342/.git [2021-10-21T19:10:13.461Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-342 [2021-10-21T19:10:13.461Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T19:10:13.461Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T19:10:13.461Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T19:10:13.461Z] # $SEMVER_BRANCH = PR-342 [2021-10-21T19:10:13.461Z] # $SEMVER_TEMP = /tmp/semver-079588817 [2021-10-21T19:10:13.461Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2021-10-21T19:10:14.036Z] # '/tmp/semver-079588817' -> '/w/workspace/_app-service-configurable_PR-342/.semver' [2021-10-21T19:10:14.036Z] # -> Force: false [2021-10-21T19:10:14.036Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-342/.semver [Pipeline] } [2021-10-21T19:10:14.050Z] $ docker exec --env ******** --env ******** 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 ssh-agent -k [2021-10-21T19:10:14.140Z] unset SSH_AUTH_SOCK; [2021-10-21T19:10:14.141Z] unset SSH_AGENT_PID; [2021-10-21T19:10:14.141Z] echo Agent pid 58 killed; [2021-10-21T19:10:14.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T19:10:14.530Z] + git semver [Pipeline] } [2021-10-21T19:10:14.551Z] $ docker stop --time=1 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 [2021-10-21T19:10:15.792Z] $ docker rm -f 1149312867df6c5f1977088598e381bd5fd6307621ab36558cc27777f3843e39 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-21T19:10:16.179Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-21T19:10:16.472Z] Stashed 1 file(s) [Pipeline] echo [2021-10-21T19:10:16.492Z] [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] node [Pipeline] node [2021-10-21T19:10:31.985Z] Still waiting to schedule task [2021-10-21T19:10:31.985Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-21T19:10:32.003Z] Still waiting to schedule task [2021-10-21T19:10:32.003Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-959’ is offline [2021-10-21T19:12:36.534Z] Running on prd-centos7-docker-4c-2g-964 in /w/workspace/_app-service-configurable_PR-342 [Pipeline] { [Pipeline] ws [2021-10-21T19:12:36.570Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2021-10-21T19:12:36.682Z] Selected Git installation does not exist. Using Default [2021-10-21T19:12:36.682Z] The recommended git tool is: NONE [2021-10-21T19:12:38.721Z] using credential edgex-jenkins-ssh [2021-10-21T19:12:38.732Z] Cloning the remote Git repository [2021-10-21T19:12:38.755Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:12:38.809Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2021-10-21T19:12:38.843Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:12:38.844Z] > git --version # timeout=10 [2021-10-21T19:12:38.856Z] > git --version # 'git version 2.24.4' [2021-10-21T19:12:38.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:12:38.912Z] [INFO] Currently running in a labeled security context [2021-10-21T19:12:38.912Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T19:12:38.912Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/1@tmp/jenkins-gitclient-ssh4895373259380247162.key [2021-10-21T19:12:39.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T19:12:39.636Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-10-21T19:12:39.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T19:12:39.656Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-10-21T19:12:39.673Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:12:39.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:12:39.674Z] [INFO] Currently running in a labeled security context [2021-10-21T19:12:39.674Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T19:12:39.674Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/1@tmp/jenkins-gitclient-ssh2691046658936035441.key [2021-10-21T19:12:39.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-21T19:12:40.250Z] Merging remotes/origin/main commit 510fea55546d2a9cfee0b501985e4f37129c1dcb into PR head commit 68059623440cfade95e189a828c64b6a4bf683a6 [2021-10-21T19:12:40.351Z] Merge succeeded, producing 68059623440cfade95e189a828c64b6a4bf683a6 [2021-10-21T19:12:40.351Z] Checking out Revision 68059623440cfade95e189a828c64b6a4bf683a6 (PR-342) [2021-10-21T19:12:40.257Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T19:12:40.266Z] > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 [2021-10-21T19:12:40.295Z] > git remote # timeout=10 [2021-10-21T19:12:40.307Z] > git config --get remote.origin.url # timeout=10 [2021-10-21T19:12:40.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:12:40.322Z] [INFO] Currently running in a labeled security context [2021-10-21T19:12:40.322Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T19:12:40.322Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/1@tmp/jenkins-gitclient-ssh3474703532288838898.key [2021-10-21T19:12:40.329Z] > git merge 510fea55546d2a9cfee0b501985e4f37129c1dcb # timeout=10 [2021-10-21T19:12:40.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-21T19:12:40.354Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T19:12:40.359Z] > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 [2021-10-21T19:12:43.921Z] Commit message: "feat: Add CORS capability" [2021-10-21T19:12:43.954Z] > git --version # timeout=10 [2021-10-21T19:12:43.962Z] > git --version # 'git version 2.24.4' [2021-10-21T19:12:43.973Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T19:12:44.684Z] provisioning config files... [2021-10-21T19:12:44.708Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3601791749756879957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:12:45.150Z] ---> docker-login.sh [2021-10-21T19:12:45.150Z] nexus3.edgexfoundry.org:10001 [2021-10-21T19:12:45.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:12:45.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:12:45.417Z] Configure a credential helper to remove this warning. See [2021-10-21T19:12:45.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:12:45.417Z] [2021-10-21T19:12:45.417Z] Login Succeeded [2021-10-21T19:12:45.417Z] nexus3.edgexfoundry.org:10002 [2021-10-21T19:12:45.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:12:45.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:12:45.417Z] Configure a credential helper to remove this warning. See [2021-10-21T19:12:45.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:12:45.417Z] [2021-10-21T19:12:45.417Z] Login Succeeded [2021-10-21T19:12:45.417Z] nexus3.edgexfoundry.org:10003 [2021-10-21T19:12:45.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:12:45.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:12:45.681Z] Configure a credential helper to remove this warning. See [2021-10-21T19:12:45.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:12:45.681Z] [2021-10-21T19:12:45.681Z] Login Succeeded [2021-10-21T19:12:45.681Z] nexus3.edgexfoundry.org:10004 [2021-10-21T19:12:45.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:12:45.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:12:45.681Z] Configure a credential helper to remove this warning. See [2021-10-21T19:12:45.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:12:45.681Z] [2021-10-21T19:12:45.681Z] Login Succeeded [2021-10-21T19:12:45.681Z] docker.io [2021-10-21T19:12:45.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:12:46.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:12:46.203Z] Configure a credential helper to remove this warning. See [2021-10-21T19:12:46.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:12:46.203Z] [2021-10-21T19:12:46.203Z] Login Succeeded [2021-10-21T19:12:46.203Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T19:12:46.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T19:12:46.497Z] ========================================================= [2021-10-21T19:12:46.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-21T19:12:46.497Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:12:46.880Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-21T19:12:46.880Z] Sending build context to Docker daemon 200.2kB [2021-10-21T19:12:46.880Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-21T19:12:46.880Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-21T19:12:46.880Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-21T19:12:46.880Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T19:12:46.880Z] 31adcdaf11c8: Pulling fs layer [2021-10-21T19:12:46.880Z] b8b176561691: Pulling fs layer [2021-10-21T19:12:46.880Z] 4527c011a84f: Pulling fs layer [2021-10-21T19:12:46.880Z] 5d74067f8e1e: Pulling fs layer [2021-10-21T19:12:46.880Z] e0aca202a116: Pulling fs layer [2021-10-21T19:12:46.880Z] 3a43be97a3b4: Pulling fs layer [2021-10-21T19:12:46.880Z] 34cad66bf833: Pulling fs layer [2021-10-21T19:12:46.880Z] b4e3c513aaa6: Pulling fs layer [2021-10-21T19:12:46.880Z] 4527c011a84f: Waiting [2021-10-21T19:12:46.880Z] 5d74067f8e1e: Waiting [2021-10-21T19:12:46.880Z] e0aca202a116: Waiting [2021-10-21T19:12:46.880Z] 3a43be97a3b4: Waiting [2021-10-21T19:12:46.880Z] 34cad66bf833: Waiting [2021-10-21T19:12:46.880Z] b4e3c513aaa6: Waiting [2021-10-21T19:12:46.880Z] b8b176561691: Verifying Checksum [2021-10-21T19:12:46.880Z] b8b176561691: Download complete [2021-10-21T19:12:46.881Z] 31adcdaf11c8: Verifying Checksum [2021-10-21T19:12:46.881Z] 31adcdaf11c8: Download complete [2021-10-21T19:12:46.881Z] 5d74067f8e1e: Verifying Checksum [2021-10-21T19:12:46.881Z] 5d74067f8e1e: Download complete [2021-10-21T19:12:46.881Z] e0aca202a116: Verifying Checksum [2021-10-21T19:12:46.881Z] e0aca202a116: Download complete [2021-10-21T19:12:46.881Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T19:12:46.881Z] a0d0a0d46f8b: Download complete [2021-10-21T19:12:46.881Z] 3a43be97a3b4: Verifying Checksum [2021-10-21T19:12:46.881Z] 3a43be97a3b4: Download complete [2021-10-21T19:12:47.151Z] 34cad66bf833: Verifying Checksum [2021-10-21T19:12:47.151Z] 34cad66bf833: Download complete [2021-10-21T19:12:47.420Z] 4527c011a84f: Verifying Checksum [2021-10-21T19:12:47.420Z] 4527c011a84f: Download complete [2021-10-21T19:12:47.684Z] b4e3c513aaa6: Verifying Checksum [2021-10-21T19:12:47.684Z] b4e3c513aaa6: Download complete [2021-10-21T19:12:47.684Z] a0d0a0d46f8b: Pull complete [2021-10-21T19:12:47.684Z] 31adcdaf11c8: Pull complete [2021-10-21T19:12:47.684Z] b8b176561691: Pull complete [2021-10-21T19:12:51.006Z] 4527c011a84f: Pull complete [2021-10-21T19:12:51.273Z] 5d74067f8e1e: Pull complete [2021-10-21T19:12:51.273Z] e0aca202a116: Pull complete [2021-10-21T19:12:51.273Z] 3a43be97a3b4: Pull complete [2021-10-21T19:12:51.542Z] 34cad66bf833: Pull complete [2021-10-21T19:12:54.129Z] b4e3c513aaa6: Pull complete [2021-10-21T19:12:54.129Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-21T19:12:54.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-21T19:12:54.129Z] ---> 9f6097aaca64 [2021-10-21T19:12:54.129Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-10-21T19:12:55.521Z] ---> Running in 72aea852d996 [2021-10-21T19:12:55.521Z] Removing intermediate container 72aea852d996 [2021-10-21T19:12:55.521Z] ---> 650f3b63aadb [2021-10-21T19:12:55.521Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-21T19:12:55.521Z] ---> Running in 3347a6cfb090 [2021-10-21T19:12:55.521Z] Removing intermediate container 3347a6cfb090 [2021-10-21T19:12:55.521Z] ---> 0b495ad0445e [2021-10-21T19:12:55.521Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-10-21T19:12:55.521Z] ---> Running in a042a0aa8b29 [2021-10-21T19:12:55.521Z] Removing intermediate container a042a0aa8b29 [2021-10-21T19:12:55.521Z] ---> 199978767ce3 [2021-10-21T19:12:55.521Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-21T19:12:55.785Z] ---> Running in c153ed77e13b [2021-10-21T19:12:56.052Z] Removing intermediate container c153ed77e13b [2021-10-21T19:12:56.052Z] ---> 9ce8b4f28588 [2021-10-21T19:12:56.052Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-21T19:12:56.052Z] ---> Running in e9c960c132b5 [2021-10-21T19:12:56.316Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T19:12:57.090Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-963 in /w/workspace/_app-service-configurable_PR-342 [Pipeline] { [Pipeline] ws [2021-10-21T19:12:57.125Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2021-10-21T19:12:57.390Z] Selected Git installation does not exist. Using Default [2021-10-21T19:12:57.390Z] The recommended git tool is: NONE [2021-10-21T19:12:57.719Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-21T19:12:57.985Z] OK: 220 MiB in 52 packages [2021-10-21T19:12:57.985Z] Removing intermediate container e9c960c132b5 [2021-10-21T19:12:57.985Z] ---> 22a6b347af26 [2021-10-21T19:12:57.985Z] Step 8/12 : WORKDIR /app [2021-10-21T19:12:57.985Z] ---> Running in bf8037305fb1 [2021-10-21T19:12:58.246Z] Removing intermediate container bf8037305fb1 [2021-10-21T19:12:58.246Z] ---> 548c817f25a0 [2021-10-21T19:12:58.246Z] Step 9/12 : COPY . . [2021-10-21T19:12:58.246Z] ---> f3cedb74ecb1 [2021-10-21T19:12:58.246Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-21T19:12:58.246Z] ---> Running in c8053ef10f5d [2021-10-21T19:12:58.511Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.2-dev.31 (replaced by ../app-functions-sdk-go): reading /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory [2021-10-21T19:12:58.511Z] skipping... [2021-10-21T19:12:58.790Z] Removing intermediate container c8053ef10f5d [2021-10-21T19:12:58.790Z] ---> 38dd0d5c548b [2021-10-21T19:12:58.790Z] Step 11/12 : ARG MAKE="make build" [2021-10-21T19:12:58.790Z] ---> Running in 754dcd70b796 [2021-10-21T19:12:58.790Z] Removing intermediate container 754dcd70b796 [2021-10-21T19:12:58.790Z] ---> e28d22b47cb6 [2021-10-21T19:12:58.790Z] Step 12/12 : RUN $MAKE [2021-10-21T19:12:58.790Z] ---> Running in 09eb10c01aa4 [2021-10-21T19:12:59.056Z] noop [2021-10-21T19:12:59.319Z] Removing intermediate container 09eb10c01aa4 [2021-10-21T19:12:59.319Z] ---> 580fe8890a1f [2021-10-21T19:12:59.319Z] Successfully built 580fe8890a1f [2021-10-21T19:12:59.319Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:12:59.649Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-21T19:12:59.649Z] . [Pipeline] withDockerContainer [2021-10-21T19:12:59.730Z] prd-centos7-docker-4c-2g-964 does not seem to be running inside a container [2021-10-21T19:12:59.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-21T19:13:00.123Z] $ docker top 5d92406316da3800abb002ee1fe243b2286e979115b07fc02dc8fcd3932c6d08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T19:13:00.520Z] + go version [2021-10-21T19:13:00.520Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-21T19:13:00.542Z] $ docker stop --time=1 5d92406316da3800abb002ee1fe243b2286e979115b07fc02dc8fcd3932c6d08 [2021-10-21T19:13:01.739Z] $ docker rm -f 5d92406316da3800abb002ee1fe243b2286e979115b07fc02dc8fcd3932c6d08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:13:02.401Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-21T19:13:02.401Z] . [Pipeline] withDockerContainer [2021-10-21T19:13:02.488Z] prd-centos7-docker-4c-2g-964 does not seem to be running inside a container [2021-10-21T19:13:02.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-21T19:13:02.883Z] $ docker top 9ab85bc6f6a76bb80372b2bca3b63e94a3a6e813b9c18f5b40ff5be219ad8674 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-21T19:13:03.318Z] + make test [2021-10-21T19:13:03.318Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-21T19:13:03.318Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.2-dev.31 (replaced by ../app-functions-sdk-go): reading ../app-functions-sdk-go/go.mod: open /w/workspace/app-service-configurable/app-functions-sdk-go/go.mod: no such file or directory [2021-10-21T19:13:03.318Z] make: *** [makefile:36: test] Error 1 [Pipeline] } [2021-10-21T19:13:03.348Z] $ docker stop --time=1 9ab85bc6f6a76bb80372b2bca3b63e94a3a6e813b9c18f5b40ff5be219ad8674 [2021-10-21T19:13:03.984Z] using credential edgex-jenkins-ssh [2021-10-21T19:13:04.002Z] Cloning the remote Git repository [2021-10-21T19:13:04.522Z] $ docker rm -f 9ab85bc6f6a76bb80372b2bca3b63e94a3a6e813b9c18f5b40ff5be219ad8674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-10-21T19:13:04.068Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:13:04.189Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2021-10-21T19:13:04.286Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:13:04.286Z] > git --version # timeout=10 [2021-10-21T19:13:04.302Z] > git --version # 'git version 2.17.1' [2021-10-21T19:13:04.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:13:04.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:13:05.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:13:05.593Z] [2021-10-21T19:13:05.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:13:05.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:13:05.936Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T19:13:05.936Z] b4d181a07f80: Pulling fs layer [2021-10-21T19:13:05.936Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T19:13:05.936Z] ed53099fbce6: Pulling fs layer [2021-10-21T19:13:05.936Z] dc539afda2c1: Pulling fs layer [2021-10-21T19:13:05.936Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T19:13:05.936Z] 9065ff56babe: Pulling fs layer [2021-10-21T19:13:05.936Z] d287ab97295c: Pulling fs layer [2021-10-21T19:13:05.936Z] 77bc0d833cb6: Waiting [2021-10-21T19:13:05.936Z] 9065ff56babe: Waiting [2021-10-21T19:13:05.936Z] d287ab97295c: Waiting [2021-10-21T19:13:05.936Z] dc539afda2c1: Waiting [2021-10-21T19:13:05.936Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T19:13:05.936Z] a1111a8f2ec3: Download complete [2021-10-21T19:13:05.936Z] dc539afda2c1: Verifying Checksum [2021-10-21T19:13:05.936Z] dc539afda2c1: Download complete [2021-10-21T19:13:06.200Z] ed53099fbce6: Verifying Checksum [2021-10-21T19:13:06.200Z] ed53099fbce6: Download complete [2021-10-21T19:13:06.200Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T19:13:06.200Z] 77bc0d833cb6: Download complete [2021-10-21T19:13:06.200Z] 9065ff56babe: Verifying Checksum [2021-10-21T19:13:06.200Z] 9065ff56babe: Download complete [2021-10-21T19:13:06.200Z] b4d181a07f80: Verifying Checksum [2021-10-21T19:13:06.200Z] b4d181a07f80: Download complete [2021-10-21T19:13:06.210Z] Merging remotes/origin/main commit 510fea55546d2a9cfee0b501985e4f37129c1dcb into PR head commit 68059623440cfade95e189a828c64b6a4bf683a6 [2021-10-21T19:13:05.328Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-10-21T19:13:05.351Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T19:13:05.402Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-10-21T19:13:05.450Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-10-21T19:13:05.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:13:05.466Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-21T19:13:06.233Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T19:13:06.248Z] > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 [2021-10-21T19:13:06.456Z] Merge succeeded, producing 68059623440cfade95e189a828c64b6a4bf683a6 [2021-10-21T19:13:06.456Z] Checking out Revision 68059623440cfade95e189a828c64b6a4bf683a6 (PR-342) [2021-10-21T19:13:06.783Z] d287ab97295c: Verifying Checksum [2021-10-21T19:13:06.783Z] d287ab97295c: Download complete [2021-10-21T19:13:06.345Z] > git remote # timeout=10 [2021-10-21T19:13:06.375Z] > git config --get remote.origin.url # timeout=10 [2021-10-21T19:13:06.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T19:13:06.408Z] > git merge 510fea55546d2a9cfee0b501985e4f37129c1dcb # timeout=10 [2021-10-21T19:13:06.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-21T19:13:06.465Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T19:13:06.493Z] > git checkout -f 68059623440cfade95e189a828c64b6a4bf683a6 # timeout=10 [2021-10-21T19:13:07.758Z] b4d181a07f80: Pull complete [2021-10-21T19:13:07.758Z] a1111a8f2ec3: Pull complete [2021-10-21T19:13:08.333Z] ed53099fbce6: Pull complete [2021-10-21T19:13:08.614Z] dc539afda2c1: Pull complete [2021-10-21T19:13:08.884Z] 77bc0d833cb6: Pull complete [2021-10-21T19:13:08.884Z] 9065ff56babe: Pull complete [2021-10-21T19:13:10.977Z] Commit message: "feat: Add CORS capability" [2021-10-21T19:13:11.043Z] > git --version # timeout=10 [2021-10-21T19:13:11.054Z] > git --version # 'git version 2.17.1' [2021-10-21T19:13:11.064Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T19:13:11.502Z] [2021-10-21T19:13:11.502Z] GitHub has been notified of this commit’s build result [2021-10-21T19:13:11.502Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T19:13:12.467Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-21T19:13:12.467Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-21T19:13:12.467Z] Dload Upload Total Spent Left Speed [2021-10-21T19:13:12.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61905 0 --:--:-- --:--:-- --:--:-- 62231 [Pipeline] sh [2021-10-21T19:13:12.929Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-21T19:13:13.312Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2021-10-21T19:13:13.312Z] /etc/docker/daemon.new [2021-10-21T19:13:13.312Z] { [2021-10-21T19:13:13.312Z] "registry-mirrors": [ [2021-10-21T19:13:13.312Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-21T19:13:13.312Z] ], [2021-10-21T19:13:13.312Z] "bip": "10.250.0.254/24", [2021-10-21T19:13:13.312Z] "hosts": [ [2021-10-21T19:13:13.312Z] "tcp://0.0.0.0:5555", [2021-10-21T19:13:13.312Z] "unix:///var/run/docker.sock" [2021-10-21T19:13:13.312Z] ], [2021-10-21T19:13:13.312Z] "mtu": 1458, [2021-10-21T19:13:13.312Z] "selinux-enabled": true, [2021-10-21T19:13:13.312Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-21T19:13:13.312Z] } [Pipeline] sh [2021-10-21T19:13:13.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-21T19:13:14.073Z] + sudo service docker restart [2021-10-21T19:13:14.213Z] d287ab97295c: Pull complete [2021-10-21T19:13:14.213Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T19:13:14.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:13:14.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T19:13:14.289Z] prd-centos7-docker-4c-2g-964 does not seem to be running inside a container [2021-10-21T19:13:14.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T19:13:16.558Z] $ docker top ab125d1964fdfb46f4c3c2454dde6489c31ccb75e8fffaa6c4e8cc5a3625b0d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:13:17.076Z] ---> job-cost.sh [2021-10-21T19:13:17.076Z] lf-activate-venv: SKIPPING [2021-10-21T19:13:17.076Z] INFO: No Stack... [2021-10-21T19:13:31.994Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T19:13:31.994Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T19:13:32.306Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2021-10-21T19:13:32.306Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T19:13:32.348Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [2021-10-21T19:13:32.353Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] did not exist. Created. [2021-10-21T19:13:32.353Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T19:13:32.614Z] provisioning config files... [2021-10-21T19:13:32.645Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config958311980492358017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:13:32.730Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-21T19:13:32.978Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T19:13:32.995Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T19:13:33.049Z] $ docker stop --time=1 ab125d1964fdfb46f4c3c2454dde6489c31ccb75e8fffaa6c4e8cc5a3625b0d2 [2021-10-21T19:13:33.053Z] ---> docker-login.sh [2021-10-21T19:13:33.053Z] nexus3.edgexfoundry.org:10001 [2021-10-21T19:13:34.182Z] $ docker rm -f ab125d1964fdfb46f4c3c2454dde6489c31ccb75e8fffaa6c4e8cc5a3625b0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-10-21T19:13:34.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T19:13:34.772Z] Failed in branch amd64 [2021-10-21T19:13:35.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:13:35.136Z] Configure a credential helper to remove this warning. See [2021-10-21T19:13:35.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:13:35.136Z] [2021-10-21T19:13:35.136Z] Login Succeeded [2021-10-21T19:13:35.136Z] nexus3.edgexfoundry.org:10002 [2021-10-21T19:13:35.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:13:35.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:13:35.700Z] Configure a credential helper to remove this warning. See [2021-10-21T19:13:35.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:13:35.700Z] [2021-10-21T19:13:35.700Z] Login Succeeded [2021-10-21T19:13:35.700Z] nexus3.edgexfoundry.org:10003 [2021-10-21T19:13:35.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:13:36.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:13:36.257Z] Configure a credential helper to remove this warning. See [2021-10-21T19:13:36.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:13:36.257Z] [2021-10-21T19:13:36.257Z] Login Succeeded [2021-10-21T19:13:36.257Z] nexus3.edgexfoundry.org:10004 [2021-10-21T19:13:36.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:13:36.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:13:36.826Z] Configure a credential helper to remove this warning. See [2021-10-21T19:13:36.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:13:36.826Z] [2021-10-21T19:13:36.826Z] Login Succeeded [2021-10-21T19:13:36.826Z] docker.io [2021-10-21T19:13:37.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T19:13:37.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T19:13:37.749Z] Configure a credential helper to remove this warning. See [2021-10-21T19:13:37.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T19:13:37.749Z] [2021-10-21T19:13:37.749Z] Login Succeeded [2021-10-21T19:13:37.749Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T19:13:37.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T19:13:38.495Z] ========================================================= [2021-10-21T19:13:38.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-21T19:13:38.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:13:38.993Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-21T19:13:38.993Z] Sending build context to Docker daemon 200.2kB [2021-10-21T19:13:39.612Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-21T19:13:39.612Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-21T19:13:39.612Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-21T19:13:39.612Z] 552d1f2373af: Pulling fs layer [2021-10-21T19:13:39.612Z] ea3f2d53f512: Pulling fs layer [2021-10-21T19:13:39.612Z] 9e70ebbbe112: Pulling fs layer [2021-10-21T19:13:39.612Z] 7a9cfe048b4a: Pulling fs layer [2021-10-21T19:13:39.612Z] 72dc09318566: Pulling fs layer [2021-10-21T19:13:39.612Z] f4f7b4309257: Pulling fs layer [2021-10-21T19:13:39.612Z] 0ac9a79272e3: Pulling fs layer [2021-10-21T19:13:39.612Z] b78e95d17946: Pulling fs layer [2021-10-21T19:13:39.612Z] 7a9cfe048b4a: Waiting [2021-10-21T19:13:39.612Z] 72dc09318566: Waiting [2021-10-21T19:13:39.612Z] f4f7b4309257: Waiting [2021-10-21T19:13:39.612Z] 0ac9a79272e3: Waiting [2021-10-21T19:13:39.612Z] b78e95d17946: Waiting [2021-10-21T19:13:39.612Z] 9e70ebbbe112: Verifying Checksum [2021-10-21T19:13:39.612Z] 9e70ebbbe112: Download complete [2021-10-21T19:13:39.898Z] ea3f2d53f512: Verifying Checksum [2021-10-21T19:13:39.898Z] ea3f2d53f512: Download complete [2021-10-21T19:13:39.898Z] 72dc09318566: Download complete [2021-10-21T19:13:39.898Z] f4f7b4309257: Download complete [2021-10-21T19:13:39.898Z] 0ac9a79272e3: Download complete [2021-10-21T19:13:39.898Z] 552d1f2373af: Verifying Checksum [2021-10-21T19:13:39.898Z] 552d1f2373af: Download complete [2021-10-21T19:13:40.922Z] 552d1f2373af: Pull complete [2021-10-21T19:13:41.570Z] ea3f2d53f512: Pull complete [2021-10-21T19:13:42.065Z] 9e70ebbbe112: Pull complete [2021-10-21T19:13:42.065Z] b78e95d17946: Verifying Checksum [2021-10-21T19:13:42.065Z] b78e95d17946: Download complete [2021-10-21T19:13:42.684Z] 7a9cfe048b4a: Verifying Checksum [2021-10-21T19:13:42.684Z] 7a9cfe048b4a: Download complete [2021-10-21T19:13:53.163Z] 7a9cfe048b4a: Pull complete [2021-10-21T19:13:53.444Z] 72dc09318566: Pull complete [2021-10-21T19:13:53.724Z] f4f7b4309257: Pull complete [2021-10-21T19:13:54.003Z] 0ac9a79272e3: Pull complete [2021-10-21T19:14:00.809Z] b78e95d17946: Pull complete [2021-10-21T19:14:00.809Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-21T19:14:00.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-21T19:14:00.809Z] ---> 8b459fc5aaf0 [2021-10-21T19:14:00.809Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-10-21T19:14:05.179Z] ---> Running in 172defcced7d [2021-10-21T19:14:05.459Z] Removing intermediate container 172defcced7d [2021-10-21T19:14:05.459Z] ---> e0279d8c2871 [2021-10-21T19:14:05.459Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-21T19:14:05.737Z] ---> Running in 70f680c98c15 [2021-10-21T19:14:06.014Z] Removing intermediate container 70f680c98c15 [2021-10-21T19:14:06.014Z] ---> 7e1f04e499c6 [2021-10-21T19:14:06.014Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-10-21T19:14:06.637Z] ---> Running in a04033ee301e [2021-10-21T19:14:06.917Z] Removing intermediate container a04033ee301e [2021-10-21T19:14:06.917Z] ---> 5683356344c7 [2021-10-21T19:14:06.917Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-21T19:14:06.917Z] ---> Running in c7780beb8e7e [2021-10-21T19:14:09.580Z] Removing intermediate container c7780beb8e7e [2021-10-21T19:14:09.580Z] ---> 7129d019c564 [2021-10-21T19:14:09.580Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-21T19:14:09.858Z] ---> Running in f98ef14d6cda [2021-10-21T19:14:11.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T19:14:11.918Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T19:14:12.915Z] OK: 219 MiB in 52 packages [2021-10-21T19:14:13.914Z] Removing intermediate container f98ef14d6cda [2021-10-21T19:14:13.914Z] ---> 81f2fbebb31f [2021-10-21T19:14:13.914Z] Step 8/12 : WORKDIR /app [2021-10-21T19:14:13.914Z] ---> Running in 0e44b6b6377f [2021-10-21T19:14:14.524Z] Removing intermediate container 0e44b6b6377f [2021-10-21T19:14:14.524Z] ---> ad30e3ab6d41 [2021-10-21T19:14:14.524Z] Step 9/12 : COPY . . [2021-10-21T19:14:15.132Z] ---> e318d587c0fd [2021-10-21T19:14:15.132Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-21T19:14:15.417Z] ---> Running in aea2bae14940 [2021-10-21T19:14:16.882Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.2-dev.31 (replaced by ../app-functions-sdk-go): reading /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory [2021-10-21T19:14:16.882Z] skipping... [2021-10-21T19:14:17.490Z] Removing intermediate container aea2bae14940 [2021-10-21T19:14:17.490Z] ---> a4a47ec1aa2a [2021-10-21T19:14:17.490Z] Step 11/12 : ARG MAKE="make build" [2021-10-21T19:14:17.769Z] ---> Running in 7bebd61781c4 [2021-10-21T19:14:18.380Z] Removing intermediate container 7bebd61781c4 [2021-10-21T19:14:18.380Z] ---> e8b34708f1c8 [2021-10-21T19:14:18.380Z] Step 12/12 : RUN $MAKE [2021-10-21T19:14:18.663Z] ---> Running in 3d1f693577b1 [2021-10-21T19:14:20.125Z] noop [2021-10-21T19:14:20.743Z] Removing intermediate container 3d1f693577b1 [2021-10-21T19:14:20.743Z] ---> 657920cbdac8 [2021-10-21T19:14:20.743Z] Successfully built 657920cbdac8 [2021-10-21T19:14:20.743Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:14:21.134Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T19:14:21.135Z] . [Pipeline] withDockerContainer [2021-10-21T19:14:21.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-963 does not seem to be running inside a container [2021-10-21T19:14:21.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-21T19:14:23.283Z] $ docker top dce314f0de03d60ad2bfbc9eaa18f93898ed0f28cf787fdfdac4b2d8ab2a7770 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T19:14:24.326Z] + go version [2021-10-21T19:14:24.326Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-21T19:14:24.364Z] $ docker stop --time=1 dce314f0de03d60ad2bfbc9eaa18f93898ed0f28cf787fdfdac4b2d8ab2a7770 [2021-10-21T19:14:26.306Z] $ docker rm -f dce314f0de03d60ad2bfbc9eaa18f93898ed0f28cf787fdfdac4b2d8ab2a7770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:14:27.292Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T19:14:27.292Z] . [Pipeline] withDockerContainer [2021-10-21T19:14:27.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-963 does not seem to be running inside a container [2021-10-21T19:14:27.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-21T19:14:29.345Z] $ docker top 5342196fbdb9aecd08ffac822e9332d3681143e2f27f84a058e7ca131047f7f2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-21T19:14:30.407Z] + make test [2021-10-21T19:14:30.407Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-21T19:14:30.407Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.2-dev.31 (replaced by ../app-functions-sdk-go): reading ../app-functions-sdk-go/go.mod: open /w/workspace/app-service-configurable/app-functions-sdk-go/go.mod: no such file or directory [2021-10-21T19:14:30.407Z] make: *** [makefile:36: test] Error 1 [Pipeline] } [2021-10-21T19:14:30.455Z] $ docker stop --time=1 5342196fbdb9aecd08ffac822e9332d3681143e2f27f84a058e7ca131047f7f2 [2021-10-21T19:14:32.353Z] $ docker rm -f 5342196fbdb9aecd08ffac822e9332d3681143e2f27f84a058e7ca131047f7f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:14:33.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T19:14:33.650Z] [2021-10-21T19:14:33.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:14:34.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T19:14:34.607Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-21T19:14:34.607Z] 448f6bf000e3: Pulling fs layer [2021-10-21T19:14:34.607Z] f757da607395: Pulling fs layer [2021-10-21T19:14:34.607Z] 05883995daec: Pulling fs layer [2021-10-21T19:14:34.607Z] 8603b9c90790: Pulling fs layer [2021-10-21T19:14:34.607Z] 1560dd03e051: Pulling fs layer [2021-10-21T19:14:34.607Z] 27f5ce0e4adf: Pulling fs layer [2021-10-21T19:14:34.607Z] c2d8d7efcc4b: Pulling fs layer [2021-10-21T19:14:34.607Z] 8603b9c90790: Waiting [2021-10-21T19:14:34.607Z] 1560dd03e051: Waiting [2021-10-21T19:14:34.607Z] c2d8d7efcc4b: Waiting [2021-10-21T19:14:34.607Z] 27f5ce0e4adf: Waiting [2021-10-21T19:14:34.607Z] f757da607395: Verifying Checksum [2021-10-21T19:14:34.607Z] f757da607395: Download complete [2021-10-21T19:14:34.889Z] 8603b9c90790: Verifying Checksum [2021-10-21T19:14:34.889Z] 8603b9c90790: Download complete [2021-10-21T19:14:34.889Z] 05883995daec: Verifying Checksum [2021-10-21T19:14:34.889Z] 05883995daec: Download complete [2021-10-21T19:14:34.889Z] 27f5ce0e4adf: Verifying Checksum [2021-10-21T19:14:34.889Z] 27f5ce0e4adf: Download complete [2021-10-21T19:14:34.889Z] 1560dd03e051: Verifying Checksum [2021-10-21T19:14:34.889Z] 1560dd03e051: Download complete [2021-10-21T19:14:35.504Z] 448f6bf000e3: Verifying Checksum [2021-10-21T19:14:35.504Z] 448f6bf000e3: Download complete [2021-10-21T19:14:38.165Z] c2d8d7efcc4b: Verifying Checksum [2021-10-21T19:14:38.165Z] c2d8d7efcc4b: Download complete [2021-10-21T19:14:39.168Z] 448f6bf000e3: Pull complete [2021-10-21T19:14:39.783Z] f757da607395: Pull complete [2021-10-21T19:14:41.234Z] 05883995daec: Pull complete [2021-10-21T19:14:41.510Z] 8603b9c90790: Pull complete [2021-10-21T19:14:42.505Z] 1560dd03e051: Pull complete [2021-10-21T19:14:42.786Z] 27f5ce0e4adf: Pull complete [2021-10-21T19:14:57.934Z] c2d8d7efcc4b: Pull complete [2021-10-21T19:14:57.934Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-21T19:14:57.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T19:14:57.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-21T19:14:58.177Z] prd-ubuntu18.04-docker-arm64-4c-16g-963 does not seem to be running inside a container [2021-10-21T19:14:58.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-21T19:15:03.948Z] $ docker top b379edef7c7afc4dfada15d6be3aa4fab4209904e2bd200752f93e66dda5691f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:04.888Z] ---> job-cost.sh [2021-10-21T19:15:04.888Z] lf-activate-venv: SKIPPING [2021-10-21T19:15:04.888Z] INFO: No Stack... [2021-10-21T19:15:05.491Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-21T19:15:05.766Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T19:15:06.460Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2021-10-21T19:15:06.460Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T19:15:06.563Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [2021-10-21T19:15:06.568Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] did not exist. Created. [2021-10-21T19:15:06.568Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T19:15:07.306Z] /w/workspace/app-service-configurable/1@tmp/durable-07015996/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-07015996/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-21T19:15:08.041Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-21T19:15:08.079Z] Warning: overwriting stash ‘stack-cost’ [2021-10-21T19:15:08.668Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T19:15:08.684Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T19:15:08.742Z] $ docker stop --time=1 b379edef7c7afc4dfada15d6be3aa4fab4209904e2bd200752f93e66dda5691f [2021-10-21T19:15:10.474Z] $ docker rm -f b379edef7c7afc4dfada15d6be3aa4fab4209904e2bd200752f93e66dda5691f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T19:15:11.245Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-21T19:15:13.381Z] + '[' -d /w/workspace/_app-service-configurable_PR-342/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:13.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:14.313Z] ---> package-listing.sh [2021-10-21T19:15:14.314Z] ++ facter osfamily [2021-10-21T19:15:14.314Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-21T19:15:14.576Z] + OS_FAMILY=redhat [2021-10-21T19:15:14.576Z] + workspace=/w/workspace/_app-service-configurable_PR-342 [2021-10-21T19:15:14.576Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-21T19:15:14.576Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-21T19:15:14.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-21T19:15:14.576Z] + PACKAGES=/tmp/packages_start.txt [2021-10-21T19:15:14.576Z] + '[' /w/workspace/_app-service-configurable_PR-342 ']' [2021-10-21T19:15:14.576Z] + PACKAGES=/tmp/packages_end.txt [2021-10-21T19:15:14.576Z] + case "${OS_FAMILY}" in [2021-10-21T19:15:14.576Z] + rpm -qa [2021-10-21T19:15:14.576Z] + sort [2021-10-21T19:15:15.149Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-21T19:15:15.149Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-21T19:15:15.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-21T19:15:15.149Z] + '[' /w/workspace/_app-service-configurable_PR-342 ']' [2021-10-21T19:15:15.149Z] + mkdir -p /w/workspace/_app-service-configurable_PR-342/archives/ [2021-10-21T19:15:15.149Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-342/archives/ [Pipeline] echo [2021-10-21T19:15:15.180Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-342/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-21T19:15:15.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:15:16.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:15:16.086Z] [2021-10-21T19:15:16.086Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T19:15:16.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:15:16.437Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T19:15:16.437Z] b4d181a07f80: Pulling fs layer [2021-10-21T19:15:16.437Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T19:15:16.437Z] ed53099fbce6: Pulling fs layer [2021-10-21T19:15:16.437Z] dc539afda2c1: Pulling fs layer [2021-10-21T19:15:16.437Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T19:15:16.437Z] 9065ff56babe: Pulling fs layer [2021-10-21T19:15:16.437Z] d287ab97295c: Pulling fs layer [2021-10-21T19:15:16.437Z] dc539afda2c1: Waiting [2021-10-21T19:15:16.437Z] 77bc0d833cb6: Waiting [2021-10-21T19:15:16.437Z] 9065ff56babe: Waiting [2021-10-21T19:15:16.437Z] d287ab97295c: Waiting [2021-10-21T19:15:16.437Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T19:15:16.437Z] a1111a8f2ec3: Download complete [2021-10-21T19:15:16.437Z] dc539afda2c1: Verifying Checksum [2021-10-21T19:15:16.437Z] dc539afda2c1: Download complete [2021-10-21T19:15:16.437Z] ed53099fbce6: Verifying Checksum [2021-10-21T19:15:16.437Z] ed53099fbce6: Download complete [2021-10-21T19:15:16.721Z] 9065ff56babe: Verifying Checksum [2021-10-21T19:15:16.721Z] 9065ff56babe: Download complete [2021-10-21T19:15:16.721Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T19:15:16.721Z] 77bc0d833cb6: Download complete [2021-10-21T19:15:16.721Z] b4d181a07f80: Verifying Checksum [2021-10-21T19:15:16.721Z] b4d181a07f80: Download complete [2021-10-21T19:15:17.304Z] d287ab97295c: Verifying Checksum [2021-10-21T19:15:17.304Z] d287ab97295c: Download complete [2021-10-21T19:15:18.261Z] b4d181a07f80: Pull complete [2021-10-21T19:15:18.261Z] a1111a8f2ec3: Pull complete [2021-10-21T19:15:18.844Z] ed53099fbce6: Pull complete [2021-10-21T19:15:18.844Z] dc539afda2c1: Pull complete [2021-10-21T19:15:19.108Z] 77bc0d833cb6: Pull complete [2021-10-21T19:15:19.369Z] 9065ff56babe: Pull complete [2021-10-21T19:15:24.719Z] d287ab97295c: Pull complete [2021-10-21T19:15:24.719Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T19:15:24.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T19:15:24.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T19:15:24.804Z] prd-centos7-docker-4c-2g-962 does not seem to be running inside a container [2021-10-21T19:15:24.842Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-342/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-342 -v /w/workspace/_app-service-configurable_PR-342:/w/workspace/_app-service-configurable_PR-342:rw,z -v /w/workspace/_app-service-configurable_PR-342@tmp:/w/workspace/_app-service-configurable_PR-342@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T19:15:27.536Z] $ docker top 897dbcc8e1f4719909e83a89066d7ce06ca4ec9275a580a7808edd087371df10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T19:15:27.928Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-21T19:15:28.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-21T19:15:28.553Z] + ls /var/log/sa-host [2021-10-21T19:15:28.553Z] + sadf -c /var/log/sa-host/sa21 [2021-10-21T19:15:28.553Z] file_magic: OK [2021-10-21T19:15:28.553Z] HZ: Using current value: 100 [2021-10-21T19:15:28.553Z] file_header: OK [2021-10-21T19:15:28.553Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-21T19:15:28.553Z] Statistics: [2021-10-21T19:15:28.553Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T19:15:28.553Z] File successfully converted to sysstat format version 12.0.3 [2021-10-21T19:15:28.553Z] + sadf -c /var/log/sa-host/sa30 [2021-10-21T19:15:28.553Z] file_magic: OK [2021-10-21T19:15:28.553Z] HZ: Using current value: 100 [2021-10-21T19:15:28.553Z] file_header: OK [2021-10-21T19:15:28.553Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-21T19:15:28.553Z] Statistics: [2021-10-21T19:15:28.553Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T19:15:28.553Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T19:15:28.679Z] provisioning config files... [2021-10-21T19:15:28.689Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-342@tmp/config1994714010619045759tmp [Pipeline] { [Pipeline] echo [2021-10-21T19:15:28.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:29.049Z] ---> create-netrc.sh [Pipeline] } [2021-10-21T19:15:29.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:29.455Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-21T19:15:29.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:29.813Z] ---> sudo-logs.sh [2021-10-21T19:15:29.813Z] Archiving 'sudo' log.. [2021-10-21T19:15:29.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-962.novalocal: Name or service not known [2021-10-21T19:15:29.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-962.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-21T19:15:29.875Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:30.190Z] ---> job-cost.sh [2021-10-21T19:15:30.190Z] lf-activate-venv: SKIPPING [2021-10-21T19:15:30.190Z] DEBUG: total: 0.10999999940395355 [2021-10-21T19:15:30.190Z] INFO: Retrieving Stack Cost... [2021-10-21T19:15:56.765Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T19:15:56.765Z] INFO: Archiving Costs [Pipeline] echo [2021-10-21T19:15:56.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T19:15:57.112Z] ---> logs-deploy.sh [2021-10-21T19:15:57.112Z] lf-activate-venv: SKIPPING [2021-10-21T19:15:57.112Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-342/1 [2021-10-21T19:15:57.112Z] INFO: archiving workspace using pattern(s): [2021-10-21T19:15:57.691Z] Archives upload complete. [2021-10-21T19:15:57.954Z] INFO: archiving logs to Nexus