Pull request #413 updated 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 c3e3af29d5882b21bda7827861619d9a08e330d2+b8e8d1853d64b48b61878642b37bb0eb2b624c73 (bea0abdc97ee475a0d977111672a7db4dd6ff585) 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-ssh8393732519786747664.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-ssh1421023764678727812.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-413/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-413/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8833390853174291792.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 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-ssh10051148520169298756.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-413/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-413/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5778882001297276451.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33606 in /w/workspace/_app-service-configurable_PR-413 [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-413 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b8e8d1853d64b48b61878642b37bb0eb2b624c73 into PR head commit c3e3af29d5882b21bda7827861619d9a08e330d2 Merge succeeded, producing c3e3af29d5882b21bda7827861619d9a08e330d2 Checking out Revision c3e3af29d5882b21bda7827861619d9a08e330d2 (PR-413) > 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3e3af29d5882b21bda7827861619d9a08e330d2 # 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 b8e8d1853d64b48b61878642b37bb0eb2b624c73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3e3af29d5882b21bda7827861619d9a08e330d2 # timeout=10 Commit message: "feat: Used Batch for metrics-influxdb profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:20:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:20:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:20:38 ========================================================= 02:20:38 EdgeX Global Pipelines Version Info 02:20:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:20:39 ------------------- 02:20:39 stable info: 02:20:39 ------------------- 02:20:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:20:39 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:20:39 Message: update stable to v1.0.227 02:20:40 ------------------- 02:20:40 experimental info: 02:20:40 ------------------- 02:20:40 Commited By: **** collab-it+edgex@linuxfoundation.org 02:20:40 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:20:40 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3e3af29d5882b21bda7827861619d9a08e330d2 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3e3af2 [Pipeline] echo 02:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:20:40 provisioning config files... 02:20:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-413@tmp/config1346581743499096984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:20:41 ---> docker-login.sh 02:20:41 nexus3.edgexfoundry.org:10001 02:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:41 Configure a credential helper to remove this warning. See 02:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:41 02:20:41 Login Succeeded 02:20:41 nexus3.edgexfoundry.org:10002 02:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:41 Configure a credential helper to remove this warning. See 02:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:41 02:20:41 Login Succeeded 02:20:41 nexus3.edgexfoundry.org:10003 02:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:42 Configure a credential helper to remove this warning. See 02:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:42 02:20:42 Login Succeeded 02:20:42 nexus3.edgexfoundry.org:10004 02:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:42 Configure a credential helper to remove this warning. See 02:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:42 02:20:42 Login Succeeded 02:20:42 docker.io 02:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:42 Configure a credential helper to remove this warning. See 02:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:42 02:20:42 Login Succeeded 02:20:42 ---> docker-login.sh ends [Pipeline] } 02:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:20:42 + git rev-list -1 --merges c3e3af29d5882b21bda7827861619d9a08e330d2~1..c3e3af29d5882b21bda7827861619d9a08e330d2 [Pipeline] echo 02:20:43 -----------> git rev-list -1 --merges c3e3af29d5882b21bda7827861619d9a08e330d2~1..c3e3af29d5882b21bda7827861619d9a08e330d2 c3e3af29d5882b21bda7827861619d9a08e330d2 [false] [Pipeline] sh 02:20:43 + git log --format=format:%s -1 c3e3af29d5882b21bda7827861619d9a08e330d2 [Pipeline] echo 02:20:43 ========================================================= 02:20:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:20:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:43 + git log --format=format:%s -1 c3e3af29d5882b21bda7827861619d9a08e330d2 [Pipeline] echo 02:20:43 [semverPrep] GIT_COMMIT: c3e3af29d5882b21bda7827861619d9a08e330d2, Commit Message: feat: Used Batch for metrics-influxdb profile [Pipeline] echo 02:20:43 [semverPrep] This is not a build commit. [Pipeline] sh 02:20:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:20:44 + grep -v github /etc/ssh/ssh_known_hosts 02:20:44 + [ -e /tmp/ssh_known_hosts ] 02:20:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:20:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:20:44 + sudo tee -a /etc/ssh/ssh_known_hosts 02:20:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:20:44 02:20:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:20:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:20:44 latest: Pulling from edgex-devops/py-git-semver 02:20:44 1fe172e4850f: Pulling fs layer 02:20:44 caf521ccaac6: Pulling fs layer 02:20:44 3ead6fa29328: Pulling fs layer 02:20:44 5c2a1cbceb83: Pulling fs layer 02:20:44 a8d5f1318db7: Pulling fs layer 02:20:44 c427282e49a2: Pulling fs layer 02:20:44 1827001aaf11: Pulling fs layer 02:20:44 0714d37db230: Pulling fs layer 02:20:44 5c2a1cbceb83: Waiting 02:20:44 a8d5f1318db7: Waiting 02:20:44 ac28cf19c067: Pulling fs layer 02:20:44 c427282e49a2: Waiting 02:20:44 ca983d60f3e2: Pulling fs layer 02:20:44 9f894cec8388: Pulling fs layer 02:20:44 1827001aaf11: Waiting 02:20:44 9f894cec8388: Waiting 02:20:44 ac28cf19c067: Waiting 02:20:44 0714d37db230: Waiting 02:20:44 caf521ccaac6: Download complete 02:20:44 5c2a1cbceb83: Verifying Checksum 02:20:44 5c2a1cbceb83: Download complete 02:20:45 a8d5f1318db7: Verifying Checksum 02:20:45 a8d5f1318db7: Download complete 02:20:45 3ead6fa29328: Verifying Checksum 02:20:45 3ead6fa29328: Download complete 02:20:45 c427282e49a2: Verifying Checksum 02:20:45 c427282e49a2: Download complete 02:20:45 0714d37db230: Verifying Checksum 02:20:45 0714d37db230: Download complete 02:20:45 ac28cf19c067: Verifying Checksum 02:20:45 ac28cf19c067: Download complete 02:20:45 ca983d60f3e2: Download complete 02:20:45 9f894cec8388: Verifying Checksum 02:20:45 1fe172e4850f: Verifying Checksum 02:20:45 1fe172e4850f: Download complete 02:20:45 1827001aaf11: Verifying Checksum 02:20:45 1827001aaf11: Download complete 02:20:46 1fe172e4850f: Pull complete 02:20:46 caf521ccaac6: Pull complete 02:20:47 3ead6fa29328: Pull complete 02:20:47 5c2a1cbceb83: Pull complete 02:20:47 a8d5f1318db7: Pull complete 02:20:47 c427282e49a2: Pull complete 02:20:50 1827001aaf11: Pull complete 02:20:50 0714d37db230: Pull complete 02:20:50 ac28cf19c067: Pull complete 02:20:50 ca983d60f3e2: Pull complete 02:20:50 9f894cec8388: Pull complete 02:20:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:20:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:20:50 prd-ubuntu20.04-docker-8c-8g-33606 does not seem to be running inside a container 02:20:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-413 -v /w/workspace/_app-service-configurable_PR-413:/w/workspace/_app-service-configurable_PR-413:rw,z -v /w/workspace/_app-service-configurable_PR-413@tmp:/w/workspace/_app-service-configurable_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:20:51 $ docker top a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c -eo pid,comm 02:20:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:20:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:20:52 [ssh-agent] Looking for ssh-agent implementation... 02:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:20:52 $ docker exec a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c ssh-agent 02:20:52 SSH_AUTH_SOCK=/tmp/ssh-Uoty7P5fyx9N/agent.33 02:20:52 SSH_AGENT_PID=39 02:20:52 Running ssh-add (command line suppressed) 02:20:52 Identity added: /w/workspace/_app-service-configurable_PR-413@tmp/private_key_8085545236833698622.key (/w/workspace/_app-service-configurable_PR-413@tmp/private_key_8085545236833698622.key) 02:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:20:52 + git tag --points-at HEAD [Pipeline] } 02:20:52 $ docker exec --env ******** --env ******** a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c ssh-agent -k 02:20:52 unset SSH_AUTH_SOCK; 02:20:52 unset SSH_AGENT_PID; 02:20:52 echo Agent pid 39 killed; 02:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:20:52 [ssh-agent] Looking for ssh-agent implementation... 02:20:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:20:53 $ docker exec a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c ssh-agent 02:20:53 SSH_AUTH_SOCK=/tmp/ssh-TPm8iZnAL6sF/agent.74 02:20:53 SSH_AGENT_PID=80 02:20:53 Running ssh-add (command line suppressed) 02:20:53 Identity added: /w/workspace/_app-service-configurable_PR-413@tmp/private_key_5377469984419008904.key (/w/workspace/_app-service-configurable_PR-413@tmp/private_key_5377469984419008904.key) 02:20:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:20:53 + git semver init 02:20:53 2022-04-28 02:20:53,946 [run_init] DEBUG init version:0.0.0 force:False 02:20:53 2022-04-28 02:20:53,947 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-413/.semver 02:20:53 2022-04-28 02:20:53,947 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-413/.semver 02:20:53 2022-04-28 02:20:53,947 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-413/.semver'], cwd=/w/workspace/_app-service-configurable_PR-413, universal_newlines=False, shell=None, istream=None) 02:20:57 2022-04-28 02:20:56,688 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-413/.git/info/exclude 02:20:57 2022-04-28 02:20:56,689 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-413/.semver/PR-413 with force:False 02:20:57 2022-04-28 02:20:56,689 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-413/.semver/PR-413 02:20:57 2022-04-28 02:20:56,694 [execute] INFO git cat-file --batch-check 02:20:57 2022-04-28 02:20:56,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-413/.semver, universal_newlines=False, shell=None, istream=) 02:20:57 2022-04-28 02:20:56,701 [execute] INFO git cat-file --batch 02:20:57 2022-04-28 02:20:56,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-413/.semver, universal_newlines=False, shell=None, istream=) 02:20:57 2022-04-28 02:20:56,707 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-413/.semver/PR-413 02:20:57 0.0.0 [Pipeline] } 02:20:57 $ docker exec --env ******** --env ******** a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c ssh-agent -k 02:20:57 unset SSH_AUTH_SOCK; 02:20:57 unset SSH_AGENT_PID; 02:20:57 echo Agent pid 80 killed; 02:20:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:20:57 + git semver [Pipeline] } 02:20:58 $ docker stop --time=1 a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c 02:20:59 $ docker rm -f a1260f3caf04f656d72015c40a4bebcf62d027029e217326202f22382135c29c [Pipeline] // withDockerContainer [Pipeline] sh 02:20:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:20:59 Stashed 1 file(s) [Pipeline] echo 02:20:59 [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 02:21:00 provisioning config files... 02:21:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-413@tmp/config8889408771367767681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:21:00 ---> docker-login.sh 02:21:00 nexus3.edgexfoundry.org:10001 02:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:00 Configure a credential helper to remove this warning. See 02:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:00 02:21:00 Login Succeeded 02:21:00 nexus3.edgexfoundry.org:10002 02:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:00 Configure a credential helper to remove this warning. See 02:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:00 02:21:00 Login Succeeded 02:21:00 nexus3.edgexfoundry.org:10003 02:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:00 Configure a credential helper to remove this warning. See 02:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:00 02:21:00 Login Succeeded 02:21:00 nexus3.edgexfoundry.org:10004 02:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:01 Configure a credential helper to remove this warning. See 02:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:01 02:21:01 Login Succeeded 02:21:01 docker.io 02:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:01 Configure a credential helper to remove this warning. See 02:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:01 02:21:01 Login Succeeded 02:21:01 ---> docker-login.sh ends [Pipeline] } 02:21:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:21:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:21:01 ========================================================= 02:21:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:21:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:21:01 + 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 . 02:21:01 Sending build context to Docker daemon 3.047MB 02:21:01 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:21:01 Step 2/13 : FROM ${BASE} AS builder 02:21:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:21:01 59bf1c3509f3: Pulling fs layer 02:21:01 666ba61612fd: Pulling fs layer 02:21:01 8ed8ca486205: Pulling fs layer 02:21:01 4fe6c5a15a65: Pulling fs layer 02:21:01 22a0e8bec74d: Pulling fs layer 02:21:01 ca2b28591e48: Pulling fs layer 02:21:01 a51346096db8: Pulling fs layer 02:21:01 daebc70d1ce1: Pulling fs layer 02:21:01 0e18a0eac166: Pulling fs layer 02:21:01 4fe6c5a15a65: Waiting 02:21:01 22a0e8bec74d: Waiting 02:21:01 ca2b28591e48: Waiting 02:21:01 a51346096db8: Waiting 02:21:01 daebc70d1ce1: Waiting 02:21:01 0e18a0eac166: Waiting 02:21:01 8ed8ca486205: Verifying Checksum 02:21:01 8ed8ca486205: Download complete 02:21:01 666ba61612fd: Verifying Checksum 02:21:01 666ba61612fd: Download complete 02:21:01 22a0e8bec74d: Verifying Checksum 02:21:01 22a0e8bec74d: Download complete 02:21:02 ca2b28591e48: Verifying Checksum 02:21:02 ca2b28591e48: Download complete 02:21:02 59bf1c3509f3: Verifying Checksum 02:21:02 59bf1c3509f3: Download complete 02:21:02 a51346096db8: Download complete 02:21:02 daebc70d1ce1: Verifying Checksum 02:21:02 daebc70d1ce1: Download complete 02:21:02 59bf1c3509f3: Pull complete 02:21:02 666ba61612fd: Pull complete 02:21:02 8ed8ca486205: Pull complete 02:21:02 0e18a0eac166: Verifying Checksum 02:21:02 0e18a0eac166: Download complete 02:21:02 4fe6c5a15a65: Verifying Checksum 02:21:02 4fe6c5a15a65: Download complete 02:21:07 4fe6c5a15a65: Pull complete 02:21:07 22a0e8bec74d: Pull complete 02:21:07 ca2b28591e48: Pull complete 02:21:07 a51346096db8: Pull complete 02:21:07 daebc70d1ce1: Pull complete 02:21:09 0e18a0eac166: Pull complete 02:21:09 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:21:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:21:09 ---> f018257e8ee9 02:21:09 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 02:21:10 ---> Running in 18193369d1e5 02:21:11 Removing intermediate container 18193369d1e5 02:21:11 ---> 8ed807980a40 02:21:11 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 02:21:11 ---> Running in 44aa4ebc78b8 02:21:11 Removing intermediate container 44aa4ebc78b8 02:21:11 ---> ab9bf05d992d 02:21:11 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:21:11 ---> Running in 826400421f63 02:21:11 Removing intermediate container 826400421f63 02:21:11 ---> 54791e8149ce 02:21:11 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:21:11 ---> Running in cf081eaf56cd 02:21:12 Removing intermediate container cf081eaf56cd 02:21:12 ---> 149c950c69c8 02:21:12 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:21:12 ---> Running in b1f84abdabb0 02:21:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:21:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:21:13 OK: 221 MiB in 52 packages 02:21:14 Removing intermediate container b1f84abdabb0 02:21:14 ---> ada6e1fee909 02:21:14 Step 8/13 : WORKDIR /app 02:21:14 ---> Running in 5d67f22a30a6 02:21:14 Removing intermediate container 5d67f22a30a6 02:21:14 ---> 1600a0c1d890 02:21:14 Step 9/13 : COPY go.mod vendor* ./ 02:21:14 ---> b6fad41b204d 02:21:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:21:14 ---> Running in e828b71a9133 02:21:15 Still waiting to schedule task 02:21:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:21:36 Removing intermediate container e828b71a9133 02:21:36 ---> f7efbdc1e2fd 02:21:36 Step 11/13 : COPY . . 02:21:36 ---> 05d9375087ff 02:21:36 Step 12/13 : ARG MAKE="make build" 02:21:36 ---> Running in ea252b7de505 02:21:36 Removing intermediate container ea252b7de505 02:21:36 ---> c54ecd8403e5 02:21:36 Step 13/13 : RUN $MAKE 02:21:36 ---> Running in fc9fcd7fd83a 02:21:36 noop 02:21:36 Removing intermediate container fc9fcd7fd83a 02:21:36 ---> f9c73624047e 02:21:36 Successfully built f9c73624047e 02:21:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:21:36 + docker inspect -f . ci-base-image-x86_64 02:21:36 . [Pipeline] withDockerContainer 02:21:36 prd-ubuntu20.04-docker-8c-8g-33606 does not seem to be running inside a container 02:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-413 -v /w/workspace/_app-service-configurable_PR-413:/w/workspace/_app-service-configurable_PR-413:rw,z -v /w/workspace/_app-service-configurable_PR-413@tmp:/w/workspace/_app-service-configurable_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:21:37 $ docker top 4e4c489d1b5d1c53aa58f89c05e31fd5c52dff53828cba5c9794931697b25613 -eo pid,comm [Pipeline] { [Pipeline] sh 02:21:37 + go version 02:21:37 go version go1.17.6 linux/amd64 [Pipeline] } 02:21:37 $ docker stop --time=1 4e4c489d1b5d1c53aa58f89c05e31fd5c52dff53828cba5c9794931697b25613 02:21:39 $ docker rm -f 4e4c489d1b5d1c53aa58f89c05e31fd5c52dff53828cba5c9794931697b25613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:21:39 + docker inspect -f . ci-base-image-x86_64 02:21:39 . [Pipeline] withDockerContainer 02:21:39 prd-ubuntu20.04-docker-8c-8g-33606 does not seem to be running inside a container 02:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-413 -v /w/workspace/_app-service-configurable_PR-413:/w/workspace/_app-service-configurable_PR-413:rw,z -v /w/workspace/_app-service-configurable_PR-413@tmp:/w/workspace/_app-service-configurable_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:21:40 $ docker top 4b0ca743947a36f55f91df255725ac589bc30109606bac9cb29c06cd9c111a30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:21:40 + make test 02:21:40 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 02:21:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 02:21:50 CGO_ENABLED=1 go vet ./... 02:21:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:21:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:21:53 ./bin/test-attribution-txt.sh [Pipeline] echo 02:21:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:21:54 $ docker stop --time=1 4b0ca743947a36f55f91df255725ac589bc30109606bac9cb29c06cd9c111a30 02:21:56 $ docker rm -f 4b0ca743947a36f55f91df255725ac589bc30109606bac9cb29c06cd9c111a30 [Pipeline] // withDockerContainer [Pipeline] sh 02:21:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:21:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:21:57 + ls -al . 02:21:57 total 164 02:21:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 02:21 . 02:21:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 02:20 .. 02:21:57 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 02:20 .dockerignore 02:21:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 02:20 .git 02:21:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 02:20 .github 02:21:57 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 02:20 .gitignore 02:21:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 02:20 .semver 02:21:57 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 02:20 Attribution.txt 02:21:57 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 02:20 CHANGELOG.md 02:21:57 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 02:20 Dockerfile 02:21:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 02:20 GOVERNANCE.md 02:21:57 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 02:20 Jenkinsfile 02:21:57 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 02:20 LICENSE 02:21:57 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 02:20 OWNERS.md 02:21:57 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 02:20 README.md 02:21:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 02:20 VERSION 02:21:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 02:20 bin 02:21:57 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 02:21 coverage.out 02:21:57 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 02:20 go.mod 02:21:57 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 02:20 go.sum 02:21:57 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 02:20 main.go 02:21:57 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 02:20 makefile 02:21:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 02:20 res 02:21:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 02:20 snap [Pipeline] isUnix [Pipeline] sh 02:21:58 + 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=c3e3af29d5882b21bda7827861619d9a08e330d2 --label arch=amd64 --label version=0.0.0 . 02:21:58 Sending build context to Docker daemon 3.048MB 02:21:58 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 02:21:58 Step 2/27 : FROM ${BASE} AS builder 02:21:58 ---> f9c73624047e 02:21:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 02:21:58 ---> Running in 5a4be2cab180 02:21:58 Removing intermediate container 5a4be2cab180 02:21:58 ---> 5b59fb2a7d8d 02:21:58 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 02:21:58 ---> Running in 169d80a57138 02:21:58 Removing intermediate container 169d80a57138 02:21:58 ---> 786499f78444 02:21:58 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:21:58 ---> Running in 318ae16e31d5 02:21:58 Removing intermediate container 318ae16e31d5 02:21:58 ---> 72827d5f0822 02:21:58 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:21:58 ---> Running in 188fdd9e4330 02:21:59 Removing intermediate container 188fdd9e4330 02:21:59 ---> 921bbcc0c781 02:21:59 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:21:59 ---> Running in 94a0d2a00d4b 02:21:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:22:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:22:00 OK: 221 MiB in 52 packages 02:22:00 Removing intermediate container 94a0d2a00d4b 02:22:00 ---> e267df436d4f 02:22:00 Step 8/27 : WORKDIR /app 02:22:00 ---> Running in 7411e9fbf6ce 02:22:01 Removing intermediate container 7411e9fbf6ce 02:22:01 ---> 77d8a263d220 02:22:01 Step 9/27 : COPY go.mod vendor* ./ 02:22:01 ---> 1991461deecf 02:22:01 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:22:01 ---> Running in ef40eb5dbd17 02:22:02 Removing intermediate container ef40eb5dbd17 02:22:02 ---> dceb9badb953 02:22:02 Step 11/27 : COPY . . 02:22:02 ---> da462ac852b8 02:22:02 Step 12/27 : ARG MAKE="make build" 02:22:02 ---> Running in af31a746130b 02:22:02 Removing intermediate container af31a746130b 02:22:02 ---> 7c83762754a4 02:22:02 Step 13/27 : RUN $MAKE 02:22:02 ---> Running in 1ff9aff9b250 02:22:02 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 02:22:24 Removing intermediate container 1ff9aff9b250 02:22:24 ---> 76ae19537297 02:22:24 Step 14/27 : FROM alpine:3.14 02:22:24 3.14: Pulling from library/alpine 02:22:24 8663204ce13b: Pulling fs layer 02:22:24 8663204ce13b: Verifying Checksum 02:22:24 8663204ce13b: Download complete 02:22:24 8663204ce13b: Pull complete 02:22:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:22:24 Status: Downloaded newer image for alpine:3.14 02:22:24 ---> e04c818066af 02:22:24 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:22:24 ---> Running in 7887a6faea65 02:22:24 Removing intermediate container 7887a6faea65 02:22:24 ---> d96fe0e5862d 02:22:24 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 02:22:24 ---> Running in d229d840df0b 02:22:24 Removing intermediate container d229d840df0b 02:22:24 ---> 388062fb311f 02:22:24 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 02:22:24 ---> Running in c844f42d40fd 02:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:22:25 (1/7) Installing ca-certificates (20211220-r0) 02:22:25 (2/7) Installing dumb-init (1.2.5-r1) 02:22:25 (3/7) Installing libgcc (10.3.1_git20210424-r2) 02:22:25 (4/7) Installing libsodium (1.0.18-r0) 02:22:25 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 02:22:25 (6/7) Installing libzmq (4.3.4-r0) 02:22:25 (7/7) Installing zeromq (4.3.4-r0) 02:22:25 Executing busybox-1.33.1-r7.trigger 02:22:25 Executing ca-certificates-20211220-r0.trigger 02:22:25 OK: 9 MiB in 21 packages 02:22:26 Removing intermediate container c844f42d40fd 02:22:26 ---> c33006bcda70 02:22:26 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:22:26 ---> a4b19142cec9 02:22:26 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 02:22:26 ---> 19afab011768 02:22:26 Step 20/27 : COPY --from=builder /app/res/ /res/ 02:22:26 ---> f19ac6a36c7e 02:22:26 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 02:22:27 ---> e4df254da9db 02:22:27 Step 22/27 : EXPOSE 48095 02:22:27 ---> Running in f60f112c8b29 02:22:27 Removing intermediate container f60f112c8b29 02:22:27 ---> 1d8a6e46b0be 02:22:27 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 02:22:27 ---> Running in 282e5d481534 02:22:27 Removing intermediate container 282e5d481534 02:22:27 ---> f338705b9446 02:22:27 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:22:27 ---> Running in 7f3d5785e8da 02:22:27 Removing intermediate container 7f3d5785e8da 02:22:27 ---> 912ae099d4a4 02:22:27 Step 25/27 : LABEL arch=amd64 02:22:27 ---> Running in 3e42b7772635 02:22:27 Removing intermediate container 3e42b7772635 02:22:27 ---> 2241190ee563 02:22:27 Step 26/27 : LABEL git_sha=c3e3af29d5882b21bda7827861619d9a08e330d2 02:22:27 ---> Running in d3abdff332fc 02:22:28 Removing intermediate container d3abdff332fc 02:22:28 ---> 57323a4673d4 02:22:28 Step 27/27 : LABEL version=0.0.0 02:22:28 ---> Running in 1b4eeca36864 02:22:28 Removing intermediate container 1b4eeca36864 02:22:28 ---> 1fab5d2b7427 02:22:28 [Warning] One or more build-args [ARCH] were not consumed 02:22:28 Successfully built 1fab5d2b7427 02:22:28 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 02:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:28 02:22:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:22:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:28 latest: Pulling from edgex-lftools-log-publisher 02:22:28 5eb5b503b376: Pulling fs layer 02:22:28 5c69ac0246d0: Pulling fs layer 02:22:28 ec43610c2a17: Pulling fs layer 02:22:28 3a2ae6a8a46f: Pulling fs layer 02:22:28 33b1e0a273af: Pulling fs layer 02:22:28 5d3b04190fa2: Pulling fs layer 02:22:28 2f39f015ded8: Pulling fs layer 02:22:28 5d3b04190fa2: Waiting 02:22:28 2f39f015ded8: Waiting 02:22:28 3a2ae6a8a46f: Waiting 02:22:28 33b1e0a273af: Waiting 02:22:28 5c69ac0246d0: Verifying Checksum 02:22:28 5c69ac0246d0: Download complete 02:22:28 3a2ae6a8a46f: Download complete 02:22:28 33b1e0a273af: Verifying Checksum 02:22:28 33b1e0a273af: Download complete 02:22:29 5d3b04190fa2: Download complete 02:22:29 ec43610c2a17: Verifying Checksum 02:22:29 ec43610c2a17: Download complete 02:22:29 5eb5b503b376: Verifying Checksum 02:22:29 5eb5b503b376: Download complete 02:22:30 2f39f015ded8: Verifying Checksum 02:22:30 2f39f015ded8: Download complete 02:22:30 5eb5b503b376: Pull complete 02:22:30 5c69ac0246d0: Pull complete 02:22:31 ec43610c2a17: Pull complete 02:22:31 3a2ae6a8a46f: Pull complete 02:22:31 33b1e0a273af: Pull complete 02:22:31 5d3b04190fa2: Pull complete 02:22:35 2f39f015ded8: Pull complete 02:22:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:22:35 prd-ubuntu20.04-docker-8c-8g-33606 does not seem to be running inside a container 02:22:35 $ 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-413 -v /w/workspace/_app-service-configurable_PR-413:/w/workspace/_app-service-configurable_PR-413:rw,z -v /w/workspace/_app-service-configurable_PR-413@tmp:/w/workspace/_app-service-configurable_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:22:38 $ docker top fa21bb09fc8ff0b48445d04900ad3ced2fe31731b543f2e25b83ce5a5c62f97b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:38 ---> job-cost.sh 02:22:38 lf-activate-venv: SKIPPING 02:22:38 INFO: No Stack... 02:22:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:39 INFO: Archiving Costs [Pipeline] sh 02:22:39 + cat /w/workspace/_app-service-configurable_PR-413/archives/cost.csv 02:22:39 + cut -d, -f6 [Pipeline] lock 02:22:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] 02:22:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] did not exist. Created. 02:22:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:40 + echo total: 0.2199999988079071 [Pipeline] stash 02:22:40 Stashed 1 file(s) [Pipeline] } 02:22:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:40 $ docker stop --time=1 fa21bb09fc8ff0b48445d04900ad3ced2fe31731b543f2e25b83ce5a5c62f97b 02:22:41 $ docker rm -f fa21bb09fc8ff0b48445d04900ad3ced2fe31731b543f2e25b83ce5a5c62f97b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:24:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33607 in /w/workspace/_app-service-configurable_PR-413 [Pipeline] { [Pipeline] ws 02:24:55 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 02:24:55 Selected Git installation does not exist. Using Default 02:24:55 The recommended git tool is: NONE 02:25:02 using credential edgex-jenkins-ssh 02:25:02 Cloning the remote Git repository 02:25:02 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 02:25:03 > git init /w/workspace/app-service-configurable/2 # timeout=10 02:25:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 02:25:03 > git --version # timeout=10 02:25:03 > git --version # 'git version 2.25.1' 02:25:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:25:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:25:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 02:25:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:25:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 02:25:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 02:25:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:25:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:25:05 Merging remotes/origin/main commit b8e8d1853d64b48b61878642b37bb0eb2b624c73 into PR head commit c3e3af29d5882b21bda7827861619d9a08e330d2 02:25:05 Merge succeeded, producing c3e3af29d5882b21bda7827861619d9a08e330d2 02:25:05 Checking out Revision c3e3af29d5882b21bda7827861619d9a08e330d2 (PR-413) 02:25:05 > git config core.sparsecheckout # timeout=10 02:25:05 > git checkout -f c3e3af29d5882b21bda7827861619d9a08e330d2 # timeout=10 02:25:05 > git remote # timeout=10 02:25:05 > git config --get remote.origin.url # timeout=10 02:25:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:25:05 > git merge b8e8d1853d64b48b61878642b37bb0eb2b624c73 # timeout=10 02:25:05 > git rev-parse HEAD^{commit} # timeout=10 02:25:05 > git config core.sparsecheckout # timeout=10 02:25:05 > git checkout -f c3e3af29d5882b21bda7827861619d9a08e330d2 # timeout=10 02:25:09 Commit message: "feat: Used Batch for metrics-influxdb profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:25:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:25:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:25:10 Dload Upload Total Spent Left Speed 02:25:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh 02:25:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:25:11 + sudo tee /etc/docker/daemon.new 02:25:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:25:11 { 02:25:11 "registry-mirrors": [ 02:25:11 "https://nexus3.edgexfoundry.org:10001" 02:25:11 ], 02:25:11 "bip": "10.250.0.254/24", 02:25:11 "hosts": [ 02:25:11 "tcp://0.0.0.0:5555", 02:25:11 "unix:///var/run/docker.sock" 02:25:11 ], 02:25:11 "mtu": 1458, 02:25:11 "selinux-enabled": true, 02:25:11 "seccomp-profile": "/etc/docker/seccomp.json" 02:25:11 } [Pipeline] sh 02:25:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:25:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:30 provisioning config files... 02:25:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config4462763834580913564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:30 ---> docker-login.sh 02:25:30 nexus3.edgexfoundry.org:10001 02:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:31 Configure a credential helper to remove this warning. See 02:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:31 02:25:31 Login Succeeded 02:25:31 nexus3.edgexfoundry.org:10002 02:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:32 Configure a credential helper to remove this warning. See 02:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:32 02:25:32 Login Succeeded 02:25:32 nexus3.edgexfoundry.org:10003 02:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:32 Configure a credential helper to remove this warning. See 02:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:32 02:25:32 Login Succeeded 02:25:32 nexus3.edgexfoundry.org:10004 02:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:33 Configure a credential helper to remove this warning. See 02:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:33 02:25:33 Login Succeeded 02:25:33 docker.io 02:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:34 Configure a credential helper to remove this warning. See 02:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:34 02:25:34 Login Succeeded 02:25:34 ---> docker-login.sh ends [Pipeline] } 02:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:25:34 ========================================================= 02:25:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:25:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:25:35 + 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 . 02:25:35 Sending build context to Docker daemon 207.4kB 02:25:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:25:35 Step 2/13 : FROM ${BASE} AS builder 02:25:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:25:35 9b3977197b4f: Pulling fs layer 02:25:35 1a89e8eeedd5: Pulling fs layer 02:25:35 94645a83ff95: Pulling fs layer 02:25:35 3f3a8bcf1eab: Pulling fs layer 02:25:35 0c92f367c5e7: Pulling fs layer 02:25:35 3096ccb668a1: Pulling fs layer 02:25:35 e8cf19c19ddd: Pulling fs layer 02:25:35 a4caa8a26152: Pulling fs layer 02:25:35 3f3a8bcf1eab: Waiting 02:25:35 3096ccb668a1: Waiting 02:25:35 0c92f367c5e7: Waiting 02:25:35 e8cf19c19ddd: Waiting 02:25:35 a4caa8a26152: Waiting 02:25:35 94645a83ff95: Verifying Checksum 02:25:35 94645a83ff95: Download complete 02:25:35 1a89e8eeedd5: Download complete 02:25:35 0c92f367c5e7: Verifying Checksum 02:25:35 0c92f367c5e7: Download complete 02:25:35 3096ccb668a1: Verifying Checksum 02:25:35 3096ccb668a1: Download complete 02:25:35 9b3977197b4f: Verifying Checksum 02:25:35 9b3977197b4f: Download complete 02:25:35 e8cf19c19ddd: Verifying Checksum 02:25:35 e8cf19c19ddd: Download complete 02:25:36 9b3977197b4f: Pull complete 02:25:37 1a89e8eeedd5: Pull complete 02:25:37 94645a83ff95: Pull complete 02:25:37 a4caa8a26152: Verifying Checksum 02:25:37 a4caa8a26152: Download complete 02:25:38 3f3a8bcf1eab: Verifying Checksum 02:25:38 3f3a8bcf1eab: Download complete 02:25:50 3f3a8bcf1eab: Pull complete 02:25:50 0c92f367c5e7: Pull complete 02:25:51 3096ccb668a1: Pull complete 02:25:51 e8cf19c19ddd: Pull complete 02:25:58 a4caa8a26152: Pull complete 02:25:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:25:58 ---> 725f1c02e7f9 02:25:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 02:25:59 ---> Running in f20c1b5d0226 02:25:59 Removing intermediate container f20c1b5d0226 02:25:59 ---> 8afdf2357158 02:25:59 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 02:25:59 ---> Running in f5a1206a9a36 02:25:59 Removing intermediate container f5a1206a9a36 02:25:59 ---> 7cff50f471f9 02:25:59 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:26:00 ---> Running in f175b921c8ed 02:26:00 Removing intermediate container f175b921c8ed 02:26:00 ---> eb69beebbea9 02:26:00 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:26:00 ---> Running in 293ed95e1502 02:26:02 Removing intermediate container 293ed95e1502 02:26:02 ---> 927172e23608 02:26:02 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:26:02 ---> Running in f708cb84fbd2 02:26:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:26:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:26:05 OK: 220 MiB in 52 packages 02:26:06 Removing intermediate container f708cb84fbd2 02:26:06 ---> 27d6fdeb0fc4 02:26:06 Step 8/13 : WORKDIR /app 02:26:06 ---> Running in f63057fb6dfa 02:26:06 Removing intermediate container f63057fb6dfa 02:26:06 ---> ee578af4a634 02:26:06 Step 9/13 : COPY go.mod vendor* ./ 02:26:07 ---> 9c8ae41dfd7f 02:26:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:26:07 ---> Running in aff748e168bb 02:26:54 Removing intermediate container aff748e168bb 02:26:54 ---> d7a1d43cbf16 02:26:54 Step 11/13 : COPY . . 02:26:54 ---> 99daf898b717 02:26:54 Step 12/13 : ARG MAKE="make build" 02:26:54 ---> Running in 121860bd19e9 02:26:55 Removing intermediate container 121860bd19e9 02:26:55 ---> 1916c2e0a3d7 02:26:55 Step 13/13 : RUN $MAKE 02:26:55 ---> Running in 56ee105af17d 02:26:56 noop 02:26:57 Removing intermediate container 56ee105af17d 02:26:57 ---> 226b7f6bb9c0 02:26:57 Successfully built 226b7f6bb9c0 02:26:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:26:57 + docker inspect -f . ci-base-image-arm64 02:26:57 . [Pipeline] withDockerContainer 02:26:57 prd-ubuntu20.04-docker-arm64-4c-16g-33607 does not seem to be running inside a container 02:26:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** ci-base-image-arm64 cat 02:26:59 $ docker top 13bdc50bd5365f91030d909261b36ea90964d8a5b75a10fbf35d96d39ec7ca35 -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:00 + go version 02:27:00 go version go1.17.6 linux/arm64 [Pipeline] } 02:27:00 $ docker stop --time=1 13bdc50bd5365f91030d909261b36ea90964d8a5b75a10fbf35d96d39ec7ca35 02:27:01 $ docker rm -f 13bdc50bd5365f91030d909261b36ea90964d8a5b75a10fbf35d96d39ec7ca35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:27:02 + docker inspect -f . ci-base-image-arm64 02:27:02 . [Pipeline] withDockerContainer 02:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-33607 does not seem to be running inside a container 02:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** ci-base-image-arm64 cat 02:27:04 $ docker top f5ee23db2924f591488854b6ed42ca75e356fa7a829e89d6614bd93e71a3be75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:27:05 + make test 02:27:05 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 02:28:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 02:28:27 CGO_ENABLED=1 go vet ./... 02:28:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:28:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:28:53 ./bin/test-attribution-txt.sh [Pipeline] echo 02:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:28:55 $ docker stop --time=1 f5ee23db2924f591488854b6ed42ca75e356fa7a829e89d6614bd93e71a3be75 02:28:57 $ docker rm -f f5ee23db2924f591488854b6ed42ca75e356fa7a829e89d6614bd93e71a3be75 [Pipeline] // withDockerContainer [Pipeline] sh 02:28:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:28:58 Warning: overwriting stash ‘coverage-report’ 02:28:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:29:00 + ls -al . 02:29:00 total 160 02:29:00 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 02:28 . 02:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 02:25 .. 02:29:00 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 02:25 .dockerignore 02:29:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 02:25 .git 02:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 02:25 .github 02:29:00 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 02:25 .gitignore 02:29:00 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 02:25 Attribution.txt 02:29:00 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 02:25 CHANGELOG.md 02:29:00 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 02:25 Dockerfile 02:29:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 02:25 GOVERNANCE.md 02:29:00 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 02:25 Jenkinsfile 02:29:00 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 02:25 LICENSE 02:29:00 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 02:25 OWNERS.md 02:29:00 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 02:25 README.md 02:29:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 02:20 VERSION 02:29:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 02:25 bin 02:29:00 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 02:27 coverage.out 02:29:00 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 02:25 go.mod 02:29:00 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 02:25 go.sum 02:29:00 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 02:25 main.go 02:29:00 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 02:25 makefile 02:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 02:25 res 02:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 02:25 snap [Pipeline] isUnix [Pipeline] sh 02:29:00 + 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=c3e3af29d5882b21bda7827861619d9a08e330d2 --label arch=arm64 --label version=0.0.0 . 02:29:00 Sending build context to Docker daemon 208.4kB 02:29:00 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 02:29:00 Step 2/27 : FROM ${BASE} AS builder 02:29:00 ---> 226b7f6bb9c0 02:29:00 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 02:29:00 ---> Running in 60eca99e0f4a 02:29:00 Removing intermediate container 60eca99e0f4a 02:29:00 ---> a58be3957b8a 02:29:00 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 02:29:01 ---> Running in 49f4024b2e2e 02:29:01 Removing intermediate container 49f4024b2e2e 02:29:01 ---> e5b9cb91222c 02:29:01 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:29:01 ---> Running in c3a9bcaa322a 02:29:01 Removing intermediate container c3a9bcaa322a 02:29:01 ---> 3ce0cb4e7865 02:29:01 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:29:01 ---> Running in 58d72ee00833 02:29:03 Removing intermediate container 58d72ee00833 02:29:03 ---> 5a1fc9df6d4a 02:29:03 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:29:03 ---> Running in 7f9bb8250e63 02:29:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:29:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:29:06 OK: 220 MiB in 52 packages 02:29:07 Removing intermediate container 7f9bb8250e63 02:29:07 ---> 82bab8be828d 02:29:07 Step 8/27 : WORKDIR /app 02:29:07 ---> Running in c0488f542ac2 02:29:07 Removing intermediate container c0488f542ac2 02:29:07 ---> c09ae831828f 02:29:07 Step 9/27 : COPY go.mod vendor* ./ 02:29:08 ---> 57c17cc75a37 02:29:08 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:08 ---> Running in cb4196007aae 02:29:10 Removing intermediate container cb4196007aae 02:29:10 ---> 0e2802c0a53e 02:29:10 Step 11/27 : COPY . . 02:29:10 ---> 8f05586cf96b 02:29:10 Step 12/27 : ARG MAKE="make build" 02:29:10 ---> Running in 3943c7bcfe3c 02:29:11 Removing intermediate container 3943c7bcfe3c 02:29:11 ---> ff9597a60242 02:29:11 Step 13/27 : RUN $MAKE 02:29:11 ---> Running in 69aba1f094b5 02:29:12 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 02:31:19 Removing intermediate container 69aba1f094b5 02:31:19 ---> 308aa68f7b79 02:31:19 Step 14/27 : FROM alpine:3.14 02:31:19 3.14: Pulling from library/alpine 02:31:19 455c02918c45: Pulling fs layer 02:31:19 455c02918c45: Verifying Checksum 02:31:19 455c02918c45: Download complete 02:31:19 455c02918c45: Pull complete 02:31:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:31:19 Status: Downloaded newer image for alpine:3.14 02:31:19 ---> ac73e934f311 02:31:19 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 02:31:19 ---> Running in 9818ac53236d 02:31:19 Removing intermediate container 9818ac53236d 02:31:19 ---> e7c6ad215982 02:31:19 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 02:31:19 ---> Running in 4f8229254b98 02:31:19 Removing intermediate container 4f8229254b98 02:31:19 ---> 582ffe8d33aa 02:31:19 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 02:31:19 ---> Running in 10781b85874e 02:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:31:19 (1/7) Installing ca-certificates (20211220-r0) 02:31:19 (2/7) Installing dumb-init (1.2.5-r1) 02:31:19 (3/7) Installing libgcc (10.3.1_git20210424-r2) 02:31:19 (4/7) Installing libsodium (1.0.18-r0) 02:31:19 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 02:31:19 (6/7) Installing libzmq (4.3.4-r0) 02:31:19 (7/7) Installing zeromq (4.3.4-r0) 02:31:19 Executing busybox-1.33.1-r7.trigger 02:31:19 Executing ca-certificates-20211220-r0.trigger 02:31:19 OK: 9 MiB in 21 packages 02:31:20 Removing intermediate container 10781b85874e 02:31:20 ---> 42ce9124220e 02:31:20 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:31:20 ---> 27bb8c2f583b 02:31:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 02:31:21 ---> 5fc59d49a6b9 02:31:21 Step 20/27 : COPY --from=builder /app/res/ /res/ 02:31:21 ---> b71f60dd6777 02:31:21 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 02:31:23 ---> a4de8290839a 02:31:23 Step 22/27 : EXPOSE 48095 02:31:23 ---> Running in 3b19515593f6 02:31:23 Removing intermediate container 3b19515593f6 02:31:23 ---> a482c6b9b62b 02:31:23 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 02:31:23 ---> Running in c35e699dad21 02:31:23 Removing intermediate container c35e699dad21 02:31:23 ---> 31ace39d854e 02:31:23 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:31:23 ---> Running in 4c4bfd595042 02:31:24 Removing intermediate container 4c4bfd595042 02:31:24 ---> f51315827bae 02:31:24 Step 25/27 : LABEL arch=arm64 02:31:24 ---> Running in 91057abce05e 02:31:24 Removing intermediate container 91057abce05e 02:31:24 ---> f59bc73005cf 02:31:24 Step 26/27 : LABEL git_sha=c3e3af29d5882b21bda7827861619d9a08e330d2 02:31:24 ---> Running in 91d71f1887b6 02:31:24 Removing intermediate container 91d71f1887b6 02:31:24 ---> 8b395a6da822 02:31:24 Step 27/27 : LABEL version=0.0.0 02:31:25 ---> Running in 386913f0ebbe 02:31:25 Removing intermediate container 386913f0ebbe 02:31:25 ---> 61f68a8ffea4 02:31:25 [Warning] One or more build-args [ARCH] were not consumed 02:31:25 Successfully built 61f68a8ffea4 02:31:25 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 02:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:25 02:31:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:31:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:26 arm64: Pulling from edgex-lftools-log-publisher 02:31:26 8998bd30e6a1: Pulling fs layer 02:31:26 04944245beec: Pulling fs layer 02:31:26 699f458cf7ca: Pulling fs layer 02:31:26 765212b225bb: Pulling fs layer 02:31:26 f23df028b6ca: Pulling fs layer 02:31:26 d65c8cfc05b1: Pulling fs layer 02:31:26 2437ff75d9bd: Pulling fs layer 02:31:26 765212b225bb: Waiting 02:31:26 f23df028b6ca: Waiting 02:31:26 d65c8cfc05b1: Waiting 02:31:26 2437ff75d9bd: Waiting 02:31:26 04944245beec: Verifying Checksum 02:31:26 04944245beec: Download complete 02:31:26 765212b225bb: Download complete 02:31:26 f23df028b6ca: Verifying Checksum 02:31:26 f23df028b6ca: Download complete 02:31:26 d65c8cfc05b1: Verifying Checksum 02:31:26 d65c8cfc05b1: Download complete 02:31:26 699f458cf7ca: Verifying Checksum 02:31:26 699f458cf7ca: Download complete 02:31:26 8998bd30e6a1: Verifying Checksum 02:31:26 8998bd30e6a1: Download complete 02:31:29 2437ff75d9bd: Verifying Checksum 02:31:29 2437ff75d9bd: Download complete 02:31:30 8998bd30e6a1: Pull complete 02:31:31 04944245beec: Pull complete 02:31:32 699f458cf7ca: Pull complete 02:31:32 765212b225bb: Pull complete 02:31:33 f23df028b6ca: Pull complete 02:31:33 d65c8cfc05b1: Pull complete 02:31:48 2437ff75d9bd: Pull complete 02:31:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:31:48 prd-ubuntu20.04-docker-arm64-4c-16g-33607 does not seem to be running inside a container 02:31:49 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:31:51 $ docker top 3cf4be87e7ae88c5fb1d8c6523cad17b10233120c133680cbb26618962bdfa77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:52 ---> job-cost.sh 02:31:52 lf-activate-venv: SKIPPING 02:31:52 INFO: No Stack... 02:31:52 INFO: Retrieving Pricing Info for: v3-standard-4 02:31:53 INFO: Archiving Costs [Pipeline] sh 02:31:54 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 02:31:54 + cut -d, -f6 [Pipeline] lock 02:31:54 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] 02:31:54 Resource [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] did not exist. Created. 02:31:54 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:55 /w/workspace/app-service-configurable/2@tmp/durable-f4325b2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:31:56 + echo total: 0.10999999940395355 [Pipeline] stash 02:31:56 Warning: overwriting stash ‘stack-cost’ 02:31:56 Stashed 1 file(s) [Pipeline] } 02:31:56 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:56 $ docker stop --time=1 3cf4be87e7ae88c5fb1d8c6523cad17b10233120c133680cbb26618962bdfa77 02:31:57 $ docker rm -f 3cf4be87e7ae88c5fb1d8c6523cad17b10233120c133680cbb26618962bdfa77 [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 02:31:58 provisioning config files... 02:31:58 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-413@tmp/config4168631591395734287tmp [Pipeline] { [Pipeline] sh 02:31:58 + set +x 02:31:58 + curl+ -s https://codecov.io/bash 02:31:58 bash -s -- 02:31:58 02:31:58 _____ _ 02:31:58 / ____| | | 02:31:58 | | ___ __| | ___ ___ _____ __ 02:31:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:31:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:31:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:31:58 Bash-1.0.6 02:31:58 02:31:58 02:31:58 ==> git version 2.25.1 found 02:31:58 ==> 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 02:31:58 Release-Date: 2020-01-08 02:31:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:31:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:31:58 ==> Jenkins CI detected. 02:31:58 current dir:  /w/workspace/_app-service-configurable_PR-413 02:31:58 project root: . 02:31:58 --> token set from env 02:31:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:31:58 ==> Running gcov in . (disable via -X gcov) 02:31:58 ==> Python coveragepy not found 02:31:58 ==> Searching for coverage reports in: 02:31:58 + . 02:31:58 -> Found 1 reports 02:31:58 ==> Detecting git/mercurial file structure 02:31:58 ==> Reading reports 02:31:58 + ./coverage.out bytes=10 02:31:58 ==> Appending adjustments 02:31:58 https://docs.codecov.io/docs/fixing-reports 02:31:58 + Found adjustments 02:31:58 ==> Gzipping contents 02:31:58 4.0K /tmp/codecov.F21I0U.gz 02:31:58 ==> Uploading reports 02:31:58 url: https://codecov.io 02:31:58 query: branch=PR-413&commit=c3e3af29d5882b21bda7827861619d9a08e330d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=413&job=&cmd_args= 02:31:58 -> Pinging Codecov 02:31:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-413&commit=c3e3af29d5882b21bda7827861619d9a08e330d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=413&job=&cmd_args= 02:31:59 -> Uploading to 02:31:59 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/A97CA9966030D2A3747ED39772930CCE/c3e3af29d5882b21bda7827861619d9a08e330d2/9a2a724c-14e0-4198-ad08-0501982586fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T023158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f07a9672ca5fbf10efe26135771969d91cd0db1f43c88e0d41c24672ace8e5b 02:31:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:31:59 Dload Upload Total Spent Left Speed 02:31:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2456 --:--:-- --:--:-- --:--:-- 2456 02:31:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/c3e3af29d5882b21bda7827861619d9a08e330d2 [Pipeline] } 02:31:59 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 02:32:00 + [ -d /w/workspace/_app-service-configurable_PR-413/archives ] 02:32:00 + ls -al /w/workspace/_app-service-configurable_PR-413/archives 02:32:00 total 16 02:32:00 drwxr-xr-x 3 root root 4096 Apr 28 02:22 . 02:32:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 02:22 .. 02:32:00 drwxr-xr-x 2 root root 4096 Apr 28 02:22 cost 02:32:00 -rw-r--r-- 1 root root 95 Apr 28 02:22 cost.csv 02:32:00 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-413/archives 02:32:00 + ls -al /w/workspace/_app-service-configurable_PR-413/archives 02:32:00 total 16 02:32:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 02:22 . 02:32:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 02:22 .. 02:32:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 02:22 cost 02:32:00 -rw-r--r-- 1 jenkins jenkins 95 Apr 28 02:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:32:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:32:01 ---> package-listing.sh 02:32:01 ++ facter osfamily 02:32:01 ++ tr '[:upper:]' '[:lower:]' 02:32:01 + OS_FAMILY=debian 02:32:01 + workspace=/w/workspace/_app-service-configurable_PR-413 02:32:01 + START_PACKAGES=/tmp/packages_start.txt 02:32:01 + END_PACKAGES=/tmp/packages_end.txt 02:32:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:32:01 + PACKAGES=/tmp/packages_start.txt 02:32:01 + '[' /w/workspace/_app-service-configurable_PR-413 ']' 02:32:01 + PACKAGES=/tmp/packages_end.txt 02:32:01 + case "${OS_FAMILY}" in 02:32:01 + dpkg -l 02:32:01 + grep '^ii' 02:32:01 + '[' -f /tmp/packages_start.txt ']' 02:32:01 + '[' -f /tmp/packages_end.txt ']' 02:32:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:32:01 + '[' /w/workspace/_app-service-configurable_PR-413 ']' 02:32:01 + mkdir -p /w/workspace/_app-service-configurable_PR-413/archives/ 02:32:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-413/archives/ [Pipeline] echo 02:32:01 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:32:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:32:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:02 . [Pipeline] withDockerContainer 02:32:02 prd-ubuntu20.04-docker-8c-8g-33606 does not seem to be running inside a container 02:32:02 $ 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-413/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-413 -v /w/workspace/_app-service-configurable_PR-413:/w/workspace/_app-service-configurable_PR-413:rw,z -v /w/workspace/_app-service-configurable_PR-413@tmp:/w/workspace/_app-service-configurable_PR-413@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 02:32:02 $ docker top d4301f554a629f151bf9b443b9fc5128d5b1bea6bedcc7b6b96612072a5501eb -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:32:03 + mkdir -p /var/log/sysstat [Pipeline] sh 02:32:03 + ls /var/log/sa-host 02:32:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:03 provisioning config files... 02:32:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-413@tmp/config8808762439458654555tmp [Pipeline] { [Pipeline] echo 02:32:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:32:04 ---> create-netrc.sh [Pipeline] } 02:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:32:04 ---> python-tools-install.sh [Pipeline] echo 02:32:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:32:04 ---> sudo-logs.sh 02:32:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:32:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:32:05 ---> job-cost.sh 02:32:05 lf-activate-venv: SKIPPING 02:32:05 DEBUG: total: 0.2199999988079071 02:32:05 INFO: Retrieving Stack Cost... 02:32:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:06 INFO: Archiving Costs [Pipeline] echo 02:32:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:32:06 ---> logs-deploy.sh 02:32:06 lf-activate-venv: SKIPPING 02:32:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-413/2 02:32:06 INFO: archiving workspace using pattern(s): 02:32:07 Archives upload complete. 02:32:07 INFO: archiving logs to Nexus