Pull request #417 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 farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9d000e3b7eb660a7d721305ec91505697408c0ee+0ec6f6647dd09fd78b7f2ede1f224ac506661311 (19f8ecc32576c8134d245da07fbcd678a9b460fb) 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-ssh3004447785346366913.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-ssh13552440728558861342.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-417/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-417/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13757574840533261228.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-417/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15142558715689145975.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-ssh8700106529562993237.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-417/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-417/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10839106046103937346.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-46211 in /w/workspace/_app-service-configurable_PR-417 [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-417 # 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 0ec6f6647dd09fd78b7f2ede1f224ac506661311 into PR head commit 9d000e3b7eb660a7d721305ec91505697408c0ee Merge succeeded, producing 9d000e3b7eb660a7d721305ec91505697408c0ee Checking out Revision 9d000e3b7eb660a7d721305ec91505697408c0ee (PR-417) > 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/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # 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 0ec6f6647dd09fd78b7f2ede1f224ac506661311 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 Commit message: "build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 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 08:44:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:44:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:44:31 ========================================================= 08:44:31 EdgeX Global Pipelines Version Info 08:44:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:44:32 ------------------- 08:44:32 stable info: 08:44:32 ------------------- 08:44:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:44:32 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 08:44:32 Message: update stable to v1.0.227 08:44:32 ------------------- 08:44:32 experimental info: 08:44:32 ------------------- 08:44:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:44:32 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 08:44:32 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:44:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d000e3 [Pipeline] echo 08:44:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:34 provisioning config files... 08:44:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config440307513816292467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:34 ---> docker-login.sh 08:44:34 nexus3.edgexfoundry.org:10001 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10002 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10003 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10004 08:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:36 Configure a credential helper to remove this warning. See 08:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:36 08:44:36 Login Succeeded 08:44:36 docker.io 08:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:36 Configure a credential helper to remove this warning. See 08:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:36 08:44:36 Login Succeeded 08:44:36 ---> docker-login.sh ends [Pipeline] } 08:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:44:37 + git rev-list -1 --merges 9d000e3b7eb660a7d721305ec91505697408c0ee~1..9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 08:44:37 -----------> git rev-list -1 --merges 9d000e3b7eb660a7d721305ec91505697408c0ee~1..9d000e3b7eb660a7d721305ec91505697408c0ee 9d000e3b7eb660a7d721305ec91505697408c0ee [false] [Pipeline] sh 08:44:37 + git log --format=format:%s -1 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 08:44:37 ========================================================= 08:44:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:44:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:44:38 + git log --format=format:%s -1 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 08:44:38 [semverPrep] GIT_COMMIT: 9d000e3b7eb660a7d721305ec91505697408c0ee, Commit Message: build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 08:44:38 [semverPrep] This is not a build commit. [Pipeline] sh 08:44:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:44:38 + grep -v github /etc/ssh/ssh_known_hosts 08:44:38 + [ -e /tmp/ssh_known_hosts ] 08:44:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:44:38 + + sudo tee -a /etc/ssh/ssh_known_hosts 08:44:38 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:44:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:44:39 08:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:44:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:44:39 latest: Pulling from edgex-devops/py-git-semver 08:44:39 1fe172e4850f: Pulling fs layer 08:44:39 caf521ccaac6: Pulling fs layer 08:44:39 3ead6fa29328: Pulling fs layer 08:44:39 5c2a1cbceb83: Pulling fs layer 08:44:39 a8d5f1318db7: Pulling fs layer 08:44:39 c427282e49a2: Pulling fs layer 08:44:39 1827001aaf11: Pulling fs layer 08:44:39 0714d37db230: Pulling fs layer 08:44:39 ac28cf19c067: Pulling fs layer 08:44:39 ca983d60f3e2: Pulling fs layer 08:44:39 9f894cec8388: Pulling fs layer 08:44:39 ac28cf19c067: Waiting 08:44:39 1827001aaf11: Waiting 08:44:39 ca983d60f3e2: Waiting 08:44:39 0714d37db230: Waiting 08:44:39 5c2a1cbceb83: Waiting 08:44:39 c427282e49a2: Waiting 08:44:39 a8d5f1318db7: Waiting 08:44:39 caf521ccaac6: Verifying Checksum 08:44:39 caf521ccaac6: Download complete 08:44:39 5c2a1cbceb83: Download complete 08:44:39 a8d5f1318db7: Verifying Checksum 08:44:39 a8d5f1318db7: Download complete 08:44:39 c427282e49a2: Download complete 08:44:39 3ead6fa29328: Verifying Checksum 08:44:39 3ead6fa29328: Download complete 08:44:39 0714d37db230: Verifying Checksum 08:44:39 0714d37db230: Download complete 08:44:39 ac28cf19c067: Download complete 08:44:39 ca983d60f3e2: Verifying Checksum 08:44:39 ca983d60f3e2: Download complete 08:44:39 9f894cec8388: Verifying Checksum 08:44:39 9f894cec8388: Download complete 08:44:40 1fe172e4850f: Verifying Checksum 08:44:40 1fe172e4850f: Download complete 08:44:40 1827001aaf11: Verifying Checksum 08:44:40 1827001aaf11: Download complete 08:44:41 1fe172e4850f: Pull complete 08:44:41 caf521ccaac6: Pull complete 08:44:42 3ead6fa29328: Pull complete 08:44:42 5c2a1cbceb83: Pull complete 08:44:42 a8d5f1318db7: Pull complete 08:44:52 c427282e49a2: Pull complete 08:44:53 1827001aaf11: Pull complete 08:44:53 0714d37db230: Pull complete 08:44:53 ac28cf19c067: Pull complete 08:44:54 ca983d60f3e2: Pull complete 08:44:54 9f894cec8388: Pull complete 08:44:54 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 08:44:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:44:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 08:44:54 prd-ubuntu20.04-docker-8c-8g-46211 does not seem to be running inside a container 08:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 08:44:56 $ docker top ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e -eo pid,comm 08:44:56 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). 08:44:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:56 [ssh-agent] Looking for ssh-agent implementation... 08:44:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:56 $ docker exec ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e ssh-agent 08:44:56 SSH_AUTH_SOCK=/tmp/ssh-0HkM2hTzu7xJ/agent.32 08:44:56 SSH_AGENT_PID=39 08:44:56 Running ssh-add (command line suppressed) 08:44:56 Identity added: /w/workspace/_app-service-configurable_PR-417@tmp/private_key_3191208646556861562.key (/w/workspace/_app-service-configurable_PR-417@tmp/private_key_3191208646556861562.key) 08:44:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:57 + git tag --points-at HEAD [Pipeline] } 08:44:57 $ docker exec --env ******** --env ******** ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e ssh-agent -k 08:44:57 unset SSH_AUTH_SOCK; 08:44:57 unset SSH_AGENT_PID; 08:44:57 echo Agent pid 39 killed; 08:44:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:57 [ssh-agent] Looking for ssh-agent implementation... 08:44:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:57 $ docker exec ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e ssh-agent 08:44:57 SSH_AUTH_SOCK=/tmp/ssh-atqAMidkIJqq/agent.74 08:44:57 SSH_AGENT_PID=81 08:44:57 Running ssh-add (command line suppressed) 08:44:57 Identity added: /w/workspace/_app-service-configurable_PR-417@tmp/private_key_5720345820688936845.key (/w/workspace/_app-service-configurable_PR-417@tmp/private_key_5720345820688936845.key) 08:44:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:58 + git semver init 08:44:58 2022-05-10 08:44:58,486 [run_init] DEBUG init version:0.0.0 force:False 08:44:58 2022-05-10 08:44:58,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-417/.semver 08:44:58 2022-05-10 08:44:58,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-417/.semver 08:44:58 2022-05-10 08:44:58,488 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-417/.semver'], cwd=/w/workspace/_app-service-configurable_PR-417, universal_newlines=False, shell=None, istream=None) 08:44:59 2022-05-10 08:44:59,315 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-417/.git/info/exclude 08:44:59 2022-05-10 08:44:59,316 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-417/.semver/PR-417 with force:False 08:44:59 2022-05-10 08:44:59,316 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-417/.semver/PR-417 08:44:59 2022-05-10 08:44:59,321 [execute] INFO git cat-file --batch-check 08:44:59 2022-05-10 08:44:59,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-417/.semver, universal_newlines=False, shell=None, istream=) 08:44:59 2022-05-10 08:44:59,327 [execute] INFO git cat-file --batch 08:44:59 2022-05-10 08:44:59,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-417/.semver, universal_newlines=False, shell=None, istream=) 08:44:59 2022-05-10 08:44:59,332 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-417/.semver/PR-417 08:44:59 0.0.0 [Pipeline] } 08:44:59 $ docker exec --env ******** --env ******** ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e ssh-agent -k 08:44:59 unset SSH_AUTH_SOCK; 08:44:59 unset SSH_AGENT_PID; 08:44:59 echo Agent pid 81 killed; 08:44:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:45:00 + git semver [Pipeline] } 08:45:00 $ docker stop --time=1 ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e 08:45:02 $ docker rm -f ba7de48b5b2aab243d919c002100e0d944cd8a7b0408b74211ba1e411bdb668e [Pipeline] // withDockerContainer [Pipeline] sh 08:45:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:45:02 Stashed 1 file(s) [Pipeline] echo 08:45:02 [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 08:45:03 provisioning config files... 08:45:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config617059470993305879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:03 ---> docker-login.sh 08:45:03 nexus3.edgexfoundry.org:10001 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:03 Configure a credential helper to remove this warning. See 08:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:03 08:45:03 Login Succeeded 08:45:03 nexus3.edgexfoundry.org:10002 08:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:04 Configure a credential helper to remove this warning. See 08:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:04 08:45:04 Login Succeeded 08:45:04 nexus3.edgexfoundry.org:10003 08:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:04 Configure a credential helper to remove this warning. See 08:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:04 08:45:04 Login Succeeded 08:45:04 nexus3.edgexfoundry.org:10004 08:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:04 Configure a credential helper to remove this warning. See 08:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:04 08:45:04 Login Succeeded 08:45:04 docker.io 08:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:04 Configure a credential helper to remove this warning. See 08:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:04 08:45:04 Login Succeeded 08:45:04 ---> docker-login.sh ends [Pipeline] } 08:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:45:05 ========================================================= 08:45:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:45:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:45:05 + 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 . 08:45:05 Sending build context to Docker daemon 3.052MB 08:45:05 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:45:05 Step 2/13 : FROM ${BASE} AS builder 08:45:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:45:05 59bf1c3509f3: Pulling fs layer 08:45:05 666ba61612fd: Pulling fs layer 08:45:05 8ed8ca486205: Pulling fs layer 08:45:05 4fe6c5a15a65: Pulling fs layer 08:45:05 22a0e8bec74d: Pulling fs layer 08:45:05 ca2b28591e48: Pulling fs layer 08:45:05 a51346096db8: Pulling fs layer 08:45:05 daebc70d1ce1: Pulling fs layer 08:45:05 0e18a0eac166: Pulling fs layer 08:45:05 ca2b28591e48: Waiting 08:45:05 a51346096db8: Waiting 08:45:05 daebc70d1ce1: Waiting 08:45:05 4fe6c5a15a65: Waiting 08:45:05 0e18a0eac166: Waiting 08:45:05 8ed8ca486205: Download complete 08:45:05 666ba61612fd: Download complete 08:45:05 22a0e8bec74d: Verifying Checksum 08:45:05 22a0e8bec74d: Download complete 08:45:05 ca2b28591e48: Verifying Checksum 08:45:05 ca2b28591e48: Download complete 08:45:05 59bf1c3509f3: Verifying Checksum 08:45:05 59bf1c3509f3: Download complete 08:45:05 a51346096db8: Verifying Checksum 08:45:05 a51346096db8: Download complete 08:45:05 daebc70d1ce1: Verifying Checksum 08:45:05 daebc70d1ce1: Download complete 08:45:05 59bf1c3509f3: Pull complete 08:45:06 666ba61612fd: Pull complete 08:45:06 8ed8ca486205: Pull complete 08:45:06 0e18a0eac166: Download complete 08:45:06 4fe6c5a15a65: Verifying Checksum 08:45:06 4fe6c5a15a65: Download complete 08:45:10 4fe6c5a15a65: Pull complete 08:45:10 22a0e8bec74d: Pull complete 08:45:10 ca2b28591e48: Pull complete 08:45:11 a51346096db8: Pull complete 08:45:11 daebc70d1ce1: Pull complete 08:45:13 0e18a0eac166: Pull complete 08:45:13 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:45:13 ---> f018257e8ee9 08:45:13 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:45:17 ---> Running in d23cf961cccc 08:45:17 Removing intermediate container d23cf961cccc 08:45:17 ---> cbd996198acc 08:45:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:45:17 ---> Running in e8c5d8959cb9 08:45:17 Removing intermediate container e8c5d8959cb9 08:45:17 ---> bf9333ab4ecf 08:45:17 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:45:17 ---> Running in 9619e4054e64 08:45:17 Removing intermediate container 9619e4054e64 08:45:17 ---> 7bc5f0ed2f90 08:45:17 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:45:17 ---> Running in 5b0db2d216e4 08:45:18 Still waiting to schedule task 08:45:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 08:45:19 Removing intermediate container 5b0db2d216e4 08:45:19 ---> b7b18f21b856 08:45:19 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:45:19 ---> Running in af2aed107c49 08:45:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:45:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:45:21 OK: 221 MiB in 52 packages 08:45:21 Removing intermediate container af2aed107c49 08:45:21 ---> 1f23e4c86568 08:45:21 Step 8/13 : WORKDIR /app 08:45:21 ---> Running in 09bfe897b749 08:45:21 Removing intermediate container 09bfe897b749 08:45:21 ---> 8a657ca159b5 08:45:21 Step 9/13 : COPY go.mod vendor* ./ 08:45:21 ---> c3b834dc21db 08:45:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:45:21 ---> Running in 777941a1ed43 08:45:43 Removing intermediate container 777941a1ed43 08:45:43 ---> ecba85de8cc1 08:45:43 Step 11/13 : COPY . . 08:45:43 ---> 98291eaa7ae4 08:45:43 Step 12/13 : ARG MAKE="make build" 08:45:43 ---> Running in 283e8e9ebf6c 08:45:43 Removing intermediate container 283e8e9ebf6c 08:45:43 ---> 79e21cf6fa26 08:45:43 Step 13/13 : RUN $MAKE 08:45:43 ---> Running in 8468b5dc529c 08:45:43 noop 08:45:43 Removing intermediate container 8468b5dc529c 08:45:43 ---> a4de1259b511 08:45:43 Successfully built a4de1259b511 08:45:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:45:43 + docker inspect -f . ci-base-image-x86_64 08:45:43 . [Pipeline] withDockerContainer 08:45:43 prd-ubuntu20.04-docker-8c-8g-46211 does not seem to be running inside a container 08:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@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 08:45:44 $ docker top ec4dcfdda6dbf4877589daba01bbb312abf40d2896f8f89b9e90f3087ce1ea6f -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:44 + go version 08:45:44 go version go1.17.6 linux/amd64 [Pipeline] } 08:45:45 $ docker stop --time=1 ec4dcfdda6dbf4877589daba01bbb312abf40d2896f8f89b9e90f3087ce1ea6f 08:45:46 $ docker rm -f ec4dcfdda6dbf4877589daba01bbb312abf40d2896f8f89b9e90f3087ce1ea6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:45:47 + docker inspect -f . ci-base-image-x86_64 08:45:47 . [Pipeline] withDockerContainer 08:45:47 prd-ubuntu20.04-docker-8c-8g-46211 does not seem to be running inside a container 08:45:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@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 08:45:47 $ docker top 705c9d65c6f1e8b4840e5a58c3861e50b5408b1ff324f012c3d0e705505d0d15 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:45:48 + make test 08:45:48 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 08:45:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:45:58 CGO_ENABLED=1 go vet ./... 08:46:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:46:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:46:03 ./bin/test-attribution-txt.sh [Pipeline] echo 08:46:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:46:03 $ docker stop --time=1 705c9d65c6f1e8b4840e5a58c3861e50b5408b1ff324f012c3d0e705505d0d15 08:46:05 $ docker rm -f 705c9d65c6f1e8b4840e5a58c3861e50b5408b1ff324f012c3d0e705505d0d15 [Pipeline] // withDockerContainer [Pipeline] sh 08:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:46:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:46:07 + ls -al . 08:46:07 total 164 08:46:07 drwxrwxr-x 8 jenkins jenkins 4096 May 10 08:46 . 08:46:07 drwxrwxr-x 4 jenkins jenkins 4096 May 10 08:44 .. 08:46:07 -rw-rw-r-- 1 jenkins jenkins 119 May 10 08:44 .dockerignore 08:46:07 drwxrwxr-x 8 jenkins jenkins 4096 May 10 08:45 .git 08:46:07 drwxrwxr-x 3 jenkins jenkins 4096 May 10 08:44 .github 08:46:07 -rw-rw-r-- 1 jenkins jenkins 104 May 10 08:44 .gitignore 08:46:07 drwxr-xr-x 3 jenkins jenkins 4096 May 10 08:44 .semver 08:46:07 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 08:44 Attribution.txt 08:46:07 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 08:44 CHANGELOG.md 08:46:07 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 08:44 Dockerfile 08:46:07 -rw-rw-r-- 1 jenkins jenkins 677 May 10 08:44 GOVERNANCE.md 08:46:07 -rw-rw-r-- 1 jenkins jenkins 688 May 10 08:44 Jenkinsfile 08:46:07 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 08:44 LICENSE 08:46:07 -rw-rw-r-- 1 jenkins jenkins 618 May 10 08:44 OWNERS.md 08:46:07 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 08:44 README.md 08:46:07 -rw-rw-r-- 1 jenkins jenkins 5 May 10 08:45 VERSION 08:46:07 drwxrwxr-x 2 jenkins jenkins 4096 May 10 08:44 bin 08:46:07 -rw-r--r-- 1 jenkins jenkins 10 May 10 08:45 coverage.out 08:46:07 -rw-rw-r-- 1 jenkins jenkins 3268 May 10 08:44 go.mod 08:46:07 -rw-rw-r-- 1 jenkins jenkins 34650 May 10 08:44 go.sum 08:46:07 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 08:44 main.go 08:46:07 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 08:44 makefile 08:46:07 drwxrwxr-x 10 jenkins jenkins 4096 May 10 08:44 res 08:46:07 drwxrwxr-x 3 jenkins jenkins 4096 May 10 08:44 snap [Pipeline] isUnix [Pipeline] sh 08:46:07 + 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=9d000e3b7eb660a7d721305ec91505697408c0ee --label arch=amd64 --label version=0.0.0 . 08:46:07 Sending build context to Docker daemon 3.053MB 08:46:07 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 08:46:07 Step 2/27 : FROM ${BASE} AS builder 08:46:07 ---> a4de1259b511 08:46:07 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:46:07 ---> Running in 7bcd4f650c7d 08:46:08 Removing intermediate container 7bcd4f650c7d 08:46:08 ---> 97108ad77df1 08:46:08 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 08:46:08 ---> Running in d05bf5a36f05 08:46:08 Removing intermediate container d05bf5a36f05 08:46:08 ---> 47aab49d3b99 08:46:08 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:46:08 ---> Running in bee1d6bd417b 08:46:08 Removing intermediate container bee1d6bd417b 08:46:08 ---> d71823c80d45 08:46:08 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:08 ---> Running in f46b1e4976fd 08:46:08 Removing intermediate container f46b1e4976fd 08:46:08 ---> acf5ab7dbdad 08:46:08 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:09 ---> Running in 5107f44c6968 08:46:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:46:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:46:10 OK: 221 MiB in 52 packages 08:46:10 Removing intermediate container 5107f44c6968 08:46:10 ---> a210a2fc8f5b 08:46:10 Step 8/27 : WORKDIR /app 08:46:11 ---> Running in d3f6e98544fa 08:46:11 Removing intermediate container d3f6e98544fa 08:46:11 ---> bd84c0643d2a 08:46:11 Step 9/27 : COPY go.mod vendor* ./ 08:46:11 ---> 82d7d6959391 08:46:11 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:11 ---> Running in 5e588ab09390 08:46:12 Removing intermediate container 5e588ab09390 08:46:12 ---> aed5a2ab7afd 08:46:12 Step 11/27 : COPY . . 08:46:12 ---> 0b0dc1fa1eef 08:46:12 Step 12/27 : ARG MAKE="make build" 08:46:13 ---> Running in 3dab24b1543b 08:46:13 Removing intermediate container 3dab24b1543b 08:46:13 ---> 4b1017ba87eb 08:46:13 Step 13/27 : RUN $MAKE 08:46:13 ---> Running in a0be72453815 08:46:13 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 08:46:35 Removing intermediate container a0be72453815 08:46:35 ---> b00282102116 08:46:35 Step 14/27 : FROM alpine:3.14 08:46:35 3.14: Pulling from library/alpine 08:46:35 8663204ce13b: Pulling fs layer 08:46:35 8663204ce13b: Verifying Checksum 08:46:35 8663204ce13b: Download complete 08:46:35 8663204ce13b: Pull complete 08:46:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:46:35 Status: Downloaded newer image for alpine:3.14 08:46:35 ---> e04c818066af 08:46:35 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:46:35 ---> Running in 7c6c4bbd2332 08:46:35 Removing intermediate container 7c6c4bbd2332 08:46:35 ---> 04e99c6134df 08:46:35 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 08:46:35 ---> Running in 4a831c8d5d4d 08:46:35 Removing intermediate container 4a831c8d5d4d 08:46:35 ---> 50e82b447545 08:46:35 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 08:46:35 ---> Running in 37cf9931cf4e 08:46:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:46:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:46:36 (1/7) Installing ca-certificates (20211220-r0) 08:46:36 (2/7) Installing dumb-init (1.2.5-r1) 08:46:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 08:46:36 (4/7) Installing libsodium (1.0.18-r0) 08:46:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 08:46:36 (6/7) Installing libzmq (4.3.4-r0) 08:46:36 (7/7) Installing zeromq (4.3.4-r0) 08:46:36 Executing busybox-1.33.1-r7.trigger 08:46:36 Executing ca-certificates-20211220-r0.trigger 08:46:36 OK: 9 MiB in 21 packages 08:46:36 Removing intermediate container 37cf9931cf4e 08:46:36 ---> dd74a1061165 08:46:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:46:37 ---> a9567aee7921 08:46:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 08:46:37 ---> 9fc6357d517d 08:46:37 Step 20/27 : COPY --from=builder /app/res/ /res/ 08:46:37 ---> 7c518d4b68e9 08:46:37 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:46:37 ---> 004f879f20fd 08:46:37 Step 22/27 : EXPOSE 48095 08:46:37 ---> Running in 7e488c42fbc0 08:46:37 Removing intermediate container 7e488c42fbc0 08:46:37 ---> be3006f6d8e9 08:46:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 08:46:38 ---> Running in 15965fb0ac97 08:46:38 Removing intermediate container 15965fb0ac97 08:46:38 ---> 2d5f921c1007 08:46:38 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:46:38 ---> Running in 12bded926e48 08:46:38 Removing intermediate container 12bded926e48 08:46:38 ---> 0d6b62d624c2 08:46:38 Step 25/27 : LABEL arch=amd64 08:46:38 ---> Running in 6b21ec62fbd5 08:46:38 Removing intermediate container 6b21ec62fbd5 08:46:38 ---> b4c6ef4c26a2 08:46:38 Step 26/27 : LABEL git_sha=9d000e3b7eb660a7d721305ec91505697408c0ee 08:46:38 ---> Running in 8b68c2b95227 08:46:38 Removing intermediate container 8b68c2b95227 08:46:38 ---> 3e90b287a537 08:46:38 Step 27/27 : LABEL version=0.0.0 08:46:38 ---> Running in f4441610402c 08:46:38 Removing intermediate container f4441610402c 08:46:38 ---> b89012afc61f 08:46:38 [Warning] One or more build-args [ARCH] were not consumed 08:46:38 Successfully built b89012afc61f 08:46:38 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 08:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:46:39 08:46:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:46:39 latest: Pulling from edgex-lftools-log-publisher 08:46:39 5eb5b503b376: Pulling fs layer 08:46:39 5c69ac0246d0: Pulling fs layer 08:46:39 ec43610c2a17: Pulling fs layer 08:46:39 3a2ae6a8a46f: Pulling fs layer 08:46:39 33b1e0a273af: Pulling fs layer 08:46:39 5d3b04190fa2: Pulling fs layer 08:46:39 2f39f015ded8: Pulling fs layer 08:46:39 3a2ae6a8a46f: Waiting 08:46:39 33b1e0a273af: Waiting 08:46:39 5d3b04190fa2: Waiting 08:46:39 2f39f015ded8: Waiting 08:46:39 5c69ac0246d0: Download complete 08:46:39 3a2ae6a8a46f: Download complete 08:46:40 33b1e0a273af: Verifying Checksum 08:46:40 33b1e0a273af: Download complete 08:46:40 5d3b04190fa2: Download complete 08:46:40 ec43610c2a17: Download complete 08:46:40 5eb5b503b376: Verifying Checksum 08:46:40 5eb5b503b376: Download complete 08:46:40 2f39f015ded8: Download complete 08:46:41 5eb5b503b376: Pull complete 08:46:41 5c69ac0246d0: Pull complete 08:46:42 ec43610c2a17: Pull complete 08:46:42 3a2ae6a8a46f: Pull complete 08:46:42 33b1e0a273af: Pull complete 08:46:42 5d3b04190fa2: Pull complete 08:46:47 2f39f015ded8: Pull complete 08:46:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:46:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:46:48 prd-ubuntu20.04-docker-8c-8g-46211 does not seem to be running inside a container 08:46:48 $ 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-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@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 08:46:51 $ docker top 487241fd0aec6217e35552de67f25b550fe766ea2c2bbc95fab84c5c861d7feb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:52 ---> job-cost.sh 08:46:52 lf-activate-venv: SKIPPING 08:46:52 INFO: No Stack... 08:46:52 INFO: Retrieving Pricing Info for: v3-standard-8 08:46:52 INFO: Archiving Costs [Pipeline] sh 08:46:53 + cat /w/workspace/_app-service-configurable_PR-417/archives/cost.csv 08:46:53 + cut -d, -f6 [Pipeline] lock 08:46:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] 08:46:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] did not exist. Created. 08:46:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:46:53 + echo total: 0.2199999988079071 [Pipeline] stash 08:46:53 Stashed 1 file(s) [Pipeline] } 08:46:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:46:53 $ docker stop --time=1 487241fd0aec6217e35552de67f25b550fe766ea2c2bbc95fab84c5c861d7feb 08:46:55 $ docker rm -f 487241fd0aec6217e35552de67f25b550fe766ea2c2bbc95fab84c5c861d7feb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:04:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-46611 in /w/workspace/_app-service-configurable_PR-417 [Pipeline] { [Pipeline] ws 09:04:55 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 09:04:56 Selected Git installation does not exist. Using Default 09:04:56 The recommended git tool is: NONE 09:05:02 using credential edgex-jenkins-ssh 09:05:02 Cloning the remote Git repository 09:05:02 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 09:05:02 > git init /w/workspace/app-service-configurable/1 # timeout=10 09:05:02 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:05:02 > git --version # timeout=10 09:05:02 > git --version # 'git version 2.25.1' 09:05:02 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:03 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:05:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:04 Merging remotes/origin/main commit 0ec6f6647dd09fd78b7f2ede1f224ac506661311 into PR head commit 9d000e3b7eb660a7d721305ec91505697408c0ee 09:05:05 Merge succeeded, producing 9d000e3b7eb660a7d721305ec91505697408c0ee 09:05:05 Checking out Revision 9d000e3b7eb660a7d721305ec91505697408c0ee (PR-417) 09:05:03 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:05:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:05:04 > git config core.sparsecheckout # timeout=10 09:05:04 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 09:05:04 > git remote # timeout=10 09:05:04 > git config --get remote.origin.url # timeout=10 09:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:04 > git merge 0ec6f6647dd09fd78b7f2ede1f224ac506661311 # timeout=10 09:05:05 > git rev-parse HEAD^{commit} # timeout=10 09:05:05 > git config core.sparsecheckout # timeout=10 09:05:05 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 09:05:09 Commit message: "build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 09:05:09 > git --version # timeout=10 09:05:09 > git --version # 'git version 2.25.1' 09:05:09 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:05:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:10 Dload Upload Total Spent Left Speed 09:05:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh 09:05:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:05:11 + sudo tee /etc/docker/daemon.new 09:05:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:05:11 { 09:05:11 "registry-mirrors": [ 09:05:11 "https://nexus3.edgexfoundry.org:10001" 09:05:11 ], 09:05:11 "bip": "10.250.0.254/24", 09:05:11 "hosts": [ 09:05:11 "tcp://0.0.0.0:5555", 09:05:11 "unix:///var/run/docker.sock" 09:05:11 ], 09:05:11 "mtu": 1458, 09:05:11 "selinux-enabled": true, 09:05:11 "seccomp-profile": "/etc/docker/seccomp.json" 09:05:11 } [Pipeline] sh 09:05:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:05:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:05:30 provisioning config files... 09:05:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6611129264615796383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:31 ---> docker-login.sh 09:05:31 nexus3.edgexfoundry.org:10001 09:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:32 Configure a credential helper to remove this warning. See 09:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:32 09:05:32 Login Succeeded 09:05:32 nexus3.edgexfoundry.org:10002 09:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:33 Configure a credential helper to remove this warning. See 09:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:33 09:05:33 Login Succeeded 09:05:33 nexus3.edgexfoundry.org:10003 09:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:33 Configure a credential helper to remove this warning. See 09:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:33 09:05:33 Login Succeeded 09:05:33 nexus3.edgexfoundry.org:10004 09:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:34 Configure a credential helper to remove this warning. See 09:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:34 09:05:34 Login Succeeded 09:05:34 docker.io 09:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:35 Configure a credential helper to remove this warning. See 09:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:35 09:05:35 Login Succeeded 09:05:35 ---> docker-login.sh ends [Pipeline] } 09:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:35 ========================================================= 09:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:05:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:05:36 + 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 . 09:05:36 Sending build context to Docker daemon 199.7kB 09:05:36 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:05:36 Step 2/13 : FROM ${BASE} AS builder 09:05:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:36 9b3977197b4f: Pulling fs layer 09:05:36 1a89e8eeedd5: Pulling fs layer 09:05:36 94645a83ff95: Pulling fs layer 09:05:36 3f3a8bcf1eab: Pulling fs layer 09:05:36 0c92f367c5e7: Pulling fs layer 09:05:36 3096ccb668a1: Pulling fs layer 09:05:36 e8cf19c19ddd: Pulling fs layer 09:05:36 a4caa8a26152: Pulling fs layer 09:05:36 3f3a8bcf1eab: Waiting 09:05:36 e8cf19c19ddd: Waiting 09:05:36 0c92f367c5e7: Waiting 09:05:36 a4caa8a26152: Waiting 09:05:36 3096ccb668a1: Waiting 09:05:36 94645a83ff95: Download complete 09:05:36 1a89e8eeedd5: Verifying Checksum 09:05:36 1a89e8eeedd5: Download complete 09:05:36 0c92f367c5e7: Verifying Checksum 09:05:36 0c92f367c5e7: Download complete 09:05:36 3096ccb668a1: Verifying Checksum 09:05:36 3096ccb668a1: Download complete 09:05:36 9b3977197b4f: Download complete 09:05:36 e8cf19c19ddd: Verifying Checksum 09:05:36 e8cf19c19ddd: Download complete 09:05:37 9b3977197b4f: Pull complete 09:05:38 1a89e8eeedd5: Pull complete 09:05:38 94645a83ff95: Pull complete 09:05:38 a4caa8a26152: Verifying Checksum 09:05:38 a4caa8a26152: Download complete 09:05:39 3f3a8bcf1eab: Verifying Checksum 09:05:39 3f3a8bcf1eab: Download complete 09:05:51 3f3a8bcf1eab: Pull complete 09:05:51 0c92f367c5e7: Pull complete 09:05:51 3096ccb668a1: Pull complete 09:05:51 e8cf19c19ddd: Pull complete 09:05:57 a4caa8a26152: Pull complete 09:05:57 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:05:57 ---> 725f1c02e7f9 09:05:57 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:05:58 ---> Running in 1785f4b5bfaf 09:05:58 Removing intermediate container 1785f4b5bfaf 09:05:58 ---> f5096aede427 09:05:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:05:58 ---> Running in 93f2baa554bd 09:05:59 Removing intermediate container 93f2baa554bd 09:05:59 ---> 1076f0545a63 09:05:59 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:05:59 ---> Running in e6a540bdfb13 09:06:00 Removing intermediate container e6a540bdfb13 09:06:00 ---> 3b249eee9afb 09:06:00 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:00 ---> Running in 9e8a46fe8a18 09:06:02 Removing intermediate container 9e8a46fe8a18 09:06:02 ---> 543e2de08dc3 09:06:02 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:02 ---> Running in b45eaa70edbf 09:06:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:06:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:06:06 OK: 220 MiB in 52 packages 09:06:06 Removing intermediate container b45eaa70edbf 09:06:06 ---> 62f096612cde 09:06:06 Step 8/13 : WORKDIR /app 09:06:07 ---> Running in 8741a4143878 09:06:07 Removing intermediate container 8741a4143878 09:06:07 ---> 4dea5f70fc42 09:06:07 Step 9/13 : COPY go.mod vendor* ./ 09:06:07 ---> 803cdb528ad2 09:06:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:06:08 ---> Running in a595a95fd235 09:07:04 Removing intermediate container a595a95fd235 09:07:04 ---> f73c9c5d4a50 09:07:04 Step 11/13 : COPY . . 09:07:04 ---> 6b66d6ecb938 09:07:04 Step 12/13 : ARG MAKE="make build" 09:07:04 ---> Running in 6ebdbcfcb166 09:07:04 Removing intermediate container 6ebdbcfcb166 09:07:04 ---> 4133ac434cff 09:07:04 Step 13/13 : RUN $MAKE 09:07:04 ---> Running in 47b3f047be84 09:07:04 noop 09:07:04 Removing intermediate container 47b3f047be84 09:07:04 ---> 0e2967218e65 09:07:04 Successfully built 0e2967218e65 09:07:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:07:05 + docker inspect -f . ci-base-image-arm64 09:07:05 . [Pipeline] withDockerContainer 09:07:05 prd-ubuntu20.04-docker-arm64-4c-16g-46611 does not seem to be running inside a container 09:07:05 $ 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 09:07:07 $ docker top 210a531c6de1df4bd3e29d329379699084558b313f9151e0f2af13818a1889cb -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:08 + go version 09:07:08 go version go1.17.6 linux/arm64 [Pipeline] } 09:07:08 $ docker stop --time=1 210a531c6de1df4bd3e29d329379699084558b313f9151e0f2af13818a1889cb 09:07:09 $ docker rm -f 210a531c6de1df4bd3e29d329379699084558b313f9151e0f2af13818a1889cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:07:10 + docker inspect -f . ci-base-image-arm64 09:07:10 . [Pipeline] withDockerContainer 09:07:11 prd-ubuntu20.04-docker-arm64-4c-16g-46611 does not seem to be running inside a container 09:07:11 $ 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 09:07:12 $ docker top 18d6aab8c74a41d0a22b66482db17a72c606f36cfd204b7be0760fd47607d348 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:07:13 + make test 09:07:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:08:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:08:50 CGO_ENABLED=1 go vet ./... 09:09:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:09:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:09:23 ./bin/test-attribution-txt.sh [Pipeline] echo 09:09:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:09:25 $ docker stop --time=1 18d6aab8c74a41d0a22b66482db17a72c606f36cfd204b7be0760fd47607d348 09:09:27 $ docker rm -f 18d6aab8c74a41d0a22b66482db17a72c606f36cfd204b7be0760fd47607d348 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:09:28 Warning: overwriting stash ‘coverage-report’ 09:09:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:09:30 + ls -al . 09:09:30 total 160 09:09:30 drwxrwxr-x 7 jenkins jenkins 4096 May 10 09:09 . 09:09:30 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:05 .. 09:09:30 -rw-rw-r-- 1 jenkins jenkins 119 May 10 09:05 .dockerignore 09:09:30 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:05 .git 09:09:30 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:05 .github 09:09:30 -rw-rw-r-- 1 jenkins jenkins 104 May 10 09:05 .gitignore 09:09:30 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 09:05 Attribution.txt 09:09:30 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 09:05 CHANGELOG.md 09:09:30 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 09:05 Dockerfile 09:09:30 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:05 GOVERNANCE.md 09:09:30 -rw-rw-r-- 1 jenkins jenkins 688 May 10 09:05 Jenkinsfile 09:09:30 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 09:05 LICENSE 09:09:30 -rw-rw-r-- 1 jenkins jenkins 618 May 10 09:05 OWNERS.md 09:09:30 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 09:05 README.md 09:09:30 -rw-rw-r-- 1 jenkins jenkins 5 May 10 08:45 VERSION 09:09:30 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:05 bin 09:09:30 -rw-r--r-- 1 jenkins jenkins 10 May 10 09:07 coverage.out 09:09:30 -rw-rw-r-- 1 jenkins jenkins 3268 May 10 09:05 go.mod 09:09:30 -rw-rw-r-- 1 jenkins jenkins 34650 May 10 09:05 go.sum 09:09:30 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 09:05 main.go 09:09:30 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 09:05 makefile 09:09:30 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:05 res 09:09:30 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:05 snap [Pipeline] isUnix [Pipeline] sh 09:09:31 + 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=9d000e3b7eb660a7d721305ec91505697408c0ee --label arch=arm64 --label version=0.0.0 . 09:09:31 Sending build context to Docker daemon 200.7kB 09:09:31 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:09:31 Step 2/27 : FROM ${BASE} AS builder 09:09:31 ---> 0e2967218e65 09:09:31 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:09:31 ---> Running in 45b7ce0f620a 09:09:31 Removing intermediate container 45b7ce0f620a 09:09:31 ---> d6e37a270685 09:09:31 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:09:32 ---> Running in 355c97d0ac99 09:09:32 Removing intermediate container 355c97d0ac99 09:09:32 ---> 10254260ccd4 09:09:32 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:09:32 ---> Running in 80880f9d2c8b 09:09:32 Removing intermediate container 80880f9d2c8b 09:09:32 ---> cf7e486f9309 09:09:32 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:33 ---> Running in 9c1ab7d0bdb4 09:09:35 Removing intermediate container 9c1ab7d0bdb4 09:09:35 ---> 865d4abfbd8d 09:09:35 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:09:35 ---> Running in 73c60cfe9a32 09:09:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:09:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:09:37 OK: 220 MiB in 52 packages 09:09:38 Removing intermediate container 73c60cfe9a32 09:09:38 ---> 47614388c1f5 09:09:38 Step 8/27 : WORKDIR /app 09:09:38 ---> Running in e5488cd033c0 09:09:38 Removing intermediate container e5488cd033c0 09:09:38 ---> f208a79cf543 09:09:38 Step 9/27 : COPY go.mod vendor* ./ 09:09:39 ---> 10ff40b1fe2b 09:09:39 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:39 ---> Running in ffa741972cc1 09:09:42 Removing intermediate container ffa741972cc1 09:09:42 ---> 247aac2e643f 09:09:42 Step 11/27 : COPY . . 09:09:42 ---> 621b292904fb 09:09:42 Step 12/27 : ARG MAKE="make build" 09:09:42 ---> Running in a7192653d4ad 09:09:42 Removing intermediate container a7192653d4ad 09:09:42 ---> 703e4af240fe 09:09:42 Step 13/27 : RUN $MAKE 09:09:42 ---> Running in d1c9386bfb66 09:09:44 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:12:06 Removing intermediate container d1c9386bfb66 09:12:06 ---> 977fe18e1042 09:12:06 Step 14/27 : FROM alpine:3.14 09:12:06 3.14: Pulling from library/alpine 09:12:06 455c02918c45: Pulling fs layer 09:12:06 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/ac/ac73e934f31119e38da975b98988cbd346af74f94455e6d465b9ce6c975762e7/data?verify=1652176923-YfLtseK0M%2BLsi%2F4hMT%2FOJHzeW8A%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [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 09:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:07 09:12:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:12:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:07 arm64: Pulling from edgex-lftools-log-publisher 09:12:07 8998bd30e6a1: Pulling fs layer 09:12:07 04944245beec: Pulling fs layer 09:12:07 699f458cf7ca: Pulling fs layer 09:12:07 765212b225bb: Pulling fs layer 09:12:07 f23df028b6ca: Pulling fs layer 09:12:07 d65c8cfc05b1: Pulling fs layer 09:12:07 765212b225bb: Waiting 09:12:07 f23df028b6ca: Waiting 09:12:07 d65c8cfc05b1: Waiting 09:12:07 2437ff75d9bd: Pulling fs layer 09:12:07 2437ff75d9bd: Waiting 09:12:07 04944245beec: Verifying Checksum 09:12:07 04944245beec: Download complete 09:12:07 765212b225bb: Verifying Checksum 09:12:07 765212b225bb: Download complete 09:12:07 f23df028b6ca: Verifying Checksum 09:12:07 f23df028b6ca: Download complete 09:12:07 d65c8cfc05b1: Verifying Checksum 09:12:07 d65c8cfc05b1: Download complete 09:12:07 699f458cf7ca: Verifying Checksum 09:12:07 699f458cf7ca: Download complete 09:12:08 8998bd30e6a1: Verifying Checksum 09:12:08 8998bd30e6a1: Download complete 09:12:10 2437ff75d9bd: Verifying Checksum 09:12:10 2437ff75d9bd: Download complete 09:12:12 8998bd30e6a1: Pull complete 09:12:13 04944245beec: Pull complete 09:12:14 699f458cf7ca: Pull complete 09:12:15 765212b225bb: Pull complete 09:12:15 f23df028b6ca: Pull complete 09:12:16 d65c8cfc05b1: Pull complete 09:12:31 2437ff75d9bd: Pull complete 09:12:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-46611 does not seem to be running inside a container 09:12:31 $ 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 09:12:34 $ docker top e678dd5e24d8333aae0f390c5b6c191b1b5a469f8a1b8c86ad4ced7a2f49237b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:35 ---> job-cost.sh 09:12:35 lf-activate-venv: SKIPPING 09:12:35 INFO: No Stack... 09:12:36 INFO: Retrieving Pricing Info for: v3-standard-4 09:12:37 INFO: Archiving Costs [Pipeline] sh 09:12:37 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 09:12:37 + cut -d, -f6 [Pipeline] lock 09:12:37 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] 09:12:37 Resource [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] did not exist. Created. 09:12:37 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:12:38 /w/workspace/app-service-configurable/1@tmp/durable-98e36680/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:12:39 + echo total: 0.10999999940395355 [Pipeline] stash 09:12:39 Warning: overwriting stash ‘stack-cost’ 09:12:39 Stashed 1 file(s) [Pipeline] } 09:12:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:12:39 $ docker stop --time=1 e678dd5e24d8333aae0f390c5b6c191b1b5a469f8a1b8c86ad4ced7a2f49237b 09:12:41 $ docker rm -f e678dd5e24d8333aae0f390c5b6c191b1b5a469f8a1b8c86ad4ced7a2f49237b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:12:41 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 09:12:43 + [ -d /w/workspace/_app-service-configurable_PR-417/archives ] 09:12:43 + ls -al /w/workspace/_app-service-configurable_PR-417/archives 09:12:43 total 16 09:12:43 drwxr-xr-x 3 root root 4096 May 10 08:46 . 09:12:43 drwxrwxr-x 9 jenkins jenkins 4096 May 10 08:46 .. 09:12:43 drwxr-xr-x 2 root root 4096 May 10 08:46 cost 09:12:43 -rw-r--r-- 1 root root 95 May 10 08:46 cost.csv 09:12:43 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-417/archives 09:12:43 + ls -al /w/workspace/_app-service-configurable_PR-417/archives 09:12:43 total 16 09:12:43 drwxr-xr-x 3 jenkins jenkins 4096 May 10 08:46 . 09:12:43 drwxrwxr-x 9 jenkins jenkins 4096 May 10 08:46 .. 09:12:43 drwxr-xr-x 2 jenkins jenkins 4096 May 10 08:46 cost 09:12:43 -rw-r--r-- 1 jenkins jenkins 95 May 10 08:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:12:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:12:45 ---> package-listing.sh 09:12:45 ++ facter osfamily 09:12:45 ++ tr '[:upper:]' '[:lower:]' 09:12:45 + OS_FAMILY=debian 09:12:45 + workspace=/w/workspace/_app-service-configurable_PR-417 09:12:45 + START_PACKAGES=/tmp/packages_start.txt 09:12:45 + END_PACKAGES=/tmp/packages_end.txt 09:12:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:12:45 + PACKAGES=/tmp/packages_start.txt 09:12:45 + '[' /w/workspace/_app-service-configurable_PR-417 ']' 09:12:45 + PACKAGES=/tmp/packages_end.txt 09:12:45 + case "${OS_FAMILY}" in 09:12:45 + dpkg -l 09:12:45 + grep '^ii' 09:12:45 + '[' -f /tmp/packages_start.txt ']' 09:12:45 + '[' -f /tmp/packages_end.txt ']' 09:12:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:12:45 + '[' /w/workspace/_app-service-configurable_PR-417 ']' 09:12:45 + mkdir -p /w/workspace/_app-service-configurable_PR-417/archives/ 09:12:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-417/archives/ [Pipeline] echo 09:12:45 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-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:12:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:12:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:46 . [Pipeline] withDockerContainer 09:12:46 prd-ubuntu20.04-docker-8c-8g-46211 does not seem to be running inside a container 09:12:46 $ 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-417/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-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@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 09:12:46 $ docker top e920e7aa5788e4f72a6531a4986fb2de74c4dceb86ad5b4029886add3106d4ec -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:47 + touch /tmp/pre-build-complete [Pipeline] sh 09:12:47 + mkdir -p /var/log/sysstat [Pipeline] sh 09:12:47 + ls /var/log/sa-host 09:12:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:47 provisioning config files... 09:12:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config5140391677271666753tmp [Pipeline] { [Pipeline] echo 09:12:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:12:48 ---> create-netrc.sh [Pipeline] } 09:12:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:12:48 ---> python-tools-install.sh [Pipeline] echo 09:12:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:12:49 ---> sudo-logs.sh 09:12:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:12:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:12:49 ---> job-cost.sh 09:12:49 lf-activate-venv: SKIPPING 09:12:49 DEBUG: total: 0.2199999988079071 09:12:49 INFO: Retrieving Stack Cost... 09:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:12:50 INFO: Archiving Costs [Pipeline] echo 09:12:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:12:50 ---> logs-deploy.sh 09:12:50 lf-activate-venv: SKIPPING 09:12:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-417/1 09:12:50 INFO: archiving workspace using pattern(s): 09:12:51 Archives upload complete. 09:12:51 INFO: archiving logs to Nexus