Pull request #404 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 506269fdcedf31035820c9a511aec73eb24a632c+323c9d7b071dcad20db500b9107a4775ac8effe6 (9cc9f15c650feba97518a2c2613f1784a0329733) 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-ssh65983342524913363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9469853468719899566.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-404/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14692883204735639104.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16503325889160770208.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17818183531957358034.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-404/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-404/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16672240735066961177.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 ‘prd-ubuntu20.04-docker-8c-8g-21276’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21277 in /w/workspace/_app-service-configurable_PR-404 [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-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 506269fdcedf31035820c9a511aec73eb24a632c Merge succeeded, producing 506269fdcedf31035820c9a511aec73eb24a632c Checking out Revision 506269fdcedf31035820c9a511aec73eb24a632c (PR-404) > git config core.sparsecheckout # timeout=10 > git checkout -f 506269fdcedf31035820c9a511aec73eb24a632c # 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 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 506269fdcedf31035820c9a511aec73eb24a632c # timeout=10 Commit message: "feat: Enable Delay Start capability for ASC" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:48:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:48:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:48:35 ========================================================= 00:48:35 EdgeX Global Pipelines Version Info 00:48:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:48:35 ------------------- 00:48:35 stable info: 00:48:35 ------------------- 00:48:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:48:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:48:35 Message: update stable to v1.0.221 00:48:36 ------------------- 00:48:36 experimental info: 00:48:36 ------------------- 00:48:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:48:36 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 00:48:36 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:48:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 506269fdcedf31035820c9a511aec73eb24a632c [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 506269f [Pipeline] echo 00:48:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:48:38 provisioning config files... 00:48:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-404@tmp/config8259344245806888811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:38 ---> docker-login.sh 00:48:38 nexus3.edgexfoundry.org:10001 00:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:38 Configure a credential helper to remove this warning. See 00:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:38 00:48:38 Login Succeeded 00:48:38 nexus3.edgexfoundry.org:10002 00:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:38 Configure a credential helper to remove this warning. See 00:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:38 00:48:38 Login Succeeded 00:48:38 nexus3.edgexfoundry.org:10003 00:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:38 Configure a credential helper to remove this warning. See 00:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:38 00:48:38 Login Succeeded 00:48:38 nexus3.edgexfoundry.org:10004 00:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:39 Configure a credential helper to remove this warning. See 00:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:39 00:48:39 Login Succeeded 00:48:39 docker.io 00:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:39 Configure a credential helper to remove this warning. See 00:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:39 00:48:39 Login Succeeded 00:48:39 ---> docker-login.sh ends [Pipeline] } 00:48:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:48:40 + git rev-list -1 --merges 506269fdcedf31035820c9a511aec73eb24a632c~1..506269fdcedf31035820c9a511aec73eb24a632c [Pipeline] echo 00:48:40 -----------> git rev-list -1 --merges 506269fdcedf31035820c9a511aec73eb24a632c~1..506269fdcedf31035820c9a511aec73eb24a632c 506269fdcedf31035820c9a511aec73eb24a632c [false] [Pipeline] sh 00:48:40 + git log --format=format:%s -1 506269fdcedf31035820c9a511aec73eb24a632c [Pipeline] echo 00:48:40 ========================================================= 00:48:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:48:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:41 + git log --format=format:%s -1 506269fdcedf31035820c9a511aec73eb24a632c [Pipeline] echo 00:48:41 [semverPrep] GIT_COMMIT: 506269fdcedf31035820c9a511aec73eb24a632c, Commit Message: feat: Enable Delay Start capability for ASC [Pipeline] echo 00:48:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:48:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:48:41 + grep -v github /etc/ssh/ssh_known_hosts 00:48:41 + [ -e /tmp/ssh_known_hosts ] 00:48:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:48:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:48:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:48:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:48:42 00:48:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:48:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:48:42 latest: Pulling from edgex-devops/git-semver 00:48:42 a0d0a0d46f8b: Pulling fs layer 00:48:42 3e5f54012d9b: Pulling fs layer 00:48:42 4c7163046ea9: Pulling fs layer 00:48:42 0c2d73faf560: Pulling fs layer 00:48:42 0c2d73faf560: Waiting 00:48:42 3e5f54012d9b: Download complete 00:48:42 a0d0a0d46f8b: Verifying Checksum 00:48:42 a0d0a0d46f8b: Download complete 00:48:42 0c2d73faf560: Verifying Checksum 00:48:42 0c2d73faf560: Download complete 00:48:42 4c7163046ea9: Verifying Checksum 00:48:43 a0d0a0d46f8b: Pull complete 00:48:43 3e5f54012d9b: Pull complete 00:48:43 4c7163046ea9: Pull complete 00:48:43 0c2d73faf560: Pull complete 00:48:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:48:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:48:43 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 00:48:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-404 -v /w/workspace/_app-service-configurable_PR-404:/w/workspace/_app-service-configurable_PR-404:rw,z -v /w/workspace/_app-service-configurable_PR-404@tmp:/w/workspace/_app-service-configurable_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:48:44 $ docker top 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:48:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:44 [ssh-agent] Looking for ssh-agent implementation... 00:48:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:44 $ docker exec 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 ssh-agent 00:48:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAMaFMh/agent.14 00:48:45 SSH_AGENT_PID=20 00:48:45 Running ssh-add (command line suppressed) 00:48:45 Identity added: /w/workspace/_app-service-configurable_PR-404@tmp/private_key_8209212592503028373.key (/w/workspace/_app-service-configurable_PR-404@tmp/private_key_8209212592503028373.key) 00:48:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:45 + git tag --points-at HEAD [Pipeline] } 00:48:45 $ docker exec --env ******** --env ******** 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 ssh-agent -k 00:48:45 unset SSH_AUTH_SOCK; 00:48:45 unset SSH_AGENT_PID; 00:48:45 echo Agent pid 20 killed; 00:48:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:48:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:45 [ssh-agent] Looking for ssh-agent implementation... 00:48:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:45 $ docker exec 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 ssh-agent 00:48:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiBpogI/agent.53 00:48:46 SSH_AGENT_PID=60 00:48:46 Running ssh-add (command line suppressed) 00:48:46 Identity added: /w/workspace/_app-service-configurable_PR-404@tmp/private_key_5748313704952598010.key (/w/workspace/_app-service-configurable_PR-404@tmp/private_key_5748313704952598010.key) 00:48:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:46 + git semver init 00:48:46 # -> Open(): unable to determine branch for HEAD 00:48:46 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-404/.git 00:48:46 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-404 00:48:46 # $SEMVER_REMOTE_NAME = origin 00:48:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:48:46 # $SEMVER_USER_NAME = edgex-jenkins 00:48:46 # $SEMVER_BRANCH = PR-404 00:48:46 # $SEMVER_TEMP = /tmp/semver-021371010 00:48:46 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 00:48:47 # '/tmp/semver-021371010' -> '/w/workspace/_app-service-configurable_PR-404/.semver' 00:48:47 # -> Force: false 00:48:47 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-404/.semver [Pipeline] } 00:48:47 $ docker exec --env ******** --env ******** 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 ssh-agent -k 00:48:47 unset SSH_AUTH_SOCK; 00:48:47 unset SSH_AGENT_PID; 00:48:47 echo Agent pid 60 killed; 00:48:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:48:48 + git semver [Pipeline] } 00:48:48 $ docker stop --time=1 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 00:48:49 $ docker rm -f 37aa77b463923775305c3c8dca4371ecbed32a3e519052e9a4fbe461cb2144e3 [Pipeline] // withDockerContainer [Pipeline] sh 00:48:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:48:50 Stashed 1 file(s) [Pipeline] echo 00:48:50 [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 00:48:50 provisioning config files... 00:48:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-404@tmp/config7817415287763784443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:51 ---> docker-login.sh 00:48:51 nexus3.edgexfoundry.org:10001 00:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:51 Configure a credential helper to remove this warning. See 00:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:51 00:48:51 Login Succeeded 00:48:51 nexus3.edgexfoundry.org:10002 00:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:51 Configure a credential helper to remove this warning. See 00:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:51 00:48:51 Login Succeeded 00:48:51 nexus3.edgexfoundry.org:10003 00:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:51 Configure a credential helper to remove this warning. See 00:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:51 00:48:51 Login Succeeded 00:48:51 nexus3.edgexfoundry.org:10004 00:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:51 Configure a credential helper to remove this warning. See 00:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:51 00:48:51 Login Succeeded 00:48:51 docker.io 00:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:52 Configure a credential helper to remove this warning. See 00:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:52 00:48:52 Login Succeeded 00:48:52 ---> docker-login.sh ends [Pipeline] } 00:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:48:52 ========================================================= 00:48:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:48:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:48:52 + 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 . 00:48:52 Sending build context to Docker daemon 2.997MB 00:48:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:48:52 Step 2/13 : FROM ${BASE} AS builder 00:48:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:48:52 59bf1c3509f3: Pulling fs layer 00:48:52 666ba61612fd: Pulling fs layer 00:48:52 8ed8ca486205: Pulling fs layer 00:48:52 4fe6c5a15a65: Pulling fs layer 00:48:52 22a0e8bec74d: Pulling fs layer 00:48:52 640e595b4fbd: Pulling fs layer 00:48:52 763cafe07f6e: Pulling fs layer 00:48:52 0c0b528cf693: Pulling fs layer 00:48:52 10935f4eaf8b: Pulling fs layer 00:48:52 22a0e8bec74d: Waiting 00:48:52 4fe6c5a15a65: Waiting 00:48:52 640e595b4fbd: Waiting 00:48:52 0c0b528cf693: Waiting 00:48:52 763cafe07f6e: Waiting 00:48:52 10935f4eaf8b: Waiting 00:48:52 8ed8ca486205: Verifying Checksum 00:48:52 8ed8ca486205: Download complete 00:48:52 666ba61612fd: Verifying Checksum 00:48:52 666ba61612fd: Download complete 00:48:52 22a0e8bec74d: Verifying Checksum 00:48:52 22a0e8bec74d: Download complete 00:48:52 640e595b4fbd: Download complete 00:48:52 59bf1c3509f3: Download complete 00:48:52 763cafe07f6e: Verifying Checksum 00:48:52 763cafe07f6e: Download complete 00:48:52 0c0b528cf693: Verifying Checksum 00:48:52 0c0b528cf693: Download complete 00:48:52 59bf1c3509f3: Pull complete 00:48:53 666ba61612fd: Pull complete 00:48:53 8ed8ca486205: Pull complete 00:48:53 10935f4eaf8b: Verifying Checksum 00:48:53 10935f4eaf8b: Download complete 00:48:53 4fe6c5a15a65: Verifying Checksum 00:48:53 4fe6c5a15a65: Download complete 00:48:57 4fe6c5a15a65: Pull complete 00:48:57 22a0e8bec74d: Pull complete 00:48:57 640e595b4fbd: Pull complete 00:48:57 763cafe07f6e: Pull complete 00:48:57 0c0b528cf693: Pull complete 00:49:00 10935f4eaf8b: Pull complete 00:49:00 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:49:00 ---> 99d49a6021b9 00:49:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:49:02 ---> Running in 4d3c3346e34d 00:49:02 Removing intermediate container 4d3c3346e34d 00:49:02 ---> 526a7eaba8d8 00:49:02 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:49:02 ---> Running in ed1321e153a7 00:49:02 Removing intermediate container ed1321e153a7 00:49:02 ---> 27aecafc2bd7 00:49:02 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:49:02 ---> Running in 82c95c0ed4d6 00:49:02 Removing intermediate container 82c95c0ed4d6 00:49:02 ---> 90a8a77e6009 00:49:02 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:02 ---> Running in 09db19e9387a 00:49:02 Removing intermediate container 09db19e9387a 00:49:02 ---> 1c428eb30783 00:49:02 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:03 ---> Running in 5a8eed243368 00:49:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:49:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:49:04 OK: 221 MiB in 52 packages 00:49:04 Removing intermediate container 5a8eed243368 00:49:04 ---> 2e2146dfdae9 00:49:04 Step 8/13 : WORKDIR /app 00:49:04 ---> Running in dd0d9115c39b 00:49:05 Removing intermediate container dd0d9115c39b 00:49:05 ---> 04690ef0eeac 00:49:05 Step 9/13 : COPY go.mod vendor* ./ 00:49:05 ---> 5286b7dcee4a 00:49:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:05 ---> Running in a661e19c59da 00:49:05 Still waiting to schedule task 00:49:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21273’ 00:49:23 Removing intermediate container a661e19c59da 00:49:23 ---> 2f6ecd3bc09d 00:49:23 Step 11/13 : COPY . . 00:49:23 ---> f3674af1d116 00:49:23 Step 12/13 : ARG MAKE="make build" 00:49:23 ---> Running in bce63cb6207b 00:49:23 Removing intermediate container bce63cb6207b 00:49:23 ---> 5d8c7f7dd552 00:49:23 Step 13/13 : RUN $MAKE 00:49:23 ---> Running in 7929d9f582d4 00:49:23 noop 00:49:23 Removing intermediate container 7929d9f582d4 00:49:23 ---> cab60f19498b 00:49:23 Successfully built cab60f19498b 00:49:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:49:23 + docker inspect -f . ci-base-image-x86_64 00:49:23 . [Pipeline] withDockerContainer 00:49:24 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 00:49:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-404 -v /w/workspace/_app-service-configurable_PR-404:/w/workspace/_app-service-configurable_PR-404:rw,z -v /w/workspace/_app-service-configurable_PR-404@tmp:/w/workspace/_app-service-configurable_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:24 $ docker top 2cf3e5877838fcda3d221dc8c07f46dd1019d8f5d30d6e70a6a2783d0116c647 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:25 + go version 00:49:25 go version go1.17.6 linux/amd64 [Pipeline] } 00:49:25 $ docker stop --time=1 2cf3e5877838fcda3d221dc8c07f46dd1019d8f5d30d6e70a6a2783d0116c647 00:49:26 $ docker rm -f 2cf3e5877838fcda3d221dc8c07f46dd1019d8f5d30d6e70a6a2783d0116c647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:49:27 + docker inspect -f . ci-base-image-x86_64 00:49:27 . [Pipeline] withDockerContainer 00:49:27 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 00:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-404 -v /w/workspace/_app-service-configurable_PR-404:/w/workspace/_app-service-configurable_PR-404:rw,z -v /w/workspace/_app-service-configurable_PR-404@tmp:/w/workspace/_app-service-configurable_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:27 $ docker top 00b901eece798588d1a9e7ee978a87e609494188cd6646cd9d7d465fe4b4cacb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:49:28 + make test 00:49:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:49:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:49:38 CGO_ENABLED=1 go vet ./... 00:49:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:42 ./bin/test-attribution-txt.sh [Pipeline] echo 00:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:49:42 $ docker stop --time=1 00b901eece798588d1a9e7ee978a87e609494188cd6646cd9d7d465fe4b4cacb 00:49:44 $ docker rm -f 00b901eece798588d1a9e7ee978a87e609494188cd6646cd9d7d465fe4b4cacb [Pipeline] // withDockerContainer [Pipeline] sh 00:49:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:49:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:46 + ls -al . 00:49:46 total 164 00:49:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 00:49 . 00:49:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 00:48 .. 00:49:46 -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 00:48 .dockerignore 00:49:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 00:48 .git 00:49:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 00:48 .github 00:49:46 -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 00:48 .gitignore 00:49:46 drwx------ 3 jenkins jenkins 4096 Apr 19 00:48 .semver 00:49:46 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 00:48 Attribution.txt 00:49:46 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 00:48 CHANGELOG.md 00:49:46 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 00:48 Dockerfile 00:49:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 00:48 GOVERNANCE.md 00:49:46 -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 00:48 Jenkinsfile 00:49:46 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 00:48 LICENSE 00:49:46 -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 00:48 OWNERS.md 00:49:46 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 00:48 README.md 00:49:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 00:48 VERSION 00:49:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 00:48 bin 00:49:46 -rw-r--r-- 1 jenkins jenkins 10 Apr 19 00:49 coverage.out 00:49:46 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 00:48 go.mod 00:49:46 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 19 00:48 go.sum 00:49:46 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 00:48 main.go 00:49:46 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 00:48 makefile 00:49:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 00:48 res 00:49:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 00:48 snap [Pipeline] isUnix [Pipeline] sh 00:49:46 + 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=506269fdcedf31035820c9a511aec73eb24a632c --label arch=amd64 --label version=0.0.0 . 00:49:46 Sending build context to Docker daemon 2.998MB 00:49:46 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 00:49:46 Step 2/27 : FROM ${BASE} AS builder 00:49:46 ---> cab60f19498b 00:49:46 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:49:46 ---> Running in 7050b9bfc4c8 00:49:47 Removing intermediate container 7050b9bfc4c8 00:49:47 ---> 5651abb82755 00:49:47 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:49:47 ---> Running in e8e7d975a885 00:49:47 Removing intermediate container e8e7d975a885 00:49:47 ---> e741cfa25daf 00:49:47 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:49:47 ---> Running in 8e40304bd149 00:49:47 Removing intermediate container 8e40304bd149 00:49:47 ---> f7006c1bb19c 00:49:47 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:47 ---> Running in 07812e733ffa 00:49:48 Removing intermediate container 07812e733ffa 00:49:48 ---> 81170d039b0b 00:49:48 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:48 ---> Running in 6b0cda347067 00:49:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:49:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:49:49 OK: 221 MiB in 52 packages 00:49:49 Removing intermediate container 6b0cda347067 00:49:49 ---> 0230123b49c1 00:49:49 Step 8/27 : WORKDIR /app 00:49:49 ---> Running in dda801a2a00e 00:49:50 Removing intermediate container dda801a2a00e 00:49:50 ---> 1e10026d3fa7 00:49:50 Step 9/27 : COPY go.mod vendor* ./ 00:49:50 ---> ce4c72a378d1 00:49:50 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:50 ---> Running in 3a69efd9a758 00:49:50 Removing intermediate container 3a69efd9a758 00:49:50 ---> 0306a58cce1b 00:49:50 Step 11/27 : COPY . . 00:49:50 ---> f3aa82f74a63 00:49:50 Step 12/27 : ARG MAKE="make build" 00:49:50 ---> Running in e3f7281453ec 00:49:51 Removing intermediate container e3f7281453ec 00:49:51 ---> d812b0c1ffbc 00:49:51 Step 13/27 : RUN $MAKE 00:49:51 ---> Running in 455416ef59c1 00:49:51 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 00:50:13 Removing intermediate container 455416ef59c1 00:50:13 ---> 1f20e7335987 00:50:13 Step 14/27 : FROM alpine:3.14 00:50:13 3.14: Pulling from library/alpine 00:50:13 8663204ce13b: Pulling fs layer 00:50:13 8663204ce13b: Verifying Checksum 00:50:13 8663204ce13b: Download complete 00:50:13 8663204ce13b: Pull complete 00:50:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:50:13 Status: Downloaded newer image for alpine:3.14 00:50:13 ---> e04c818066af 00:50:13 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:50:13 ---> Running in 604e5e431b85 00:50:13 Removing intermediate container 604e5e431b85 00:50:13 ---> 4bbef7dea358 00:50:13 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 00:50:13 ---> Running in a4761ea93998 00:50:13 Removing intermediate container a4761ea93998 00:50:13 ---> ae07bd6a0ca1 00:50:13 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 00:50:13 ---> Running in 306dfc1ba33d 00:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:50:13 (1/7) Installing ca-certificates (20211220-r0) 00:50:13 (2/7) Installing dumb-init (1.2.5-r1) 00:50:13 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:50:13 (4/7) Installing libsodium (1.0.18-r0) 00:50:13 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:50:13 (6/7) Installing libzmq (4.3.4-r0) 00:50:13 (7/7) Installing zeromq (4.3.4-r0) 00:50:13 Executing busybox-1.33.1-r7.trigger 00:50:13 Executing ca-certificates-20211220-r0.trigger 00:50:13 OK: 9 MiB in 21 packages 00:50:14 Removing intermediate container 306dfc1ba33d 00:50:14 ---> ae46a0cbe6ba 00:50:14 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:50:14 ---> 4bb2d0717340 00:50:14 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 00:50:14 ---> 9efb6d091f32 00:50:14 Step 20/27 : COPY --from=builder /app/res/ /res/ 00:50:15 ---> 37011cb9e0a7 00:50:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:50:15 ---> d78c9d119720 00:50:15 Step 22/27 : EXPOSE 48095 00:50:15 ---> Running in fe12f138ab97 00:50:15 Removing intermediate container fe12f138ab97 00:50:15 ---> 3c16cfe133ba 00:50:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 00:50:15 ---> Running in 12136d4a767c 00:50:15 Removing intermediate container 12136d4a767c 00:50:15 ---> f3db7ea31656 00:50:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:50:15 ---> Running in 952a88bce6c3 00:50:15 Removing intermediate container 952a88bce6c3 00:50:15 ---> 68e221d6518d 00:50:15 Step 25/27 : LABEL arch=amd64 00:50:15 ---> Running in fb98ea60ede3 00:50:16 Removing intermediate container fb98ea60ede3 00:50:16 ---> d8c9ebbda82b 00:50:16 Step 26/27 : LABEL git_sha=506269fdcedf31035820c9a511aec73eb24a632c 00:50:16 ---> Running in 8759f5759375 00:50:16 Removing intermediate container 8759f5759375 00:50:16 ---> c111b8480324 00:50:16 Step 27/27 : LABEL version=0.0.0 00:50:16 ---> Running in d93f102c5314 00:50:16 Removing intermediate container d93f102c5314 00:50:16 ---> 5a836dab3b70 00:50:16 [Warning] One or more build-args [ARCH] were not consumed 00:50:16 Successfully built 5a836dab3b70 00:50:16 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 00:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:17 00:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:50:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:17 latest: Pulling from edgex-lftools-log-publisher 00:50:17 5eb5b503b376: Pulling fs layer 00:50:17 5c69ac0246d0: Pulling fs layer 00:50:17 ec43610c2a17: Pulling fs layer 00:50:17 3a2ae6a8a46f: Pulling fs layer 00:50:17 33b1e0a273af: Pulling fs layer 00:50:17 5d3b04190fa2: Pulling fs layer 00:50:17 2f39f015ded8: Pulling fs layer 00:50:17 3a2ae6a8a46f: Waiting 00:50:17 33b1e0a273af: Waiting 00:50:17 5d3b04190fa2: Waiting 00:50:17 2f39f015ded8: Waiting 00:50:17 5c69ac0246d0: Download complete 00:50:17 3a2ae6a8a46f: Download complete 00:50:17 33b1e0a273af: Verifying Checksum 00:50:17 33b1e0a273af: Download complete 00:50:17 ec43610c2a17: Verifying Checksum 00:50:17 ec43610c2a17: Download complete 00:50:17 5d3b04190fa2: Verifying Checksum 00:50:17 5d3b04190fa2: Download complete 00:50:17 5eb5b503b376: Verifying Checksum 00:50:17 5eb5b503b376: Download complete 00:50:18 2f39f015ded8: Download complete 00:50:19 5eb5b503b376: Pull complete 00:50:19 5c69ac0246d0: Pull complete 00:50:19 ec43610c2a17: Pull complete 00:50:19 3a2ae6a8a46f: Pull complete 00:50:20 33b1e0a273af: Pull complete 00:50:20 5d3b04190fa2: Pull complete 00:50:24 2f39f015ded8: Pull complete 00:50:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:50:24 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 00:50:24 $ 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-404 -v /w/workspace/_app-service-configurable_PR-404:/w/workspace/_app-service-configurable_PR-404:rw,z -v /w/workspace/_app-service-configurable_PR-404@tmp:/w/workspace/_app-service-configurable_PR-404@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 00:50:26 $ docker top 68b931e4668c74f69f01d0121cd77c9c8d16f849d539a3d3cb13cfb0aeabbcea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:26 ---> job-cost.sh 00:50:26 lf-activate-venv: SKIPPING 00:50:26 INFO: No Stack... 00:50:26 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:27 INFO: Archiving Costs [Pipeline] sh 00:50:27 + cat /w/workspace/_app-service-configurable_PR-404/archives/cost.csv 00:50:27 + cut -d, -f6 [Pipeline] lock 00:50:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] 00:50:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] did not exist. Created. 00:50:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:28 + echo total: 0.2199999988079071 [Pipeline] stash 00:50:28 Stashed 1 file(s) [Pipeline] } 00:50:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:28 $ docker stop --time=1 68b931e4668c74f69f01d0121cd77c9c8d16f849d539a3d3cb13cfb0aeabbcea 00:50:29 $ docker rm -f 68b931e4668c74f69f01d0121cd77c9c8d16f849d539a3d3cb13cfb0aeabbcea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:52:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21279 in /w/workspace/_app-service-configurable_PR-404 [Pipeline] { [Pipeline] ws 00:52:17 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 00:52:17 Selected Git installation does not exist. Using Default 00:52:17 The recommended git tool is: NONE 00:52:26 using credential edgex-jenkins-ssh 00:52:26 Cloning the remote Git repository 00:52:26 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:52:26 > git init /w/workspace/app-service-configurable/1 # timeout=10 00:52:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:52:26 > git --version # timeout=10 00:52:26 > git --version # 'git version 2.25.1' 00:52:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:52:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:28 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 506269fdcedf31035820c9a511aec73eb24a632c 00:52:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:52:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:52:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:52:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:52:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:52:28 > git config core.sparsecheckout # timeout=10 00:52:29 > git checkout -f 506269fdcedf31035820c9a511aec73eb24a632c # timeout=10 00:52:29 Merge succeeded, producing 506269fdcedf31035820c9a511aec73eb24a632c 00:52:29 Checking out Revision 506269fdcedf31035820c9a511aec73eb24a632c (PR-404) 00:52:29 > git remote # timeout=10 00:52:29 > git config --get remote.origin.url # timeout=10 00:52:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:52:29 > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 00:52:29 > git rev-parse HEAD^{commit} # timeout=10 00:52:29 > git config core.sparsecheckout # timeout=10 00:52:29 > git checkout -f 506269fdcedf31035820c9a511aec73eb24a632c # timeout=10 00:52:34 Commit message: "feat: Enable Delay Start capability for ASC" 00:52:34 > git --version # timeout=10 00:52:34 > git --version # 'git version 2.25.1' 00:52:34 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:52:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:52:35 Dload Upload Total Spent Left Speed 00:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 120k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh 00:52:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:52:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:52:36 + sudo tee /etc/docker/daemon.new 00:52:36 { 00:52:36 "registry-mirrors": [ 00:52:36 "https://nexus3.edgexfoundry.org:10001" 00:52:36 ], 00:52:36 "bip": "10.250.0.254/24", 00:52:36 "hosts": [ 00:52:36 "tcp://0.0.0.0:5555", 00:52:36 "unix:///var/run/docker.sock" 00:52:36 ], 00:52:36 "mtu": 1458, 00:52:36 "selinux-enabled": true, 00:52:36 "seccomp-profile": "/etc/docker/seccomp.json" 00:52:36 } [Pipeline] sh 00:52:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:52:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:55 provisioning config files... 00:52:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5105784181265752204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:56 ---> docker-login.sh 00:52:56 nexus3.edgexfoundry.org:10001 00:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:57 Configure a credential helper to remove this warning. See 00:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:57 00:52:57 Login Succeeded 00:52:57 nexus3.edgexfoundry.org:10002 00:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:58 Configure a credential helper to remove this warning. See 00:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:58 00:52:58 Login Succeeded 00:52:58 nexus3.edgexfoundry.org:10003 00:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:58 Configure a credential helper to remove this warning. See 00:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:58 00:52:58 Login Succeeded 00:52:58 nexus3.edgexfoundry.org:10004 00:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:59 Configure a credential helper to remove this warning. See 00:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:59 00:52:59 Login Succeeded 00:52:59 docker.io 00:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:00 Configure a credential helper to remove this warning. See 00:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:00 00:53:00 Login Succeeded 00:53:00 ---> docker-login.sh ends [Pipeline] } 00:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:00 ========================================================= 00:53:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:53:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:53:01 + 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 . 00:53:01 Sending build context to Docker daemon 198.7kB 00:53:01 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:53:01 Step 2/13 : FROM ${BASE} AS builder 00:53:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:53:02 9b3977197b4f: Pulling fs layer 00:53:02 1a89e8eeedd5: Pulling fs layer 00:53:02 94645a83ff95: Pulling fs layer 00:53:02 3f3a8bcf1eab: Pulling fs layer 00:53:02 0c92f367c5e7: Pulling fs layer 00:53:02 f7c0051592d6: Pulling fs layer 00:53:02 a227ed2f7395: Pulling fs layer 00:53:02 7b1c46037f91: Pulling fs layer 00:53:02 f7c0051592d6: Waiting 00:53:02 3f3a8bcf1eab: Waiting 00:53:02 0c92f367c5e7: Waiting 00:53:02 a227ed2f7395: Waiting 00:53:02 7b1c46037f91: Waiting 00:53:02 94645a83ff95: Download complete 00:53:02 1a89e8eeedd5: Verifying Checksum 00:53:02 1a89e8eeedd5: Download complete 00:53:02 0c92f367c5e7: Verifying Checksum 00:53:02 0c92f367c5e7: Download complete 00:53:02 9b3977197b4f: Verifying Checksum 00:53:02 9b3977197b4f: Download complete 00:53:02 f7c0051592d6: Verifying Checksum 00:53:02 f7c0051592d6: Download complete 00:53:02 a227ed2f7395: Verifying Checksum 00:53:02 a227ed2f7395: Download complete 00:53:03 9b3977197b4f: Pull complete 00:53:03 1a89e8eeedd5: Pull complete 00:53:03 94645a83ff95: Pull complete 00:53:04 7b1c46037f91: Verifying Checksum 00:53:04 7b1c46037f91: Download complete 00:53:05 3f3a8bcf1eab: Verifying Checksum 00:53:05 3f3a8bcf1eab: Download complete 00:53:17 3f3a8bcf1eab: Pull complete 00:53:17 0c92f367c5e7: Pull complete 00:53:17 f7c0051592d6: Pull complete 00:53:17 a227ed2f7395: Pull complete 00:53:24 7b1c46037f91: Pull complete 00:53:24 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:53:24 ---> f79e39bc4007 00:53:24 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:53:26 ---> Running in 24487f5952bb 00:53:26 Removing intermediate container 24487f5952bb 00:53:26 ---> 94cb9195a9fe 00:53:26 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:53:26 ---> Running in 2b4eec7ef92f 00:53:27 Removing intermediate container 2b4eec7ef92f 00:53:27 ---> cac64e1647f1 00:53:27 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:53:27 ---> Running in b4ef37aa8592 00:53:27 Removing intermediate container b4ef37aa8592 00:53:27 ---> a1a39b55666c 00:53:27 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:53:27 ---> Running in 7c05a8b5895b 00:53:29 Removing intermediate container 7c05a8b5895b 00:53:29 ---> b705cdf93803 00:53:29 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:53:29 ---> Running in 1281b2e30bf1 00:53:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:53:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:53:33 OK: 220 MiB in 52 packages 00:53:35 Removing intermediate container 1281b2e30bf1 00:53:35 ---> b6599a4ea01f 00:53:35 Step 8/13 : WORKDIR /app 00:53:35 ---> Running in f5cfff51d712 00:53:35 Removing intermediate container f5cfff51d712 00:53:35 ---> 5fe53dbef559 00:53:35 Step 9/13 : COPY go.mod vendor* ./ 00:53:36 ---> c55d54fe3adc 00:53:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:36 ---> Running in b1bab343ae50 00:54:33 Removing intermediate container b1bab343ae50 00:54:33 ---> 1840545e26bf 00:54:33 Step 11/13 : COPY . . 00:54:33 ---> 8adffce39f1a 00:54:33 Step 12/13 : ARG MAKE="make build" 00:54:33 ---> Running in 6ad484bdc5b6 00:54:33 Removing intermediate container 6ad484bdc5b6 00:54:33 ---> c8c190013051 00:54:33 Step 13/13 : RUN $MAKE 00:54:33 ---> Running in a3bf8a65e959 00:54:33 noop 00:54:33 Removing intermediate container a3bf8a65e959 00:54:33 ---> e52e5b258f55 00:54:33 Successfully built e52e5b258f55 00:54:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:54:33 + docker inspect -f . ci-base-image-arm64 00:54:33 . [Pipeline] withDockerContainer 00:54:33 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 00:54:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:54:35 $ docker top f95c4820ea0d6f8157560775a83de31a690a50d63ff4aeeef2d8d1ae0bcecd5a -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:36 + go version 00:54:36 go version go1.17.6 linux/arm64 [Pipeline] } 00:54:36 $ docker stop --time=1 f95c4820ea0d6f8157560775a83de31a690a50d63ff4aeeef2d8d1ae0bcecd5a 00:54:38 $ docker rm -f f95c4820ea0d6f8157560775a83de31a690a50d63ff4aeeef2d8d1ae0bcecd5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:54:38 + docker inspect -f . ci-base-image-arm64 00:54:38 . [Pipeline] withDockerContainer 00:54:39 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 00:54:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:54:40 $ docker top f7a216e86934bae13d15ce97dbd5c7ea14720774ff4f75361acedd1a270a46f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:54:41 + make test 00:54:41 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:56:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:56:18 CGO_ENABLED=1 go vet ./... 00:56:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:51 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:53 $ docker stop --time=1 f7a216e86934bae13d15ce97dbd5c7ea14720774ff4f75361acedd1a270a46f7 00:56:55 $ docker rm -f f7a216e86934bae13d15ce97dbd5c7ea14720774ff4f75361acedd1a270a46f7 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:56 Warning: overwriting stash ‘coverage-report’ 00:56:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:58 + ls -al . 00:56:58 total 160 00:56:58 drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 00:56 . 00:56:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 00:52 .. 00:56:58 -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 00:52 .dockerignore 00:56:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 00:52 .git 00:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 00:52 .github 00:56:58 -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 00:52 .gitignore 00:56:58 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 00:52 Attribution.txt 00:56:58 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 00:52 CHANGELOG.md 00:56:58 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 00:52 Dockerfile 00:56:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 00:52 GOVERNANCE.md 00:56:58 -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 00:52 Jenkinsfile 00:56:58 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 00:52 LICENSE 00:56:58 -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 00:52 OWNERS.md 00:56:58 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 00:52 README.md 00:56:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 00:48 VERSION 00:56:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 00:52 bin 00:56:58 -rw-r--r-- 1 jenkins jenkins 10 Apr 19 00:54 coverage.out 00:56:58 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 00:52 go.mod 00:56:58 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 19 00:52 go.sum 00:56:58 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 00:52 main.go 00:56:58 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 00:52 makefile 00:56:58 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 00:52 res 00:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 00:52 snap [Pipeline] isUnix [Pipeline] sh 00:56:58 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=506269fdcedf31035820c9a511aec73eb24a632c --label arch=arm64 --label version=0.0.0 . 00:56:58 Sending build context to Docker daemon 199.7kB 00:56:58 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 00:56:58 Step 2/27 : FROM ${BASE} AS builder 00:56:58 ---> e52e5b258f55 00:56:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:56:59 ---> Running in 53c4c86075a5 00:56:59 Removing intermediate container 53c4c86075a5 00:56:59 ---> 9b871f935eaf 00:56:59 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:56:59 ---> Running in 96fbb88903e2 00:57:00 Removing intermediate container 96fbb88903e2 00:57:00 ---> 0bf465396b7a 00:57:00 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:57:00 ---> Running in 6417452a47fc 00:57:00 Removing intermediate container 6417452a47fc 00:57:00 ---> 0197c10b17a5 00:57:00 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:00 ---> Running in 2102e7de17ff 00:57:02 Removing intermediate container 2102e7de17ff 00:57:02 ---> eda45ef2b128 00:57:02 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:02 ---> Running in 71f889dcbc5a 00:57:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:57:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:57:05 OK: 220 MiB in 52 packages 00:57:06 Removing intermediate container 71f889dcbc5a 00:57:06 ---> 5e8f79b38e9d 00:57:06 Step 8/27 : WORKDIR /app 00:57:06 ---> Running in cea9a91b072e 00:57:06 Removing intermediate container cea9a91b072e 00:57:06 ---> a68b85baba4b 00:57:06 Step 9/27 : COPY go.mod vendor* ./ 00:57:07 ---> 9094a82f12d3 00:57:07 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:07 ---> Running in c649298fb0dc 00:57:09 Removing intermediate container c649298fb0dc 00:57:09 ---> fc76079bf229 00:57:09 Step 11/27 : COPY . . 00:57:10 ---> 19c57920058d 00:57:10 Step 12/27 : ARG MAKE="make build" 00:57:10 ---> Running in 99c8c99c4c6d 00:57:10 Removing intermediate container 99c8c99c4c6d 00:57:10 ---> 214f1c4bffc8 00:57:10 Step 13/27 : RUN $MAKE 00:57:10 ---> Running in cdd85436b0a1 00:57:11 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 00:59:48 Removing intermediate container cdd85436b0a1 00:59:48 ---> 34e14179e171 00:59:48 Step 14/27 : FROM alpine:3.14 00:59:48 3.14: Pulling from library/alpine 00:59:48 455c02918c45: Pulling fs layer 00:59:48 455c02918c45: Verifying Checksum 00:59:48 455c02918c45: Download complete 00:59:48 455c02918c45: Pull complete 00:59:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:59:48 Status: Downloaded newer image for alpine:3.14 00:59:48 ---> ac73e934f311 00:59:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:59:48 ---> Running in eb48598b629c 00:59:48 Removing intermediate container eb48598b629c 00:59:48 ---> d6a3e80bfadb 00:59:48 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 00:59:48 ---> Running in acd8b349f911 00:59:48 Removing intermediate container acd8b349f911 00:59:48 ---> 68913589aea4 00:59:48 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 00:59:48 ---> Running in 58443d15685c 00:59:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:59:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:59:48 (1/7) Installing ca-certificates (20211220-r0) 00:59:48 (2/7) Installing dumb-init (1.2.5-r1) 00:59:48 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:59:48 (4/7) Installing libsodium (1.0.18-r0) 00:59:48 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:59:48 (6/7) Installing libzmq (4.3.4-r0) 00:59:48 (7/7) Installing zeromq (4.3.4-r0) 00:59:48 Executing busybox-1.33.1-r7.trigger 00:59:48 Executing ca-certificates-20211220-r0.trigger 00:59:48 OK: 9 MiB in 21 packages 00:59:48 Removing intermediate container 58443d15685c 00:59:48 ---> 4a50b76090fe 00:59:48 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:59:48 ---> 100e4c81d72e 00:59:48 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 00:59:48 ---> b1ac9a253d2a 00:59:48 Step 20/27 : COPY --from=builder /app/res/ /res/ 00:59:48 ---> 2870256d7d4d 00:59:48 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:59:48 ---> c712a0e30442 00:59:48 Step 22/27 : EXPOSE 48095 00:59:48 ---> Running in 480cd8e41ed4 00:59:48 Removing intermediate container 480cd8e41ed4 00:59:48 ---> 2485d0b5e276 00:59:48 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 00:59:48 ---> Running in 6928a5deffba 00:59:48 Removing intermediate container 6928a5deffba 00:59:48 ---> 0faaa11844fd 00:59:48 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:59:48 ---> Running in 6c700bad0713 00:59:48 Removing intermediate container 6c700bad0713 00:59:48 ---> 571e81f2aefa 00:59:48 Step 25/27 : LABEL arch=arm64 00:59:48 ---> Running in eeae7a1d8310 00:59:48 Removing intermediate container eeae7a1d8310 00:59:48 ---> 2c230d0114fa 00:59:48 Step 26/27 : LABEL git_sha=506269fdcedf31035820c9a511aec73eb24a632c 00:59:48 ---> Running in 868271d4fba8 00:59:49 Removing intermediate container 868271d4fba8 00:59:49 ---> 000da0d12586 00:59:49 Step 27/27 : LABEL version=0.0.0 00:59:49 ---> Running in ec37f30ee102 00:59:49 Removing intermediate container ec37f30ee102 00:59:49 ---> af65cc026b6d 00:59:49 [Warning] One or more build-args [ARCH] were not consumed 00:59:49 Successfully built af65cc026b6d 00:59:49 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 00:59:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:50 00:59:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:59:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:51 arm64: Pulling from edgex-lftools-log-publisher 00:59:51 8998bd30e6a1: Pulling fs layer 00:59:51 04944245beec: Pulling fs layer 00:59:51 699f458cf7ca: Pulling fs layer 00:59:51 765212b225bb: Pulling fs layer 00:59:51 f23df028b6ca: Pulling fs layer 00:59:51 d65c8cfc05b1: Pulling fs layer 00:59:51 2437ff75d9bd: Pulling fs layer 00:59:51 765212b225bb: Waiting 00:59:51 f23df028b6ca: Waiting 00:59:51 d65c8cfc05b1: Waiting 00:59:51 2437ff75d9bd: Waiting 00:59:51 04944245beec: Verifying Checksum 00:59:51 04944245beec: Download complete 00:59:51 765212b225bb: Verifying Checksum 00:59:51 765212b225bb: Download complete 00:59:51 f23df028b6ca: Verifying Checksum 00:59:51 f23df028b6ca: Download complete 00:59:51 d65c8cfc05b1: Verifying Checksum 00:59:51 d65c8cfc05b1: Download complete 00:59:51 699f458cf7ca: Verifying Checksum 00:59:51 699f458cf7ca: Download complete 00:59:52 8998bd30e6a1: Verifying Checksum 00:59:52 8998bd30e6a1: Download complete 00:59:54 2437ff75d9bd: Verifying Checksum 00:59:54 2437ff75d9bd: Download complete 00:59:57 8998bd30e6a1: Pull complete 00:59:57 04944245beec: Pull complete 00:59:58 699f458cf7ca: Pull complete 00:59:59 765212b225bb: Pull complete 01:00:00 f23df028b6ca: Pull complete 01:00:00 d65c8cfc05b1: Pull complete 01:00:15 2437ff75d9bd: Pull complete 01:00:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:00:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:00:15 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 01:00:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:00:18 $ docker top a4841501d4cbf9db987b1b7fd4c75c5dd1b11fbd97b58e77bd6587f447acf0bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:19 ---> job-cost.sh 01:00:19 lf-activate-venv: SKIPPING 01:00:19 INFO: No Stack... 01:00:20 INFO: Retrieving Pricing Info for: v3-standard-4 01:00:21 INFO: Archiving Costs [Pipeline] sh 01:00:21 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 01:00:21 + cut -d, -f6 [Pipeline] lock 01:00:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] 01:00:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] did not exist. Created. 01:00:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:22 /w/workspace/app-service-configurable/1@tmp/durable-cc2ff282/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:00:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:00:23 Warning: overwriting stash ‘stack-cost’ 01:00:23 Stashed 1 file(s) [Pipeline] } 01:00:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:23 $ docker stop --time=1 a4841501d4cbf9db987b1b7fd4c75c5dd1b11fbd97b58e77bd6587f447acf0bc 01:00:25 $ docker rm -f a4841501d4cbf9db987b1b7fd4c75c5dd1b11fbd97b58e77bd6587f447acf0bc [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 01:00:26 provisioning config files... 01:00:26 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-404@tmp/config6050461821380606601tmp [Pipeline] { [Pipeline] sh 01:00:26 + set +x 01:00:26 + curl -s https://codecov.io/bash 01:00:26 + bash -s -- 01:00:26 01:00:26 _____ _ 01:00:26 / ____| | | 01:00:26 | | ___ __| | ___ ___ _____ __ 01:00:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:00:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:00:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:00:26 Bash-1.0.6 01:00:26 01:00:26 01:00:26 ==> git version 2.25.1 found 01:00:26 ==> 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 01:00:26 Release-Date: 2020-01-08 01:00:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:00:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:00:26 ==> Jenkins CI detected. 01:00:26 current dir:  /w/workspace/_app-service-configurable_PR-404 01:00:26 project root: . 01:00:26 --> token set from env 01:00:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:00:26 ==> Running gcov in . (disable via -X gcov) 01:00:26 ==> Python coveragepy not found 01:00:26 ==> Searching for coverage reports in: 01:00:26 + . 01:00:26 -> Found 1 reports 01:00:26 ==> Detecting git/mercurial file structure 01:00:26 ==> Reading reports 01:00:26 + ./coverage.out bytes=10 01:00:26 ==> Appending adjustments 01:00:26 https://docs.codecov.io/docs/fixing-reports 01:00:26 + Found adjustments 01:00:27 ==> Gzipping contents 01:00:27 4.0K /tmp/codecov.mq2ssq.gz 01:00:27 ==> Uploading reports 01:00:27 url: https://codecov.io 01:00:27 query: branch=PR-404&commit=506269fdcedf31035820c9a511aec73eb24a632c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=404&job=&cmd_args= 01:00:27 -> Pinging Codecov 01:00:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-404&commit=506269fdcedf31035820c9a511aec73eb24a632c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=404&job=&cmd_args= 01:00:27 -> Uploading to 01:00:27 https://storage.googleapis.com/codecov/v4/raw/2022-04-19/A97CA9966030D2A3747ED39772930CCE/506269fdcedf31035820c9a511aec73eb24a632c/ab5e0ca3-c88e-48d1-b38a-6e99c665baca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T010026Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9966504f0b8033f06c77847dba2128d8a137a8a10efeb848b94c10b106e3ccd0 01:00:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:27 Dload Upload Total Spent Left Speed 01:00:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2574 --:--:-- --:--:-- --:--:-- 2563 100 569 0 0 100 569 0 2390 --:--:-- --:--:-- --:--:-- 2380 01:00:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/506269fdcedf31035820c9a511aec73eb24a632c [Pipeline] } 01:00:27 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 01:00:29 + [ -d /w/workspace/_app-service-configurable_PR-404/archives ] 01:00:29 + ls -al /w/workspace/_app-service-configurable_PR-404/archives 01:00:29 total 16 01:00:29 drwxr-xr-x 3 root root 4096 Apr 19 00:50 . 01:00:29 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 00:50 .. 01:00:29 drwxr-xr-x 2 root root 4096 Apr 19 00:50 cost 01:00:29 -rw-r--r-- 1 root root 95 Apr 19 00:50 cost.csv 01:00:29 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-404/archives 01:00:29 + ls -al /w/workspace/_app-service-configurable_PR-404/archives 01:00:29 total 16 01:00:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 00:50 . 01:00:29 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 00:50 .. 01:00:29 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 00:50 cost 01:00:29 -rw-r--r-- 1 jenkins jenkins 95 Apr 19 00:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:00:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:00:30 ---> package-listing.sh 01:00:30 ++ facter osfamily 01:00:30 ++ tr '[:upper:]' '[:lower:]' 01:00:30 + OS_FAMILY=debian 01:00:30 + workspace=/w/workspace/_app-service-configurable_PR-404 01:00:30 + START_PACKAGES=/tmp/packages_start.txt 01:00:30 + END_PACKAGES=/tmp/packages_end.txt 01:00:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:00:30 + PACKAGES=/tmp/packages_start.txt 01:00:30 + '[' /w/workspace/_app-service-configurable_PR-404 ']' 01:00:30 + PACKAGES=/tmp/packages_end.txt 01:00:30 + case "${OS_FAMILY}" in 01:00:30 + dpkg -l 01:00:30 + grep '^ii' 01:00:30 + '[' -f /tmp/packages_start.txt ']' 01:00:30 + '[' -f /tmp/packages_end.txt ']' 01:00:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:00:30 + '[' /w/workspace/_app-service-configurable_PR-404 ']' 01:00:30 + mkdir -p /w/workspace/_app-service-configurable_PR-404/archives/ 01:00:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-404/archives/ [Pipeline] echo 01:00:30 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:00:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:31 . [Pipeline] withDockerContainer 01:00:31 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 01:00:31 $ 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-404/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-404 -v /w/workspace/_app-service-configurable_PR-404:/w/workspace/_app-service-configurable_PR-404:rw,z -v /w/workspace/_app-service-configurable_PR-404@tmp:/w/workspace/_app-service-configurable_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:00:31 $ docker top b5c152b9d1fc67d6c81bd2910baf8c6a205cd5eff869413b0af265eec5e1cbf0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:00:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:00:33 + ls /var/log/sa-host 01:00:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:33 provisioning config files... 01:00:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-404@tmp/config6445914362388949745tmp [Pipeline] { [Pipeline] echo 01:00:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:00:33 ---> create-netrc.sh [Pipeline] } 01:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:00:34 ---> python-tools-install.sh [Pipeline] echo 01:00:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:00:34 ---> sudo-logs.sh 01:00:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:00:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:00:34 ---> job-cost.sh 01:00:34 lf-activate-venv: SKIPPING 01:00:34 DEBUG: total: 0.2199999988079071 01:00:34 INFO: Retrieving Stack Cost... 01:00:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:35 INFO: Archiving Costs [Pipeline] echo 01:00:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:00:36 ---> logs-deploy.sh 01:00:36 lf-activate-venv: SKIPPING 01:00:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-404/1 01:00:36 INFO: archiving workspace using pattern(s): 01:00:37 Archives upload complete. 01:00:37 INFO: archiving logs to Nexus