Pull request #398 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dcfedea6795a1a0014dd0e75b37fbe629c32554f+323c9d7b071dcad20db500b9107a4775ac8effe6 (0c31f9303181f4bd4e0f3cb43dc352b49caa4c9e) 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-ssh1471815559546398147.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-ssh3616561370452964887.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-398/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-398/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11554812369938068395.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-398/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4661866973269653906.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-ssh45781652354828155.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-398/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-398/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17194383127399217491.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20940 in /w/workspace/_app-service-configurable_PR-398 [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-398 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit dcfedea6795a1a0014dd0e75b37fbe629c32554f Merge succeeded, producing dcfedea6795a1a0014dd0e75b37fbe629c32554f Checking out Revision dcfedea6795a1a0014dd0e75b37fbe629c32554f (PR-398) > 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/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # 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 dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 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 12:03:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:55 ========================================================= 12:03:55 EdgeX Global Pipelines Version Info 12:03:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:56 ------------------- 12:03:56 stable info: 12:03:56 ------------------- 12:03:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:56 Message: update stable to v1.0.221 12:03:56 ------------------- 12:03:56 experimental info: 12:03:56 ------------------- 12:03:56 Commited By: **** collab-it+edgex@linuxfoundation.org 12:03:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:56 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-398 [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-398 [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-398 [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcfedea [Pipeline] echo 12:03:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:58 provisioning config files... 12:03:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config3608635789378309647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:59 ---> docker-login.sh 12:03:59 nexus3.edgexfoundry.org:10001 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 nexus3.edgexfoundry.org:10002 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 nexus3.edgexfoundry.org:10003 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 nexus3.edgexfoundry.org:10004 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 docker.io 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:01 Configure a credential helper to remove this warning. See 12:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:01 12:04:01 Login Succeeded 12:04:01 ---> docker-login.sh ends [Pipeline] } 12:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:02 + git rev-list -1 --merges dcfedea6795a1a0014dd0e75b37fbe629c32554f~1..dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo 12:04:02 -----------> git rev-list -1 --merges dcfedea6795a1a0014dd0e75b37fbe629c32554f~1..dcfedea6795a1a0014dd0e75b37fbe629c32554f dcfedea6795a1a0014dd0e75b37fbe629c32554f [false] [Pipeline] sh 12:04:02 + git log --format=format:%s -1 dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo 12:04:02 ========================================================= 12:04:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:03 + git log --format=format:%s -1 dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo 12:04:03 [semverPrep] GIT_COMMIT: dcfedea6795a1a0014dd0e75b37fbe629c32554f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:03 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:03 + grep -v github /etc/ssh/ssh_known_hosts 12:04:03 + [ -e /tmp/ssh_known_hosts ] 12:04:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:03 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:04:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:04 12:04:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:04 latest: Pulling from edgex-devops/git-semver 12:04:04 a0d0a0d46f8b: Pulling fs layer 12:04:04 3e5f54012d9b: Pulling fs layer 12:04:04 4c7163046ea9: Pulling fs layer 12:04:04 0c2d73faf560: Pulling fs layer 12:04:04 0c2d73faf560: Waiting 12:04:04 3e5f54012d9b: Download complete 12:04:04 a0d0a0d46f8b: Download complete 12:04:04 0c2d73faf560: Verifying Checksum 12:04:04 0c2d73faf560: Download complete 12:04:04 4c7163046ea9: Verifying Checksum 12:04:04 4c7163046ea9: Download complete 12:04:04 a0d0a0d46f8b: Pull complete 12:04:04 3e5f54012d9b: Pull complete 12:04:05 4c7163046ea9: Pull complete 12:04:05 0c2d73faf560: Pull complete 12:04:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:05 prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container 12:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:06 $ docker top 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:06 [ssh-agent] Looking for ssh-agent implementation... 12:04:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:06 $ docker exec 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent 12:04:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFdbKdd/agent.14 12:04:06 SSH_AGENT_PID=21 12:04:06 Running ssh-add (command line suppressed) 12:04:06 Identity added: /w/workspace/_app-service-configurable_PR-398@tmp/private_key_2752081624864312051.key (/w/workspace/_app-service-configurable_PR-398@tmp/private_key_2752081624864312051.key) 12:04:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:07 + git tag --points-at HEAD [Pipeline] } 12:04:07 $ docker exec --env ******** --env ******** 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent -k 12:04:07 unset SSH_AUTH_SOCK; 12:04:07 unset SSH_AGENT_PID; 12:04:07 echo Agent pid 21 killed; 12:04:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:07 [ssh-agent] Looking for ssh-agent implementation... 12:04:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:07 $ docker exec 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent 12:04:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCAKOlD/agent.54 12:04:07 SSH_AGENT_PID=60 12:04:07 Running ssh-add (command line suppressed) 12:04:07 Identity added: /w/workspace/_app-service-configurable_PR-398@tmp/private_key_2043129688872840401.key (/w/workspace/_app-service-configurable_PR-398@tmp/private_key_2043129688872840401.key) 12:04:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:08 + git semver init 12:04:08 # -> Open(): unable to determine branch for HEAD 12:04:08 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-398/.git 12:04:08 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-398 12:04:08 # $SEMVER_REMOTE_NAME = origin 12:04:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:08 # $SEMVER_USER_NAME = edgex-jenkins 12:04:08 # $SEMVER_BRANCH = PR-398 12:04:08 # $SEMVER_TEMP = /tmp/semver-464951046 12:04:08 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:09 # '/tmp/semver-464951046' -> '/w/workspace/_app-service-configurable_PR-398/.semver' 12:04:09 # -> Force: false 12:04:09 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-398/.semver [Pipeline] } 12:04:09 $ docker exec --env ******** --env ******** 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent -k 12:04:09 unset SSH_AUTH_SOCK; 12:04:09 unset SSH_AGENT_PID; 12:04:09 echo Agent pid 60 killed; 12:04:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:09 + git semver [Pipeline] } 12:04:09 $ docker stop --time=1 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 12:04:11 $ docker rm -f 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:11 Stashed 1 file(s) [Pipeline] echo 12:04:11 [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 12:04:12 provisioning config files... 12:04:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config6094199066502634858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:12 ---> docker-login.sh 12:04:12 nexus3.edgexfoundry.org:10001 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 nexus3.edgexfoundry.org:10002 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:13 Configure a credential helper to remove this warning. See 12:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:13 12:04:13 Login Succeeded 12:04:13 nexus3.edgexfoundry.org:10003 12:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:13 Configure a credential helper to remove this warning. See 12:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:13 12:04:13 Login Succeeded 12:04:13 nexus3.edgexfoundry.org:10004 12:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:13 Configure a credential helper to remove this warning. See 12:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:13 12:04:13 Login Succeeded 12:04:13 docker.io 12:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:13 Configure a credential helper to remove this warning. See 12:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:13 12:04:13 Login Succeeded 12:04:13 ---> docker-login.sh ends [Pipeline] } 12:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:14 ========================================================= 12:04:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:14 + 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 . 12:04:14 Sending build context to Docker daemon 3.007MB 12:04:14 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:14 Step 2/13 : FROM ${BASE} AS builder 12:04:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:14 59bf1c3509f3: Pulling fs layer 12:04:14 666ba61612fd: Pulling fs layer 12:04:14 8ed8ca486205: Pulling fs layer 12:04:14 4fe6c5a15a65: Pulling fs layer 12:04:14 22a0e8bec74d: Pulling fs layer 12:04:14 640e595b4fbd: Pulling fs layer 12:04:14 763cafe07f6e: Pulling fs layer 12:04:14 0c0b528cf693: Pulling fs layer 12:04:14 10935f4eaf8b: Pulling fs layer 12:04:14 4fe6c5a15a65: Waiting 12:04:14 640e595b4fbd: Waiting 12:04:14 22a0e8bec74d: Waiting 12:04:14 10935f4eaf8b: Waiting 12:04:14 0c0b528cf693: Waiting 12:04:14 763cafe07f6e: Waiting 12:04:14 8ed8ca486205: Verifying Checksum 12:04:14 8ed8ca486205: Download complete 12:04:14 666ba61612fd: Download complete 12:04:14 22a0e8bec74d: Verifying Checksum 12:04:14 22a0e8bec74d: Download complete 12:04:14 59bf1c3509f3: Verifying Checksum 12:04:14 59bf1c3509f3: Download complete 12:04:14 763cafe07f6e: Verifying Checksum 12:04:14 763cafe07f6e: Download complete 12:04:14 640e595b4fbd: Verifying Checksum 12:04:14 640e595b4fbd: Download complete 12:04:14 0c0b528cf693: Verifying Checksum 12:04:14 0c0b528cf693: Download complete 12:04:14 59bf1c3509f3: Pull complete 12:04:15 666ba61612fd: Pull complete 12:04:15 8ed8ca486205: Pull complete 12:04:15 10935f4eaf8b: Verifying Checksum 12:04:15 10935f4eaf8b: Download complete 12:04:15 4fe6c5a15a65: Download complete 12:04:19 4fe6c5a15a65: Pull complete 12:04:19 22a0e8bec74d: Pull complete 12:04:19 640e595b4fbd: Pull complete 12:04:19 763cafe07f6e: Pull complete 12:04:19 0c0b528cf693: Pull complete 12:04:21 10935f4eaf8b: Pull complete 12:04:21 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:21 ---> 99d49a6021b9 12:04:21 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:23 ---> Running in cc6970cb45ff 12:04:23 Removing intermediate container cc6970cb45ff 12:04:23 ---> f43e317016f6 12:04:23 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:23 ---> Running in cef660cf3905 12:04:23 Removing intermediate container cef660cf3905 12:04:23 ---> 5d267a17c482 12:04:23 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:23 ---> Running in f0f6aeb2ce8b 12:04:23 Removing intermediate container f0f6aeb2ce8b 12:04:23 ---> da7bf6d96af8 12:04:23 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:23 ---> Running in f52942d20f62 12:04:24 Removing intermediate container f52942d20f62 12:04:24 ---> 620f0efa9f6e 12:04:24 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:24 ---> Running in 0ce82a896d71 12:04:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:27 Still waiting to schedule task 12:04:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:28 OK: 221 MiB in 52 packages 12:04:28 Removing intermediate container 0ce82a896d71 12:04:28 ---> f8009ba415db 12:04:28 Step 8/13 : WORKDIR /app 12:04:28 ---> Running in f866dab6b68f 12:04:28 Removing intermediate container f866dab6b68f 12:04:28 ---> 71354e112c56 12:04:28 Step 9/13 : COPY go.mod vendor* ./ 12:04:28 ---> 359411c8ec42 12:04:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:28 ---> Running in b71c5bb8994a 12:05:00 Removing intermediate container b71c5bb8994a 12:05:00 ---> df302cf1de51 12:05:00 Step 11/13 : COPY . . 12:05:00 ---> 3cc98620f04e 12:05:00 Step 12/13 : ARG MAKE="make build" 12:05:00 ---> Running in 85be5405da5a 12:05:00 Removing intermediate container 85be5405da5a 12:05:00 ---> e7df1f4faf8d 12:05:00 Step 13/13 : RUN $MAKE 12:05:00 ---> Running in 0e419eefa841 12:05:00 noop 12:05:00 Removing intermediate container 0e419eefa841 12:05:00 ---> d4cc8548b774 12:05:00 Successfully built d4cc8548b774 12:05:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:01 + docker inspect -f . ci-base-image-x86_64 12:05:01 . [Pipeline] withDockerContainer 12:05:01 prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container 12:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@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 ******** ci-base-image-x86_64 cat 12:05:01 $ docker top f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:02 + go version 12:05:02 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:02 $ docker stop --time=1 f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b 12:05:03 $ docker rm -f f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:04 + docker inspect -f . ci-base-image-x86_64 12:05:04 . [Pipeline] withDockerContainer 12:05:04 prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container 12:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@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 ******** ci-base-image-x86_64 cat 12:05:04 $ docker top eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:05 + make test 12:05:05 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:11 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:11 CGO_ENABLED=1 go vet ./... 12:05:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:14 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:14 $ docker stop --time=1 eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 12:05:16 $ docker rm -f eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:18 + ls -al . 12:05:18 total 176 12:05:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:05 . 12:05:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 12:03 .. 12:05:18 -rw-rw-r-- 1 jenkins jenkins 119 Apr 14 12:03 .dockerignore 12:05:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:03 .git 12:05:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:03 .github 12:05:18 -rw-rw-r-- 1 jenkins jenkins 104 Apr 14 12:03 .gitignore 12:05:18 drwx------ 3 jenkins jenkins 4096 Apr 14 12:04 .semver 12:05:18 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 14 12:03 Attribution.txt 12:05:18 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 14 12:03 CHANGELOG.md 12:05:18 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 14 12:03 Dockerfile 12:05:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 12:03 GOVERNANCE.md 12:05:18 -rw-rw-r-- 1 jenkins jenkins 688 Apr 14 12:03 Jenkinsfile 12:05:18 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 14 12:03 LICENSE 12:05:18 -rw-rw-r-- 1 jenkins jenkins 618 Apr 14 12:03 OWNERS.md 12:05:18 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 14 12:03 README.md 12:05:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 12:04 VERSION 12:05:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 12:03 bin 12:05:18 -rw-r--r-- 1 jenkins jenkins 10 Apr 14 12:05 coverage.out 12:05:18 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 14 12:03 go.mod 12:05:18 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 14 12:03 go.sum 12:05:18 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 14 12:03 main.go 12:05:18 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 14 12:03 makefile 12:05:18 drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:03 res 12:05:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:03 snap [Pipeline] isUnix [Pipeline] sh 12:05:18 + 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=dcfedea6795a1a0014dd0e75b37fbe629c32554f --label arch=amd64 --label version=0.0.0 . 12:05:18 Sending build context to Docker daemon 3.008MB 12:05:18 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:05:18 Step 2/27 : FROM ${BASE} AS builder 12:05:18 ---> d4cc8548b774 12:05:18 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:18 ---> Running in c210c92810cb 12:05:18 Removing intermediate container c210c92810cb 12:05:18 ---> aa13559a1196 12:05:18 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:18 ---> Running in 85707ee5c97a 12:05:18 Removing intermediate container 85707ee5c97a 12:05:18 ---> 4a68880f6fb2 12:05:18 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:18 ---> Running in 22122fd2124e 12:05:19 Removing intermediate container 22122fd2124e 12:05:19 ---> e9945807838a 12:05:19 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:19 ---> Running in 3a65dd7b916e 12:05:19 Removing intermediate container 3a65dd7b916e 12:05:19 ---> 21476d049603 12:05:19 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:19 ---> Running in 0fdce4230b07 12:05:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:21 OK: 221 MiB in 52 packages 12:05:21 Removing intermediate container 0fdce4230b07 12:05:21 ---> e8a01223385a 12:05:21 Step 8/27 : WORKDIR /app 12:05:21 ---> Running in c7c734aa0a3a 12:05:21 Removing intermediate container c7c734aa0a3a 12:05:21 ---> 6bc1361b7f89 12:05:21 Step 9/27 : COPY go.mod vendor* ./ 12:05:21 ---> fe7f8f758acd 12:05:21 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:21 ---> Running in cd3df406930e 12:05:22 Removing intermediate container cd3df406930e 12:05:22 ---> 9b2dde751ea5 12:05:22 Step 11/27 : COPY . . 12:05:22 ---> 72f973cfb3f8 12:05:22 Step 12/27 : ARG MAKE="make build" 12:05:22 ---> Running in d1216afaa17f 12:05:22 Removing intermediate container d1216afaa17f 12:05:22 ---> dabaa9a5f759 12:05:22 Step 13/27 : RUN $MAKE 12:05:22 ---> Running in 04752b5051dc 12:05:23 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:05:41 Removing intermediate container 04752b5051dc 12:05:41 ---> 6b60fd9f6567 12:05:41 Step 14/27 : FROM alpine:3.14 12:05:41 3.14: Pulling from library/alpine 12:05:41 8663204ce13b: Pulling fs layer 12:05:41 8663204ce13b: Verifying Checksum 12:05:41 8663204ce13b: Download complete 12:05:41 8663204ce13b: Pull complete 12:05:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:41 Status: Downloaded newer image for alpine:3.14 12:05:41 ---> e04c818066af 12:05:41 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:41 ---> Running in 7f7a61589096 12:05:41 Removing intermediate container 7f7a61589096 12:05:41 ---> 10f870a45982 12:05:41 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:41 ---> Running in c73974ac397f 12:05:41 Removing intermediate container c73974ac397f 12:05:41 ---> 3ac90b9e9607 12:05:41 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:41 ---> Running in 07434f5d6a82 12:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:05:42 (1/7) Installing ca-certificates (20211220-r0) 12:05:42 (2/7) Installing dumb-init (1.2.5-r1) 12:05:42 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:05:42 (4/7) Installing libsodium (1.0.18-r0) 12:05:42 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:42 (6/7) Installing libzmq (4.3.4-r0) 12:05:42 (7/7) Installing zeromq (4.3.4-r0) 12:05:42 Executing busybox-1.33.1-r7.trigger 12:05:42 Executing ca-certificates-20211220-r0.trigger 12:05:42 OK: 9 MiB in 21 packages 12:05:42 Removing intermediate container 07434f5d6a82 12:05:42 ---> 78e69007d015 12:05:42 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:42 ---> d075b642b9f5 12:05:42 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:43 ---> 878998cc5c46 12:05:43 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:43 ---> bacf8e38fdad 12:05:43 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:43 ---> abe86b829420 12:05:43 Step 22/27 : EXPOSE 48095 12:05:43 ---> Running in 80cb1a983995 12:05:43 Removing intermediate container 80cb1a983995 12:05:43 ---> 268b65a3425e 12:05:43 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:43 ---> Running in ac50f0c00eb6 12:05:43 Removing intermediate container ac50f0c00eb6 12:05:43 ---> 3067d2250bcc 12:05:43 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:44 ---> Running in af770d601249 12:05:44 Removing intermediate container af770d601249 12:05:44 ---> 22b5d6aff5a1 12:05:44 Step 25/27 : LABEL arch=amd64 12:05:44 ---> Running in 02160fcf5dd1 12:05:44 Removing intermediate container 02160fcf5dd1 12:05:44 ---> a7643cd1704f 12:05:44 Step 26/27 : LABEL git_sha=dcfedea6795a1a0014dd0e75b37fbe629c32554f 12:05:44 ---> Running in 5f92bdd2bf3c 12:05:44 Removing intermediate container 5f92bdd2bf3c 12:05:44 ---> 2fe0c489a238 12:05:44 Step 27/27 : LABEL version=0.0.0 12:05:44 ---> Running in c63ed74c66cc 12:05:44 Removing intermediate container c63ed74c66cc 12:05:44 ---> 1195cf5eea6c 12:05:44 [Warning] One or more build-args [ARCH] were not consumed 12:05:44 Successfully built 1195cf5eea6c 12:05:44 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 12:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:45 12:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:45 latest: Pulling from edgex-lftools-log-publisher 12:05:45 5eb5b503b376: Pulling fs layer 12:05:45 5c69ac0246d0: Pulling fs layer 12:05:45 ec43610c2a17: Pulling fs layer 12:05:45 3a2ae6a8a46f: Pulling fs layer 12:05:45 33b1e0a273af: Pulling fs layer 12:05:45 5d3b04190fa2: Pulling fs layer 12:05:45 2f39f015ded8: Pulling fs layer 12:05:45 3a2ae6a8a46f: Waiting 12:05:45 33b1e0a273af: Waiting 12:05:45 5d3b04190fa2: Waiting 12:05:45 5c69ac0246d0: Verifying Checksum 12:05:45 5c69ac0246d0: Download complete 12:05:45 3a2ae6a8a46f: Download complete 12:05:45 ec43610c2a17: Verifying Checksum 12:05:45 ec43610c2a17: Download complete 12:05:45 33b1e0a273af: Verifying Checksum 12:05:45 33b1e0a273af: Download complete 12:05:45 5d3b04190fa2: Verifying Checksum 12:05:45 5d3b04190fa2: Download complete 12:05:46 5eb5b503b376: Verifying Checksum 12:05:46 5eb5b503b376: Download complete 12:05:46 2f39f015ded8: Verifying Checksum 12:05:46 2f39f015ded8: Download complete 12:05:47 5eb5b503b376: Pull complete 12:05:47 5c69ac0246d0: Pull complete 12:05:47 ec43610c2a17: Pull complete 12:05:47 3a2ae6a8a46f: Pull complete 12:05:48 33b1e0a273af: Pull complete 12:05:48 5d3b04190fa2: Pull complete 12:05:52 2f39f015ded8: Pull complete 12:05:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:52 prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container 12:05:52 $ 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-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:54 $ docker top e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:55 ---> job-cost.sh 12:05:55 lf-activate-venv: SKIPPING 12:05:55 INFO: No Stack... 12:05:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:56 INFO: Archiving Costs [Pipeline] sh 12:05:56 + cat /w/workspace/_app-service-configurable_PR-398/archives/cost.csv 12:05:56 + cut -d, -f6 [Pipeline] lock 12:05:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] 12:05:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] did not exist. Created. 12:05:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:57 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:57 Stashed 1 file(s) [Pipeline] } 12:05:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:57 $ docker stop --time=1 e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 12:05:58 $ docker rm -f e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 12:05:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20942 in /w/workspace/_app-service-configurable_PR-398 [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] ws 12:05:58 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:05:59 Selected Git installation does not exist. Using Default 12:05:59 The recommended git tool is: NONE 12:06:04 using credential edgex-jenkins-ssh 12:06:04 Cloning the remote Git repository 12:06:04 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:04 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:04 > git --version # timeout=10 12:06:04 > git --version # 'git version 2.25.1' 12:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:06 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit dcfedea6795a1a0014dd0e75b37fbe629c32554f 12:06:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:06 > git config core.sparsecheckout # timeout=10 12:06:06 > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 12:06:06 Merge succeeded, producing dcfedea6795a1a0014dd0e75b37fbe629c32554f 12:06:06 Checking out Revision dcfedea6795a1a0014dd0e75b37fbe629c32554f (PR-398) 12:06:06 > git remote # timeout=10 12:06:06 > git config --get remote.origin.url # timeout=10 12:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:06 > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 12:06:06 > git rev-parse HEAD^{commit} # timeout=10 12:06:06 > git config core.sparsecheckout # timeout=10 12:06:06 > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 12:06:10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:10 > git --version # timeout=10 12:06:10 > git --version # 'git version 2.25.1' 12:06:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:12 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:12 Dload Upload Total Spent Left Speed 12:06:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 12:06:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:12 + sudo tee /etc/docker/daemon.new 12:06:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:12 { 12:06:12 "registry-mirrors": [ 12:06:12 "https://nexus3.edgexfoundry.org:10001" 12:06:12 ], 12:06:12 "bip": "10.250.0.254/24", 12:06:12 "hosts": [ 12:06:12 "tcp://0.0.0.0:5555", 12:06:12 "unix:///var/run/docker.sock" 12:06:12 ], 12:06:12 "mtu": 1458, 12:06:12 "selinux-enabled": true, 12:06:12 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:12 } [Pipeline] sh 12:06:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:32 provisioning config files... 12:06:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7540075692543433528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:32 ---> docker-login.sh 12:06:32 nexus3.edgexfoundry.org:10001 12:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:33 Configure a credential helper to remove this warning. See 12:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:33 12:06:33 Login Succeeded 12:06:33 nexus3.edgexfoundry.org:10002 12:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:34 Configure a credential helper to remove this warning. See 12:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:34 12:06:34 Login Succeeded 12:06:34 nexus3.edgexfoundry.org:10003 12:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:34 Configure a credential helper to remove this warning. See 12:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:34 12:06:34 Login Succeeded 12:06:34 nexus3.edgexfoundry.org:10004 12:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:35 Configure a credential helper to remove this warning. See 12:06:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:35 12:06:35 Login Succeeded 12:06:35 docker.io 12:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:36 Configure a credential helper to remove this warning. See 12:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:36 12:06:36 Login Succeeded 12:06:36 ---> docker-login.sh ends [Pipeline] } 12:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:36 ========================================================= 12:06:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:06:37 + 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 . 12:06:37 Sending build context to Docker daemon 210.4kB 12:06:37 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:37 Step 2/13 : FROM ${BASE} AS builder 12:06:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:37 9b3977197b4f: Pulling fs layer 12:06:37 1a89e8eeedd5: Pulling fs layer 12:06:37 94645a83ff95: Pulling fs layer 12:06:37 3f3a8bcf1eab: Pulling fs layer 12:06:37 0c92f367c5e7: Pulling fs layer 12:06:37 f7c0051592d6: Pulling fs layer 12:06:37 a227ed2f7395: Pulling fs layer 12:06:37 7b1c46037f91: Pulling fs layer 12:06:37 f7c0051592d6: Waiting 12:06:37 3f3a8bcf1eab: Waiting 12:06:37 a227ed2f7395: Waiting 12:06:37 7b1c46037f91: Waiting 12:06:37 0c92f367c5e7: Waiting 12:06:37 94645a83ff95: Verifying Checksum 12:06:37 94645a83ff95: Download complete 12:06:37 1a89e8eeedd5: Verifying Checksum 12:06:37 1a89e8eeedd5: Download complete 12:06:37 0c92f367c5e7: Verifying Checksum 12:06:37 0c92f367c5e7: Download complete 12:06:37 f7c0051592d6: Verifying Checksum 12:06:37 f7c0051592d6: Download complete 12:06:37 9b3977197b4f: Verifying Checksum 12:06:37 9b3977197b4f: Download complete 12:06:37 a227ed2f7395: Verifying Checksum 12:06:37 a227ed2f7395: Download complete 12:06:38 9b3977197b4f: Pull complete 12:06:39 1a89e8eeedd5: Pull complete 12:06:39 94645a83ff95: Pull complete 12:06:40 7b1c46037f91: Verifying Checksum 12:06:40 7b1c46037f91: Download complete 12:06:40 3f3a8bcf1eab: Verifying Checksum 12:06:40 3f3a8bcf1eab: Download complete 12:06:59 3f3a8bcf1eab: Pull complete 12:06:59 0c92f367c5e7: Pull complete 12:06:59 f7c0051592d6: Pull complete 12:06:59 a227ed2f7395: Pull complete 12:07:07 7b1c46037f91: Pull complete 12:07:07 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:07:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:07 ---> f79e39bc4007 12:07:07 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:07 ---> Running in 29c0d3b13841 12:07:08 Removing intermediate container 29c0d3b13841 12:07:08 ---> dfdd30169f01 12:07:08 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:08 ---> Running in 452ebb7c8d2b 12:07:08 Removing intermediate container 452ebb7c8d2b 12:07:08 ---> eb3861d99a8b 12:07:08 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:08 ---> Running in a8a646fa0b31 12:07:08 Removing intermediate container a8a646fa0b31 12:07:08 ---> c9860180fae8 12:07:08 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:08 ---> Running in 5a57ea7509de 12:07:10 Removing intermediate container 5a57ea7509de 12:07:10 ---> f6379f6c63d8 12:07:10 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:10 ---> Running in 546a4b8cca36 12:07:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:13 OK: 220 MiB in 52 packages 12:07:14 Removing intermediate container 546a4b8cca36 12:07:14 ---> c733461826e9 12:07:14 Step 8/13 : WORKDIR /app 12:07:14 ---> Running in 33c93f6cc740 12:07:14 Removing intermediate container 33c93f6cc740 12:07:14 ---> 9df62c3384f1 12:07:14 Step 9/13 : COPY go.mod vendor* ./ 12:07:15 ---> a8dc5689ccc2 12:07:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:15 ---> Running in 679d24d3bbd6 12:08:37 Removing intermediate container 679d24d3bbd6 12:08:37 ---> 386a7f8dc55c 12:08:37 Step 11/13 : COPY . . 12:08:37 ---> 5db256c3a4d9 12:08:37 Step 12/13 : ARG MAKE="make build" 12:08:37 ---> Running in 24fc6333de1e 12:08:37 Removing intermediate container 24fc6333de1e 12:08:37 ---> 2217234f42bb 12:08:37 Step 13/13 : RUN $MAKE 12:08:37 ---> Running in 0cc88ab1db70 12:08:37 noop 12:08:37 Removing intermediate container 0cc88ab1db70 12:08:37 ---> 8d39ea93e0a2 12:08:37 Successfully built 8d39ea93e0a2 12:08:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:37 + docker inspect -f . ci-base-image-arm64 12:08:37 . [Pipeline] withDockerContainer 12:08:37 prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container 12:08:37 $ 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 ******** ci-base-image-arm64 cat 12:08:39 $ docker top 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:40 + go version 12:08:40 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:40 $ docker stop --time=1 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada 12:08:41 $ docker rm -f 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:42 + docker inspect -f . ci-base-image-arm64 12:08:42 . [Pipeline] withDockerContainer 12:08:43 prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container 12:08:43 $ 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 ******** ci-base-image-arm64 cat 12:08:44 $ docker top f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:45 + make test 12:08:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:32 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:32 CGO_ENABLED=1 go vet ./... 12:09:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:09:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:09:50 ./bin/test-attribution-txt.sh [Pipeline] echo 12:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:50 $ docker stop --time=1 f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 12:09:52 $ docker rm -f f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:53 Warning: overwriting stash ‘coverage-report’ 12:09:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:54 + ls -al . 12:09:54 total 172 12:09:54 drwxrwxr-x 7 jenkins jenkins 4096 Apr 14 12:09 . 12:09:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 12:06 .. 12:09:54 -rw-rw-r-- 1 jenkins jenkins 119 Apr 14 12:06 .dockerignore 12:09:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:06 .git 12:09:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:06 .github 12:09:54 -rw-rw-r-- 1 jenkins jenkins 104 Apr 14 12:06 .gitignore 12:09:54 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 14 12:06 Attribution.txt 12:09:54 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 14 12:06 CHANGELOG.md 12:09:54 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 14 12:06 Dockerfile 12:09:54 -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 12:06 GOVERNANCE.md 12:09:54 -rw-rw-r-- 1 jenkins jenkins 688 Apr 14 12:06 Jenkinsfile 12:09:54 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 14 12:06 LICENSE 12:09:54 -rw-rw-r-- 1 jenkins jenkins 618 Apr 14 12:06 OWNERS.md 12:09:54 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 14 12:06 README.md 12:09:54 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 12:04 VERSION 12:09:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 12:06 bin 12:09:54 -rw-r--r-- 1 jenkins jenkins 10 Apr 14 12:08 coverage.out 12:09:54 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 14 12:06 go.mod 12:09:54 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 14 12:06 go.sum 12:09:54 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 14 12:06 main.go 12:09:54 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 14 12:06 makefile 12:09:54 drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:06 res 12:09:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:06 snap [Pipeline] isUnix [Pipeline] sh 12:09:55 + 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=dcfedea6795a1a0014dd0e75b37fbe629c32554f --label arch=arm64 --label version=0.0.0 . 12:09:55 Sending build context to Docker daemon 211.5kB 12:09:55 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:09:55 Step 2/27 : FROM ${BASE} AS builder 12:09:55 ---> 8d39ea93e0a2 12:09:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:09:55 ---> Running in 5a21e495ef62 12:09:56 Removing intermediate container 5a21e495ef62 12:09:56 ---> 6ee386dd9987 12:09:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:09:56 ---> Running in 6c8b0e7653d2 12:09:56 Removing intermediate container 6c8b0e7653d2 12:09:56 ---> 3a5a7abc3111 12:09:56 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:09:56 ---> Running in f88c13d5990d 12:09:56 Removing intermediate container f88c13d5990d 12:09:56 ---> c752c7385436 12:09:56 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:56 ---> Running in 7ac68ca53834 12:09:58 Removing intermediate container 7ac68ca53834 12:09:58 ---> a727c6037ddb 12:09:58 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:58 ---> Running in beac6af9958c 12:09:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:01 OK: 220 MiB in 52 packages 12:10:02 Removing intermediate container beac6af9958c 12:10:02 ---> 8e20c5af6d3b 12:10:02 Step 8/27 : WORKDIR /app 12:10:02 ---> Running in 034178b09729 12:10:02 Removing intermediate container 034178b09729 12:10:02 ---> 0c8b18d57463 12:10:02 Step 9/27 : COPY go.mod vendor* ./ 12:10:03 ---> 65fb91cd35fa 12:10:03 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:03 ---> Running in 933dddeeb851 12:10:05 Removing intermediate container 933dddeeb851 12:10:05 ---> aef415b38f6f 12:10:05 Step 11/27 : COPY . . 12:10:06 ---> af6690e3988d 12:10:06 Step 12/27 : ARG MAKE="make build" 12:10:06 ---> Running in 0817435e5136 12:10:06 Removing intermediate container 0817435e5136 12:10:06 ---> 657f9db608f2 12:10:06 Step 13/27 : RUN $MAKE 12:10:06 ---> Running in e36834c5c5ad 12:10:07 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:11:29 Removing intermediate container e36834c5c5ad 12:11:29 ---> e56c49a87e26 12:11:29 Step 14/27 : FROM alpine:3.14 12:11:29 3.14: Pulling from library/alpine 12:11:29 455c02918c45: Pulling fs layer 12:11:29 455c02918c45: Verifying Checksum 12:11:29 455c02918c45: Download complete 12:11:29 455c02918c45: Pull complete 12:11:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:11:29 Status: Downloaded newer image for alpine:3.14 12:11:29 ---> ac73e934f311 12:11:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:11:29 ---> Running in 52862c905547 12:11:29 Removing intermediate container 52862c905547 12:11:29 ---> 8f0a61aeecfc 12:11:29 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:11:29 ---> Running in 0b21be1f3ffc 12:11:29 Removing intermediate container 0b21be1f3ffc 12:11:29 ---> 54d01b110791 12:11:29 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:11:29 ---> Running in 9180c33199bf 12:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:11:31 (1/7) Installing ca-certificates (20211220-r0) 12:11:31 (2/7) Installing dumb-init (1.2.5-r1) 12:11:31 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:11:31 (4/7) Installing libsodium (1.0.18-r0) 12:11:31 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:11:31 (6/7) Installing libzmq (4.3.4-r0) 12:11:31 (7/7) Installing zeromq (4.3.4-r0) 12:11:31 Executing busybox-1.33.1-r7.trigger 12:11:31 Executing ca-certificates-20211220-r0.trigger 12:11:32 OK: 9 MiB in 21 packages 12:11:33 Removing intermediate container 9180c33199bf 12:11:33 ---> 1357a25a0cf0 12:11:33 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:11:33 ---> 1fa18878820e 12:11:33 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:11:34 ---> 5001bf1a94f4 12:11:34 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:11:35 ---> 1e4581287e76 12:11:35 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:11:36 ---> 8175b7954724 12:11:36 Step 22/27 : EXPOSE 48095 12:11:36 ---> Running in fc10ba5e7bab 12:11:36 Removing intermediate container fc10ba5e7bab 12:11:36 ---> caee72a67230 12:11:36 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:11:36 ---> Running in e132f3e7dd4e 12:11:36 Removing intermediate container e132f3e7dd4e 12:11:36 ---> 46e13e46c4ae 12:11:36 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:11:36 ---> Running in d3f0938c86e7 12:11:37 Removing intermediate container d3f0938c86e7 12:11:37 ---> 9e9d63bef429 12:11:37 Step 25/27 : LABEL arch=arm64 12:11:37 ---> Running in c04340aaaed7 12:11:37 Removing intermediate container c04340aaaed7 12:11:37 ---> 50de1a4cf899 12:11:37 Step 26/27 : LABEL git_sha=dcfedea6795a1a0014dd0e75b37fbe629c32554f 12:11:37 ---> Running in d77dac2d2913 12:11:37 Removing intermediate container d77dac2d2913 12:11:37 ---> b1989356b3de 12:11:37 Step 27/27 : LABEL version=0.0.0 12:11:37 ---> Running in 44e592f4faaa 12:11:38 Removing intermediate container 44e592f4faaa 12:11:38 ---> c5c6fb11d0f1 12:11:38 [Warning] One or more build-args [ARCH] were not consumed 12:11:38 Successfully built c5c6fb11d0f1 12:11:38 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 12:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:38 12:11:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:39 arm64: Pulling from edgex-lftools-log-publisher 12:11:39 8998bd30e6a1: Pulling fs layer 12:11:39 04944245beec: Pulling fs layer 12:11:39 699f458cf7ca: Pulling fs layer 12:11:39 765212b225bb: Pulling fs layer 12:11:39 f23df028b6ca: Pulling fs layer 12:11:39 d65c8cfc05b1: Pulling fs layer 12:11:39 2437ff75d9bd: Pulling fs layer 12:11:39 765212b225bb: Waiting 12:11:39 f23df028b6ca: Waiting 12:11:39 2437ff75d9bd: Waiting 12:11:39 d65c8cfc05b1: Waiting 12:11:39 04944245beec: Verifying Checksum 12:11:39 04944245beec: Download complete 12:11:39 765212b225bb: Download complete 12:11:39 f23df028b6ca: Download complete 12:11:39 d65c8cfc05b1: Verifying Checksum 12:11:39 d65c8cfc05b1: Download complete 12:11:39 699f458cf7ca: Verifying Checksum 12:11:39 699f458cf7ca: Download complete 12:11:40 8998bd30e6a1: Verifying Checksum 12:11:40 8998bd30e6a1: Download complete 12:11:42 2437ff75d9bd: Verifying Checksum 12:11:42 2437ff75d9bd: Download complete 12:11:44 8998bd30e6a1: Pull complete 12:11:45 04944245beec: Pull complete 12:11:46 699f458cf7ca: Pull complete 12:11:47 765212b225bb: Pull complete 12:11:48 f23df028b6ca: Pull complete 12:11:48 d65c8cfc05b1: Pull complete 12:12:03 2437ff75d9bd: Pull complete 12:12:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:12:04 prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container 12:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:12:06 $ docker top f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:07 ---> job-cost.sh 12:12:07 lf-activate-venv: SKIPPING 12:12:07 INFO: No Stack... 12:12:08 INFO: Retrieving Pricing Info for: v3-standard-4 12:12:08 INFO: Archiving Costs [Pipeline] sh 12:12:09 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:12:09 + cut -d, -f6 [Pipeline] lock 12:12:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] 12:12:09 Resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] did not exist. Created. 12:12:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:10 /w/workspace/app-service-configurable/1@tmp/durable-fade4ffd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:12:11 + echo total: 0.10999999940395355 [Pipeline] stash 12:12:11 Warning: overwriting stash ‘stack-cost’ 12:12:11 Stashed 1 file(s) [Pipeline] } 12:12:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:11 $ docker stop --time=1 f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 12:12:12 $ docker rm -f f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 [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 12:12:13 provisioning config files... 12:12:13 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config3036395192967292642tmp [Pipeline] { [Pipeline] sh 12:12:14 + set +x 12:12:14 + curl -s https://codecov.io/bash 12:12:14 + bash -s -- 12:12:14 12:12:14 _____ _ 12:12:14 / ____| | | 12:12:14 | | ___ __| | ___ ___ _____ __ 12:12:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:12:14 | |___| (_) | (_| | __/ (_| (_) \ V / 12:12:14 \_____\___/ \__,_|\___|\___\___/ \_/ 12:12:14 Bash-1.0.6 12:12:14 12:12:14 12:12:14 ==> git version 2.25.1 found 12:12:14 ==> 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 12:12:14 Release-Date: 2020-01-08 12:12:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:12:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:12:14 ==> Jenkins CI detected. 12:12:14 current dir:  /w/workspace/_app-service-configurable_PR-398 12:12:14 project root: . 12:12:14 --> token set from env 12:12:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:12:14 ==> Running gcov in . (disable via -X gcov) 12:12:14 ==> Python coveragepy not found 12:12:14 ==> Searching for coverage reports in: 12:12:14 + . 12:12:14 -> Found 1 reports 12:12:14 ==> Detecting git/mercurial file structure 12:12:14 ==> Reading reports 12:12:14 + ./coverage.out bytes=10 12:12:14 ==> Appending adjustments 12:12:14 https://docs.codecov.io/docs/fixing-reports 12:12:14 + Found adjustments 12:12:14 ==> Gzipping contents 12:12:14 4.0K /tmp/codecov.wZ0YcR.gz 12:12:14 ==> Uploading reports 12:12:14 url: https://codecov.io 12:12:14 query: branch=PR-398&commit=dcfedea6795a1a0014dd0e75b37fbe629c32554f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=398&job=&cmd_args= 12:12:14 -> Pinging Codecov 12:12:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-398&commit=dcfedea6795a1a0014dd0e75b37fbe629c32554f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=398&job=&cmd_args= 12:12:14 -> Uploading to 12:12:14 https://storage.googleapis.com/codecov/v4/raw/2022-04-14/A97CA9966030D2A3747ED39772930CCE/dcfedea6795a1a0014dd0e75b37fbe629c32554f/65776c48-bc58-4a99-9f7e-15f736e2c28e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220414T121214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98f2044aa142d32f78772d54df056e1c4f9193a5e565d3e3e1108a2b2c33a770 12:12:14 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:14 Dload Upload Total Spent Left Speed 12:12:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2789 --:--:-- --:--:-- --:--:-- 2789 12:12:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] } 12:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:12:16 + [ -d /w/workspace/_app-service-configurable_PR-398/archives ] 12:12:16 + ls -al /w/workspace/_app-service-configurable_PR-398/archives 12:12:16 total 16 12:12:16 drwxr-xr-x 3 root root 4096 Apr 14 12:05 . 12:12:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:05 .. 12:12:16 drwxr-xr-x 2 root root 4096 Apr 14 12:05 cost 12:12:16 -rw-r--r-- 1 root root 95 Apr 14 12:05 cost.csv 12:12:16 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-398/archives 12:12:16 + ls -al /w/workspace/_app-service-configurable_PR-398/archives 12:12:16 total 16 12:12:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 12:05 . 12:12:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:05 .. 12:12:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 12:05 cost 12:12:16 -rw-r--r-- 1 jenkins jenkins 95 Apr 14 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:12:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:12:18 ---> package-listing.sh 12:12:18 ++ facter osfamily 12:12:18 ++ tr '[:upper:]' '[:lower:]' 12:12:18 + OS_FAMILY=debian 12:12:18 + workspace=/w/workspace/_app-service-configurable_PR-398 12:12:18 + START_PACKAGES=/tmp/packages_start.txt 12:12:18 + END_PACKAGES=/tmp/packages_end.txt 12:12:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:12:18 + PACKAGES=/tmp/packages_start.txt 12:12:18 + '[' /w/workspace/_app-service-configurable_PR-398 ']' 12:12:18 + PACKAGES=/tmp/packages_end.txt 12:12:18 + case "${OS_FAMILY}" in 12:12:18 + dpkg -l 12:12:18 + grep '^ii' 12:12:18 + '[' -f /tmp/packages_start.txt ']' 12:12:18 + '[' -f /tmp/packages_end.txt ']' 12:12:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:12:18 + '[' /w/workspace/_app-service-configurable_PR-398 ']' 12:12:18 + mkdir -p /w/workspace/_app-service-configurable_PR-398/archives/ 12:12:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-398/archives/ [Pipeline] echo 12:12:18 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-398/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:12:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:12:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:19 . [Pipeline] withDockerContainer 12:12:19 prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container 12:12:19 $ 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-398/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-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:12:19 $ docker top 41b30c229c207b4f45758cd334658c01523318ca583b16cc4d5f93958272ab3c -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:19 + touch /tmp/pre-build-complete [Pipeline] sh 12:12:20 + mkdir -p /var/log/sysstat [Pipeline] sh 12:12:20 + ls /var/log/sa-host 12:12:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:20 provisioning config files... 12:12:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config5551309939818963202tmp [Pipeline] { [Pipeline] echo 12:12:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:12:21 ---> create-netrc.sh [Pipeline] } 12:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:12:21 ---> python-tools-install.sh [Pipeline] echo 12:12:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:12:22 ---> sudo-logs.sh 12:12:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:12:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:12:22 ---> job-cost.sh 12:12:22 lf-activate-venv: SKIPPING 12:12:22 DEBUG: total: 0.2199999988079071 12:12:22 INFO: Retrieving Stack Cost... 12:12:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:23 INFO: Archiving Costs [Pipeline] echo 12:12:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:12:23 ---> logs-deploy.sh 12:12:23 lf-activate-venv: SKIPPING 12:12:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-398/1 12:12:23 INFO: archiving workspace using pattern(s): 12:12:24 Archives upload complete. 12:12:24 INFO: archiving logs to Nexus