Pull request #408 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2a64409e1acb691c7a77096580297ed2c4f9923+1a526f114784ef26915ff80fd995ea89bcf8e607 (aee8d37d79c349763b0c92f0b3b2e05e7da02a74) 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-ssh8380839389272739221.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-ssh12568242366455024435.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-408/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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10500969907856576919.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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10969127849334565917.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-ssh5189252774450181561.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-408/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-408/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4691372510175122515.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-23601 in /w/workspace/_app-service-configurable_PR-408 [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-408 # 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 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit a2a64409e1acb691c7a77096580297ed2c4f9923 Merge succeeded, producing a2a64409e1acb691c7a77096580297ed2c4f9923 Checking out Revision a2a64409e1acb691c7a77096580297ed2c4f9923 (PR-408) > 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/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # 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 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # 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:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:52 ========================================================= 12:03:52 EdgeX Global Pipelines Version Info 12:03:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:52 ------------------- 12:03:52 stable info: 12:03:52 ------------------- 12:03:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:52 Message: update stable to v1.0.221 12:03:53 ------------------- 12:03:53 experimental info: 12:03:53 ------------------- 12:03:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:53 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 12:03:53 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2a6440 [Pipeline] echo 12:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:55 provisioning config files... 12:03:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config9181820167084915135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:55 ---> docker-login.sh 12:03:55 nexus3.edgexfoundry.org:10001 12:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:56 Configure a credential helper to remove this warning. See 12:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:56 12:03:56 Login Succeeded 12:03:56 nexus3.edgexfoundry.org:10002 12:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:56 Configure a credential helper to remove this warning. See 12:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:56 12:03:56 Login Succeeded 12:03:56 nexus3.edgexfoundry.org:10003 12:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:56 Configure a credential helper to remove this warning. See 12:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:56 12:03:56 Login Succeeded 12:03:56 nexus3.edgexfoundry.org:10004 12:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:56 Configure a credential helper to remove this warning. See 12:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:56 12:03:56 Login Succeeded 12:03:56 docker.io 12:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:57 Configure a credential helper to remove this warning. See 12:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:57 12:03:57 Login Succeeded 12:03:57 ---> docker-login.sh ends [Pipeline] } 12:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:03:57 + git rev-list -1 --merges a2a64409e1acb691c7a77096580297ed2c4f9923~1..a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo 12:03:57 -----------> git rev-list -1 --merges a2a64409e1acb691c7a77096580297ed2c4f9923~1..a2a64409e1acb691c7a77096580297ed2c4f9923 a2a64409e1acb691c7a77096580297ed2c4f9923 [false] [Pipeline] sh 12:03:58 + git log --format=format:%s -1 a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo 12:03:58 ========================================================= 12:03:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:03:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:58 + git log --format=format:%s -1 a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] echo 12:03:58 [semverPrep] GIT_COMMIT: a2a64409e1acb691c7a77096580297ed2c4f9923, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:03:58 [semverPrep] This is not a build commit. [Pipeline] sh 12:03:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:03:59 + grep -v github /etc/ssh/ssh_known_hosts 12:03:59 + [ -e /tmp/ssh_known_hosts ] 12:03:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:03:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:03:59 + sudo tee -a /etc/ssh/ssh_known_hosts 12:03:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:59 12:03:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:00 latest: Pulling from edgex-devops/git-semver 12:04:00 a0d0a0d46f8b: Pulling fs layer 12:04:00 3e5f54012d9b: Pulling fs layer 12:04:00 4c7163046ea9: Pulling fs layer 12:04:00 0c2d73faf560: Pulling fs layer 12:04:00 0c2d73faf560: Waiting 12:04:00 3e5f54012d9b: Verifying Checksum 12:04:00 3e5f54012d9b: Download complete 12:04:00 a0d0a0d46f8b: Verifying Checksum 12:04:00 a0d0a0d46f8b: Download complete 12:04:00 0c2d73faf560: Verifying Checksum 12:04:00 0c2d73faf560: Download complete 12:04:00 4c7163046ea9: Verifying Checksum 12:04:00 4c7163046ea9: Download complete 12:04:00 a0d0a0d46f8b: Pull complete 12:04:00 3e5f54012d9b: Pull complete 12:04:00 4c7163046ea9: Pull complete 12:04:00 0c2d73faf560: Pull complete 12:04:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:01 prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container 12:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:01 $ docker top a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:01 [ssh-agent] Looking for ssh-agent implementation... 12:04:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:02 $ docker exec a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent 12:04:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkBDHF/agent.15 12:04:02 SSH_AGENT_PID=21 12:04:02 Running ssh-add (command line suppressed) 12:04:02 Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_380469837244686536.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_380469837244686536.key) 12:04:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:02 + git tag --points-at HEAD [Pipeline] } 12:04:02 $ docker exec --env ******** --env ******** a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent -k 12:04:02 unset SSH_AUTH_SOCK; 12:04:02 unset SSH_AGENT_PID; 12:04:02 echo Agent pid 21 killed; 12:04:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:02 [ssh-agent] Looking for ssh-agent implementation... 12:04:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:03 $ docker exec a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent 12:04:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoPakaN/agent.55 12:04:03 SSH_AGENT_PID=62 12:04:03 Running ssh-add (command line suppressed) 12:04:03 Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_847927513778807296.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_847927513778807296.key) 12:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:03 + git semver init 12:04:03 # -> Open(): unable to determine branch for HEAD 12:04:03 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-408/.git 12:04:03 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-408 12:04:03 # $SEMVER_REMOTE_NAME = origin 12:04:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:03 # $SEMVER_USER_NAME = edgex-jenkins 12:04:03 # $SEMVER_BRANCH = PR-408 12:04:03 # $SEMVER_TEMP = /tmp/semver-988380114 12:04:03 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:04 # '/tmp/semver-988380114' -> '/w/workspace/_app-service-configurable_PR-408/.semver' 12:04:04 # -> Force: false 12:04:04 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-408/.semver [Pipeline] } 12:04:04 $ docker exec --env ******** --env ******** a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 ssh-agent -k 12:04:04 unset SSH_AUTH_SOCK; 12:04:04 unset SSH_AGENT_PID; 12:04:04 echo Agent pid 62 killed; 12:04:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:05 + git semver [Pipeline] } 12:04:05 $ docker stop --time=1 a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 12:04:06 $ docker rm -f a0587f907a3c3b901335109f4a46f97f864e89c6b29aa381d32bed23a392ad41 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:07 Stashed 1 file(s) [Pipeline] echo 12:04:07 [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:07 provisioning config files... 12:04:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config5739747225189605558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:08 ---> docker-login.sh 12:04:08 nexus3.edgexfoundry.org:10001 12:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:08 Configure a credential helper to remove this warning. See 12:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:08 12:04:08 Login Succeeded 12:04:08 nexus3.edgexfoundry.org:10002 12:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:08 Configure a credential helper to remove this warning. See 12:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:08 12:04:08 Login Succeeded 12:04:08 nexus3.edgexfoundry.org:10003 12:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:08 Configure a credential helper to remove this warning. See 12:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:08 12:04:08 Login Succeeded 12:04:08 nexus3.edgexfoundry.org:10004 12:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:08 Configure a credential helper to remove this warning. See 12:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:08 12:04:08 Login Succeeded 12:04:08 docker.io 12:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:09 Configure a credential helper to remove this warning. See 12:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:09 12:04:09 Login Succeeded 12:04:09 ---> docker-login.sh ends [Pipeline] } 12:04:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:09 ========================================================= 12:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:09 + 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:09 Sending build context to Docker daemon 3.043MB 12:04:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:09 Step 2/13 : FROM ${BASE} AS builder 12:04:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:09 59bf1c3509f3: Pulling fs layer 12:04:09 666ba61612fd: Pulling fs layer 12:04:09 8ed8ca486205: Pulling fs layer 12:04:09 4fe6c5a15a65: Pulling fs layer 12:04:09 22a0e8bec74d: Pulling fs layer 12:04:09 ca2b28591e48: Pulling fs layer 12:04:09 a51346096db8: Pulling fs layer 12:04:09 daebc70d1ce1: Pulling fs layer 12:04:09 0e18a0eac166: Pulling fs layer 12:04:09 4fe6c5a15a65: Waiting 12:04:09 22a0e8bec74d: Waiting 12:04:09 ca2b28591e48: Waiting 12:04:09 a51346096db8: Waiting 12:04:09 daebc70d1ce1: Waiting 12:04:09 0e18a0eac166: Waiting 12:04:09 8ed8ca486205: Verifying Checksum 12:04:09 8ed8ca486205: Download complete 12:04:09 666ba61612fd: Download complete 12:04:09 22a0e8bec74d: Verifying Checksum 12:04:09 22a0e8bec74d: Download complete 12:04:09 ca2b28591e48: Verifying Checksum 12:04:09 ca2b28591e48: Download complete 12:04:09 59bf1c3509f3: Verifying Checksum 12:04:09 59bf1c3509f3: Download complete 12:04:10 a51346096db8: Verifying Checksum 12:04:10 a51346096db8: Download complete 12:04:10 daebc70d1ce1: Verifying Checksum 12:04:10 daebc70d1ce1: Download complete 12:04:10 59bf1c3509f3: Pull complete 12:04:10 666ba61612fd: Pull complete 12:04:10 8ed8ca486205: Pull complete 12:04:10 0e18a0eac166: Verifying Checksum 12:04:10 0e18a0eac166: Download complete 12:04:10 4fe6c5a15a65: Verifying Checksum 12:04:10 4fe6c5a15a65: Download complete 12:04:15 4fe6c5a15a65: Pull complete 12:04:15 22a0e8bec74d: Pull complete 12:04:15 ca2b28591e48: Pull complete 12:04:15 a51346096db8: Pull complete 12:04:15 daebc70d1ce1: Pull complete 12:04:17 0e18a0eac166: Pull complete 12:04:17 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:17 ---> f018257e8ee9 12:04:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:18 ---> Running in bec35e38747e 12:04:18 Removing intermediate container bec35e38747e 12:04:18 ---> 666e85dd4340 12:04:18 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:19 ---> Running in c2898bb26b1f 12:04:19 Removing intermediate container c2898bb26b1f 12:04:19 ---> 02d007539684 12:04:19 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:19 ---> Running in f3262bdffbcd 12:04:19 Removing intermediate container f3262bdffbcd 12:04:19 ---> 5c63b689cc00 12:04:19 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:19 ---> Running in 33a2a1c2fc15 12:04:19 Removing intermediate container 33a2a1c2fc15 12:04:19 ---> 715ad7257095 12:04:19 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:19 ---> Running in a0e183cfb3c4 12:04:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:21 OK: 221 MiB in 52 packages 12:04:21 Removing intermediate container a0e183cfb3c4 12:04:21 ---> 016abd44aadd 12:04:21 Step 8/13 : WORKDIR /app 12:04:21 ---> Running in c39c85694378 12:04:21 Removing intermediate container c39c85694378 12:04:21 ---> 045ba5c3e748 12:04:21 Step 9/13 : COPY go.mod vendor* ./ 12:04:22 ---> 1143096aaf7d 12:04:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:22 ---> Running in 516e6b042f4c 12:04:22 Still waiting to schedule task 12:04:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:40 Removing intermediate container 516e6b042f4c 12:04:40 ---> 4378d1fdfac6 12:04:40 Step 11/13 : COPY . . 12:04:40 ---> f71fe883bf14 12:04:40 Step 12/13 : ARG MAKE="make build" 12:04:40 ---> Running in 7cefccda8364 12:04:40 Removing intermediate container 7cefccda8364 12:04:40 ---> bc6c969f1b1a 12:04:40 Step 13/13 : RUN $MAKE 12:04:40 ---> Running in ad498214b688 12:04:40 noop 12:04:40 Removing intermediate container ad498214b688 12:04:40 ---> a575e71eb7f6 12:04:40 Successfully built a575e71eb7f6 12:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:04:40 + docker inspect -f . ci-base-image-x86_64 12:04:40 . [Pipeline] withDockerContainer 12:04:40 prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container 12:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 ******** ci-base-image-x86_64 cat 12:04:41 $ docker top 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:41 + go version 12:04:41 go version go1.17.6 linux/amd64 [Pipeline] } 12:04:41 $ docker stop --time=1 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e 12:04:43 $ docker rm -f 391faa508acb0a7adb5da1724ca2f704db126aed04f26a92aa84c43d4f1f6c3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:04:43 + docker inspect -f . ci-base-image-x86_64 12:04:43 . [Pipeline] withDockerContainer 12:04:43 prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container 12:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 ******** ci-base-image-x86_64 cat 12:04:44 $ docker top d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:04:44 + make test 12:04:44 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:04:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:56 CGO_ENABLED=1 go vet ./... 12:04:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:59 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:00 $ docker stop --time=1 d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b 12:05:01 $ docker rm -f d93d71006948436f186dedd14ace23f58c0efd3de095a3a9aba0e9098840fd3b [Pipeline] // withDockerContainer [Pipeline] sh 12:05:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:03 + ls -al . 12:05:03 total 184 12:05:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:05 . 12:05:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:03 .. 12:05:03 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 12:03 .dockerignore 12:05:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:03 .git 12:05:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:03 .github 12:05:03 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 12:03 .gitignore 12:05:03 drwx------ 3 jenkins jenkins 4096 Apr 26 12:04 .semver 12:05:03 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 12:03 Attribution.txt 12:05:03 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 12:03 CHANGELOG.md 12:05:03 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 12:03 Dockerfile 12:05:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:03 GOVERNANCE.md 12:05:03 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 12:03 Jenkinsfile 12:05:03 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 12:03 LICENSE 12:05:03 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 12:03 OWNERS.md 12:05:03 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 12:03 README.md 12:05:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:04 VERSION 12:05:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:03 bin 12:05:03 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 12:04 coverage.out 12:05:03 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 12:03 go.mod 12:05:03 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 12:03 go.sum 12:05:03 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 12:03 main.go 12:05:03 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 12:03 makefile 12:05:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:03 res 12:05:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:03 snap [Pipeline] isUnix [Pipeline] sh 12:05:04 + 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=a2a64409e1acb691c7a77096580297ed2c4f9923 --label arch=amd64 --label version=0.0.0 . 12:05:04 Sending build context to Docker daemon 3.044MB 12:05:04 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:05:04 Step 2/27 : FROM ${BASE} AS builder 12:05:04 ---> a575e71eb7f6 12:05:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:04 ---> Running in 1558823e06c6 12:05:04 Removing intermediate container 1558823e06c6 12:05:04 ---> e3e1bbd30044 12:05:04 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:04 ---> Running in fa3f545b9ea0 12:05:04 Removing intermediate container fa3f545b9ea0 12:05:04 ---> 131eed5791e5 12:05:04 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:04 ---> Running in 70fbcc2b48ec 12:05:04 Removing intermediate container 70fbcc2b48ec 12:05:04 ---> 8a23db3b7991 12:05:04 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:04 ---> Running in ddeaf37eaa50 12:05:05 Removing intermediate container ddeaf37eaa50 12:05:05 ---> 87062f1103bf 12:05:05 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:05 ---> Running in b100b85dbf0e 12:05:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:06 OK: 221 MiB in 52 packages 12:05:07 Removing intermediate container b100b85dbf0e 12:05:07 ---> 4e0af6060aae 12:05:07 Step 8/27 : WORKDIR /app 12:05:07 ---> Running in e3e4f8f2f127 12:05:07 Removing intermediate container e3e4f8f2f127 12:05:07 ---> 7b1a25a6e29b 12:05:07 Step 9/27 : COPY go.mod vendor* ./ 12:05:07 ---> c1bd7c625719 12:05:07 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:07 ---> Running in 0af6935585fb 12:05:08 Removing intermediate container 0af6935585fb 12:05:08 ---> 4868a7865553 12:05:08 Step 11/27 : COPY . . 12:05:08 ---> 875bbed47701 12:05:08 Step 12/27 : ARG MAKE="make build" 12:05:08 ---> Running in f947b7dad1fb 12:05:08 Removing intermediate container f947b7dad1fb 12:05:08 ---> 0c2dbc3176f8 12:05:08 Step 13/27 : RUN $MAKE 12:05:08 ---> Running in 613545ccfe23 12:05:08 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:30 Removing intermediate container 613545ccfe23 12:05:30 ---> 900c801a96d3 12:05:30 Step 14/27 : FROM alpine:3.14 12:05:30 3.14: Pulling from library/alpine 12:05:30 8663204ce13b: Pulling fs layer 12:05:30 8663204ce13b: Verifying Checksum 12:05:30 8663204ce13b: Download complete 12:05:30 8663204ce13b: Pull complete 12:05:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:30 Status: Downloaded newer image for alpine:3.14 12:05:30 ---> e04c818066af 12:05:30 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:30 ---> Running in 2e227cb713bc 12:05:30 Removing intermediate container 2e227cb713bc 12:05:30 ---> f4f775939063 12:05:30 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:30 ---> Running in 3342b1d63260 12:05:30 Removing intermediate container 3342b1d63260 12:05:30 ---> dd74494e073c 12:05:30 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:30 ---> Running in 60d87d38742d 12:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:05:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:05:31 (1/7) Installing ca-certificates (20211220-r0) 12:05:31 (2/7) Installing dumb-init (1.2.5-r1) 12:05:31 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:05:31 (4/7) Installing libsodium (1.0.18-r0) 12:05:31 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:31 (6/7) Installing libzmq (4.3.4-r0) 12:05:31 (7/7) Installing zeromq (4.3.4-r0) 12:05:31 Executing busybox-1.33.1-r7.trigger 12:05:31 Executing ca-certificates-20211220-r0.trigger 12:05:31 OK: 9 MiB in 21 packages 12:05:32 Removing intermediate container 60d87d38742d 12:05:32 ---> cfe693b610cf 12:05:32 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:32 ---> 2500140a36c5 12:05:32 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:32 ---> fac2e6294f20 12:05:32 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:32 ---> c30e30bda8fe 12:05:32 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:32 ---> 11bac7500c63 12:05:32 Step 22/27 : EXPOSE 48095 12:05:33 ---> Running in 85ee8533781f 12:05:33 Removing intermediate container 85ee8533781f 12:05:33 ---> 6a572aa5f8d0 12:05:33 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:33 ---> Running in 8b4bac12c8a5 12:05:33 Removing intermediate container 8b4bac12c8a5 12:05:33 ---> 7af83c13d72d 12:05:33 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:33 ---> Running in 861dd2cda624 12:05:33 Removing intermediate container 861dd2cda624 12:05:33 ---> 92be340f977a 12:05:33 Step 25/27 : LABEL arch=amd64 12:05:33 ---> Running in b0484ed8d564 12:05:33 Removing intermediate container b0484ed8d564 12:05:33 ---> fe219cea3979 12:05:33 Step 26/27 : LABEL git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 12:05:33 ---> Running in fc63080fe01b 12:05:33 Removing intermediate container fc63080fe01b 12:05:33 ---> 61fa91394818 12:05:33 Step 27/27 : LABEL version=0.0.0 12:05:33 ---> Running in e7c9726debab 12:05:33 Removing intermediate container e7c9726debab 12:05:33 ---> bc66fb5c0247 12:05:33 [Warning] One or more build-args [ARCH] were not consumed 12:05:33 Successfully built bc66fb5c0247 12:05:33 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:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:34 12:05:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:34 latest: Pulling from edgex-lftools-log-publisher 12:05:34 5eb5b503b376: Pulling fs layer 12:05:34 5c69ac0246d0: Pulling fs layer 12:05:34 ec43610c2a17: Pulling fs layer 12:05:34 3a2ae6a8a46f: Pulling fs layer 12:05:34 33b1e0a273af: Pulling fs layer 12:05:34 5d3b04190fa2: Pulling fs layer 12:05:34 2f39f015ded8: Pulling fs layer 12:05:34 3a2ae6a8a46f: Waiting 12:05:34 33b1e0a273af: Waiting 12:05:34 5d3b04190fa2: Waiting 12:05:34 5c69ac0246d0: Verifying Checksum 12:05:34 5c69ac0246d0: Download complete 12:05:34 3a2ae6a8a46f: Verifying Checksum 12:05:34 3a2ae6a8a46f: Download complete 12:05:34 33b1e0a273af: Verifying Checksum 12:05:34 33b1e0a273af: Download complete 12:05:34 ec43610c2a17: Verifying Checksum 12:05:34 ec43610c2a17: Download complete 12:05:34 5d3b04190fa2: Verifying Checksum 12:05:34 5d3b04190fa2: Download complete 12:05:34 5eb5b503b376: Verifying Checksum 12:05:34 5eb5b503b376: Download complete 12:05:35 2f39f015ded8: Download complete 12:05:36 5eb5b503b376: Pull complete 12:05:36 5c69ac0246d0: Pull complete 12:05:37 ec43610c2a17: Pull complete 12:05:37 3a2ae6a8a46f: Pull complete 12:05:37 33b1e0a273af: Pull complete 12:05:37 5d3b04190fa2: Pull complete 12:05:42 2f39f015ded8: Pull complete 12:05:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:42 prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container 12:05:42 $ 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-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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:05:44 $ docker top d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:44 ---> job-cost.sh 12:05:44 lf-activate-venv: SKIPPING 12:05:44 INFO: No Stack... 12:05:45 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:45 INFO: Archiving Costs [Pipeline] sh 12:05:46 + cat /w/workspace/_app-service-configurable_PR-408/archives/cost.csv 12:05:46 + cut -d, -f6 [Pipeline] lock 12:05:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] 12:05:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] did not exist. Created. 12:05:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:46 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:46 Stashed 1 file(s) [Pipeline] } 12:05:46 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:46 $ docker stop --time=1 d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c 12:05:47 $ docker rm -f d798cca9335efa2ecd98700efa98d81a0bbcb50a4bf52a7d0d23ff1fa5d6966c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23603 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] ws 12:06:02 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:06:03 Selected Git installation does not exist. Using Default 12:06:03 The recommended git tool is: NONE 12:06:09 using credential edgex-jenkins-ssh 12:06:09 Cloning the remote Git repository 12:06:09 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:09 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:09 > git --version # timeout=10 12:06:09 > git --version # 'git version 2.25.1' 12:06:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:11 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit a2a64409e1acb691c7a77096580297ed2c4f9923 12:06:11 Merge succeeded, producing a2a64409e1acb691c7a77096580297ed2c4f9923 12:06:11 Checking out Revision a2a64409e1acb691c7a77096580297ed2c4f9923 (PR-408) 12:06:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:11 > git config core.sparsecheckout # timeout=10 12:06:11 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 12:06:11 > git remote # timeout=10 12:06:11 > git config --get remote.origin.url # timeout=10 12:06:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:11 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 12:06:11 > git rev-parse HEAD^{commit} # timeout=10 12:06:11 > git config core.sparsecheckout # timeout=10 12:06:11 > git checkout -f a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 12:06:16 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:16 > git --version # timeout=10 12:06:16 > git --version # 'git version 2.25.1' 12:06:16 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:17 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:17 Dload Upload Total Spent Left Speed 12:06:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh 12:06:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 12:06:19 sudo tee /etc/docker/daemon.new 12:06:19 { 12:06:19 "registry-mirrors": [ 12:06:19 "https://nexus3.edgexfoundry.org:10001" 12:06:19 ], 12:06:19 "bip": "10.250.0.254/24", 12:06:19 "hosts": [ 12:06:19 "tcp://0.0.0.0:5555", 12:06:19 "unix:///var/run/docker.sock" 12:06:19 ], 12:06:19 "mtu": 1458, 12:06:19 "selinux-enabled": true, 12:06:19 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:19 } [Pipeline] sh 12:06:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:38 provisioning config files... 12:06:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5298576130190923156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:39 ---> docker-login.sh 12:06:39 nexus3.edgexfoundry.org:10001 12:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:39 Configure a credential helper to remove this warning. See 12:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:39 12:06:39 Login Succeeded 12:06:39 nexus3.edgexfoundry.org:10002 12:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:40 Configure a credential helper to remove this warning. See 12:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:40 12:06:40 Login Succeeded 12:06:40 nexus3.edgexfoundry.org:10003 12:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:40 Configure a credential helper to remove this warning. See 12:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:40 12:06:40 Login Succeeded 12:06:40 nexus3.edgexfoundry.org:10004 12:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:41 Configure a credential helper to remove this warning. See 12:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:41 12:06:41 Login Succeeded 12:06:41 docker.io 12:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:42 Configure a credential helper to remove this warning. See 12:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:42 12:06:42 Login Succeeded 12:06:42 ---> docker-login.sh ends [Pipeline] } 12:06:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:42 ========================================================= 12:06:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:06:43 + 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:43 Sending build context to Docker daemon 218.1kB 12:06:43 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:43 Step 2/13 : FROM ${BASE} AS builder 12:06:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:43 9b3977197b4f: Pulling fs layer 12:06:43 1a89e8eeedd5: Pulling fs layer 12:06:43 94645a83ff95: Pulling fs layer 12:06:43 3f3a8bcf1eab: Pulling fs layer 12:06:43 0c92f367c5e7: Pulling fs layer 12:06:43 3096ccb668a1: Pulling fs layer 12:06:43 e8cf19c19ddd: Pulling fs layer 12:06:43 a4caa8a26152: Pulling fs layer 12:06:43 3096ccb668a1: Waiting 12:06:43 e8cf19c19ddd: Waiting 12:06:43 3f3a8bcf1eab: Waiting 12:06:43 a4caa8a26152: Waiting 12:06:43 0c92f367c5e7: Waiting 12:06:43 94645a83ff95: Verifying Checksum 12:06:43 94645a83ff95: Download complete 12:06:43 1a89e8eeedd5: Verifying Checksum 12:06:43 1a89e8eeedd5: Download complete 12:06:43 0c92f367c5e7: Verifying Checksum 12:06:43 0c92f367c5e7: Download complete 12:06:43 3096ccb668a1: Verifying Checksum 12:06:43 3096ccb668a1: Download complete 12:06:43 9b3977197b4f: Verifying Checksum 12:06:43 9b3977197b4f: Download complete 12:06:43 e8cf19c19ddd: Verifying Checksum 12:06:43 e8cf19c19ddd: Download complete 12:06:44 9b3977197b4f: Pull complete 12:06:45 1a89e8eeedd5: Pull complete 12:06:45 94645a83ff95: Pull complete 12:06:45 a4caa8a26152: Verifying Checksum 12:06:45 a4caa8a26152: Download complete 12:06:46 3f3a8bcf1eab: Verifying Checksum 12:06:46 3f3a8bcf1eab: Download complete 12:06:59 3f3a8bcf1eab: Pull complete 12:06:59 0c92f367c5e7: Pull complete 12:06:59 3096ccb668a1: Pull complete 12:06:59 e8cf19c19ddd: Pull complete 12:07:05 a4caa8a26152: Pull complete 12:07:05 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:06 ---> 725f1c02e7f9 12:07:06 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:06 ---> Running in 8ac9c5471d65 12:07:06 Removing intermediate container 8ac9c5471d65 12:07:06 ---> 901a450eeca0 12:07:06 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:06 ---> Running in 3a55589cb824 12:07:07 Removing intermediate container 3a55589cb824 12:07:07 ---> fbf2873e39e3 12:07:07 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:07 ---> Running in dc38e89e1b33 12:07:07 Removing intermediate container dc38e89e1b33 12:07:07 ---> 502eac479b2a 12:07:07 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:07 ---> Running in 2dd254548ed0 12:07:11 Removing intermediate container 2dd254548ed0 12:07:11 ---> 0c67cb91ad3c 12:07:11 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:11 ---> Running in e2c48f2259f0 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 e2c48f2259f0 12:07:14 ---> 7b50481e3688 12:07:14 Step 8/13 : WORKDIR /app 12:07:14 ---> Running in ee503340165c 12:07:14 Removing intermediate container ee503340165c 12:07:14 ---> 1d8e1ecad22d 12:07:14 Step 9/13 : COPY go.mod vendor* ./ 12:07:15 ---> 7691d170291a 12:07:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:15 ---> Running in 17590e734138 12:08:02 Removing intermediate container 17590e734138 12:08:02 ---> 36b46a529e59 12:08:02 Step 11/13 : COPY . . 12:08:02 ---> 1ffdd721d5e0 12:08:02 Step 12/13 : ARG MAKE="make build" 12:08:02 ---> Running in 5c176d5d9046 12:08:02 Removing intermediate container 5c176d5d9046 12:08:02 ---> 547e9a28e00c 12:08:02 Step 13/13 : RUN $MAKE 12:08:02 ---> Running in 97e52f852f96 12:08:02 noop 12:08:02 Removing intermediate container 97e52f852f96 12:08:02 ---> 507dc63a27d3 12:08:02 Successfully built 507dc63a27d3 12:08:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:02 + docker inspect -f . ci-base-image-arm64 12:08:02 . [Pipeline] withDockerContainer 12:08:02 prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container 12:08:02 $ 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:04 $ docker top 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:05 + go version 12:08:05 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:05 $ docker stop --time=1 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 12:08:07 $ docker rm -f 1f308bf0e09d9b2772798b207ad6079e85edc8d999bf26c570811dfbae51f357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:07 + docker inspect -f . ci-base-image-arm64 12:08:07 . [Pipeline] withDockerContainer 12:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container 12:08:08 $ 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:09 $ docker top bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:10 + make test 12:08:10 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:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:52 $ docker stop --time=1 bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af 12:09:54 $ docker rm -f bc1b9e4cc87bc217237375c588ef1fda498cc58ce9af1763900889e61d3d25af [Pipeline] // withDockerContainer [Pipeline] sh 12:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:55 Warning: overwriting stash ‘coverage-report’ 12:09:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:56 + ls -al . 12:09:56 total 180 12:09:56 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 12:09 . 12:09:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:06 .. 12:09:56 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 12:06 .dockerignore 12:09:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:06 .git 12:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:06 .github 12:09:56 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 12:06 .gitignore 12:09:56 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 12:06 Attribution.txt 12:09:56 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 12:06 CHANGELOG.md 12:09:56 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 12:06 Dockerfile 12:09:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:06 GOVERNANCE.md 12:09:56 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 12:06 Jenkinsfile 12:09:56 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 12:06 LICENSE 12:09:56 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 12:06 OWNERS.md 12:09:56 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 12:06 README.md 12:09:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:04 VERSION 12:09:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:06 bin 12:09:56 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 12:08 coverage.out 12:09:56 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 12:06 go.mod 12:09:56 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 12:06 go.sum 12:09:56 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 12:06 main.go 12:09:56 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 12:06 makefile 12:09:56 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:06 res 12:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:06 snap [Pipeline] isUnix [Pipeline] sh 12:09:56 + 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=a2a64409e1acb691c7a77096580297ed2c4f9923 --label arch=arm64 --label version=0.0.0 . 12:09:56 Sending build context to Docker daemon 219.1kB 12:09:57 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:09:57 Step 2/27 : FROM ${BASE} AS builder 12:09:57 ---> 507dc63a27d3 12:09:57 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:09:57 ---> Running in e23b9d38af8d 12:09:57 Removing intermediate container e23b9d38af8d 12:09:57 ---> 8568b8aca195 12:09:57 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:09:57 ---> Running in 3168ccd03555 12:09:58 Removing intermediate container 3168ccd03555 12:09:58 ---> 6f3efc8252d4 12:09:58 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:09:58 ---> Running in 9b6c44a98c5c 12:09:58 Removing intermediate container 9b6c44a98c5c 12:09:58 ---> e11919844119 12:09:58 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:58 ---> Running in 1a911650c054 12:10:00 Removing intermediate container 1a911650c054 12:10:00 ---> a6498b28bfe6 12:10:00 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:00 ---> Running in 68d45cfabda2 12:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:02 OK: 220 MiB in 52 packages 12:10:03 Removing intermediate container 68d45cfabda2 12:10:03 ---> bb82db2f9831 12:10:03 Step 8/27 : WORKDIR /app 12:10:03 ---> Running in 896273848e7d 12:10:04 Removing intermediate container 896273848e7d 12:10:04 ---> 70fa20582a41 12:10:04 Step 9/27 : COPY go.mod vendor* ./ 12:10:04 ---> b97c865c89bb 12:10:04 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:04 ---> Running in 6c090ff3a002 12:10:06 Removing intermediate container 6c090ff3a002 12:10:06 ---> 82d34bd491e3 12:10:06 Step 11/27 : COPY . . 12:10:07 ---> 338edda95569 12:10:07 Step 12/27 : ARG MAKE="make build" 12:10:07 ---> Running in 0e7013b3bd10 12:10:07 Removing intermediate container 0e7013b3bd10 12:10:07 ---> 972ec23990e1 12:10:07 Step 13/27 : RUN $MAKE 12:10:07 ---> Running in bd3e1607f766 12:10:08 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:12:15 Removing intermediate container bd3e1607f766 12:12:15 ---> a6cbce0512fa 12:12:15 Step 14/27 : FROM alpine:3.14 12:12:15 3.14: Pulling from library/alpine 12:12:15 455c02918c45: Pulling fs layer 12:12:15 455c02918c45: Download complete 12:12:15 455c02918c45: Pull complete 12:12:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:12:15 Status: Downloaded newer image for alpine:3.14 12:12:15 ---> ac73e934f311 12:12:15 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:12:15 ---> Running in 3a8359fae285 12:12:15 Removing intermediate container 3a8359fae285 12:12:15 ---> 1cffb2f31150 12:12:15 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:12:15 ---> Running in c8c77c018fa1 12:12:15 Removing intermediate container c8c77c018fa1 12:12:15 ---> 8787665e0311 12:12:15 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:12:15 ---> Running in c57edca490ff 12:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:12:15 (1/7) Installing ca-certificates (20211220-r0) 12:12:15 (2/7) Installing dumb-init (1.2.5-r1) 12:12:15 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:12:15 (4/7) Installing libsodium (1.0.18-r0) 12:12:15 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:12:15 (6/7) Installing libzmq (4.3.4-r0) 12:12:15 (7/7) Installing zeromq (4.3.4-r0) 12:12:15 Executing busybox-1.33.1-r7.trigger 12:12:15 Executing ca-certificates-20211220-r0.trigger 12:12:15 OK: 9 MiB in 21 packages 12:12:15 Removing intermediate container c57edca490ff 12:12:15 ---> c9107084f0bf 12:12:15 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:12:15 ---> c3f22999a3ec 12:12:15 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:12:15 ---> b859f580a5cf 12:12:15 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:12:15 ---> b5ebee224ff4 12:12:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:12:15 ---> 739ae323ed5b 12:12:15 Step 22/27 : EXPOSE 48095 12:12:15 ---> Running in 2fcbb6ed32c5 12:12:15 Removing intermediate container 2fcbb6ed32c5 12:12:15 ---> a1d2c11b63b0 12:12:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:12:15 ---> Running in a89195fcb859 12:12:15 Removing intermediate container a89195fcb859 12:12:15 ---> f8f2976f160c 12:12:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:12:15 ---> Running in d002be3a454b 12:12:15 Removing intermediate container d002be3a454b 12:12:15 ---> 6e68dec86079 12:12:15 Step 25/27 : LABEL arch=arm64 12:12:15 ---> Running in 202ba8873c93 12:12:15 Removing intermediate container 202ba8873c93 12:12:15 ---> e39743536486 12:12:15 Step 26/27 : LABEL git_sha=a2a64409e1acb691c7a77096580297ed2c4f9923 12:12:15 ---> Running in 79def97dd257 12:12:15 Removing intermediate container 79def97dd257 12:12:15 ---> 6425a58700d4 12:12:15 Step 27/27 : LABEL version=0.0.0 12:12:15 ---> Running in c1cfcfb4fcb6 12:12:15 Removing intermediate container c1cfcfb4fcb6 12:12:15 ---> ff366eb39ab4 12:12:15 [Warning] One or more build-args [ARCH] were not consumed 12:12:15 Successfully built ff366eb39ab4 12:12:15 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:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:16 12:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:12:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:17 arm64: Pulling from edgex-lftools-log-publisher 12:12:17 8998bd30e6a1: Pulling fs layer 12:12:17 04944245beec: Pulling fs layer 12:12:17 699f458cf7ca: Pulling fs layer 12:12:17 765212b225bb: Pulling fs layer 12:12:17 f23df028b6ca: Pulling fs layer 12:12:17 d65c8cfc05b1: Pulling fs layer 12:12:17 2437ff75d9bd: Pulling fs layer 12:12:17 f23df028b6ca: Waiting 12:12:17 d65c8cfc05b1: Waiting 12:12:17 2437ff75d9bd: Waiting 12:12:17 765212b225bb: Waiting 12:12:17 04944245beec: Download complete 12:12:17 765212b225bb: Verifying Checksum 12:12:17 765212b225bb: Download complete 12:12:17 f23df028b6ca: Verifying Checksum 12:12:17 f23df028b6ca: Download complete 12:12:17 d65c8cfc05b1: Download complete 12:12:17 699f458cf7ca: Verifying Checksum 12:12:17 699f458cf7ca: Download complete 12:12:17 8998bd30e6a1: Verifying Checksum 12:12:17 8998bd30e6a1: Download complete 12:12:20 2437ff75d9bd: Verifying Checksum 12:12:20 2437ff75d9bd: Download complete 12:12:21 8998bd30e6a1: Pull complete 12:12:22 04944245beec: Pull complete 12:12:23 699f458cf7ca: Pull complete 12:12:23 765212b225bb: Pull complete 12:12:24 f23df028b6ca: Pull complete 12:12:24 d65c8cfc05b1: Pull complete 12:12:40 2437ff75d9bd: Pull complete 12:12:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:12:40 prd-ubuntu20.04-docker-arm64-4c-16g-23603 does not seem to be running inside a container 12:12:40 $ 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:42 $ docker top f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:43 ---> job-cost.sh 12:12:43 lf-activate-venv: SKIPPING 12:12:43 INFO: No Stack... 12:12:44 INFO: Retrieving Pricing Info for: v3-standard-4 12:12:45 INFO: Archiving Costs [Pipeline] sh 12:12:45 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:12:45 + cut -d, -f6 [Pipeline] lock 12:12:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] 12:12:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] did not exist. Created. 12:12:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:46 /w/workspace/app-service-configurable/1@tmp/durable-59b13769/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:12:47 + echo total: 0.10999999940395355 [Pipeline] stash 12:12:47 Warning: overwriting stash ‘stack-cost’ 12:12:47 Stashed 1 file(s) [Pipeline] } 12:12:47 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:47 $ docker stop --time=1 f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c 12:12:49 $ docker rm -f f21a4268b4ae6b5cb8aec25df39a9bbb322f05934795cf379a72b630239b394c [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:50 provisioning config files... 12:12:50 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config3250002320797306984tmp [Pipeline] { [Pipeline] sh 12:12:50 + set +x 12:12:50 + curl -s https://codecov.io/bash 12:12:50 + bash -s -- 12:12:50 12:12:50 _____ _ 12:12:50 / ____| | | 12:12:50 | | ___ __| | ___ ___ _____ __ 12:12:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:12:50 | |___| (_) | (_| | __/ (_| (_) \ V / 12:12:50 \_____\___/ \__,_|\___|\___\___/ \_/ 12:12:50 Bash-1.0.6 12:12:50 12:12:50 12:12:50 ==> git version 2.25.1 found 12:12:50 ==> 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:50 Release-Date: 2020-01-08 12:12:50 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:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:12:50 ==> Jenkins CI detected. 12:12:50 current dir:  /w/workspace/_app-service-configurable_PR-408 12:12:50 project root: . 12:12:50 --> token set from env 12:12:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:12:50 ==> Running gcov in . (disable via -X gcov) 12:12:50 ==> Python coveragepy not found 12:12:50 ==> Searching for coverage reports in: 12:12:50 + . 12:12:50 -> Found 1 reports 12:12:50 ==> Detecting git/mercurial file structure 12:12:50 ==> Reading reports 12:12:50 + ./coverage.out bytes=10 12:12:50 ==> Appending adjustments 12:12:50 https://docs.codecov.io/docs/fixing-reports 12:12:50 + Found adjustments 12:12:50 ==> Gzipping contents 12:12:50 4.0K /tmp/codecov.zGGnLf.gz 12:12:50 ==> Uploading reports 12:12:50 url: https://codecov.io 12:12:50 query: branch=PR-408&commit=a2a64409e1acb691c7a77096580297ed2c4f9923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= 12:12:50 -> Pinging Codecov 12:12:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-408&commit=a2a64409e1acb691c7a77096580297ed2c4f9923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= 12:12:51 -> Uploading to 12:12:51 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/a2a64409e1acb691c7a77096580297ed2c4f9923/1d45e28c-dd34-4006-a121-e168e741c27a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T121251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8be3148006272e3a697dbd709195e8c2876c4bf40e268f8298e9b3f6a190905 12:12:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:51 Dload Upload Total Spent Left Speed 12:12:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2231 --:--:-- --:--:-- --:--:-- 2231 12:12:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/a2a64409e1acb691c7a77096580297ed2c4f9923 [Pipeline] } 12:12:51 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:53 + [ -d /w/workspace/_app-service-configurable_PR-408/archives ] 12:12:53 + ls -al /w/workspace/_app-service-configurable_PR-408/archives 12:12:53 total 16 12:12:53 drwxr-xr-x 3 root root 4096 Apr 26 12:05 . 12:12:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:05 .. 12:12:53 drwxr-xr-x 2 root root 4096 Apr 26 12:05 cost 12:12:53 -rw-r--r-- 1 root root 95 Apr 26 12:05 cost.csv 12:12:53 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-408/archives 12:12:53 + ls -al /w/workspace/_app-service-configurable_PR-408/archives 12:12:53 total 16 12:12:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 12:05 . 12:12:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:05 .. 12:12:53 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 12:05 cost 12:12:53 -rw-r--r-- 1 jenkins jenkins 95 Apr 26 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:12:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:12:54 ---> package-listing.sh 12:12:54 ++ facter osfamily 12:12:54 ++ tr '[:upper:]' '[:lower:]' 12:12:55 + OS_FAMILY=debian 12:12:55 + workspace=/w/workspace/_app-service-configurable_PR-408 12:12:55 + START_PACKAGES=/tmp/packages_start.txt 12:12:55 + END_PACKAGES=/tmp/packages_end.txt 12:12:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:12:55 + PACKAGES=/tmp/packages_start.txt 12:12:55 + '[' /w/workspace/_app-service-configurable_PR-408 ']' 12:12:55 + PACKAGES=/tmp/packages_end.txt 12:12:55 + case "${OS_FAMILY}" in 12:12:55 + dpkg -l 12:12:55 + grep '^ii' 12:12:55 + '[' -f /tmp/packages_start.txt ']' 12:12:55 + '[' -f /tmp/packages_end.txt ']' 12:12:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:12:55 + '[' /w/workspace/_app-service-configurable_PR-408 ']' 12:12:55 + mkdir -p /w/workspace/_app-service-configurable_PR-408/archives/ 12:12:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-408/archives/ [Pipeline] echo 12:12:55 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-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:12:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:12:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:55 . [Pipeline] withDockerContainer 12:12:56 prd-ubuntu20.04-docker-8c-8g-23601 does not seem to be running inside a container 12:12:56 $ 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-408/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-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:12:56 $ docker top c1ea8dd2eac8646b8bf984d4c02a5a0a5c370f80c46a863dc1bc54279a83e705 -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:56 + touch /tmp/pre-build-complete [Pipeline] sh 12:12:57 + mkdir -p /var/log/sysstat [Pipeline] sh 12:12:57 + ls /var/log/sa-host 12:12:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:57 provisioning config files... 12:12:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config256815782144536617tmp [Pipeline] { [Pipeline] echo 12:12:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:12:58 ---> create-netrc.sh [Pipeline] } 12:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:12:58 ---> python-tools-install.sh [Pipeline] echo 12:12:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:12:58 ---> sudo-logs.sh 12:12:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:12:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:12:59 ---> job-cost.sh 12:12:59 lf-activate-venv: SKIPPING 12:12:59 DEBUG: total: 0.2199999988079071 12:12:59 INFO: Retrieving Stack Cost... 12:12:59 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:00 INFO: Archiving Costs [Pipeline] echo 12:13:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:00 ---> logs-deploy.sh 12:13:00 lf-activate-venv: SKIPPING 12:13:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-408/1 12:13:00 INFO: archiving workspace using pattern(s): 12:13:01 Archives upload complete. 12:13:01 INFO: archiving logs to Nexus