Pull request #590 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b944b705d0736088afd21652de1a40d7f3ece26d+aedafe07c7f1bec7ab64e9a9ae20ab105f0fd071 (0ba7c0c6086db1dfb9a161483969cbf78cc0681d) 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-ssh12845535967919923165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3631517215776784669.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13740467819204819838.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-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16682660033130139721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 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-ssh4357829654841851173.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18208339772647007494.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4881 in /w/workspace/_app-service-configurable_PR-590 [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-590 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aedafe07c7f1bec7ab64e9a9ae20ab105f0fd071 into PR head commit b944b705d0736088afd21652de1a40d7f3ece26d Merge succeeded, producing b944b705d0736088afd21652de1a40d7f3ece26d Checking out Revision b944b705d0736088afd21652de1a40d7f3ece26d (PR-590) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:23:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:23:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:23:00 ========================================================= 12:23:00 EdgeX Global Pipelines Version Info 12:23:00 ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f b944b705d0736088afd21652de1a40d7f3ece26d # 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 aedafe07c7f1bec7ab64e9a9ae20ab105f0fd071 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b944b705d0736088afd21652de1a40d7f3ece26d # timeout=10 [Pipeline] libraryResource [Pipeline] sh 12:23:01 ------------------- 12:23:01 stable info: 12:23:01 ------------------- 12:23:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:23:01 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:23:01 Message: update stable to v1.0.253 12:23:01 ------------------- 12:23:01 experimental info: 12:23:01 ------------------- 12:23:01 Commited By: **** collab-it+edgex@linuxfoundation.org 12:23:01 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:23:01 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:23:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:23:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-590 [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-590 [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-590 [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b944b705d0736088afd21652de1a40d7f3ece26d [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b944b70 [Pipeline] echo 12:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:03 provisioning config files... 12:23:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-590@tmp/config17327042689765394096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:03 ---> docker-login.sh 12:23:03 nexus3.edgexfoundry.org:10001 12:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:04 Configure a credential helper to remove this warning. See 12:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:04 12:23:04 Login Succeeded 12:23:04 nexus3.edgexfoundry.org:10002 12:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:04 Configure a credential helper to remove this warning. See 12:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:04 12:23:04 Login Succeeded 12:23:04 nexus3.edgexfoundry.org:10003 12:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:04 Configure a credential helper to remove this warning. See 12:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:04 12:23:04 Login Succeeded 12:23:04 nexus3.edgexfoundry.org:10004 12:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:04 Configure a credential helper to remove this warning. See 12:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:04 12:23:04 Login Succeeded 12:23:04 docker.io 12:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:04 Configure a credential helper to remove this warning. See 12:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:04 12:23:04 Login Succeeded 12:23:04 ---> docker-login.sh ends [Pipeline] } 12:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:23:05 + git rev-list -1 --merges b944b705d0736088afd21652de1a40d7f3ece26d~1..b944b705d0736088afd21652de1a40d7f3ece26d [Pipeline] echo 12:23:05 -----------> git rev-list -1 --merges b944b705d0736088afd21652de1a40d7f3ece26d~1..b944b705d0736088afd21652de1a40d7f3ece26d b944b705d0736088afd21652de1a40d7f3ece26d [false] [Pipeline] sh 12:23:05 + git log --format=format:%s -1 b944b705d0736088afd21652de1a40d7f3ece26d [Pipeline] echo 12:23:05 ========================================================= 12:23:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:23:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:23:06 + git log --format=format:%s -1 b944b705d0736088afd21652de1a40d7f3ece26d [Pipeline] echo 12:23:06 [semverPrep] GIT_COMMIT: b944b705d0736088afd21652de1a40d7f3ece26d, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:23:06 [semverPrep] This is not a build commit. [Pipeline] sh 12:23:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:23:06 + grep -v github /etc/ssh/ssh_known_hosts 12:23:06 + [ -e /tmp/ssh_known_hosts ] 12:23:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:23:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:23:06 + sudo tee -a /etc/ssh/ssh_known_hosts 12:23:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:07 12:23:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:07 0.1.4: Pulling from edgex-devops/py-git-semver 12:23:07 b85a868b505f: Pulling fs layer 12:23:07 e2be974225ed: Pulling fs layer 12:23:07 339a4e72a1f5: Pulling fs layer 12:23:07 988bab9f4d93: Pulling fs layer 12:23:07 1469e6f7b9e6: Pulling fs layer 12:23:07 eaf3925da568: Pulling fs layer 12:23:07 bab4dde63d76: Pulling fs layer 12:23:07 bde34c3a00c8: Pulling fs layer 12:23:07 b352a97aabf1: Pulling fs layer 12:23:07 4872d77fe225: Pulling fs layer 12:23:07 5851b861e8e6: Pulling fs layer 12:23:07 bab4dde63d76: Waiting 12:23:07 bde34c3a00c8: Waiting 12:23:07 b352a97aabf1: Waiting 12:23:07 4872d77fe225: Waiting 12:23:07 5851b861e8e6: Waiting 12:23:07 1469e6f7b9e6: Waiting 12:23:07 eaf3925da568: Waiting 12:23:07 988bab9f4d93: Waiting 12:23:07 e2be974225ed: Verifying Checksum 12:23:07 e2be974225ed: Download complete 12:23:07 988bab9f4d93: Verifying Checksum 12:23:07 988bab9f4d93: Download complete 12:23:07 1469e6f7b9e6: Verifying Checksum 12:23:07 1469e6f7b9e6: Download complete 12:23:07 339a4e72a1f5: Verifying Checksum 12:23:07 339a4e72a1f5: Download complete 12:23:07 eaf3925da568: Verifying Checksum 12:23:07 eaf3925da568: Download complete 12:23:07 bde34c3a00c8: Download complete 12:23:07 b352a97aabf1: Download complete 12:23:07 4872d77fe225: Verifying Checksum 12:23:07 4872d77fe225: Download complete 12:23:07 b85a868b505f: Verifying Checksum 12:23:07 b85a868b505f: Download complete 12:23:07 5851b861e8e6: Verifying Checksum 12:23:07 5851b861e8e6: Download complete 12:23:08 bab4dde63d76: Verifying Checksum 12:23:08 bab4dde63d76: Download complete 12:23:09 b85a868b505f: Pull complete 12:23:09 e2be974225ed: Pull complete 12:23:09 339a4e72a1f5: Pull complete 12:23:09 988bab9f4d93: Pull complete 12:23:09 1469e6f7b9e6: Pull complete 12:23:09 eaf3925da568: Pull complete 12:23:11 bab4dde63d76: Pull complete 12:23:11 bde34c3a00c8: Pull complete 12:23:11 b352a97aabf1: Pull complete 12:23:11 4872d77fe225: Pull complete 12:23:12 5851b861e8e6: Pull complete 12:23:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:12 prd-ubuntu20.04-docker-8c-8g-4881 does not seem to be running inside a container 12:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-590 -v /w/workspace/_app-service-configurable_PR-590:/w/workspace/_app-service-configurable_PR-590:rw,z -v /w/workspace/_app-service-configurable_PR-590@tmp:/w/workspace/_app-service-configurable_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:23:16 $ docker top 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a -eo pid,comm 12:23:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:23:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:23:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:16 [ssh-agent] Looking for ssh-agent implementation... 12:23:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:16 $ docker exec 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a ssh-agent 12:23:16 SSH_AUTH_SOCK=/tmp/ssh-qlsJYtb68hnD/agent.32 12:23:16 SSH_AGENT_PID=38 12:23:16 Running ssh-add (command line suppressed) 12:23:16 Identity added: /w/workspace/_app-service-configurable_PR-590@tmp/private_key_17678772247370666631.key (/w/workspace/_app-service-configurable_PR-590@tmp/private_key_17678772247370666631.key) 12:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:17 + git tag --points-at HEAD [Pipeline] } 12:23:17 $ docker exec --env ******** --env ******** 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a ssh-agent -k 12:23:17 unset SSH_AUTH_SOCK; 12:23:17 unset SSH_AGENT_PID; 12:23:17 echo Agent pid 38 killed; 12:23:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:23:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:17 [ssh-agent] Looking for ssh-agent implementation... 12:23:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:17 $ docker exec 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a ssh-agent 12:23:17 SSH_AUTH_SOCK=/tmp/ssh-s8ApPsvCOJxE/agent.70 12:23:17 SSH_AGENT_PID=76 12:23:17 Running ssh-add (command line suppressed) 12:23:17 Identity added: /w/workspace/_app-service-configurable_PR-590@tmp/private_key_7503183870286503045.key (/w/workspace/_app-service-configurable_PR-590@tmp/private_key_7503183870286503045.key) 12:23:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:18 + git semver init 12:23:18 2023-08-30 12:23:18,181 [run_init] DEBUG init version:0.0.0 force:False 12:23:18 2023-08-30 12:23:18,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-590/.semver 12:23:18 2023-08-30 12:23:18,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-590/.semver 12:23:18 2023-08-30 12:23:18,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-590/.semver'], cwd=/w/workspace/_app-service-configurable_PR-590, universal_newlines=False, shell=None, istream=None) 12:23:19 2023-08-30 12:23:19,047 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-590/.git/info/exclude 12:23:19 2023-08-30 12:23:19,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-590/.semver/PR-590 with force:False 12:23:19 2023-08-30 12:23:19,048 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-590/.semver/PR-590 12:23:19 2023-08-30 12:23:19,052 [execute] INFO git cat-file --batch-check 12:23:19 2023-08-30 12:23:19,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-590/.semver, universal_newlines=False, shell=None, istream=) 12:23:19 2023-08-30 12:23:19,058 [execute] INFO git cat-file --batch 12:23:19 2023-08-30 12:23:19,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-590/.semver, universal_newlines=False, shell=None, istream=) 12:23:19 2023-08-30 12:23:19,064 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-590/.semver/PR-590 12:23:19 0.0.0 [Pipeline] } 12:23:19 $ docker exec --env ******** --env ******** 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a ssh-agent -k 12:23:19 unset SSH_AUTH_SOCK; 12:23:19 unset SSH_AGENT_PID; 12:23:19 echo Agent pid 76 killed; 12:23:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:23:19 + git semver [Pipeline] } 12:23:20 $ docker stop --time=1 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a 12:23:21 $ docker rm -f --volumes 59aca2c5de3cf55621d17754764c07671be33f4a519c566a4e7a9d97aeaa672a [Pipeline] // withDockerContainer [Pipeline] sh 12:23:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:23:22 Stashed 1 file(s) [Pipeline] echo 12:23:22 [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:23:22 provisioning config files... 12:23:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-590@tmp/config14088784149806004973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:22 ---> docker-login.sh 12:23:22 nexus3.edgexfoundry.org:10001 12:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:22 Configure a credential helper to remove this warning. See 12:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:22 12:23:22 Login Succeeded 12:23:22 nexus3.edgexfoundry.org:10002 12:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:22 Configure a credential helper to remove this warning. See 12:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:22 12:23:22 Login Succeeded 12:23:22 nexus3.edgexfoundry.org:10003 12:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:23 Configure a credential helper to remove this warning. See 12:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:23 12:23:23 Login Succeeded 12:23:23 nexus3.edgexfoundry.org:10004 12:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:23 Configure a credential helper to remove this warning. See 12:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:23 12:23:23 Login Succeeded 12:23:23 docker.io 12:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:23 Configure a credential helper to remove this warning. See 12:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:23 12:23:23 Login Succeeded 12:23:23 ---> docker-login.sh ends [Pipeline] } 12:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:23 ========================================================= 12:23:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:23:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:23:24 Sending build context to Docker daemon 3.333MB 12:23:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:23:24 Step 2/12 : FROM ${BASE} AS builder 12:23:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:23:24 4db1b89c0bd1: Pulling fs layer 12:23:24 6911f1a30b25: Pulling fs layer 12:23:24 e194b8c5c2a9: Pulling fs layer 12:23:24 6863d3e3a2b1: Pulling fs layer 12:23:24 ec0bb842ea78: Pulling fs layer 12:23:24 40a00589a448: Pulling fs layer 12:23:24 6c08303d61cc: Pulling fs layer 12:23:24 798269fcf238: Pulling fs layer 12:23:24 6863d3e3a2b1: Waiting 12:23:24 ec0bb842ea78: Waiting 12:23:24 798269fcf238: Waiting 12:23:24 40a00589a448: Waiting 12:23:24 6c08303d61cc: Waiting 12:23:24 6911f1a30b25: Verifying Checksum 12:23:24 6911f1a30b25: Download complete 12:23:24 6863d3e3a2b1: Verifying Checksum 12:23:24 6863d3e3a2b1: Download complete 12:23:24 ec0bb842ea78: Verifying Checksum 12:23:24 ec0bb842ea78: Download complete 12:23:24 4db1b89c0bd1: Download complete 12:23:24 40a00589a448: Verifying Checksum 12:23:24 40a00589a448: Download complete 12:23:24 4db1b89c0bd1: Pull complete 12:23:24 6911f1a30b25: Pull complete 12:23:25 e194b8c5c2a9: Verifying Checksum 12:23:25 e194b8c5c2a9: Download complete 12:23:25 798269fcf238: Verifying Checksum 12:23:25 6c08303d61cc: Verifying Checksum 12:23:25 6c08303d61cc: Download complete 12:23:28 e194b8c5c2a9: Pull complete 12:23:28 6863d3e3a2b1: Pull complete 12:23:28 ec0bb842ea78: Pull complete 12:23:28 40a00589a448: Pull complete 12:23:30 6c08303d61cc: Pull complete 12:23:31 798269fcf238: Pull complete 12:23:31 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:23:31 ---> ec979cd7f677 12:23:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:23:37 Still waiting to schedule task 12:23:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:23:37 ---> Running in 9e2dc3eef463 12:23:37 Removing intermediate container 9e2dc3eef463 12:23:37 ---> fe860ad354d8 12:23:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:23:37 ---> Running in 2b6c4ee770d1 12:23:37 Removing intermediate container 2b6c4ee770d1 12:23:37 ---> 19c98e1da021 12:23:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:23:37 ---> Running in 31b029f9643d 12:23:37 Removing intermediate container 31b029f9643d 12:23:37 ---> 0763296a0e2e 12:23:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:37 ---> Running in d874eb3d726b 12:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:23:38 OK: 265 MiB in 53 packages 12:23:38 Removing intermediate container d874eb3d726b 12:23:38 ---> f19477de7a83 12:23:38 Step 7/12 : WORKDIR /app 12:23:38 ---> Running in 1cffc8350e93 12:23:38 Removing intermediate container 1cffc8350e93 12:23:38 ---> ffc263b3fc28 12:23:38 Step 8/12 : COPY go.mod vendor* ./ 12:23:38 ---> 4bd1d8c0d77b 12:23:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:23:38 ---> Running in 6c283da0bd6f 12:24:46 Removing intermediate container 6c283da0bd6f 12:24:46 ---> d89ccea69eb8 12:24:46 Step 10/12 : COPY . . 12:24:46 ---> 17d201f526fd 12:24:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:24:46 ---> Running in 4822bce8cd78 12:24:46 Removing intermediate container 4822bce8cd78 12:24:46 ---> bf87c5f8f9ec 12:24:46 Step 12/12 : RUN $MAKE 12:24:46 ---> Running in 945506cc870b 12:24:46 noop 12:24:46 Removing intermediate container 945506cc870b 12:24:46 ---> fa213886cefb 12:24:46 Successfully built fa213886cefb 12:24:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:46 + docker inspect -f . ci-base-image-x86_64 12:24:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:47 prd-ubuntu20.04-docker-8c-8g-4881 does not seem to be running inside a container 12:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-590 -v /w/workspace/_app-service-configurable_PR-590:/w/workspace/_app-service-configurable_PR-590:rw,z -v /w/workspace/_app-service-configurable_PR-590@tmp:/w/workspace/_app-service-configurable_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:47 $ docker top 8bb3276d423e38d8c37822c133db99473a3f22d82426b01cd535833a1fa6c800 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:47 + go version 12:24:47 go version go1.20.6 linux/amd64 [Pipeline] } 12:24:47 $ docker stop --time=1 8bb3276d423e38d8c37822c133db99473a3f22d82426b01cd535833a1fa6c800 12:24:49 $ docker rm -f --volumes 8bb3276d423e38d8c37822c133db99473a3f22d82426b01cd535833a1fa6c800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:49 + docker inspect -f . ci-base-image-x86_64 12:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:49 prd-ubuntu20.04-docker-8c-8g-4881 does not seem to be running inside a container 12:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-590 -v /w/workspace/_app-service-configurable_PR-590:/w/workspace/_app-service-configurable_PR-590:rw,z -v /w/workspace/_app-service-configurable_PR-590@tmp:/w/workspace/_app-service-configurable_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:50 $ docker top b31a4d4075831a68dcf1380368bea508f7f1c00c31d7cb19303a19c893f64c42 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:50 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-590 [Pipeline] fileExists [Pipeline] sh 12:24:51 + make test 12:24:51 go test -race -coverprofile=coverage.out ./... 12:25:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:25:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4882 in /w/workspace/_app-service-configurable_PR-590 [Pipeline] { [Pipeline] ws 12:25:12 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:25:12 Selected Git installation does not exist. Using Default 12:25:12 The recommended git tool is: NONE 12:25:18 using credential edgex-jenkins-ssh 12:25:18 Cloning the remote Git repository 12:25:18 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:25:19 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:25:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:25:19 > git --version # timeout=10 12:25:19 > git --version # 'git version 2.25.1' 12:25:19 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:20 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:25:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:21 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:25:21 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:25:21 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:22 Merging remotes/origin/main commit aedafe07c7f1bec7ab64e9a9ae20ab105f0fd071 into PR head commit b944b705d0736088afd21652de1a40d7f3ece26d 12:25:22 Merge succeeded, producing b944b705d0736088afd21652de1a40d7f3ece26d 12:25:22 Checking out Revision b944b705d0736088afd21652de1a40d7f3ece26d (PR-590) 12:25:22 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:25:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:25:22 > git config core.sparsecheckout # timeout=10 12:25:22 > git checkout -f b944b705d0736088afd21652de1a40d7f3ece26d # timeout=10 12:25:22 > git remote # timeout=10 12:25:22 > git config --get remote.origin.url # timeout=10 12:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:22 > git merge aedafe07c7f1bec7ab64e9a9ae20ab105f0fd071 # timeout=10 12:25:22 > git rev-parse HEAD^{commit} # timeout=10 12:25:22 > git config core.sparsecheckout # timeout=10 12:25:22 > git checkout -f b944b705d0736088afd21652de1a40d7f3ece26d # timeout=10 12:25:23 > git --version # timeout=10 12:25:23 > git --version # 'git version 2.25.1' 12:25:23 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:25:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:25:24 % Total % Received % Xferd Average Speed Time Time Time Current 12:25:24 Dload Upload Total Spent Left Speed 12:25:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 12:25:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:25:25 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:25:25 sudo tee /etc/docker/daemon.new 12:25:25 { 12:25:25 "registry-mirrors": [ 12:25:25 "https://nexus3.edgexfoundry.org:10001" 12:25:25 ], 12:25:25 "bip": "10.250.0.254/24", 12:25:25 "hosts": [ 12:25:25 "tcp://0.0.0.0:5555", 12:25:25 "unix:///var/run/docker.sock" 12:25:25 ], 12:25:25 "mtu": 1458, 12:25:25 "selinux-enabled": true, 12:25:25 "seccomp-profile": "/etc/docker/seccomp.json" 12:25:25 } [Pipeline] sh 12:25:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:25:26 + sudo service docker restart 12:25:27 go vet ./... 12:25:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:25:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:25:30 ./bin/test-attribution-txt.sh 12:25:30 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 12:25:30 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 12:25:30 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 12:25:30 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 12:25:30 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 12:25:30 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 12:25:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:25:30 $ docker stop --time=1 b31a4d4075831a68dcf1380368bea508f7f1c00c31d7cb19303a19c893f64c42 12:25:37 $ docker rm -f --volumes b31a4d4075831a68dcf1380368bea508f7f1c00c31d7cb19303a19c893f64c42 [Pipeline] // withDockerContainer [Pipeline] sh 12:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:25:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:25:39 + ls -al . 12:25:39 total 184 12:25:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 12:24 . 12:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 12:22 .. 12:25:39 -rw-rw-r-- 1 jenkins jenkins 119 Aug 30 12:22 .dockerignore 12:25:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 12:23 .git 12:25:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 12:22 .github 12:25:39 -rw-rw-r-- 1 jenkins jenkins 171 Aug 30 12:22 .gitignore 12:25:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 12:22 .golangci.yml 12:25:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 12:23 .semver 12:25:39 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 30 12:22 Attribution.txt 12:25:39 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 30 12:22 CHANGELOG.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 30 12:22 Dockerfile 12:25:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 12:22 GOVERNANCE.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 688 Aug 30 12:22 Jenkinsfile 12:25:39 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 12:22 LICENSE 12:25:39 -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 12:22 OWNERS.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 30 12:22 README.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 12:23 VERSION 12:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 12:22 bin 12:25:39 -rw-r--r-- 1 jenkins jenkins 13 Aug 30 12:24 coverage.out 12:25:39 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 30 12:22 go.mod 12:25:39 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 30 12:22 go.sum 12:25:39 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 30 12:22 main.go 12:25:39 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 30 12:22 makefile 12:25:39 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 12:22 res 12:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 12:22 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:39 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b944b705d0736088afd21652de1a40d7f3ece26d --label arch=amd64 --label version=0.0.0 . 12:25:39 Sending build context to Docker daemon 3.334MB 12:25:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:25:39 Step 2/26 : FROM ${BASE} AS builder 12:25:39 ---> fa213886cefb 12:25:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:25:39 ---> Running in 5ed42699a631 12:25:39 Removing intermediate container 5ed42699a631 12:25:39 ---> 18a41f80dbb5 12:25:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:25:39 ---> Running in a36db0e42ceb 12:25:39 Removing intermediate container a36db0e42ceb 12:25:39 ---> c3e0332b8677 12:25:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:25:39 ---> Running in e45fb1ba514e 12:25:40 Removing intermediate container e45fb1ba514e 12:25:40 ---> 39130738eba2 12:25:40 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:40 ---> Running in 8f838ec2469b 12:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:25:40 OK: 265 MiB in 53 packages 12:25:41 Removing intermediate container 8f838ec2469b 12:25:41 ---> eac65350ef70 12:25:41 Step 7/26 : WORKDIR /app 12:25:41 ---> Running in e9cdeedeff32 12:25:41 Removing intermediate container e9cdeedeff32 12:25:41 ---> 5c1d83c610ec 12:25:41 Step 8/26 : COPY go.mod vendor* ./ 12:25:41 ---> 01d241138af1 12:25:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:25:41 ---> Running in ae0fc6884527 12:25:42 Removing intermediate container ae0fc6884527 12:25:42 ---> f4a9d6a806bd 12:25:42 Step 10/26 : COPY . . 12:25:42 ---> f66aed6f12e3 12:25:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:25:42 ---> Running in 559f4219edba 12:25:42 Removing intermediate container 559f4219edba 12:25:42 ---> fb6e80299e7b 12:25:42 Step 12/26 : RUN $MAKE 12:25:42 ---> Running in b2c3d2fb1f65 12:25:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.23 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:44 provisioning config files... 12:25:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3433471089278201949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:44 ---> docker-login.sh 12:25:44 nexus3.edgexfoundry.org:10001 12:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:45 Configure a credential helper to remove this warning. See 12:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:45 12:25:45 Login Succeeded 12:25:45 nexus3.edgexfoundry.org:10002 12:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:45 Configure a credential helper to remove this warning. See 12:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:45 12:25:45 Login Succeeded 12:25:45 nexus3.edgexfoundry.org:10003 12:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:46 Configure a credential helper to remove this warning. See 12:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:46 12:25:46 Login Succeeded 12:25:46 nexus3.edgexfoundry.org:10004 12:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:46 Configure a credential helper to remove this warning. See 12:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:46 12:25:46 Login Succeeded 12:25:46 docker.io 12:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:47 Configure a credential helper to remove this warning. See 12:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:47 12:25:47 Login Succeeded 12:25:47 ---> docker-login.sh ends [Pipeline] } 12:25:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:47 ========================================================= 12:25:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:25:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:25:48 Sending build context to Docker daemon 178.2kB 12:25:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:25:48 Step 2/12 : FROM ${BASE} AS builder 12:25:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:25:48 edb6bdbacee9: Pulling fs layer 12:25:48 5f9638ab2659: Pulling fs layer 12:25:48 8d51d6327a98: Pulling fs layer 12:25:48 8b374f2dd631: Pulling fs layer 12:25:48 ec14aa9079de: Pulling fs layer 12:25:48 2f466654f4bb: Pulling fs layer 12:25:48 554e91adad29: Pulling fs layer 12:25:48 ec14aa9079de: Waiting 12:25:48 2f466654f4bb: Waiting 12:25:48 554e91adad29: Waiting 12:25:48 8b374f2dd631: Waiting 12:25:48 5f9638ab2659: Download complete 12:25:48 8b374f2dd631: Verifying Checksum 12:25:48 8b374f2dd631: Download complete 12:25:48 ec14aa9079de: Verifying Checksum 12:25:48 ec14aa9079de: Download complete 12:25:48 edb6bdbacee9: Verifying Checksum 12:25:48 edb6bdbacee9: Download complete 12:25:49 edb6bdbacee9: Pull complete 12:25:50 554e91adad29: Verifying Checksum 12:25:50 554e91adad29: Download complete 12:25:51 2f466654f4bb: Verifying Checksum 12:25:51 2f466654f4bb: Download complete 12:25:51 8d51d6327a98: Verifying Checksum 12:25:51 8d51d6327a98: Download complete 12:25:52 5f9638ab2659: Pull complete 12:26:04 8d51d6327a98: Pull complete 12:26:04 8b374f2dd631: Pull complete 12:26:04 ec14aa9079de: Pull complete 12:26:05 Removing intermediate container b2c3d2fb1f65 12:26:05 ---> 1497658a9f76 12:26:05 Step 13/26 : FROM alpine:3.17 12:26:05 3.17: Pulling from library/alpine 12:26:05 9398808236ff: Pulling fs layer 12:26:05 9398808236ff: Verifying Checksum 12:26:05 9398808236ff: Download complete 12:26:05 9398808236ff: Pull complete 12:26:05 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:26:05 Status: Downloaded newer image for alpine:3.17 12:26:05 ---> 1e0b8b5322fc 12:26:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:26:05 ---> Running in c6e96b071959 12:26:05 Removing intermediate container c6e96b071959 12:26:05 ---> 06a52981be80 12:26:05 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:26:05 ---> Running in bfccd358d6fc 12:26:05 Removing intermediate container bfccd358d6fc 12:26:05 ---> 0227b30e806c 12:26:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:26:05 ---> Running in 285b273f666e 12:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:26:05 (1/2) Installing ca-certificates (20230506-r0) 12:26:05 (2/2) Installing dumb-init (1.2.5-r2) 12:26:05 Executing busybox-1.35.0-r29.trigger 12:26:05 Executing ca-certificates-20230506-r0.trigger 12:26:05 OK: 8 MiB in 17 packages 12:26:05 Removing intermediate container 285b273f666e 12:26:05 ---> 2700d052c3ba 12:26:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:26:05 ---> d22beac72b4a 12:26:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:26:05 ---> de543c11c015 12:26:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:26:05 ---> 7c93bd267e2b 12:26:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:26:06 ---> 845628fb7a46 12:26:06 Step 21/26 : EXPOSE 48095 12:26:07 ---> Running in 4e3074cdbd3c 12:26:07 Removing intermediate container 4e3074cdbd3c 12:26:07 ---> be942228ac3a 12:26:07 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:26:07 ---> Running in 1555d9eecfaf 12:26:07 Removing intermediate container 1555d9eecfaf 12:26:07 ---> 9904a1d49146 12:26:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:26:07 ---> Running in 77aae7b2994a 12:26:07 Removing intermediate container 77aae7b2994a 12:26:07 ---> 7ca5f3181d54 12:26:07 Step 24/26 : LABEL arch=amd64 12:26:07 ---> Running in 2e430d03b86c 12:26:07 Removing intermediate container 2e430d03b86c 12:26:07 ---> 38791b98ae48 12:26:07 Step 25/26 : LABEL git_sha=b944b705d0736088afd21652de1a40d7f3ece26d 12:26:07 ---> Running in 183f52d36d5e 12:26:07 Removing intermediate container 183f52d36d5e 12:26:07 ---> dfd39c37a17a 12:26:07 Step 26/26 : LABEL version=0.0.0 12:26:07 ---> Running in 5c58de041f33 12:26:07 Removing intermediate container 5c58de041f33 12:26:07 ---> 6166e0e316d4 12:26:07 [Warning] One or more build-args [ARCH] were not consumed 12:26:07 Successfully built 6166e0e316d4 12:26:07 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:08 12:26:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:08 latest: Pulling from edgex-lftools-log-publisher 12:26:08 5eb5b503b376: Pulling fs layer 12:26:08 5c69ac0246d0: Pulling fs layer 12:26:08 ec43610c2a17: Pulling fs layer 12:26:08 3a2ae6a8a46f: Pulling fs layer 12:26:08 33b1e0a273af: Pulling fs layer 12:26:08 5d3b04190fa2: Pulling fs layer 12:26:08 2f39f015ded8: Pulling fs layer 12:26:08 3a2ae6a8a46f: Waiting 12:26:08 5d3b04190fa2: Waiting 12:26:08 33b1e0a273af: Waiting 12:26:08 5c69ac0246d0: Verifying Checksum 12:26:08 5c69ac0246d0: Download complete 12:26:08 3a2ae6a8a46f: Verifying Checksum 12:26:08 3a2ae6a8a46f: Download complete 12:26:08 33b1e0a273af: Verifying Checksum 12:26:08 33b1e0a273af: Download complete 12:26:08 5d3b04190fa2: Download complete 12:26:08 ec43610c2a17: Verifying Checksum 12:26:08 ec43610c2a17: Download complete 12:26:08 5eb5b503b376: Download complete 12:26:09 2f39f015ded8: Download complete 12:26:10 5eb5b503b376: Pull complete 12:26:10 5c69ac0246d0: Pull complete 12:26:10 ec43610c2a17: Pull complete 12:26:10 3a2ae6a8a46f: Pull complete 12:26:10 33b1e0a273af: Pull complete 12:26:10 5d3b04190fa2: Pull complete 12:26:11 2f466654f4bb: Pull complete 12:26:14 554e91adad29: Pull complete 12:26:14 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:26:14 ---> 1e15ea492957 12:26:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:26:15 2f39f015ded8: Pull complete 12:26:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:26:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:15 ---> Running in 0a1fc9e497ed 12:26:15 prd-ubuntu20.04-docker-8c-8g-4881 does not seem to be running inside a container 12:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-590 -v /w/workspace/_app-service-configurable_PR-590:/w/workspace/_app-service-configurable_PR-590:rw,z -v /w/workspace/_app-service-configurable_PR-590@tmp:/w/workspace/_app-service-configurable_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:26:15 Removing intermediate container 0a1fc9e497ed 12:26:15 ---> 517018ac97fa 12:26:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:26:15 ---> Running in 23fa0d3e8358 12:26:15 Removing intermediate container 23fa0d3e8358 12:26:15 ---> 3548957cda81 12:26:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:26:15 ---> Running in d01825f3763a 12:26:16 Removing intermediate container d01825f3763a 12:26:16 ---> 1e7ec2a88d68 12:26:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:16 ---> Running in e0e733077c88 12:26:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:26:19 OK: 263 MiB in 53 packages 12:26:20 Removing intermediate container e0e733077c88 12:26:20 ---> a635728bbd54 12:26:20 Step 7/12 : WORKDIR /app 12:26:20 ---> Running in 44530c816cd9 12:26:20 Removing intermediate container 44530c816cd9 12:26:20 ---> 03bc472424fe 12:26:20 Step 8/12 : COPY go.mod vendor* ./ 12:26:20 $ docker top 11b9b00359c7b16f7e3b4291ad8e85e796b332d7bbd21d70d0ca6899e7a652e6 -eo pid,comm 12:26:20 ---> cfa9e78e90d2 12:26:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:20 ---> Running in c85827d3c23f [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:21 ---> job-cost.sh 12:26:21 lf-activate-venv: SKIPPING 12:26:21 INFO: No Stack... 12:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 12:26:22 INFO: Archiving Costs [Pipeline] sh 12:26:22 + cat /w/workspace/_app-service-configurable_PR-590/archives/cost.csv 12:26:22 + cut -d, -f6 [Pipeline] lock 12:26:22 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] 12:26:22 Resource [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] did not exist. Created. 12:26:22 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:26:23 + echo total: 0.2199999988079071 [Pipeline] stash 12:26:23 Stashed 1 file(s) [Pipeline] } 12:26:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:26:23 $ docker stop --time=1 11b9b00359c7b16f7e3b4291ad8e85e796b332d7bbd21d70d0ca6899e7a652e6 12:26:24 $ docker rm -f --volumes 11b9b00359c7b16f7e3b4291ad8e85e796b332d7bbd21d70d0ca6899e7a652e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:27:57 Removing intermediate container c85827d3c23f 12:27:57 ---> 3bfb25c5e6ff 12:27:57 Step 10/12 : COPY . . 12:27:57 ---> 1184feb3b8d6 12:27:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:57 ---> Running in e02ffbbdc00b 12:27:57 Removing intermediate container e02ffbbdc00b 12:27:57 ---> 7c070e72ec81 12:27:57 Step 12/12 : RUN $MAKE 12:27:57 ---> Running in 5a928c16ef88 12:27:57 noop 12:27:57 Removing intermediate container 5a928c16ef88 12:27:57 ---> e7229a45f9cc 12:27:57 Successfully built e7229a45f9cc 12:27:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:58 + docker inspect -f . ci-base-image-arm64 12:27:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:58 prd-ubuntu20.04-docker-arm64-4c-16g-4882 does not seem to be running inside a container 12:27:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:27:59 $ docker top f2563185f7538d9ecc492ed726843ee7a5e4d0c9d3eb39cce16fd4087401f74b -eo pid,comm [Pipeline] { [Pipeline] sh 12:28:00 + go version 12:28:00 go version go1.20.6 linux/arm64 [Pipeline] } 12:28:00 $ docker stop --time=1 f2563185f7538d9ecc492ed726843ee7a5e4d0c9d3eb39cce16fd4087401f74b 12:28:02 $ docker rm -f --volumes f2563185f7538d9ecc492ed726843ee7a5e4d0c9d3eb39cce16fd4087401f74b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:28:03 + docker inspect -f . ci-base-image-arm64 12:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:28:03 prd-ubuntu20.04-docker-arm64-4c-16g-4882 does not seem to be running inside a container 12:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:28:04 $ docker top e47ce59c03a03e9e95f160d705bfba15ef35e77d17af04a240aafd1719750986 -eo pid,comm [Pipeline] { [Pipeline] sh 12:28:05 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:28:06 + make test 12:28:06 go test -race -coverprofile=coverage.out ./... 12:31:13 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:31:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:31:13 go vet ./... 12:33:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:33:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:33:35 ./bin/test-attribution-txt.sh 12:33:35 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 12:33:35 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 12:33:35 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 12:33:35 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 12:33:35 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 12:33:35 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 12:33:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:33:35 $ docker stop --time=1 e47ce59c03a03e9e95f160d705bfba15ef35e77d17af04a240aafd1719750986 12:33:37 $ docker rm -f --volumes e47ce59c03a03e9e95f160d705bfba15ef35e77d17af04a240aafd1719750986 [Pipeline] // withDockerContainer [Pipeline] sh 12:33:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:33:38 Warning: overwriting stash ‘coverage-report’ 12:33:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:33:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:33:40 + ls -al . 12:33:40 total 180 12:33:40 drwxrwxr-x 7 jenkins jenkins 4096 Aug 30 12:28 . 12:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 12:25 .. 12:33:40 -rw-rw-r-- 1 jenkins jenkins 119 Aug 30 12:25 .dockerignore 12:33:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 12:25 .git 12:33:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 12:25 .github 12:33:40 -rw-rw-r-- 1 jenkins jenkins 171 Aug 30 12:25 .gitignore 12:33:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 12:25 .golangci.yml 12:33:40 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 30 12:25 Attribution.txt 12:33:40 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 30 12:25 CHANGELOG.md 12:33:40 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 30 12:25 Dockerfile 12:33:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 12:25 GOVERNANCE.md 12:33:40 -rw-rw-r-- 1 jenkins jenkins 688 Aug 30 12:25 Jenkinsfile 12:33:40 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 12:25 LICENSE 12:33:40 -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 12:25 OWNERS.md 12:33:40 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 30 12:25 README.md 12:33:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 12:23 VERSION 12:33:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 12:25 bin 12:33:40 -rw-r--r-- 1 jenkins jenkins 13 Aug 30 12:28 coverage.out 12:33:40 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 30 12:25 go.mod 12:33:40 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 30 12:25 go.sum 12:33:40 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 30 12:25 main.go 12:33:40 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 30 12:25 makefile 12:33:40 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 12:25 res 12:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 12:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:40 + 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=b944b705d0736088afd21652de1a40d7f3ece26d --label arch=arm64 --label version=0.0.0 . 12:33:40 Sending build context to Docker daemon 179.2kB 12:33:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:33:40 Step 2/26 : FROM ${BASE} AS builder 12:33:40 ---> e7229a45f9cc 12:33:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:33:40 ---> Running in f98e20ff359e 12:33:40 Removing intermediate container f98e20ff359e 12:33:40 ---> 0f8fdc56f4ba 12:33:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:33:40 ---> Running in 2fe0a857fd80 12:33:41 Removing intermediate container 2fe0a857fd80 12:33:41 ---> b23cec596d06 12:33:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:33:41 ---> Running in a43631c32951 12:33:41 Removing intermediate container a43631c32951 12:33:41 ---> 9489c14d008e 12:33:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:33:41 ---> Running in c3e7a8762cc6 12:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:33:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:33:44 OK: 263 MiB in 53 packages 12:33:44 Removing intermediate container c3e7a8762cc6 12:33:44 ---> fb15e921f5bb 12:33:44 Step 7/26 : WORKDIR /app 12:33:44 ---> Running in 30069453075c 12:33:45 Removing intermediate container 30069453075c 12:33:45 ---> f4da08625225 12:33:45 Step 8/26 : COPY go.mod vendor* ./ 12:33:45 ---> dcebe5c64b0c 12:33:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:33:45 ---> Running in 612ab86c6951 12:33:51 Removing intermediate container 612ab86c6951 12:33:51 ---> 90bc0c8de6f0 12:33:51 Step 10/26 : COPY . . 12:33:51 ---> c251bc2fe43f 12:33:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:33:51 ---> Running in 3a1d22b64c19 12:33:51 Removing intermediate container 3a1d22b64c19 12:33:51 ---> ee191fb136d4 12:33:51 Step 12/26 : RUN $MAKE 12:33:51 ---> Running in eb049ba1fcad 12:33:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.23 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:35:58 Removing intermediate container eb049ba1fcad 12:35:58 ---> 16787f4bcfa7 12:35:58 Step 13/26 : FROM alpine:3.17 12:35:58 3.17: Pulling from library/alpine 12:35:58 4060ece20d7a: Pulling fs layer 12:35:58 4060ece20d7a: Verifying Checksum 12:35:58 4060ece20d7a: Download complete 12:35:58 4060ece20d7a: Pull complete 12:35:58 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:35:58 Status: Downloaded newer image for alpine:3.17 12:35:58 ---> 8650cd65339b 12:35:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:35:58 ---> Running in ce3472006d10 12:35:59 Removing intermediate container ce3472006d10 12:35:59 ---> 185b38ab41e1 12:35:59 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:35:59 ---> Running in 7a7687af0955 12:35:59 Removing intermediate container 7a7687af0955 12:35:59 ---> 6308e5edcd1e 12:35:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:35:59 ---> Running in 68ef8a404549 12:36:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:36:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:36:02 (1/2) Installing ca-certificates (20230506-r0) 12:36:02 (2/2) Installing dumb-init (1.2.5-r2) 12:36:02 Executing busybox-1.35.0-r29.trigger 12:36:02 Executing ca-certificates-20230506-r0.trigger 12:36:02 OK: 8 MiB in 17 packages 12:36:04 Removing intermediate container 68ef8a404549 12:36:04 ---> 3a24a3dd92c1 12:36:04 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:36:04 ---> 494a37d8d541 12:36:04 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:36:04 ---> 88d2d063fae3 12:36:04 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:36:05 ---> 169ff6f9c64f 12:36:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:36:06 ---> 5d8241a7b4ad 12:36:06 Step 21/26 : EXPOSE 48095 12:36:06 ---> Running in 61cade2ff838 12:36:07 Removing intermediate container 61cade2ff838 12:36:07 ---> 61d4615f0e52 12:36:07 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:36:07 ---> Running in 4c396427aa8c 12:36:07 Removing intermediate container 4c396427aa8c 12:36:07 ---> beacbe31b4bf 12:36:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:36:07 ---> Running in 8fbf1835e514 12:36:08 Removing intermediate container 8fbf1835e514 12:36:08 ---> 2482095ef4ce 12:36:08 Step 24/26 : LABEL arch=arm64 12:36:08 ---> Running in b82d03956be5 12:36:08 Removing intermediate container b82d03956be5 12:36:08 ---> 9f2089841f99 12:36:08 Step 25/26 : LABEL git_sha=b944b705d0736088afd21652de1a40d7f3ece26d 12:36:08 ---> Running in f55c71b259aa 12:36:08 Removing intermediate container f55c71b259aa 12:36:08 ---> f2ffd5655234 12:36:08 Step 26/26 : LABEL version=0.0.0 12:36:08 ---> Running in 1f9bffa5bb92 12:36:09 Removing intermediate container 1f9bffa5bb92 12:36:09 ---> c0b7c83e582b 12:36:09 [Warning] One or more build-args [ARCH] were not consumed 12:36:09 Successfully built c0b7c83e582b 12:36:09 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:36:09 12:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:36:10 arm64: Pulling from edgex-lftools-log-publisher 12:36:10 8998bd30e6a1: Pulling fs layer 12:36:10 04944245beec: Pulling fs layer 12:36:10 699f458cf7ca: Pulling fs layer 12:36:10 765212b225bb: Pulling fs layer 12:36:10 f23df028b6ca: Pulling fs layer 12:36:10 d65c8cfc05b1: Pulling fs layer 12:36:10 2437ff75d9bd: Pulling fs layer 12:36:10 f23df028b6ca: Waiting 12:36:10 765212b225bb: Waiting 12:36:10 d65c8cfc05b1: Waiting 12:36:10 2437ff75d9bd: Waiting 12:36:10 04944245beec: Verifying Checksum 12:36:10 04944245beec: Download complete 12:36:10 765212b225bb: Verifying Checksum 12:36:10 765212b225bb: Download complete 12:36:10 f23df028b6ca: Download complete 12:36:10 d65c8cfc05b1: Verifying Checksum 12:36:10 d65c8cfc05b1: Download complete 12:36:10 699f458cf7ca: Verifying Checksum 12:36:10 699f458cf7ca: Download complete 12:36:11 8998bd30e6a1: Verifying Checksum 12:36:11 8998bd30e6a1: Download complete 12:36:13 2437ff75d9bd: Verifying Checksum 12:36:13 2437ff75d9bd: Download complete 12:36:18 8998bd30e6a1: Pull complete 12:36:18 04944245beec: Pull complete 12:36:19 699f458cf7ca: Pull complete 12:36:19 765212b225bb: Pull complete 12:36:20 f23df028b6ca: Pull complete 12:36:20 d65c8cfc05b1: Pull complete 12:36:35 2437ff75d9bd: Pull complete 12:36:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:36:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:35 prd-ubuntu20.04-docker-arm64-4c-16g-4882 does not seem to be running inside a container 12:36:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:36:38 $ docker top 06884fd65f74e0673058e8f9936edc23e7ca794c28e378014ac689b30be3b714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:38 ---> job-cost.sh 12:36:39 lf-activate-venv: SKIPPING 12:36:39 INFO: No Stack... 12:36:39 INFO: Retrieving Pricing Info for: v3-standard-4 12:36:40 INFO: Archiving Costs [Pipeline] sh 12:36:40 + cut -d, -f6 12:36:40 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:36:40 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] 12:36:40 Resource [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] did not exist. Created. 12:36:40 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:36:41 /w/workspace/app-service-configurable/1@tmp/durable-9566c360/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:36:41 + echo total: 0.10999999940395355 [Pipeline] stash 12:36:41 Warning: overwriting stash ‘stack-cost’ 12:36:41 Stashed 1 file(s) [Pipeline] } 12:36:41 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-590-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:36:41 $ docker stop --time=1 06884fd65f74e0673058e8f9936edc23e7ca794c28e378014ac689b30be3b714 12:36:43 $ docker rm -f --volumes 06884fd65f74e0673058e8f9936edc23e7ca794c28e378014ac689b30be3b714 [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:36:44 provisioning config files... 12:36:44 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-590@tmp/config11637243829752099564tmp [Pipeline] { [Pipeline] sh 12:36:45 + set +x 12:36:45 + curl -s https://codecov.io/bash 12:36:45 + bash -s -- 12:36:45 12:36:45 _____ _ 12:36:45 / ____| | | 12:36:45 | | ___ __| | ___ ___ _____ __ 12:36:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:36:45 | |___| (_) | (_| | __/ (_| (_) \ V / 12:36:45 \_____\___/ \__,_|\___|\___\___/ \_/ 12:36:45 Bash-1.0.6 12:36:45 12:36:45 12:36:45 ==> git version 2.25.1 found 12:36:45 ==> 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:36:45 Release-Date: 2020-01-08 12:36:45 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:36:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:36:45 ==> Jenkins CI detected. 12:36:45 current dir:  /w/workspace/_app-service-configurable_PR-590 12:36:45 project root: . 12:36:45 --> token set from env 12:36:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:36:45 ==> Running gcov in . (disable via -X gcov) 12:36:45 ==> Python coveragepy not found 12:36:45 ==> Searching for coverage reports in: 12:36:45 + . 12:36:45 -> Found 1 reports 12:36:45 ==> Detecting git/mercurial file structure 12:36:45 ==> Reading reports 12:36:45 + ./coverage.out bytes=13 12:36:45 ==> Appending adjustments 12:36:45 https://docs.codecov.io/docs/fixing-reports 12:36:45 + Found adjustments 12:36:45 ==> Gzipping contents 12:36:45 4.0K /tmp/codecov.XqlMCZ.gz 12:36:45 ==> Uploading reports 12:36:45 url: https://codecov.io 12:36:45 query: branch=PR-590&commit=b944b705d0736088afd21652de1a40d7f3ece26d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-590%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=590&job=&cmd_args= 12:36:45 -> Pinging Codecov 12:36:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-590&commit=b944b705d0736088afd21652de1a40d7f3ece26d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-590%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=590&job=&cmd_args= 12:36:45 -> Uploading to 12:36:45 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/A97CA9966030D2A3747ED39772930CCE/b944b705d0736088afd21652de1a40d7f3ece26d/7fe865c8-8296-4fd8-9537-d48c1e0f66e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T123645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65d34cdee2056d348c8cbf0c13367a8f2f3624d903f2474e56f7154efb28f11e 12:36:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:36:45 Dload Upload Total Spent Left Speed 12:36:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 429 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2123 --:--:-- --:--:-- --:--:-- 2113 12:36:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b944b705d0736088afd21652de1a40d7f3ece26d [Pipeline] } 12:36:45 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:36:47 + [ -d /w/workspace/_app-service-configurable_PR-590/archives ] 12:36:47 + ls -al /w/workspace/_app-service-configurable_PR-590/archives 12:36:47 total 16 12:36:47 drwxr-xr-x 3 root root 4096 Aug 30 12:26 . 12:36:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 12:26 .. 12:36:47 drwxr-xr-x 2 root root 4096 Aug 30 12:26 cost 12:36:47 -rw-r--r-- 1 root root 96 Aug 30 12:26 cost.csv 12:36:47 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-590/archives 12:36:47 + ls -al /w/workspace/_app-service-configurable_PR-590/archives 12:36:47 total 16 12:36:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 12:26 . 12:36:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 12:26 .. 12:36:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 12:26 cost 12:36:47 -rw-r--r-- 1 jenkins jenkins 96 Aug 30 12:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:36:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:36:48 ---> package-listing.sh 12:36:48 ++ facter osfamily 12:36:48 ++ tr '[:upper:]' '[:lower:]' 12:36:49 + OS_FAMILY=debian 12:36:49 + workspace=/w/workspace/_app-service-configurable_PR-590 12:36:49 + START_PACKAGES=/tmp/packages_start.txt 12:36:49 + END_PACKAGES=/tmp/packages_end.txt 12:36:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:36:49 + PACKAGES=/tmp/packages_start.txt 12:36:49 + '[' /w/workspace/_app-service-configurable_PR-590 ']' 12:36:49 + PACKAGES=/tmp/packages_end.txt 12:36:49 + case "${OS_FAMILY}" in 12:36:49 + dpkg -l 12:36:49 + grep '^ii' 12:36:49 + '[' -f /tmp/packages_start.txt ']' 12:36:49 + '[' -f /tmp/packages_end.txt ']' 12:36:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:36:49 + '[' /w/workspace/_app-service-configurable_PR-590 ']' 12:36:49 + mkdir -p /w/workspace/_app-service-configurable_PR-590/archives/ 12:36:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-590/archives/ [Pipeline] echo 12:36:49 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-590/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:36:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:50 prd-ubuntu20.04-docker-8c-8g-4881 does not seem to be running inside a container 12:36:50 $ 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-590/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-590 -v /w/workspace/_app-service-configurable_PR-590:/w/workspace/_app-service-configurable_PR-590:rw,z -v /w/workspace/_app-service-configurable_PR-590@tmp:/w/workspace/_app-service-configurable_PR-590@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:36:50 $ docker top 9d07f5374042c0e51f73feb47deaeba04aa025dd04a6c4ca14f4153ebc61fc08 -eo pid,comm [Pipeline] { [Pipeline] sh 12:36:50 + touch /tmp/pre-build-complete [Pipeline] sh 12:36:51 + mkdir -p /var/log/sysstat [Pipeline] sh 12:36:51 + ls /var/log/sa-host 12:36:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:36:51 provisioning config files... 12:36:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-590@tmp/config17851582871920287288tmp [Pipeline] { [Pipeline] echo 12:36:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:36:52 ---> create-netrc.sh [Pipeline] } 12:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:36:52 ---> python-tools-install.sh [Pipeline] echo 12:36:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:36:52 ---> sudo-logs.sh 12:36:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:36:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:36:53 ---> job-cost.sh 12:36:53 lf-activate-venv: SKIPPING 12:36:53 DEBUG: total: 0.2199999988079071 12:36:53 INFO: Retrieving Stack Cost... 12:36:53 INFO: Retrieving Pricing Info for: v3-standard-8 12:36:54 INFO: Archiving Costs [Pipeline] echo 12:36:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:36:54 ---> logs-deploy.sh 12:36:54 lf-activate-venv: SKIPPING 12:36:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-590/1 12:36:54 INFO: archiving workspace using pattern(s): 12:36:55 Archives upload complete. 12:36:55 INFO: archiving logs to Nexus 12:36:56 ---> uname -a: 12:36:56 Linux prd-ubuntu20-04-docker-8c-8g-4881 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:36:56 12:36:56