Pull request #420 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 47171bc0617ab96753b2a942382426590bf11746+54bc3a868487cdf8f7bb3b484d6c8e8b07fd4ff6 (d889bed1e672e7b105a79dd3b798ea53f5ac9d2d) 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-ssh7169011776060561828.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-ssh17849411449436938937.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-420/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-420/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4854748887173606872.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-420/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7061879967241760744.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-ssh7509681958606223795.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-420/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-420/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10646757407217344698.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-47819 in /w/workspace/_app-service-configurable_PR-420 [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-420 # 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 > 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/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 54bc3a868487cdf8f7bb3b484d6c8e8b07fd4ff6 into PR head commit 47171bc0617ab96753b2a942382426590bf11746 Merge succeeded, producing 47171bc0617ab96753b2a942382426590bf11746 Checking out Revision 47171bc0617ab96753b2a942382426590bf11746 (PR-420) > git config core.sparsecheckout # timeout=10 > git checkout -f 47171bc0617ab96753b2a942382426590bf11746 # 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 54bc3a868487cdf8f7bb3b484d6c8e8b07fd4ff6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47171bc0617ab96753b2a942382426590bf11746 # timeout=10 Commit message: "docs: Update change log for kamakura release" 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:53:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:53:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:53:26 ========================================================= 17:53:26 EdgeX Global Pipelines Version Info 17:53:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:53:27 ------------------- 17:53:27 stable info: 17:53:27 ------------------- 17:53:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:53:27 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:53:27 Message: update stable to v1.0.227 17:53:28 ------------------- 17:53:28 experimental info: 17:53:28 ------------------- 17:53:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:53:28 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:53:28 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-420 [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-420 [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-420 [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47171bc0617ab96753b2a942382426590bf11746 [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47171bc [Pipeline] echo 17:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:30 provisioning config files... 17:53:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-420@tmp/config2276195208467385149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:30 ---> docker-login.sh 17:53:30 nexus3.edgexfoundry.org:10001 17:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:30 Configure a credential helper to remove this warning. See 17:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:30 17:53:30 Login Succeeded 17:53:30 nexus3.edgexfoundry.org:10002 17:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:30 Configure a credential helper to remove this warning. See 17:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:30 17:53:30 Login Succeeded 17:53:30 nexus3.edgexfoundry.org:10003 17:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:31 Configure a credential helper to remove this warning. See 17:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:31 17:53:31 Login Succeeded 17:53:31 nexus3.edgexfoundry.org:10004 17:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:31 Configure a credential helper to remove this warning. See 17:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:31 17:53:31 Login Succeeded 17:53:31 docker.io 17:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:31 Configure a credential helper to remove this warning. See 17:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:31 17:53:31 Login Succeeded 17:53:31 ---> docker-login.sh ends [Pipeline] } 17:53:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:53:32 + git rev-list -1 --merges 47171bc0617ab96753b2a942382426590bf11746~1..47171bc0617ab96753b2a942382426590bf11746 [Pipeline] echo 17:53:32 -----------> git rev-list -1 --merges 47171bc0617ab96753b2a942382426590bf11746~1..47171bc0617ab96753b2a942382426590bf11746 47171bc0617ab96753b2a942382426590bf11746 [false] [Pipeline] sh 17:53:32 + git log --format=format:%s -1 47171bc0617ab96753b2a942382426590bf11746 [Pipeline] echo 17:53:32 ========================================================= 17:53:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:53:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:33 + git log --format=format:%s -1 47171bc0617ab96753b2a942382426590bf11746 [Pipeline] echo 17:53:33 [semverPrep] GIT_COMMIT: 47171bc0617ab96753b2a942382426590bf11746, Commit Message: docs: Update change log for kamakura release [Pipeline] echo 17:53:33 [semverPrep] This is not a build commit. [Pipeline] sh 17:53:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:53:33 + grep -v github /etc/ssh/ssh_known_hosts 17:53:33 + [ -e /tmp/ssh_known_hosts ] 17:53:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:53:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:53:33 + sudo tee -a /etc/ssh/ssh_known_hosts 17:53:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:53:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:53:34 17:53:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:53:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:53:34 latest: Pulling from edgex-devops/py-git-semver 17:53:34 1fe172e4850f: Pulling fs layer 17:53:34 caf521ccaac6: Pulling fs layer 17:53:34 3ead6fa29328: Pulling fs layer 17:53:34 5c2a1cbceb83: Pulling fs layer 17:53:34 a8d5f1318db7: Pulling fs layer 17:53:34 c427282e49a2: Pulling fs layer 17:53:34 1827001aaf11: Pulling fs layer 17:53:34 0714d37db230: Pulling fs layer 17:53:34 ac28cf19c067: Pulling fs layer 17:53:34 ca983d60f3e2: Pulling fs layer 17:53:34 9f894cec8388: Pulling fs layer 17:53:34 ca983d60f3e2: Waiting 17:53:34 9f894cec8388: Waiting 17:53:34 0714d37db230: Waiting 17:53:34 5c2a1cbceb83: Waiting 17:53:34 a8d5f1318db7: Waiting 17:53:34 ac28cf19c067: Waiting 17:53:34 1827001aaf11: Waiting 17:53:34 c427282e49a2: Waiting 17:53:34 caf521ccaac6: Verifying Checksum 17:53:34 caf521ccaac6: Download complete 17:53:34 5c2a1cbceb83: Verifying Checksum 17:53:34 5c2a1cbceb83: Download complete 17:53:34 a8d5f1318db7: Verifying Checksum 17:53:34 a8d5f1318db7: Download complete 17:53:34 c427282e49a2: Download complete 17:53:34 3ead6fa29328: Verifying Checksum 17:53:34 3ead6fa29328: Download complete 17:53:34 0714d37db230: Verifying Checksum 17:53:34 0714d37db230: Download complete 17:53:34 ac28cf19c067: Download complete 17:53:34 ca983d60f3e2: Download complete 17:53:34 9f894cec8388: Verifying Checksum 17:53:34 9f894cec8388: Download complete 17:53:34 1fe172e4850f: Verifying Checksum 17:53:34 1fe172e4850f: Download complete 17:53:34 1827001aaf11: Verifying Checksum 17:53:36 1fe172e4850f: Pull complete 17:53:36 caf521ccaac6: Pull complete 17:53:37 3ead6fa29328: Pull complete 17:53:37 5c2a1cbceb83: Pull complete 17:53:37 a8d5f1318db7: Pull complete 17:53:37 c427282e49a2: Pull complete 17:53:39 1827001aaf11: Pull complete 17:53:39 0714d37db230: Pull complete 17:53:39 ac28cf19c067: Pull complete 17:53:39 ca983d60f3e2: Pull complete 17:53:39 9f894cec8388: Pull complete 17:53:39 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:53:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:53:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:53:39 prd-ubuntu20.04-docker-8c-8g-47819 does not seem to be running inside a container 17:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-420 -v /w/workspace/_app-service-configurable_PR-420:/w/workspace/_app-service-configurable_PR-420:rw,z -v /w/workspace/_app-service-configurable_PR-420@tmp:/w/workspace/_app-service-configurable_PR-420@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:53:41 $ docker top f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:53:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:42 [ssh-agent] Looking for ssh-agent implementation... 17:53:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:42 $ docker exec f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 ssh-agent 17:53:42 SSH_AUTH_SOCK=/tmp/ssh-RQIs7L5slqYj/agent.32 17:53:42 SSH_AGENT_PID=38 17:53:42 Running ssh-add (command line suppressed) 17:53:42 Identity added: /w/workspace/_app-service-configurable_PR-420@tmp/private_key_5059534198322961480.key (/w/workspace/_app-service-configurable_PR-420@tmp/private_key_5059534198322961480.key) 17:53:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:42 + git tag --points-at HEAD [Pipeline] } 17:53:42 $ docker exec --env ******** --env ******** f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 ssh-agent -k 17:53:43 unset SSH_AUTH_SOCK; 17:53:43 unset SSH_AGENT_PID; 17:53:43 echo Agent pid 38 killed; 17:53:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:53:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:43 [ssh-agent] Looking for ssh-agent implementation... 17:53:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:43 $ docker exec f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 ssh-agent 17:53:43 SSH_AUTH_SOCK=/tmp/ssh-TNZYEfnwrew8/agent.71 17:53:43 SSH_AGENT_PID=77 17:53:43 Running ssh-add (command line suppressed) 17:53:43 Identity added: /w/workspace/_app-service-configurable_PR-420@tmp/private_key_8282630620289869288.key (/w/workspace/_app-service-configurable_PR-420@tmp/private_key_8282630620289869288.key) 17:53:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:43 + git semver init 17:53:44 2022-05-10 17:53:44,135 [run_init] DEBUG init version:0.0.0 force:False 17:53:44 2022-05-10 17:53:44,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-420/.semver 17:53:44 2022-05-10 17:53:44,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-420/.semver 17:53:44 2022-05-10 17:53:44,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-420/.semver'], cwd=/w/workspace/_app-service-configurable_PR-420, universal_newlines=False, shell=None, istream=None) 17:53:45 2022-05-10 17:53:44,931 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-420/.git/info/exclude 17:53:45 2022-05-10 17:53:44,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-420/.semver/PR-420 with force:False 17:53:45 2022-05-10 17:53:44,932 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-420/.semver/PR-420 17:53:45 2022-05-10 17:53:44,935 [execute] INFO git cat-file --batch-check 17:53:45 2022-05-10 17:53:44,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-420/.semver, universal_newlines=False, shell=None, istream=) 17:53:45 2022-05-10 17:53:44,942 [execute] INFO git cat-file --batch 17:53:45 2022-05-10 17:53:44,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-420/.semver, universal_newlines=False, shell=None, istream=) 17:53:45 2022-05-10 17:53:44,948 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-420/.semver/PR-420 17:53:45 0.0.0 [Pipeline] } 17:53:45 $ docker exec --env ******** --env ******** f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 ssh-agent -k 17:53:45 unset SSH_AUTH_SOCK; 17:53:45 unset SSH_AGENT_PID; 17:53:45 echo Agent pid 77 killed; 17:53:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:53:45 + git semver [Pipeline] } 17:53:46 $ docker stop --time=1 f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 17:53:47 $ docker rm -f f1cc18659b6faf7f4bb82a0902bd7f31411db0f992ffee39a5f5e46d1a98a940 [Pipeline] // withDockerContainer [Pipeline] sh 17:53:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:53:48 Stashed 1 file(s) [Pipeline] echo 17:53:48 [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:53:49 provisioning config files... 17:53:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-420@tmp/config3892210110413507782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:49 ---> docker-login.sh 17:53:49 nexus3.edgexfoundry.org:10001 17:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:49 Configure a credential helper to remove this warning. See 17:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:49 17:53:49 Login Succeeded 17:53:49 nexus3.edgexfoundry.org:10002 17:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:49 Configure a credential helper to remove this warning. See 17:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:49 17:53:49 Login Succeeded 17:53:49 nexus3.edgexfoundry.org:10003 17:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:49 Configure a credential helper to remove this warning. See 17:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:49 17:53:49 Login Succeeded 17:53:49 nexus3.edgexfoundry.org:10004 17:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:49 Configure a credential helper to remove this warning. See 17:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:49 17:53:49 Login Succeeded 17:53:49 docker.io 17:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:50 Configure a credential helper to remove this warning. See 17:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:50 17:53:50 Login Succeeded 17:53:50 ---> docker-login.sh ends [Pipeline] } 17:53:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:50 ========================================================= 17:53:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:53:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:53:51 + 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:53:51 Sending build context to Docker daemon 3.059MB 17:53:51 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:53:51 Step 2/13 : FROM ${BASE} AS builder 17:53:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:51 59bf1c3509f3: Pulling fs layer 17:53:51 666ba61612fd: Pulling fs layer 17:53:51 8ed8ca486205: Pulling fs layer 17:53:51 4fe6c5a15a65: Pulling fs layer 17:53:51 22a0e8bec74d: Pulling fs layer 17:53:51 ca2b28591e48: Pulling fs layer 17:53:51 a51346096db8: Pulling fs layer 17:53:51 daebc70d1ce1: Pulling fs layer 17:53:51 0e18a0eac166: Pulling fs layer 17:53:51 4fe6c5a15a65: Waiting 17:53:51 22a0e8bec74d: Waiting 17:53:51 ca2b28591e48: Waiting 17:53:51 a51346096db8: Waiting 17:53:51 daebc70d1ce1: Waiting 17:53:51 8ed8ca486205: Verifying Checksum 17:53:51 8ed8ca486205: Download complete 17:53:51 666ba61612fd: Download complete 17:53:51 22a0e8bec74d: Download complete 17:53:51 59bf1c3509f3: Verifying Checksum 17:53:51 ca2b28591e48: Verifying Checksum 17:53:51 ca2b28591e48: Download complete 17:53:51 a51346096db8: Download complete 17:53:51 daebc70d1ce1: Verifying Checksum 17:53:51 daebc70d1ce1: Download complete 17:53:51 59bf1c3509f3: Pull complete 17:53:51 666ba61612fd: Pull complete 17:53:51 8ed8ca486205: Pull complete 17:53:51 0e18a0eac166: Verifying Checksum 17:53:51 0e18a0eac166: Download complete 17:53:52 4fe6c5a15a65: Verifying Checksum 17:53:52 4fe6c5a15a65: Download complete 17:53:56 4fe6c5a15a65: Pull complete 17:53:56 22a0e8bec74d: Pull complete 17:53:56 ca2b28591e48: Pull complete 17:53:56 a51346096db8: Pull complete 17:53:56 daebc70d1ce1: Pull complete 17:53:58 0e18a0eac166: Pull complete 17:53:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:53:58 ---> f018257e8ee9 17:53:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:54:00 ---> Running in c021da5514cc 17:54:00 Removing intermediate container c021da5514cc 17:54:00 ---> e6243c9afcf9 17:54:00 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:54:00 ---> Running in 9bf7e9cb07b0 17:54:00 Removing intermediate container 9bf7e9cb07b0 17:54:00 ---> 4aef808aac42 17:54:00 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:54:00 ---> Running in 9b93b828a6d7 17:54:00 Removing intermediate container 9b93b828a6d7 17:54:00 ---> 1eaeb61b352e 17:54:00 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:00 ---> Running in ee6249fe8449 17:54:01 Removing intermediate container ee6249fe8449 17:54:01 ---> 00f73054cda3 17:54:01 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:01 ---> Running in d0f98b28354a 17:54:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:54:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:54:02 OK: 221 MiB in 52 packages 17:54:03 Removing intermediate container d0f98b28354a 17:54:03 ---> d048fa68c7a1 17:54:03 Step 8/13 : WORKDIR /app 17:54:03 ---> Running in 7fa4cdc74012 17:54:03 Removing intermediate container 7fa4cdc74012 17:54:03 ---> dc76853c7b25 17:54:03 Step 9/13 : COPY go.mod vendor* ./ 17:54:03 ---> 7c428d4d0759 17:54:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:03 ---> Running in c7d3d310cdbb 17:54:03 Still waiting to schedule task 17:54:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-47817’ 17:54:18 Removing intermediate container c7d3d310cdbb 17:54:18 ---> 4cce0de032bd 17:54:18 Step 11/13 : COPY . . 17:54:18 ---> 1d7b59d4d75d 17:54:18 Step 12/13 : ARG MAKE="make build" 17:54:18 ---> Running in fee1cf035909 17:54:18 Removing intermediate container fee1cf035909 17:54:18 ---> edb899f816af 17:54:18 Step 13/13 : RUN $MAKE 17:54:18 ---> Running in 400e727043f6 17:54:18 noop 17:54:18 Removing intermediate container 400e727043f6 17:54:18 ---> 0e391ec98f59 17:54:18 Successfully built 0e391ec98f59 17:54:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:54:19 + docker inspect -f . ci-base-image-x86_64 17:54:19 . [Pipeline] withDockerContainer 17:54:19 prd-ubuntu20.04-docker-8c-8g-47819 does not seem to be running inside a container 17:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-420 -v /w/workspace/_app-service-configurable_PR-420:/w/workspace/_app-service-configurable_PR-420:rw,z -v /w/workspace/_app-service-configurable_PR-420@tmp:/w/workspace/_app-service-configurable_PR-420@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:54:19 $ docker top 61c53d85ee79ad961237d566ad60ca08ff5597d5d8debce72325bf8614e5c5d2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:20 + go version 17:54:20 go version go1.17.6 linux/amd64 [Pipeline] } 17:54:20 $ docker stop --time=1 61c53d85ee79ad961237d566ad60ca08ff5597d5d8debce72325bf8614e5c5d2 17:54:21 $ docker rm -f 61c53d85ee79ad961237d566ad60ca08ff5597d5d8debce72325bf8614e5c5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:54:22 + docker inspect -f . ci-base-image-x86_64 17:54:22 . [Pipeline] withDockerContainer 17:54:22 prd-ubuntu20.04-docker-8c-8g-47819 does not seem to be running inside a container 17:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-420 -v /w/workspace/_app-service-configurable_PR-420:/w/workspace/_app-service-configurable_PR-420:rw,z -v /w/workspace/_app-service-configurable_PR-420@tmp:/w/workspace/_app-service-configurable_PR-420@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:54:22 $ docker top baf012e358c5688d3c554b1b667c640af90a10543ca81ad60dc0fd7528aeeef9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:54:23 + make test 17:54:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:54:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:54:33 CGO_ENABLED=1 go vet ./... 17:54:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:35 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:36 $ docker stop --time=1 baf012e358c5688d3c554b1b667c640af90a10543ca81ad60dc0fd7528aeeef9 17:54:37 $ docker rm -f baf012e358c5688d3c554b1b667c640af90a10543ca81ad60dc0fd7528aeeef9 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:39 + ls -al . 17:54:39 total 168 17:54:39 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:54 . 17:54:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:53 .. 17:54:39 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:53 .dockerignore 17:54:39 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:53 .git 17:54:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:53 .github 17:54:39 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:53 .gitignore 17:54:39 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:53 .semver 17:54:39 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:53 Attribution.txt 17:54:39 -rw-rw-r-- 1 jenkins jenkins 27269 May 10 17:53 CHANGELOG.md 17:54:39 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:53 Dockerfile 17:54:39 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:53 GOVERNANCE.md 17:54:39 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:53 Jenkinsfile 17:54:39 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:53 LICENSE 17:54:39 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:53 OWNERS.md 17:54:39 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:53 README.md 17:54:39 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:53 VERSION 17:54:39 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:53 bin 17:54:39 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:54 coverage.out 17:54:39 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:53 go.mod 17:54:39 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:53 go.sum 17:54:39 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:53 main.go 17:54:39 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:53 makefile 17:54:39 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:53 res 17:54:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:53 snap [Pipeline] isUnix [Pipeline] sh 17:54:39 + 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=47171bc0617ab96753b2a942382426590bf11746 --label arch=amd64 --label version=0.0.0 . 17:54:39 Sending build context to Docker daemon 3.06MB 17:54:39 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:54:39 Step 2/27 : FROM ${BASE} AS builder 17:54:39 ---> 0e391ec98f59 17:54:39 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:54:39 ---> Running in 24ec430165d0 17:54:39 Removing intermediate container 24ec430165d0 17:54:39 ---> 5ccb0ac664d0 17:54:39 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:54:39 ---> Running in 13571126c8ee 17:54:39 Removing intermediate container 13571126c8ee 17:54:39 ---> d10d2577d018 17:54:39 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:54:39 ---> Running in 97e707094878 17:54:39 Removing intermediate container 97e707094878 17:54:39 ---> 4e7379325199 17:54:39 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:40 ---> Running in 10416b700a90 17:54:40 Removing intermediate container 10416b700a90 17:54:40 ---> 32b1251055f5 17:54:40 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:40 ---> Running in 3422c1928e89 17:54:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:54:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:54:42 OK: 221 MiB in 52 packages 17:54:42 Removing intermediate container 3422c1928e89 17:54:42 ---> dabcc7d7e80f 17:54:42 Step 8/27 : WORKDIR /app 17:54:42 ---> Running in aedd2e52b099 17:54:42 Removing intermediate container aedd2e52b099 17:54:42 ---> 3032e43f4d69 17:54:42 Step 9/27 : COPY go.mod vendor* ./ 17:54:42 ---> 741e0a5d4e81 17:54:42 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:42 ---> Running in fa10670a689e 17:54:43 Removing intermediate container fa10670a689e 17:54:43 ---> d973af8d1dd7 17:54:43 Step 11/27 : COPY . . 17:54:43 ---> 96beabba3e3a 17:54:43 Step 12/27 : ARG MAKE="make build" 17:54:43 ---> Running in b21fcec201d0 17:54:43 Removing intermediate container b21fcec201d0 17:54:43 ---> 821f01364342 17:54:43 Step 13/27 : RUN $MAKE 17:54:43 ---> Running in 91e46cbbc248 17:54:43 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:55:05 Removing intermediate container 91e46cbbc248 17:55:05 ---> 050eabb89a7f 17:55:05 Step 14/27 : FROM alpine:3.14 17:55:05 3.14: Pulling from library/alpine 17:55:05 8663204ce13b: Pulling fs layer 17:55:05 8663204ce13b: Verifying Checksum 17:55:05 8663204ce13b: Download complete 17:55:05 8663204ce13b: Pull complete 17:55:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:55:05 Status: Downloaded newer image for alpine:3.14 17:55:05 ---> e04c818066af 17:55:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:55:05 ---> Running in 720393a8d156 17:55:05 Removing intermediate container 720393a8d156 17:55:05 ---> 5b593d65b234 17:55:05 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:55:05 ---> Running in 65b595b85631 17:55:05 Removing intermediate container 65b595b85631 17:55:05 ---> bf2643cd7c84 17:55:05 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:55:05 ---> Running in 45228e1076ca 17:55:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:55:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:55:05 (1/7) Installing ca-certificates (20211220-r0) 17:55:05 (2/7) Installing dumb-init (1.2.5-r1) 17:55:05 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:55:05 (4/7) Installing libsodium (1.0.18-r0) 17:55:05 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:55:05 (6/7) Installing libzmq (4.3.4-r0) 17:55:05 (7/7) Installing zeromq (4.3.4-r0) 17:55:05 Executing busybox-1.33.1-r7.trigger 17:55:05 Executing ca-certificates-20211220-r0.trigger 17:55:05 OK: 9 MiB in 21 packages 17:55:05 Removing intermediate container 45228e1076ca 17:55:05 ---> a3f805969d61 17:55:05 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:55:05 ---> cbf3ace06e34 17:55:05 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:55:05 ---> 1a4ee6fdd2b1 17:55:05 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:55:05 ---> 1ffb96ea5785 17:55:05 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:55:06 ---> 473cca08c140 17:55:06 Step 22/27 : EXPOSE 48095 17:55:06 ---> Running in 6be17e8dbb0f 17:55:06 Removing intermediate container 6be17e8dbb0f 17:55:06 ---> 8249a2443ef7 17:55:06 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:55:06 ---> Running in 36e825cdb155 17:55:06 Removing intermediate container 36e825cdb155 17:55:06 ---> 8e415a4b93b9 17:55:06 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:55:06 ---> Running in 8e7dc9f38600 17:55:07 Removing intermediate container 8e7dc9f38600 17:55:07 ---> fa63f750560d 17:55:07 Step 25/27 : LABEL arch=amd64 17:55:07 ---> Running in a39db4c31a36 17:55:07 Removing intermediate container a39db4c31a36 17:55:07 ---> b42cc3aa249e 17:55:07 Step 26/27 : LABEL git_sha=47171bc0617ab96753b2a942382426590bf11746 17:55:07 ---> Running in 9ac8d6f8506e 17:55:07 Removing intermediate container 9ac8d6f8506e 17:55:07 ---> 1efe9a1f412c 17:55:07 Step 27/27 : LABEL version=0.0.0 17:55:07 ---> Running in 0783b380dd15 17:55:07 Removing intermediate container 0783b380dd15 17:55:07 ---> 1d09e1a8272d 17:55:07 [Warning] One or more build-args [ARCH] were not consumed 17:55:07 Successfully built 1d09e1a8272d 17:55:07 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:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:08 17:55:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:55:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:08 latest: Pulling from edgex-lftools-log-publisher 17:55:08 5eb5b503b376: Pulling fs layer 17:55:08 5c69ac0246d0: Pulling fs layer 17:55:08 ec43610c2a17: Pulling fs layer 17:55:08 3a2ae6a8a46f: Pulling fs layer 17:55:08 33b1e0a273af: Pulling fs layer 17:55:08 5d3b04190fa2: Pulling fs layer 17:55:08 2f39f015ded8: Pulling fs layer 17:55:08 33b1e0a273af: Waiting 17:55:08 5d3b04190fa2: Waiting 17:55:08 2f39f015ded8: Waiting 17:55:08 3a2ae6a8a46f: Waiting 17:55:08 5c69ac0246d0: Download complete 17:55:08 3a2ae6a8a46f: Verifying Checksum 17:55:08 3a2ae6a8a46f: Download complete 17:55:08 ec43610c2a17: Verifying Checksum 17:55:08 ec43610c2a17: Download complete 17:55:08 33b1e0a273af: Verifying Checksum 17:55:08 33b1e0a273af: Download complete 17:55:08 5d3b04190fa2: Verifying Checksum 17:55:08 5d3b04190fa2: Download complete 17:55:08 5eb5b503b376: Download complete 17:55:09 2f39f015ded8: Download complete 17:55:09 5eb5b503b376: Pull complete 17:55:10 5c69ac0246d0: Pull complete 17:55:10 ec43610c2a17: Pull complete 17:55:10 3a2ae6a8a46f: Pull complete 17:55:10 33b1e0a273af: Pull complete 17:55:10 5d3b04190fa2: Pull complete 17:55:15 2f39f015ded8: Pull complete 17:55:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:55:15 prd-ubuntu20.04-docker-8c-8g-47819 does not seem to be running inside a container 17:55: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_PR-420 -v /w/workspace/_app-service-configurable_PR-420:/w/workspace/_app-service-configurable_PR-420:rw,z -v /w/workspace/_app-service-configurable_PR-420@tmp:/w/workspace/_app-service-configurable_PR-420@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:55:16 $ docker top 06139e8ff5a845ee9e2874f98b07c4f9746769a18f061e9bf4995b6b8b258183 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:17 ---> job-cost.sh 17:55:17 lf-activate-venv: SKIPPING 17:55:17 INFO: No Stack... 17:55:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:18 INFO: Archiving Costs [Pipeline] sh 17:55:18 + cat /w/workspace/_app-service-configurable_PR-420/archives/cost.csv 17:55:18 + cut -d, -f6 [Pipeline] lock 17:55:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] 17:55:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] did not exist. Created. 17:55:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:18 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:18 Stashed 1 file(s) [Pipeline] } 17:55:18 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:18 $ docker stop --time=1 06139e8ff5a845ee9e2874f98b07c4f9746769a18f061e9bf4995b6b8b258183 17:55:20 $ docker rm -f 06139e8ff5a845ee9e2874f98b07c4f9746769a18f061e9bf4995b6b8b258183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47823 in /w/workspace/_app-service-configurable_PR-420 [Pipeline] { [Pipeline] ws 17:56:44 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:56:44 Selected Git installation does not exist. Using Default 17:56:44 The recommended git tool is: NONE 17:56:52 using credential edgex-jenkins-ssh 17:56:52 Cloning the remote Git repository 17:56:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:56:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:56:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:56:52 > git --version # timeout=10 17:56:52 > git --version # 'git version 2.25.1' 17:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:53 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:56:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:53 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:56:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:54 Merging remotes/origin/main commit 54bc3a868487cdf8f7bb3b484d6c8e8b07fd4ff6 into PR head commit 47171bc0617ab96753b2a942382426590bf11746 17:56:54 Merge succeeded, producing 47171bc0617ab96753b2a942382426590bf11746 17:56:54 Checking out Revision 47171bc0617ab96753b2a942382426590bf11746 (PR-420) 17:56:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:56:54 > git config core.sparsecheckout # timeout=10 17:56:54 > git checkout -f 47171bc0617ab96753b2a942382426590bf11746 # timeout=10 17:56:54 > git remote # timeout=10 17:56:54 > git config --get remote.origin.url # timeout=10 17:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:54 > git merge 54bc3a868487cdf8f7bb3b484d6c8e8b07fd4ff6 # timeout=10 17:56:54 > git rev-parse HEAD^{commit} # timeout=10 17:56:54 > git config core.sparsecheckout # timeout=10 17:56:54 > git checkout -f 47171bc0617ab96753b2a942382426590bf11746 # timeout=10 17:56:59 Commit message: "docs: Update change log for kamakura release" 17:56:59 > git --version # timeout=10 17:56:59 > git --version # 'git version 2.25.1' 17:56:59 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:57:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:57:00 Dload Upload Total Spent Left Speed 17:57:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh 17:57:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:57:01 + sudo tee /etc/docker/daemon.new 17:57:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:57:01 { 17:57:01 "registry-mirrors": [ 17:57:01 "https://nexus3.edgexfoundry.org:10001" 17:57:01 ], 17:57:01 "bip": "10.250.0.254/24", 17:57:01 "hosts": [ 17:57:01 "tcp://0.0.0.0:5555", 17:57:01 "unix:///var/run/docker.sock" 17:57:01 ], 17:57:01 "mtu": 1458, 17:57:01 "selinux-enabled": true, 17:57:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:57:01 } [Pipeline] sh 17:57:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:57:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:20 provisioning config files... 17:57:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config596266382125530018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:21 ---> docker-login.sh 17:57:21 nexus3.edgexfoundry.org:10001 17:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:22 Configure a credential helper to remove this warning. See 17:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:22 17:57:22 Login Succeeded 17:57:22 nexus3.edgexfoundry.org:10002 17:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:22 Configure a credential helper to remove this warning. See 17:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:22 17:57:22 Login Succeeded 17:57:22 nexus3.edgexfoundry.org:10003 17:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:23 Configure a credential helper to remove this warning. See 17:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:23 17:57:23 Login Succeeded 17:57:23 nexus3.edgexfoundry.org:10004 17:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:23 Configure a credential helper to remove this warning. See 17:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:23 17:57:23 Login Succeeded 17:57:23 docker.io 17:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:24 Configure a credential helper to remove this warning. See 17:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:24 17:57:24 Login Succeeded 17:57:24 ---> docker-login.sh ends [Pipeline] } 17:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:24 ========================================================= 17:57:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:57:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:57:25 + 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:57:25 Sending build context to Docker daemon 203.3kB 17:57:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:57:25 Step 2/13 : FROM ${BASE} AS builder 17:57:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:25 9b3977197b4f: Pulling fs layer 17:57:25 1a89e8eeedd5: Pulling fs layer 17:57:25 94645a83ff95: Pulling fs layer 17:57:25 3f3a8bcf1eab: Pulling fs layer 17:57:25 0c92f367c5e7: Pulling fs layer 17:57:25 3096ccb668a1: Pulling fs layer 17:57:25 e8cf19c19ddd: Pulling fs layer 17:57:25 a4caa8a26152: Pulling fs layer 17:57:25 0c92f367c5e7: Waiting 17:57:25 3096ccb668a1: Waiting 17:57:25 e8cf19c19ddd: Waiting 17:57:25 a4caa8a26152: Waiting 17:57:25 3f3a8bcf1eab: Waiting 17:57:25 94645a83ff95: Verifying Checksum 17:57:25 94645a83ff95: Download complete 17:57:25 1a89e8eeedd5: Verifying Checksum 17:57:25 1a89e8eeedd5: Download complete 17:57:25 0c92f367c5e7: Download complete 17:57:25 3096ccb668a1: Verifying Checksum 17:57:25 3096ccb668a1: Download complete 17:57:25 9b3977197b4f: Download complete 17:57:25 e8cf19c19ddd: Verifying Checksum 17:57:25 e8cf19c19ddd: Download complete 17:57:26 9b3977197b4f: Pull complete 17:57:27 1a89e8eeedd5: Pull complete 17:57:27 94645a83ff95: Pull complete 17:57:28 a4caa8a26152: Verifying Checksum 17:57:28 a4caa8a26152: Download complete 17:57:28 3f3a8bcf1eab: Verifying Checksum 17:57:28 3f3a8bcf1eab: Download complete 17:57:41 3f3a8bcf1eab: Pull complete 17:57:41 0c92f367c5e7: Pull complete 17:57:41 3096ccb668a1: Pull complete 17:57:41 e8cf19c19ddd: Pull complete 17:57:48 a4caa8a26152: Pull complete 17:57:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:57:48 ---> 725f1c02e7f9 17:57:48 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:57:49 ---> Running in ffa637978272 17:57:49 Removing intermediate container ffa637978272 17:57:49 ---> 584ad8a1ce31 17:57:49 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:57:49 ---> Running in d3f90b793d20 17:57:49 Removing intermediate container d3f90b793d20 17:57:49 ---> 0d36c66eaf41 17:57:49 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:57:49 ---> Running in 0c0bb34ff5e9 17:57:50 Removing intermediate container 0c0bb34ff5e9 17:57:50 ---> b3722f4881a7 17:57:50 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:50 ---> Running in b15a8a345091 17:57:52 Removing intermediate container b15a8a345091 17:57:52 ---> da0bf788d884 17:57:52 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:52 ---> Running in 12a19d708d85 17:57:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:57:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:57:56 OK: 220 MiB in 52 packages 17:57:56 Removing intermediate container 12a19d708d85 17:57:56 ---> f44deb1fe61a 17:57:56 Step 8/13 : WORKDIR /app 17:57:56 ---> Running in 85f3a72d1eeb 17:57:57 Removing intermediate container 85f3a72d1eeb 17:57:57 ---> 54b18a1fd09d 17:57:57 Step 9/13 : COPY go.mod vendor* ./ 17:57:57 ---> 339342e821cd 17:57:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:58 ---> Running in 9023778cf83f 17:58:45 Removing intermediate container 9023778cf83f 17:58:45 ---> 85a5707d2733 17:58:45 Step 11/13 : COPY . . 17:58:45 ---> 32df0a6a57d0 17:58:45 Step 12/13 : ARG MAKE="make build" 17:58:45 ---> Running in d1c62cc3635d 17:58:45 Removing intermediate container d1c62cc3635d 17:58:45 ---> 485144696433 17:58:45 Step 13/13 : RUN $MAKE 17:58:45 ---> Running in d793e2c75576 17:58:46 noop 17:58:47 Removing intermediate container d793e2c75576 17:58:47 ---> 61ece3aa7d3e 17:58:47 Successfully built 61ece3aa7d3e 17:58:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:58:47 + docker inspect -f . ci-base-image-arm64 17:58:47 . [Pipeline] withDockerContainer 17:58:48 prd-ubuntu20.04-docker-arm64-4c-16g-47823 does not seem to be running inside a container 17:58:48 $ 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 17:58:49 $ docker top efdbb27a8344f9bd816531938082e7efef1022a4f7fdca14576adf751732084b -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:50 + go version 17:58:50 go version go1.17.6 linux/arm64 [Pipeline] } 17:58:50 $ docker stop --time=1 efdbb27a8344f9bd816531938082e7efef1022a4f7fdca14576adf751732084b 17:58:52 $ docker rm -f efdbb27a8344f9bd816531938082e7efef1022a4f7fdca14576adf751732084b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:58:53 + docker inspect -f . ci-base-image-arm64 17:58:53 . [Pipeline] withDockerContainer 17:58:53 prd-ubuntu20.04-docker-arm64-4c-16g-47823 does not seem to be running inside a container 17:58:53 $ 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 17:58:54 $ docker top 16920dbee5683e77febc297a0cc8349a97afe39f80d29aa971892d99ea46b802 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:58:55 + make test 17:58:55 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:00:32 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:00:32 CGO_ENABLED=1 go vet ./... 18:00:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:00:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:00:53 $ docker stop --time=1 16920dbee5683e77febc297a0cc8349a97afe39f80d29aa971892d99ea46b802 18:00:55 $ docker rm -f 16920dbee5683e77febc297a0cc8349a97afe39f80d29aa971892d99ea46b802 [Pipeline] // withDockerContainer [Pipeline] sh 18:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:56 Warning: overwriting stash ‘coverage-report’ 18:00:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:58 + ls -al . 18:00:58 total 164 18:00:58 drwxrwxr-x 7 jenkins jenkins 4096 May 10 18:00 . 18:00:58 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:56 .. 18:00:58 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:56 .dockerignore 18:00:58 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:56 .git 18:00:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:56 .github 18:00:58 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:56 .gitignore 18:00:58 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:56 Attribution.txt 18:00:58 -rw-rw-r-- 1 jenkins jenkins 27269 May 10 17:56 CHANGELOG.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:56 Dockerfile 18:00:58 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:56 GOVERNANCE.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:56 Jenkinsfile 18:00:58 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:56 LICENSE 18:00:58 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:56 OWNERS.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:56 README.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:53 VERSION 18:00:58 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:56 bin 18:00:58 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:58 coverage.out 18:00:58 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:56 go.mod 18:00:58 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:56 go.sum 18:00:58 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:56 main.go 18:00:58 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:56 makefile 18:00:58 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:56 res 18:00:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:56 snap [Pipeline] isUnix [Pipeline] sh 18:00:58 + 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=47171bc0617ab96753b2a942382426590bf11746 --label arch=arm64 --label version=0.0.0 . 18:00:58 Sending build context to Docker daemon 204.3kB 18:00:59 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 18:00:59 Step 2/27 : FROM ${BASE} AS builder 18:00:59 ---> 61ece3aa7d3e 18:00:59 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:00:59 ---> Running in 4431bf36d4e3 18:00:59 Removing intermediate container 4431bf36d4e3 18:00:59 ---> 56b4141927ec 18:00:59 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 18:00:59 ---> Running in 4db9e437b84e 18:01:00 Removing intermediate container 4db9e437b84e 18:01:00 ---> 0124e25ebce3 18:01:00 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:01:00 ---> Running in 767c8ac5627f 18:01:00 Removing intermediate container 767c8ac5627f 18:01:00 ---> 8235fd3894c6 18:01:00 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:01:00 ---> Running in 3ab3808bede6 18:01:02 Removing intermediate container 3ab3808bede6 18:01:02 ---> b7ed93b5acba 18:01:02 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:02 ---> Running in 3ecc1b18a046 18:01:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:01:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:01:08 OK: 220 MiB in 52 packages 18:01:09 Removing intermediate container 3ecc1b18a046 18:01:09 ---> 79ad699218f8 18:01:09 Step 8/27 : WORKDIR /app 18:01:09 ---> Running in 1fa5589c06cd 18:01:09 Removing intermediate container 1fa5589c06cd 18:01:09 ---> 6286751a03de 18:01:09 Step 9/27 : COPY go.mod vendor* ./ 18:01:10 ---> 4ba1afd431c3 18:01:10 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:10 ---> Running in 178371a41c22 18:01:13 Removing intermediate container 178371a41c22 18:01:13 ---> a20b19603f72 18:01:13 Step 11/27 : COPY . . 18:01:13 ---> 513d5938b480 18:01:13 Step 12/27 : ARG MAKE="make build" 18:01:13 ---> Running in 401e2c9c9a63 18:01:13 Removing intermediate container 401e2c9c9a63 18:01:13 ---> 3c689dfe2528 18:01:13 Step 13/27 : RUN $MAKE 18:01:13 ---> Running in a1b222a1c40f 18:01:14 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 18:03:36 Removing intermediate container a1b222a1c40f 18:03:36 ---> 8de29c5ad6ec 18:03:36 Step 14/27 : FROM alpine:3.14 18:03:36 3.14: Pulling from library/alpine 18:03:36 455c02918c45: Pulling fs layer 18:03:36 455c02918c45: Verifying Checksum 18:03:36 455c02918c45: Download complete 18:03:36 455c02918c45: Pull complete 18:03:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:03:36 Status: Downloaded newer image for alpine:3.14 18:03:36 ---> ac73e934f311 18:03:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:03:36 ---> Running in 9c4fd251e36b 18:03:36 Removing intermediate container 9c4fd251e36b 18:03:36 ---> cbff42da01e2 18:03:36 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 18:03:36 ---> Running in 62e769aa500a 18:03:36 Removing intermediate container 62e769aa500a 18:03:36 ---> 1123f5035640 18:03:36 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 18:03:36 ---> Running in 6f9c42000a4c 18:03:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:03:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:03:36 (1/7) Installing ca-certificates (20211220-r0) 18:03:36 (2/7) Installing dumb-init (1.2.5-r1) 18:03:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:03:36 (4/7) Installing libsodium (1.0.18-r0) 18:03:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:03:36 (6/7) Installing libzmq (4.3.4-r0) 18:03:36 (7/7) Installing zeromq (4.3.4-r0) 18:03:36 Executing busybox-1.33.1-r7.trigger 18:03:36 Executing ca-certificates-20211220-r0.trigger 18:03:36 OK: 9 MiB in 21 packages 18:03:36 Removing intermediate container 6f9c42000a4c 18:03:36 ---> ff4ce939fdf7 18:03:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:03:36 ---> 2f8d6cc4e25e 18:03:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 18:03:36 ---> 26d0955765b5 18:03:36 Step 20/27 : COPY --from=builder /app/res/ /res/ 18:03:36 ---> d3c81615225c 18:03:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:03:37 ---> e95492ae1983 18:03:37 Step 22/27 : EXPOSE 48095 18:03:37 ---> Running in 5f91c1fa38d6 18:03:37 Removing intermediate container 5f91c1fa38d6 18:03:37 ---> 2f784bc5edee 18:03:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 18:03:37 ---> Running in 1229e7bc955b 18:03:37 Removing intermediate container 1229e7bc955b 18:03:37 ---> ce4a8cafe756 18:03:37 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:03:37 ---> Running in ffb4aa27c752 18:03:38 Removing intermediate container ffb4aa27c752 18:03:38 ---> 1aafb60ab30f 18:03:38 Step 25/27 : LABEL arch=arm64 18:03:38 ---> Running in 17e22dfd18f9 18:03:38 Removing intermediate container 17e22dfd18f9 18:03:38 ---> 3f136f21fa0f 18:03:38 Step 26/27 : LABEL git_sha=47171bc0617ab96753b2a942382426590bf11746 18:03:38 ---> Running in d7266824a63a 18:03:39 Removing intermediate container d7266824a63a 18:03:39 ---> 5e2721efe6c8 18:03:39 Step 27/27 : LABEL version=0.0.0 18:03:39 ---> Running in dfe4addbded9 18:03:39 Removing intermediate container dfe4addbded9 18:03:39 ---> 57634b11d911 18:03:39 [Warning] One or more build-args [ARCH] were not consumed 18:03:39 Successfully built 57634b11d911 18:03:39 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:40 18:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:40 arm64: Pulling from edgex-lftools-log-publisher 18:03:40 8998bd30e6a1: Pulling fs layer 18:03:40 04944245beec: Pulling fs layer 18:03:40 699f458cf7ca: Pulling fs layer 18:03:40 765212b225bb: Pulling fs layer 18:03:40 f23df028b6ca: Pulling fs layer 18:03:40 d65c8cfc05b1: Pulling fs layer 18:03:40 2437ff75d9bd: Pulling fs layer 18:03:40 765212b225bb: Waiting 18:03:40 f23df028b6ca: Waiting 18:03:40 d65c8cfc05b1: Waiting 18:03:40 2437ff75d9bd: Waiting 18:03:40 04944245beec: Verifying Checksum 18:03:40 04944245beec: Download complete 18:03:40 765212b225bb: Verifying Checksum 18:03:40 765212b225bb: Download complete 18:03:40 f23df028b6ca: Verifying Checksum 18:03:40 f23df028b6ca: Download complete 18:03:40 d65c8cfc05b1: Verifying Checksum 18:03:40 d65c8cfc05b1: Download complete 18:03:40 699f458cf7ca: Verifying Checksum 18:03:40 699f458cf7ca: Download complete 18:03:41 8998bd30e6a1: Verifying Checksum 18:03:41 8998bd30e6a1: Download complete 18:03:43 2437ff75d9bd: Verifying Checksum 18:03:43 2437ff75d9bd: Download complete 18:03:45 8998bd30e6a1: Pull complete 18:03:46 04944245beec: Pull complete 18:03:47 699f458cf7ca: Pull complete 18:03:47 765212b225bb: Pull complete 18:03:48 f23df028b6ca: Pull complete 18:03:49 d65c8cfc05b1: Pull complete 18:04:04 2437ff75d9bd: Pull complete 18:04:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-47823 does not seem to be running inside a container 18:04:04 $ 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 18:04:07 $ docker top ef37db0d0f99142edce70187a635b1f3936f92d3a51cbe055c9e8d62fbf19663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:08 ---> job-cost.sh 18:04:08 lf-activate-venv: SKIPPING 18:04:08 INFO: No Stack... 18:04:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:09 INFO: Archiving Costs [Pipeline] sh 18:04:10 + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv -d, 18:04:10 -f6 [Pipeline] lock 18:04:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] 18:04:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] did not exist. Created. 18:04:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:11 /w/workspace/app-service-configurable/1@tmp/durable-df514567/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:12 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:12 Warning: overwriting stash ‘stack-cost’ 18:04:12 Stashed 1 file(s) [Pipeline] } 18:04:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:12 $ docker stop --time=1 ef37db0d0f99142edce70187a635b1f3936f92d3a51cbe055c9e8d62fbf19663 18:04:13 $ docker rm -f ef37db0d0f99142edce70187a635b1f3936f92d3a51cbe055c9e8d62fbf19663 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:04:14 provisioning config files... 18:04:14 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-420@tmp/config5301979263208142721tmp [Pipeline] { [Pipeline] sh 18:04:15 + set +x 18:04:15 + curl -s https://codecov.io/bash 18:04:15 + bash -s -- 18:04:15 18:04:15 _____ _ 18:04:15 / ____| | | 18:04:15 | | ___ __| | ___ ___ _____ __ 18:04:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:15 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:15 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:15 Bash-1.0.6 18:04:15 18:04:15 18:04:15 ==> git version 2.25.1 found 18:04:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:04:15 Release-Date: 2020-01-08 18:04:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:15 ==> Jenkins CI detected. 18:04:15 current dir:  /w/workspace/_app-service-configurable_PR-420 18:04:15 project root: . 18:04:15 --> token set from env 18:04:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:15 ==> Running gcov in . (disable via -X gcov) 18:04:15 ==> Python coveragepy not found 18:04:15 ==> Searching for coverage reports in: 18:04:15 + . 18:04:15 -> Found 1 reports 18:04:15 ==> Detecting git/mercurial file structure 18:04:15 ==> Reading reports 18:04:15 + ./coverage.out bytes=10 18:04:15 ==> Appending adjustments 18:04:15 https://docs.codecov.io/docs/fixing-reports 18:04:15 + Found adjustments 18:04:15 ==> Gzipping contents 18:04:15 4.0K /tmp/codecov.n72yqf.gz 18:04:15 ==> Uploading reports 18:04:15 url: https://codecov.io 18:04:15 query: branch=PR-420&commit=47171bc0617ab96753b2a942382426590bf11746&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=420&job=&cmd_args= 18:04:15 -> Pinging Codecov 18:04:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-420&commit=47171bc0617ab96753b2a942382426590bf11746&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=420&job=&cmd_args= 18:04:15 -> Uploading to 18:04:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/A97CA9966030D2A3747ED39772930CCE/47171bc0617ab96753b2a942382426590bf11746/1cf416ee-c1e9-4278-9af0-8d6a0691464d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T180415Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=503136c5787f79ea59cdf7bf0d55704f116f740d7badb12dca62bef453ab446e 18:04:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:15 Dload Upload Total Spent Left Speed 18:04:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2607 --:--:-- --:--:-- --:--:-- 2607 18:04:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/47171bc0617ab96753b2a942382426590bf11746 [Pipeline] } 18:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:04:17 + [ -d /w/workspace/_app-service-configurable_PR-420/archives ] 18:04:17 + ls -al /w/workspace/_app-service-configurable_PR-420/archives 18:04:17 total 16 18:04:17 drwxr-xr-x 3 root root 4096 May 10 17:55 . 18:04:17 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:55 .. 18:04:17 drwxr-xr-x 2 root root 4096 May 10 17:55 cost 18:04:17 -rw-r--r-- 1 root root 95 May 10 17:55 cost.csv 18:04:17 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-420/archives 18:04:17 + ls -al /w/workspace/_app-service-configurable_PR-420/archives 18:04:17 total 16 18:04:17 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:55 . 18:04:17 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:55 .. 18:04:17 drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:55 cost 18:04:17 -rw-r--r-- 1 jenkins jenkins 95 May 10 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:04:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:18 ---> package-listing.sh 18:04:18 ++ facter osfamily 18:04:18 ++ tr '[:upper:]' '[:lower:]' 18:04:19 + OS_FAMILY=debian 18:04:19 + workspace=/w/workspace/_app-service-configurable_PR-420 18:04:19 + START_PACKAGES=/tmp/packages_start.txt 18:04:19 + END_PACKAGES=/tmp/packages_end.txt 18:04:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:19 + PACKAGES=/tmp/packages_start.txt 18:04:19 + '[' /w/workspace/_app-service-configurable_PR-420 ']' 18:04:19 + PACKAGES=/tmp/packages_end.txt 18:04:19 + case "${OS_FAMILY}" in 18:04:19 + dpkg -l 18:04:19 + grep '^ii' 18:04:19 + '[' -f /tmp/packages_start.txt ']' 18:04:19 + '[' -f /tmp/packages_end.txt ']' 18:04:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:19 + '[' /w/workspace/_app-service-configurable_PR-420 ']' 18:04:19 + mkdir -p /w/workspace/_app-service-configurable_PR-420/archives/ 18:04:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-420/archives/ [Pipeline] echo 18:04:19 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-420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:04:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:20 . [Pipeline] withDockerContainer 18:04:20 prd-ubuntu20.04-docker-8c-8g-47819 does not seem to be running inside a container 18:04:20 $ 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-420/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-420 -v /w/workspace/_app-service-configurable_PR-420:/w/workspace/_app-service-configurable_PR-420:rw,z -v /w/workspace/_app-service-configurable_PR-420@tmp:/w/workspace/_app-service-configurable_PR-420@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 18:04:20 $ docker top 95045abe682777a18fcbd2b27fd189704b49b92631b9bbf68b885cb7fe82a332 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:20 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:21 + ls /var/log/sa-host 18:04:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:21 provisioning config files... 18:04:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-420@tmp/config5122990745358837144tmp [Pipeline] { [Pipeline] echo 18:04:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:22 ---> create-netrc.sh [Pipeline] } 18:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:22 ---> python-tools-install.sh [Pipeline] echo 18:04:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:22 ---> sudo-logs.sh 18:04:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:04:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:23 ---> job-cost.sh 18:04:23 lf-activate-venv: SKIPPING 18:04:23 DEBUG: total: 0.2199999988079071 18:04:23 INFO: Retrieving Stack Cost... 18:04:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:24 INFO: Archiving Costs [Pipeline] echo 18:04:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:24 ---> logs-deploy.sh 18:04:24 lf-activate-venv: SKIPPING 18:04:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-420/1 18:04:24 INFO: archiving workspace using pattern(s): 18:04:25 Archives upload complete. 18:04:25 INFO: archiving logs to Nexus