Pull request #419 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 e9270c021c05420c44184ec55a2954131442e77e+ad55e0170029eafafb831d92a6ace1a8c5806c28 (9402a816c73a05892a8fedad9b32686152dcf309) 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-ssh6713129887903465429.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh13624268453846996443.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-419/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-419/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6005676800425547455.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-419/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11745624898706382498.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh12517722974222369281.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-419/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-419/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1061739861364022861.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47800 in /w/workspace/_app-service-configurable_PR-419 [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-419 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ad55e0170029eafafb831d92a6ace1a8c5806c28 into PR head commit e9270c021c05420c44184ec55a2954131442e77e Merge succeeded, producing 719e29592f5610c7722de7858beae2b4757a174c Checking out Revision 719e29592f5610c7722de7858beae2b4757a174c (PR-419) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9270c021c05420c44184ec55a2954131442e77e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ad55e0170029eafafb831d92a6ace1a8c5806c28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 719e29592f5610c7722de7858beae2b4757a174c # timeout=10 Commit message: "Merge commit 'ad55e0170029eafafb831d92a6ace1a8c5806c28' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:23:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:23:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:23:22 ========================================================= 17:23:22 EdgeX Global Pipelines Version Info 17:23:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:23:23 ------------------- 17:23:23 stable info: 17:23:23 ------------------- 17:23:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:23:23 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:23:23 Message: update stable to v1.0.227 17:23:23 ------------------- 17:23:23 experimental info: 17:23:23 ------------------- 17:23:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:23:23 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:23:23 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:23:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:23:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:23:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:23:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:23:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo 17:23:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 719e29592f5610c7722de7858beae2b4757a174c [Pipeline] echo 17:23:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 719e295 [Pipeline] echo 17:23:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:25 provisioning config files... 17:23:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config8498741278994012246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:25 ---> docker-login.sh 17:23:25 nexus3.edgexfoundry.org:10001 17:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:25 Configure a credential helper to remove this warning. See 17:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:25 17:23:25 Login Succeeded 17:23:25 nexus3.edgexfoundry.org:10002 17:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:26 Configure a credential helper to remove this warning. See 17:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:26 17:23:26 Login Succeeded 17:23:26 nexus3.edgexfoundry.org:10003 17:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:26 Configure a credential helper to remove this warning. See 17:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:26 17:23:26 Login Succeeded 17:23:26 nexus3.edgexfoundry.org:10004 17:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:26 Configure a credential helper to remove this warning. See 17:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:26 17:23:26 Login Succeeded 17:23:26 docker.io 17:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:26 Configure a credential helper to remove this warning. See 17:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:26 17:23:26 Login Succeeded 17:23:26 ---> docker-login.sh ends [Pipeline] } 17:23:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:23:27 + git rev-list -1 --merges 719e29592f5610c7722de7858beae2b4757a174c~1..719e29592f5610c7722de7858beae2b4757a174c [Pipeline] echo 17:23:27 -----------> git rev-list -1 --merges 719e29592f5610c7722de7858beae2b4757a174c~1..719e29592f5610c7722de7858beae2b4757a174c 719e29592f5610c7722de7858beae2b4757a174c 17:23:27 719e29592f5610c7722de7858beae2b4757a174c [false] [Pipeline] sh 17:23:27 + git log --format=format:%s -1 719e29592f5610c7722de7858beae2b4757a174c [Pipeline] echo 17:23:27 ========================================================= 17:23:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:23:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:28 + git log --format=format:%s -1 719e29592f5610c7722de7858beae2b4757a174c [Pipeline] echo 17:23:28 [semverPrep] GIT_COMMIT: 719e29592f5610c7722de7858beae2b4757a174c, Commit Message: Merge commit 'ad55e0170029eafafb831d92a6ace1a8c5806c28' into HEAD [Pipeline] echo 17:23:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:23:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:28 + grep -v github /etc/ssh/ssh_known_hosts 17:23:28 + [ -e /tmp/ssh_known_hosts ] 17:23:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:23:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:23:28 + sudo tee -a /etc/ssh/ssh_known_hosts 17:23:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:23:29 17:23:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:23:29 latest: Pulling from edgex-devops/py-git-semver 17:23:29 1fe172e4850f: Pulling fs layer 17:23:29 caf521ccaac6: Pulling fs layer 17:23:29 3ead6fa29328: Pulling fs layer 17:23:29 5c2a1cbceb83: Pulling fs layer 17:23:29 a8d5f1318db7: Pulling fs layer 17:23:29 c427282e49a2: Pulling fs layer 17:23:29 1827001aaf11: Pulling fs layer 17:23:29 0714d37db230: Pulling fs layer 17:23:29 ac28cf19c067: Pulling fs layer 17:23:29 ca983d60f3e2: Pulling fs layer 17:23:29 9f894cec8388: Pulling fs layer 17:23:29 c427282e49a2: Waiting 17:23:29 1827001aaf11: Waiting 17:23:29 0714d37db230: Waiting 17:23:29 ac28cf19c067: Waiting 17:23:29 ca983d60f3e2: Waiting 17:23:29 9f894cec8388: Waiting 17:23:29 5c2a1cbceb83: Waiting 17:23:29 a8d5f1318db7: Waiting 17:23:29 caf521ccaac6: Verifying Checksum 17:23:29 caf521ccaac6: Download complete 17:23:29 5c2a1cbceb83: Verifying Checksum 17:23:29 5c2a1cbceb83: Download complete 17:23:29 a8d5f1318db7: Verifying Checksum 17:23:29 a8d5f1318db7: Download complete 17:23:29 c427282e49a2: Download complete 17:23:29 3ead6fa29328: Verifying Checksum 17:23:29 3ead6fa29328: Download complete 17:23:29 0714d37db230: Verifying Checksum 17:23:29 0714d37db230: Download complete 17:23:29 ac28cf19c067: Download complete 17:23:29 ca983d60f3e2: Verifying Checksum 17:23:29 ca983d60f3e2: Download complete 17:23:29 9f894cec8388: Download complete 17:23:29 1fe172e4850f: Verifying Checksum 17:23:29 1fe172e4850f: Download complete 17:23:30 1827001aaf11: Download complete 17:23:31 1fe172e4850f: Pull complete 17:23:31 caf521ccaac6: Pull complete 17:23:32 3ead6fa29328: Pull complete 17:23:32 5c2a1cbceb83: Pull complete 17:23:32 a8d5f1318db7: Pull complete 17:23:32 c427282e49a2: Pull complete 17:23:34 1827001aaf11: Pull complete 17:23:34 0714d37db230: Pull complete 17:23:34 ac28cf19c067: Pull complete 17:23:34 ca983d60f3e2: Pull complete 17:23:34 9f894cec8388: Pull complete 17:23:34 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:23:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:23:34 prd-ubuntu20.04-docker-8c-8g-47800 does not seem to be running inside a container 17:23:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:23:36 $ docker top 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e -eo pid,comm 17:23:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:23:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:36 [ssh-agent] Looking for ssh-agent implementation... 17:23:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:36 $ docker exec 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e ssh-agent 17:23:36 SSH_AUTH_SOCK=/tmp/ssh-vnCAlu9DxP3e/agent.33 17:23:36 SSH_AGENT_PID=40 17:23:36 Running ssh-add (command line suppressed) 17:23:36 Identity added: /w/workspace/_app-service-configurable_PR-419@tmp/private_key_6891030882510860892.key (/w/workspace/_app-service-configurable_PR-419@tmp/private_key_6891030882510860892.key) 17:23:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:37 + git tag --points-at HEAD [Pipeline] } 17:23:37 $ docker exec --env ******** --env ******** 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e ssh-agent -k 17:23:37 unset SSH_AUTH_SOCK; 17:23:37 unset SSH_AGENT_PID; 17:23:37 echo Agent pid 40 killed; 17:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:37 [ssh-agent] Looking for ssh-agent implementation... 17:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:37 $ docker exec 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e ssh-agent 17:23:37 SSH_AUTH_SOCK=/tmp/ssh-N7X2W5M7znbv/agent.74 17:23:37 SSH_AGENT_PID=80 17:23:37 Running ssh-add (command line suppressed) 17:23:37 Identity added: /w/workspace/_app-service-configurable_PR-419@tmp/private_key_7723326591636897206.key (/w/workspace/_app-service-configurable_PR-419@tmp/private_key_7723326591636897206.key) 17:23:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:38 + git semver init 17:23:38 2022-05-10 17:23:38,341 [run_init] DEBUG init version:0.0.0 force:False 17:23:38 2022-05-10 17:23:38,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-419/.semver 17:23:38 2022-05-10 17:23:38,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-419/.semver 17:23:38 2022-05-10 17:23:38,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-419/.semver'], cwd=/w/workspace/_app-service-configurable_PR-419, universal_newlines=False, shell=None, istream=None) 17:23:39 2022-05-10 17:23:39,109 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-419/.git/info/exclude 17:23:39 2022-05-10 17:23:39,110 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-419/.semver/PR-419 with force:False 17:23:39 2022-05-10 17:23:39,110 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-419/.semver/PR-419 17:23:39 2022-05-10 17:23:39,115 [execute] INFO git cat-file --batch-check 17:23:39 2022-05-10 17:23:39,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-419/.semver, universal_newlines=False, shell=None, istream=) 17:23:39 2022-05-10 17:23:39,122 [execute] INFO git cat-file --batch 17:23:39 2022-05-10 17:23:39,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-419/.semver, universal_newlines=False, shell=None, istream=) 17:23:39 2022-05-10 17:23:39,128 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-419/.semver/PR-419 17:23:39 0.0.0 [Pipeline] } 17:23:39 $ docker exec --env ******** --env ******** 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e ssh-agent -k 17:23:39 unset SSH_AUTH_SOCK; 17:23:39 unset SSH_AGENT_PID; 17:23:39 echo Agent pid 80 killed; 17:23:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:39 + git semver [Pipeline] } 17:23:40 $ docker stop --time=1 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e 17:23:41 $ docker rm -f 387fc2d301e8d32035e540b858a214e9068cb3ef56a4a5e94f9197735b74b01e [Pipeline] // withDockerContainer [Pipeline] sh 17:23:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:42 Stashed 1 file(s) [Pipeline] echo 17:23:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:42 provisioning config files... 17:23:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config9160989122128408293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:43 ---> docker-login.sh 17:23:43 nexus3.edgexfoundry.org:10001 17:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:43 Configure a credential helper to remove this warning. See 17:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:43 17:23:43 Login Succeeded 17:23:43 nexus3.edgexfoundry.org:10002 17:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:43 Configure a credential helper to remove this warning. See 17:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:43 17:23:43 Login Succeeded 17:23:43 nexus3.edgexfoundry.org:10003 17:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:43 Configure a credential helper to remove this warning. See 17:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:43 17:23:43 Login Succeeded 17:23:43 nexus3.edgexfoundry.org:10004 17:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:43 Configure a credential helper to remove this warning. See 17:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:43 17:23:43 Login Succeeded 17:23:43 docker.io 17:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:43 Configure a credential helper to remove this warning. See 17:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:43 17:23:43 Login Succeeded 17:23:43 ---> docker-login.sh ends [Pipeline] } 17:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:44 ========================================================= 17:23:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:23:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:23:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:23:44 Sending build context to Docker daemon 3.057MB 17:23:44 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:23:44 Step 2/13 : FROM ${BASE} AS builder 17:23:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:23:44 59bf1c3509f3: Pulling fs layer 17:23:44 666ba61612fd: Pulling fs layer 17:23:44 8ed8ca486205: Pulling fs layer 17:23:44 4fe6c5a15a65: Pulling fs layer 17:23:44 22a0e8bec74d: Pulling fs layer 17:23:44 ca2b28591e48: Pulling fs layer 17:23:44 a51346096db8: Pulling fs layer 17:23:44 daebc70d1ce1: Pulling fs layer 17:23:44 0e18a0eac166: Pulling fs layer 17:23:44 4fe6c5a15a65: Waiting 17:23:44 ca2b28591e48: Waiting 17:23:44 a51346096db8: Waiting 17:23:44 22a0e8bec74d: Waiting 17:23:44 0e18a0eac166: Waiting 17:23:44 daebc70d1ce1: Waiting 17:23:44 8ed8ca486205: Download complete 17:23:44 666ba61612fd: Verifying Checksum 17:23:44 666ba61612fd: Download complete 17:23:44 22a0e8bec74d: Verifying Checksum 17:23:44 22a0e8bec74d: Download complete 17:23:44 ca2b28591e48: Download complete 17:23:44 59bf1c3509f3: Verifying Checksum 17:23:44 a51346096db8: Verifying Checksum 17:23:44 a51346096db8: Download complete 17:23:44 daebc70d1ce1: Verifying Checksum 17:23:44 daebc70d1ce1: Download complete 17:23:44 59bf1c3509f3: Pull complete 17:23:45 666ba61612fd: Pull complete 17:23:45 8ed8ca486205: Pull complete 17:23:45 0e18a0eac166: Verifying Checksum 17:23:45 0e18a0eac166: Download complete 17:23:45 4fe6c5a15a65: Verifying Checksum 17:23:45 4fe6c5a15a65: Download complete 17:23:49 4fe6c5a15a65: Pull complete 17:23:49 22a0e8bec74d: Pull complete 17:23:49 ca2b28591e48: Pull complete 17:23:49 a51346096db8: Pull complete 17:23:49 daebc70d1ce1: Pull complete 17:23:51 0e18a0eac166: Pull complete 17:23:51 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:23:51 ---> f018257e8ee9 17:23:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:23:52 ---> Running in d6f8f87b5efe 17:23:52 Removing intermediate container d6f8f87b5efe 17:23:52 ---> 45b4010827c0 17:23:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:23:53 ---> Running in 23c7f69938e1 17:23:53 Removing intermediate container 23c7f69938e1 17:23:53 ---> 42d69eeaa706 17:23:53 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:23:53 ---> Running in a231ff46c967 17:23:53 Removing intermediate container a231ff46c967 17:23:53 ---> e95e0bd5721e 17:23:53 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:53 ---> Running in 6101169dea09 17:23:53 Removing intermediate container 6101169dea09 17:23:53 ---> 1d7687372935 17:23:53 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:53 ---> Running in 3d697b162a59 17:23:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:23:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:23:55 OK: 221 MiB in 52 packages 17:23:55 Removing intermediate container 3d697b162a59 17:23:55 ---> e811696411e6 17:23:55 Step 8/13 : WORKDIR /app 17:23:55 ---> Running in 4492a7a1fcae 17:23:55 Removing intermediate container 4492a7a1fcae 17:23:55 ---> bd57a962f0d6 17:23:55 Step 9/13 : COPY go.mod vendor* ./ 17:23:55 ---> d06961282871 17:23:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:56 ---> Running in e7f64652e3c3 17:23:57 Still waiting to schedule task 17:23:57 ‘prd-ubuntu20.04-docker-arm64-4c-16g-47793’ is offline 17:24:10 Removing intermediate container e7f64652e3c3 17:24:10 ---> 8b2fada0105f 17:24:10 Step 11/13 : COPY . . 17:24:10 ---> 0e6713e19879 17:24:10 Step 12/13 : ARG MAKE="make build" 17:24:10 ---> Running in 7190bf130f3d 17:24:10 Removing intermediate container 7190bf130f3d 17:24:10 ---> 4d9fe7d93d18 17:24:10 Step 13/13 : RUN $MAKE 17:24:10 ---> Running in 3b6f0d68ca81 17:24:10 noop 17:24:10 Removing intermediate container 3b6f0d68ca81 17:24:10 ---> 2b51c2569a79 17:24:10 Successfully built 2b51c2569a79 17:24:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:24:11 + docker inspect -f . ci-base-image-x86_64 17:24:11 . [Pipeline] withDockerContainer 17:24:11 prd-ubuntu20.04-docker-8c-8g-47800 does not seem to be running inside a container 17:24:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:11 $ docker top 4d6adf64dc7e7821d79773bd2040f991f7f131d958e2f2c41ccfd8c14c6eb571 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:12 + go version 17:24:12 go version go1.17.6 linux/amd64 [Pipeline] } 17:24:12 $ docker stop --time=1 4d6adf64dc7e7821d79773bd2040f991f7f131d958e2f2c41ccfd8c14c6eb571 17:24:13 $ docker rm -f 4d6adf64dc7e7821d79773bd2040f991f7f131d958e2f2c41ccfd8c14c6eb571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:14 + docker inspect -f . ci-base-image-x86_64 17:24:14 . [Pipeline] withDockerContainer 17:24:14 prd-ubuntu20.04-docker-8c-8g-47800 does not seem to be running inside a container 17:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:14 $ docker top 3f616a7a34b279ae842afba8f186797ee3b570071635dcc1312fa8f512ae14ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:15 + make test 17:24:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:24:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:24:25 CGO_ENABLED=1 go vet ./... 17:24:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:24:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:24:28 ./bin/test-attribution-txt.sh [Pipeline] echo 17:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:24:28 $ docker stop --time=1 3f616a7a34b279ae842afba8f186797ee3b570071635dcc1312fa8f512ae14ed 17:24:30 $ docker rm -f 3f616a7a34b279ae842afba8f186797ee3b570071635dcc1312fa8f512ae14ed [Pipeline] // withDockerContainer [Pipeline] sh 17:24:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:24:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:32 + ls -al . 17:24:32 total 164 17:24:32 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:24 . 17:24:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:23 .. 17:24:32 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:23 .dockerignore 17:24:32 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:23 .git 17:24:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:23 .github 17:24:32 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:23 .gitignore 17:24:32 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:23 .semver 17:24:32 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:23 Attribution.txt 17:24:32 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 17:23 CHANGELOG.md 17:24:32 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:23 Dockerfile 17:24:32 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:23 GOVERNANCE.md 17:24:32 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:23 Jenkinsfile 17:24:32 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:23 LICENSE 17:24:32 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:23 OWNERS.md 17:24:32 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:23 README.md 17:24:32 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:23 VERSION 17:24:32 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:23 bin 17:24:32 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:24 coverage.out 17:24:32 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:23 go.mod 17:24:32 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:23 go.sum 17:24:32 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:23 main.go 17:24:32 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:23 makefile 17:24:32 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:23 res 17:24:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:23 snap [Pipeline] isUnix [Pipeline] sh 17:24:32 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=719e29592f5610c7722de7858beae2b4757a174c --label arch=amd64 --label version=0.0.0 . 17:24:32 Sending build context to Docker daemon 3.058MB 17:24:32 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:24:32 Step 2/27 : FROM ${BASE} AS builder 17:24:32 ---> 2b51c2569a79 17:24:32 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:24:32 ---> Running in 243482ec1df2 17:24:32 Removing intermediate container 243482ec1df2 17:24:32 ---> ec2c4210a268 17:24:32 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:24:32 ---> Running in abe442d2e91c 17:24:32 Removing intermediate container abe442d2e91c 17:24:32 ---> f20c15bad05b 17:24:32 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:24:32 ---> Running in 1c000f77bd16 17:24:33 Removing intermediate container 1c000f77bd16 17:24:33 ---> df11b1a7a5f8 17:24:33 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:24:33 ---> Running in b8b1c98a231b 17:24:33 Removing intermediate container b8b1c98a231b 17:24:33 ---> 95e98bc4d479 17:24:33 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:34 ---> Running in 27b0d50d8b1c 17:24:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:24:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:24:35 OK: 221 MiB in 52 packages 17:24:35 Removing intermediate container 27b0d50d8b1c 17:24:35 ---> 46916f9e15ac 17:24:35 Step 8/27 : WORKDIR /app 17:24:35 ---> Running in 08a79351f523 17:24:35 Removing intermediate container 08a79351f523 17:24:35 ---> a6df9904610a 17:24:35 Step 9/27 : COPY go.mod vendor* ./ 17:24:36 ---> 79af5268938d 17:24:36 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:36 ---> Running in c160b5a4fe07 17:24:36 Removing intermediate container c160b5a4fe07 17:24:36 ---> 53bd52e5cb02 17:24:36 Step 11/27 : COPY . . 17:24:36 ---> 18f6e1510568 17:24:36 Step 12/27 : ARG MAKE="make build" 17:24:36 ---> Running in 14f19a16f3fc 17:24:37 Removing intermediate container 14f19a16f3fc 17:24:37 ---> e1c0b9031c1a 17:24:37 Step 13/27 : RUN $MAKE 17:24:37 ---> Running in ee683f9e4617 17:24:37 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:24:59 Removing intermediate container ee683f9e4617 17:24:59 ---> 8205a92f381b 17:24:59 Step 14/27 : FROM alpine:3.14 17:24:59 3.14: Pulling from library/alpine 17:24:59 8663204ce13b: Pulling fs layer 17:24:59 8663204ce13b: Verifying Checksum 17:24:59 8663204ce13b: Download complete 17:24:59 8663204ce13b: Pull complete 17:24:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:24:59 Status: Downloaded newer image for alpine:3.14 17:24:59 ---> e04c818066af 17:24:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:24:59 ---> Running in d5b41f5b4636 17:24:59 Removing intermediate container d5b41f5b4636 17:24:59 ---> 655e50368dfc 17:24:59 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:24:59 ---> Running in 5021dceb90a3 17:24:59 Removing intermediate container 5021dceb90a3 17:24:59 ---> 2ad455125bae 17:24:59 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:24:59 ---> Running in d5790cdb863d 17:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:24:59 (1/7) Installing ca-certificates (20211220-r0) 17:24:59 (2/7) Installing dumb-init (1.2.5-r1) 17:24:59 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:24:59 (4/7) Installing libsodium (1.0.18-r0) 17:24:59 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:24:59 (6/7) Installing libzmq (4.3.4-r0) 17:24:59 (7/7) Installing zeromq (4.3.4-r0) 17:24:59 Executing busybox-1.33.1-r7.trigger 17:24:59 Executing ca-certificates-20211220-r0.trigger 17:24:59 OK: 9 MiB in 21 packages 17:25:00 Removing intermediate container d5790cdb863d 17:25:00 ---> 00006ce3f345 17:25:00 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:25:00 ---> 87eed1701c9b 17:25:00 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:25:00 ---> 5a5ef5e08a96 17:25:00 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:25:00 ---> 5462b1abdd9d 17:25:00 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:25:01 ---> a6c10a5ac3f3 17:25:01 Step 22/27 : EXPOSE 48095 17:25:01 ---> Running in d6786f8597db 17:25:01 Removing intermediate container d6786f8597db 17:25:01 ---> 6e2ca0aec31e 17:25:01 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:25:01 ---> Running in e0c960f68dff 17:25:01 Removing intermediate container e0c960f68dff 17:25:01 ---> 268e5402ed24 17:25:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:25:01 ---> Running in 8a29d05aab45 17:25:01 Removing intermediate container 8a29d05aab45 17:25:01 ---> b6230cffd71c 17:25:01 Step 25/27 : LABEL arch=amd64 17:25:01 ---> Running in 9d933510872f 17:25:01 Removing intermediate container 9d933510872f 17:25:01 ---> d365df8fe817 17:25:01 Step 26/27 : LABEL git_sha=719e29592f5610c7722de7858beae2b4757a174c 17:25:01 ---> Running in 13f326d52a5a 17:25:01 Removing intermediate container 13f326d52a5a 17:25:01 ---> ea16faa08afd 17:25:01 Step 27/27 : LABEL version=0.0.0 17:25:01 ---> Running in 5c4e72a2d8cd 17:25:01 Removing intermediate container 5c4e72a2d8cd 17:25:01 ---> 99f4c3379d9c 17:25:01 [Warning] One or more build-args [ARCH] were not consumed 17:25:01 Successfully built 99f4c3379d9c 17:25:01 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:02 17:25:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:25:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:02 latest: Pulling from edgex-lftools-log-publisher 17:25:02 5eb5b503b376: Pulling fs layer 17:25:02 5c69ac0246d0: Pulling fs layer 17:25:02 ec43610c2a17: Pulling fs layer 17:25:02 3a2ae6a8a46f: Pulling fs layer 17:25:02 33b1e0a273af: Pulling fs layer 17:25:02 5d3b04190fa2: Pulling fs layer 17:25:02 2f39f015ded8: Pulling fs layer 17:25:02 33b1e0a273af: Waiting 17:25:02 5d3b04190fa2: Waiting 17:25:02 2f39f015ded8: Waiting 17:25:02 3a2ae6a8a46f: Waiting 17:25:02 5c69ac0246d0: Download complete 17:25:02 3a2ae6a8a46f: Verifying Checksum 17:25:02 3a2ae6a8a46f: Download complete 17:25:02 33b1e0a273af: Verifying Checksum 17:25:02 5d3b04190fa2: Download complete 17:25:03 ec43610c2a17: Verifying Checksum 17:25:03 ec43610c2a17: Download complete 17:25:03 5eb5b503b376: Verifying Checksum 17:25:03 5eb5b503b376: Download complete 17:25:03 2f39f015ded8: Download complete 17:25:04 5eb5b503b376: Pull complete 17:25:04 5c69ac0246d0: Pull complete 17:25:04 ec43610c2a17: Pull complete 17:25:04 3a2ae6a8a46f: Pull complete 17:25:04 33b1e0a273af: Pull complete 17:25:04 5d3b04190fa2: Pull complete 17:25:09 2f39f015ded8: Pull complete 17:25:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:25:09 prd-ubuntu20.04-docker-8c-8g-47800 does not seem to be running inside a container 17:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:25:11 $ docker top 1b7e7da2727b348d6a22d2f628003a1eba15ec5d68affb2749b174d490bff691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:11 ---> job-cost.sh 17:25:11 lf-activate-venv: SKIPPING 17:25:11 INFO: No Stack... 17:25:11 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:12 INFO: Archiving Costs [Pipeline] sh 17:25:12 + cat /w/workspace/_app-service-configurable_PR-419/archives/cost.csv 17:25:12 + cut -d, -f6 [Pipeline] lock 17:25:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] 17:25:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] did not exist. Created. 17:25:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:13 + echo total: 0.2199999988079071 [Pipeline] stash 17:25:13 Stashed 1 file(s) [Pipeline] } 17:25:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:25:13 $ docker stop --time=1 1b7e7da2727b348d6a22d2f628003a1eba15ec5d68affb2749b174d490bff691 17:25:14 $ docker rm -f 1b7e7da2727b348d6a22d2f628003a1eba15ec5d68affb2749b174d490bff691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47801 in /w/workspace/_app-service-configurable_PR-419 [Pipeline] { [Pipeline] ws 17:25:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:25:39 Selected Git installation does not exist. Using Default 17:25:39 The recommended git tool is: NONE 17:25:45 using credential edgex-jenkins-ssh 17:25:45 Cloning the remote Git repository 17:25:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:25:45 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:25:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:25:45 > git --version # timeout=10 17:25:45 > git --version # 'git version 2.25.1' 17:25:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:47 Merging remotes/origin/main commit ad55e0170029eafafb831d92a6ace1a8c5806c28 into PR head commit e9270c021c05420c44184ec55a2954131442e77e 17:25:48 Merge succeeded, producing 65ae36b2b60e3ee6c6282d4b0d41770fb3d7ec59 17:25:48 Checking out Revision 65ae36b2b60e3ee6c6282d4b0d41770fb3d7ec59 (PR-419) 17:25:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:25:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:25:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:25:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:25:47 > git config core.sparsecheckout # timeout=10 17:25:47 > git checkout -f e9270c021c05420c44184ec55a2954131442e77e # timeout=10 17:25:47 > git remote # timeout=10 17:25:47 > git config --get remote.origin.url # timeout=10 17:25:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:47 > git merge ad55e0170029eafafb831d92a6ace1a8c5806c28 # timeout=10 17:25:48 > git rev-parse HEAD^{commit} # timeout=10 17:25:48 > git config core.sparsecheckout # timeout=10 17:25:48 > git checkout -f 65ae36b2b60e3ee6c6282d4b0d41770fb3d7ec59 # timeout=10 17:25:52 Commit message: "Merge commit 'ad55e0170029eafafb831d92a6ace1a8c5806c28' into HEAD" 17:25:52 First time build. Skipping changelog. 17:25:52 > git --version # timeout=10 17:25:52 > git --version # 'git version 2.25.1' 17:25:52 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:25:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:53 Dload Upload Total Spent Left Speed 17:25:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 84592 [Pipeline] sh 17:25:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:54 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 17:25:54 tee /etc/docker/daemon.new 17:25:54 { 17:25:54 "registry-mirrors": [ 17:25:54 "https://nexus3.edgexfoundry.org:10001" 17:25:54 ], 17:25:54 "bip": "10.250.0.254/24", 17:25:54 "hosts": [ 17:25:54 "tcp://0.0.0.0:5555", 17:25:54 "unix:///var/run/docker.sock" 17:25:54 ], 17:25:54 "mtu": 1458, 17:25:54 "selinux-enabled": true, 17:25:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:54 } [Pipeline] sh 17:25:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:13 provisioning config files... 17:26:13 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config607916845375109774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:14 ---> docker-login.sh 17:26:14 nexus3.edgexfoundry.org:10001 17:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:14 Configure a credential helper to remove this warning. See 17:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:14 17:26:14 Login Succeeded 17:26:14 nexus3.edgexfoundry.org:10002 17:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:15 Configure a credential helper to remove this warning. See 17:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:15 17:26:15 Login Succeeded 17:26:15 nexus3.edgexfoundry.org:10003 17:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:15 Configure a credential helper to remove this warning. See 17:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:15 17:26:15 Login Succeeded 17:26:15 nexus3.edgexfoundry.org:10004 17:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:16 Configure a credential helper to remove this warning. See 17:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:16 17:26:16 Login Succeeded 17:26:16 docker.io 17:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:17 Configure a credential helper to remove this warning. See 17:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:17 17:26:17 Login Succeeded 17:26:17 ---> docker-login.sh ends [Pipeline] } 17:26:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:17 ========================================================= 17:26:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:26:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:26:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:26:18 Sending build context to Docker daemon 199.7kB 17:26:18 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:26:18 Step 2/13 : FROM ${BASE} AS builder 17:26:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:18 9b3977197b4f: Pulling fs layer 17:26:18 1a89e8eeedd5: Pulling fs layer 17:26:18 94645a83ff95: Pulling fs layer 17:26:18 3f3a8bcf1eab: Pulling fs layer 17:26:18 0c92f367c5e7: Pulling fs layer 17:26:18 3096ccb668a1: Pulling fs layer 17:26:18 e8cf19c19ddd: Pulling fs layer 17:26:18 a4caa8a26152: Pulling fs layer 17:26:18 0c92f367c5e7: Waiting 17:26:18 e8cf19c19ddd: Waiting 17:26:18 a4caa8a26152: Waiting 17:26:18 3096ccb668a1: Waiting 17:26:18 3f3a8bcf1eab: Waiting 17:26:18 94645a83ff95: Download complete 17:26:18 1a89e8eeedd5: Download complete 17:26:18 0c92f367c5e7: Download complete 17:26:18 3096ccb668a1: Verifying Checksum 17:26:18 3096ccb668a1: Download complete 17:26:18 9b3977197b4f: Download complete 17:26:18 e8cf19c19ddd: Verifying Checksum 17:26:18 e8cf19c19ddd: Download complete 17:26:19 9b3977197b4f: Pull complete 17:26:19 1a89e8eeedd5: Pull complete 17:26:20 94645a83ff95: Pull complete 17:26:20 a4caa8a26152: Verifying Checksum 17:26:20 a4caa8a26152: Download complete 17:26:21 3f3a8bcf1eab: Verifying Checksum 17:26:21 3f3a8bcf1eab: Download complete 17:26:33 3f3a8bcf1eab: Pull complete 17:26:33 0c92f367c5e7: Pull complete 17:26:33 3096ccb668a1: Pull complete 17:26:33 e8cf19c19ddd: Pull complete 17:26:40 a4caa8a26152: Pull complete 17:26:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:26:40 ---> 725f1c02e7f9 17:26:40 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:26:40 ---> Running in 8ccd8db4038c 17:26:40 Removing intermediate container 8ccd8db4038c 17:26:40 ---> 16940acb475e 17:26:40 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:26:40 ---> Running in 96fbda41f4a6 17:26:41 Removing intermediate container 96fbda41f4a6 17:26:41 ---> 727ed54f82cd 17:26:41 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:26:41 ---> Running in 6ef076ca687c 17:26:41 Removing intermediate container 6ef076ca687c 17:26:41 ---> 5d64e4c25cbf 17:26:41 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:41 ---> Running in b6492ed22299 17:26:43 Removing intermediate container b6492ed22299 17:26:43 ---> d701a0b52bd4 17:26:43 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:43 ---> Running in a0e88cecc19d 17:26:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:26:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:26:46 OK: 220 MiB in 52 packages 17:26:47 Removing intermediate container a0e88cecc19d 17:26:47 ---> 87acc179d299 17:26:47 Step 8/13 : WORKDIR /app 17:26:47 ---> Running in 65750e493554 17:26:47 Removing intermediate container 65750e493554 17:26:47 ---> 9576660be73c 17:26:47 Step 9/13 : COPY go.mod vendor* ./ 17:26:48 ---> 89de18c82b0d 17:26:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:48 ---> Running in f748260aa5e5 17:27:35 Removing intermediate container f748260aa5e5 17:27:35 ---> 2a389e95f1b3 17:27:35 Step 11/13 : COPY . . 17:27:35 ---> 0643865fdbdd 17:27:35 Step 12/13 : ARG MAKE="make build" 17:27:35 ---> Running in 57e15c68b768 17:27:35 Removing intermediate container 57e15c68b768 17:27:35 ---> 1e6bca57e75e 17:27:35 Step 13/13 : RUN $MAKE 17:27:35 ---> Running in 05431d97358b 17:27:35 noop 17:27:35 Removing intermediate container 05431d97358b 17:27:35 ---> 57e41b8920c2 17:27:35 Successfully built 57e41b8920c2 17:27:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:27:35 + docker inspect -f . ci-base-image-arm64 17:27:35 . [Pipeline] withDockerContainer 17:27:35 prd-ubuntu20.04-docker-arm64-4c-16g-47801 does not seem to be running inside a container 17:27:35 $ 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 ******** ci-base-image-arm64 cat 17:27:37 $ docker top 03996fb2ab5347c660ab44f502f182e7fadd68629cb3cf8ad7c54c994f9fc883 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:38 + go version 17:27:38 go version go1.17.6 linux/arm64 [Pipeline] } 17:27:38 $ docker stop --time=1 03996fb2ab5347c660ab44f502f182e7fadd68629cb3cf8ad7c54c994f9fc883 17:27:39 $ docker rm -f 03996fb2ab5347c660ab44f502f182e7fadd68629cb3cf8ad7c54c994f9fc883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:27:40 + docker inspect -f . ci-base-image-arm64 17:27:40 . [Pipeline] withDockerContainer 17:27:40 prd-ubuntu20.04-docker-arm64-4c-16g-47801 does not seem to be running inside a container 17:27:40 $ 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 ******** ci-base-image-arm64 cat 17:27:42 $ docker top 5cbbbb88100838bd4a778e05dc30c3feb497b79e18b409eef183ff99b76b9b5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:27:43 + make test 17:27:43 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:29:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:29:05 CGO_ENABLED=1 go vet ./... 17:29:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:29:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:29:23 ./bin/test-attribution-txt.sh [Pipeline] echo 17:29:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:29:24 $ docker stop --time=1 5cbbbb88100838bd4a778e05dc30c3feb497b79e18b409eef183ff99b76b9b5c 17:29:26 $ docker rm -f 5cbbbb88100838bd4a778e05dc30c3feb497b79e18b409eef183ff99b76b9b5c [Pipeline] // withDockerContainer [Pipeline] sh 17:29:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:29:27 Warning: overwriting stash ‘coverage-report’ 17:29:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:29:28 + ls -al . 17:29:28 total 160 17:29:28 drwxrwxr-x 7 jenkins jenkins 4096 May 10 17:29 . 17:29:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:25 .. 17:29:28 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:25 .dockerignore 17:29:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:25 .git 17:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:25 .github 17:29:28 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:25 .gitignore 17:29:28 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:25 Attribution.txt 17:29:28 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 17:25 CHANGELOG.md 17:29:28 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:25 Dockerfile 17:29:28 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:25 GOVERNANCE.md 17:29:28 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:25 Jenkinsfile 17:29:28 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:25 LICENSE 17:29:28 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:25 OWNERS.md 17:29:28 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:25 README.md 17:29:28 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:23 VERSION 17:29:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:25 bin 17:29:28 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:27 coverage.out 17:29:28 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:25 go.mod 17:29:28 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:25 go.sum 17:29:28 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:25 main.go 17:29:28 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:25 makefile 17:29:28 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:25 res 17:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:25 snap [Pipeline] isUnix [Pipeline] sh 17:29:29 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=65ae36b2b60e3ee6c6282d4b0d41770fb3d7ec59 --label arch=arm64 --label version=0.0.0 . 17:29:29 Sending build context to Docker daemon 200.7kB 17:29:29 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:29:29 Step 2/27 : FROM ${BASE} AS builder 17:29:29 ---> 57e41b8920c2 17:29:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:29:29 ---> Running in 10ff6d5c47c8 17:29:29 Removing intermediate container 10ff6d5c47c8 17:29:29 ---> 146236594a48 17:29:29 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:29:29 ---> Running in 6347c7f4355b 17:29:30 Removing intermediate container 6347c7f4355b 17:29:30 ---> 7cd16e4fbbd8 17:29:30 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:29:30 ---> Running in b073f4e4402c 17:29:30 Removing intermediate container b073f4e4402c 17:29:30 ---> 3a156222b699 17:29:30 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:30 ---> Running in c81d32a49848 17:29:32 Removing intermediate container c81d32a49848 17:29:32 ---> 368e75a64ba5 17:29:32 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:32 ---> Running in 54d725beac30 17:29:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:29:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:29:35 OK: 220 MiB in 52 packages 17:29:35 Removing intermediate container 54d725beac30 17:29:35 ---> ef04cb041728 17:29:35 Step 8/27 : WORKDIR /app 17:29:35 ---> Running in 19ae77adffa2 17:29:36 Removing intermediate container 19ae77adffa2 17:29:36 ---> 79baa1cf4b19 17:29:36 Step 9/27 : COPY go.mod vendor* ./ 17:29:36 ---> a5cd98e1480c 17:29:36 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:36 ---> Running in 30c98889cbc1 17:29:38 Removing intermediate container 30c98889cbc1 17:29:38 ---> be50c02f3f1e 17:29:38 Step 11/27 : COPY . . 17:29:39 ---> 0b58150d4c19 17:29:39 Step 12/27 : ARG MAKE="make build" 17:29:39 ---> Running in dd00fa9c1da0 17:29:39 Removing intermediate container dd00fa9c1da0 17:29:39 ---> 6896460f9e69 17:29:39 Step 13/27 : RUN $MAKE 17:29:39 ---> Running in c478b1d70360 17:29:40 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:31:47 Removing intermediate container c478b1d70360 17:31:47 ---> abc21bf9164f 17:31:47 Step 14/27 : FROM alpine:3.14 17:31:47 3.14: Pulling from library/alpine 17:31:47 455c02918c45: Pulling fs layer 17:31:47 455c02918c45: Verifying Checksum 17:31:47 455c02918c45: Pull complete 17:31:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:31:47 Status: Downloaded newer image for alpine:3.14 17:31:47 ---> ac73e934f311 17:31:47 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:31:47 ---> Running in 20d7b13fe3cd 17:31:47 Removing intermediate container 20d7b13fe3cd 17:31:47 ---> 19257d63fde9 17:31:47 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:31:47 ---> Running in 5538b4bb8bd0 17:31:47 Removing intermediate container 5538b4bb8bd0 17:31:47 ---> db07a59e2bde 17:31:47 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:31:47 ---> Running in 2ab8fbfe81ba 17:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:31:47 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 17:31:50 ERROR: unable to select packages: 17:31:50  ca-certificates (no such package): 17:31:50 required by: world[ca-certificates] 17:31:50 zeromq (no such package): 17:31:50 required by: world[zeromq] 17:31:50 The command '/bin/sh -c apk add --update --no-cache ca-certificates zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [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 17:31:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:51 17:31:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:31:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:51 arm64: Pulling from edgex-lftools-log-publisher 17:31:51 8998bd30e6a1: Pulling fs layer 17:31:51 04944245beec: Pulling fs layer 17:31:51 699f458cf7ca: Pulling fs layer 17:31:51 765212b225bb: Pulling fs layer 17:31:51 f23df028b6ca: Pulling fs layer 17:31:51 d65c8cfc05b1: Pulling fs layer 17:31:51 2437ff75d9bd: Pulling fs layer 17:31:51 f23df028b6ca: Waiting 17:31:51 d65c8cfc05b1: Waiting 17:31:51 2437ff75d9bd: Waiting 17:31:51 765212b225bb: Waiting 17:31:51 04944245beec: Verifying Checksum 17:31:51 04944245beec: Download complete 17:31:51 765212b225bb: Verifying Checksum 17:31:51 765212b225bb: Download complete 17:31:51 f23df028b6ca: Download complete 17:31:51 d65c8cfc05b1: Verifying Checksum 17:31:51 d65c8cfc05b1: Download complete 17:31:52 699f458cf7ca: Verifying Checksum 17:31:52 699f458cf7ca: Download complete 17:31:52 8998bd30e6a1: Verifying Checksum 17:31:52 8998bd30e6a1: Download complete 17:31:55 2437ff75d9bd: Verifying Checksum 17:31:55 2437ff75d9bd: Download complete 17:31:56 8998bd30e6a1: Pull complete 17:31:57 04944245beec: Pull complete 17:31:58 699f458cf7ca: Pull complete 17:31:58 765212b225bb: Pull complete 17:31:59 f23df028b6ca: Pull complete 17:31:59 d65c8cfc05b1: Pull complete 17:32:14 2437ff75d9bd: Pull complete 17:32:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:32:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:32:15 prd-ubuntu20.04-docker-arm64-4c-16g-47801 does not seem to be running inside a container 17:32:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:32:17 $ docker top 7d1676309b182a85c1569ed66e139aec81700de0355a064d93ab30d9aae78f9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:18 ---> job-cost.sh 17:32:18 lf-activate-venv: SKIPPING 17:32:18 INFO: No Stack... 17:32:19 INFO: Retrieving Pricing Info for: v3-standard-4 17:32:20 INFO: Archiving Costs [Pipeline] sh 17:32:20 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:32:20 + cut -d, -f6 [Pipeline] lock 17:32:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] 17:32:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] did not exist. Created. 17:32:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:32:21 /w/workspace/app-service-configurable/1@tmp/durable-60535e9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:32:22 + echo total: 0.10999999940395355 [Pipeline] stash 17:32:22 Warning: overwriting stash ‘stack-cost’ 17:32:22 Stashed 1 file(s) [Pipeline] } 17:32:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-419-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:32:22 $ docker stop --time=1 7d1676309b182a85c1569ed66e139aec81700de0355a064d93ab30d9aae78f9e 17:32:24 $ docker rm -f 7d1676309b182a85c1569ed66e139aec81700de0355a064d93ab30d9aae78f9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:24 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:32:26 + [ -d /w/workspace/_app-service-configurable_PR-419/archives ] 17:32:26 + ls -al /w/workspace/_app-service-configurable_PR-419/archives 17:32:26 total 16 17:32:26 drwxr-xr-x 3 root root 4096 May 10 17:25 . 17:32:26 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:25 .. 17:32:26 drwxr-xr-x 2 root root 4096 May 10 17:25 cost 17:32:26 -rw-r--r-- 1 root root 95 May 10 17:25 cost.csv 17:32:26 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-419/archives 17:32:26 + ls -al /w/workspace/_app-service-configurable_PR-419/archives 17:32:26 total 16 17:32:26 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:25 . 17:32:26 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:25 .. 17:32:26 drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:25 cost 17:32:26 -rw-r--r-- 1 jenkins jenkins 95 May 10 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:32:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:32:27 ---> package-listing.sh 17:32:27 ++ facter osfamily 17:32:27 ++ tr '[:upper:]' '[:lower:]' 17:32:28 + OS_FAMILY=debian 17:32:28 + workspace=/w/workspace/_app-service-configurable_PR-419 17:32:28 + START_PACKAGES=/tmp/packages_start.txt 17:32:28 + END_PACKAGES=/tmp/packages_end.txt 17:32:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:32:28 + PACKAGES=/tmp/packages_start.txt 17:32:28 + '[' /w/workspace/_app-service-configurable_PR-419 ']' 17:32:28 + PACKAGES=/tmp/packages_end.txt 17:32:28 + case "${OS_FAMILY}" in 17:32:28 + dpkg -l 17:32:28 + grep '^ii' 17:32:28 + '[' -f /tmp/packages_start.txt ']' 17:32:28 + '[' -f /tmp/packages_end.txt ']' 17:32:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:32:28 + '[' /w/workspace/_app-service-configurable_PR-419 ']' 17:32:28 + mkdir -p /w/workspace/_app-service-configurable_PR-419/archives/ 17:32:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-419/archives/ [Pipeline] echo 17:32:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:32:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:28 . [Pipeline] withDockerContainer 17:32:29 prd-ubuntu20.04-docker-8c-8g-47800 does not seem to be running inside a container 17:32:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-419/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-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@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 17:32:29 $ docker top f75847e95cd685f2393e1e89b2b3efa1265653a7a4c872bf6989564c77564897 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:29 + touch /tmp/pre-build-complete [Pipeline] sh 17:32:30 + mkdir -p /var/log/sysstat [Pipeline] sh 17:32:30 + ls /var/log/sa-host 17:32:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:30 provisioning config files... 17:32:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config6923731606593558872tmp [Pipeline] { [Pipeline] echo 17:32:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:32:31 ---> create-netrc.sh [Pipeline] } 17:32:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:32:31 ---> python-tools-install.sh [Pipeline] echo 17:32:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:32:31 ---> sudo-logs.sh 17:32:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:32:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:32:32 ---> job-cost.sh 17:32:32 lf-activate-venv: SKIPPING 17:32:32 DEBUG: total: 0.2199999988079071 17:32:32 INFO: Retrieving Stack Cost... 17:32:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:32:33 INFO: Archiving Costs [Pipeline] echo 17:32:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:32:33 ---> logs-deploy.sh 17:32:33 lf-activate-venv: SKIPPING 17:32:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-419/1 17:32:33 INFO: archiving workspace using pattern(s): 17:32:34 Archives upload complete. 17:32:34 INFO: archiving logs to Nexus