Pull request #407 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 1a526f114784ef26915ff80fd995ea89bcf8e607 rather than c1bad40dec39ab39dc53bfb84119fa5413f88e79 Obtained Jenkinsfile from 1a526f114784ef26915ff80fd995ea89bcf8e607 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-ssh16105258998419396845.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9099438713686541891.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12224972057842770161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13314912479937451310.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14325470930807721699.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23583’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23585 in /w/workspace/_app-service-configurable_PR-407 [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-407 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit c1bad40dec39ab39dc53bfb84119fa5413f88e79 Merge succeeded, producing c1bad40dec39ab39dc53bfb84119fa5413f88e79 Checking out Revision c1bad40dec39ab39dc53bfb84119fa5413f88e79 (PR-407) > 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/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" > git rev-list --no-walk f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:25:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:25:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:25:18 ========================================================= 08:25:18 EdgeX Global Pipelines Version Info 08:25:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:25:19 ------------------- 08:25:19 stable info: 08:25:19 ------------------- 08:25:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:25:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:25:19 Message: update stable to v1.0.221 08:25:20 ------------------- 08:25:20 experimental info: 08:25:20 ------------------- 08:25:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:25:20 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:25:20 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1bad40 [Pipeline] echo 08:25:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:25:20 provisioning config files... 08:25:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config6972873907502318812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:21 ---> docker-login.sh 08:25:21 nexus3.edgexfoundry.org:10001 08:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:21 Configure a credential helper to remove this warning. See 08:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:21 08:25:21 Login Succeeded 08:25:21 nexus3.edgexfoundry.org:10002 08:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:21 Configure a credential helper to remove this warning. See 08:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:21 08:25:21 Login Succeeded 08:25:21 nexus3.edgexfoundry.org:10003 08:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:21 Configure a credential helper to remove this warning. See 08:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:21 08:25:21 Login Succeeded 08:25:21 nexus3.edgexfoundry.org:10004 08:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:21 Configure a credential helper to remove this warning. See 08:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:21 08:25:21 Login Succeeded 08:25:21 docker.io 08:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:22 Configure a credential helper to remove this warning. See 08:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:22 08:25:22 Login Succeeded 08:25:22 ---> docker-login.sh ends [Pipeline] } 08:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:25:22 + git rev-list -1 --merges c1bad40dec39ab39dc53bfb84119fa5413f88e79~1..c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo 08:25:22 -----------> git rev-list -1 --merges c1bad40dec39ab39dc53bfb84119fa5413f88e79~1..c1bad40dec39ab39dc53bfb84119fa5413f88e79 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [false] [Pipeline] sh 08:25:22 + git log --format=format:%s -1 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo 08:25:22 ========================================================= 08:25:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:25:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:23 + git log --format=format:%s -1 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo 08:25:23 [semverPrep] GIT_COMMIT: c1bad40dec39ab39dc53bfb84119fa5413f88e79, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5 [Pipeline] echo 08:25:23 [semverPrep] This is not a build commit. [Pipeline] sh 08:25:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:25:23 + grep -v github /etc/ssh/ssh_known_hosts 08:25:23 + [ -e /tmp/ssh_known_hosts ] 08:25:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:25:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:25:23 + sudo tee -a /etc/ssh/ssh_known_hosts 08:25:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:25:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:25:23 08:25:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:25:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:25:24 latest: Pulling from edgex-devops/git-semver 08:25:24 a0d0a0d46f8b: Pulling fs layer 08:25:24 3e5f54012d9b: Pulling fs layer 08:25:24 4c7163046ea9: Pulling fs layer 08:25:24 0c2d73faf560: Pulling fs layer 08:25:24 0c2d73faf560: Waiting 08:25:24 3e5f54012d9b: Verifying Checksum 08:25:24 3e5f54012d9b: Download complete 08:25:24 a0d0a0d46f8b: Download complete 08:25:24 0c2d73faf560: Verifying Checksum 08:25:24 0c2d73faf560: Download complete 08:25:24 4c7163046ea9: Verifying Checksum 08:25:24 4c7163046ea9: Download complete 08:25:24 a0d0a0d46f8b: Pull complete 08:25:24 3e5f54012d9b: Pull complete 08:25:24 4c7163046ea9: Pull complete 08:25:25 0c2d73faf560: Pull complete 08:25:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:25:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:25:25 prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container 08:25:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:25:25 $ docker top e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:25 [ssh-agent] Looking for ssh-agent implementation... 08:25:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:26 $ docker exec e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent 08:25:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjBLCb/agent.13 08:25:26 SSH_AGENT_PID=19 08:25:26 Running ssh-add (command line suppressed) 08:25:26 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_3546946505522859346.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_3546946505522859346.key) 08:25:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:26 + git tag --points-at HEAD [Pipeline] } 08:25:26 $ docker exec --env ******** --env ******** e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent -k 08:25:26 unset SSH_AUTH_SOCK; 08:25:26 unset SSH_AGENT_PID; 08:25:26 echo Agent pid 19 killed; 08:25:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:25:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:26 [ssh-agent] Looking for ssh-agent implementation... 08:25:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:26 $ docker exec e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent 08:25:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHAdoli/agent.51 08:25:27 SSH_AGENT_PID=57 08:25:27 Running ssh-add (command line suppressed) 08:25:27 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_222917613306900995.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_222917613306900995.key) 08:25:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:27 + git semver init 08:25:27 # -> Open(): unable to determine branch for HEAD 08:25:27 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-407/.git 08:25:27 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-407 08:25:27 # $SEMVER_REMOTE_NAME = origin 08:25:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:25:27 # $SEMVER_USER_NAME = edgex-jenkins 08:25:27 # $SEMVER_BRANCH = PR-407 08:25:27 # $SEMVER_TEMP = /tmp/semver-019511252 08:25:27 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 08:25:28 # '/tmp/semver-019511252' -> '/w/workspace/_app-service-configurable_PR-407/.semver' 08:25:28 # -> Force: false 08:25:28 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-407/.semver [Pipeline] } 08:25:28 $ docker exec --env ******** --env ******** e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent -k 08:25:28 unset SSH_AUTH_SOCK; 08:25:28 unset SSH_AGENT_PID; 08:25:28 echo Agent pid 57 killed; 08:25:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:25:28 + git semver [Pipeline] } 08:25:28 $ docker stop --time=1 e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec 08:25:30 $ docker rm -f e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec [Pipeline] // withDockerContainer [Pipeline] sh 08:25:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:25:30 Stashed 1 file(s) [Pipeline] echo 08:25:30 [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 08:25:31 provisioning config files... 08:25:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config1358251333849860887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:31 ---> docker-login.sh 08:25:31 nexus3.edgexfoundry.org:10001 08:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:31 Configure a credential helper to remove this warning. See 08:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:31 08:25:31 Login Succeeded 08:25:31 nexus3.edgexfoundry.org:10002 08:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:31 Configure a credential helper to remove this warning. See 08:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:31 08:25:31 Login Succeeded 08:25:31 nexus3.edgexfoundry.org:10003 08:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:31 Configure a credential helper to remove this warning. See 08:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:31 08:25:31 Login Succeeded 08:25:31 nexus3.edgexfoundry.org:10004 08:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:31 Configure a credential helper to remove this warning. See 08:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:31 08:25:31 Login Succeeded 08:25:31 docker.io 08:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:32 Configure a credential helper to remove this warning. See 08:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:32 08:25:32 Login Succeeded 08:25:32 ---> docker-login.sh ends [Pipeline] } 08:25:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:32 ========================================================= 08:25:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:25:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:25:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:25:32 Sending build context to Docker daemon 3.023MB 08:25:32 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:25:32 Step 2/13 : FROM ${BASE} AS builder 08:25:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:25:32 59bf1c3509f3: Pulling fs layer 08:25:32 666ba61612fd: Pulling fs layer 08:25:32 8ed8ca486205: Pulling fs layer 08:25:32 4fe6c5a15a65: Pulling fs layer 08:25:32 22a0e8bec74d: Pulling fs layer 08:25:32 ca2b28591e48: Pulling fs layer 08:25:32 a51346096db8: Pulling fs layer 08:25:32 daebc70d1ce1: Pulling fs layer 08:25:32 0e18a0eac166: Pulling fs layer 08:25:32 daebc70d1ce1: Waiting 08:25:32 0e18a0eac166: Waiting 08:25:32 22a0e8bec74d: Waiting 08:25:32 ca2b28591e48: Waiting 08:25:32 a51346096db8: Waiting 08:25:32 4fe6c5a15a65: Waiting 08:25:32 8ed8ca486205: Verifying Checksum 08:25:32 8ed8ca486205: Download complete 08:25:32 666ba61612fd: Download complete 08:25:32 22a0e8bec74d: Download complete 08:25:32 ca2b28591e48: Verifying Checksum 08:25:32 ca2b28591e48: Download complete 08:25:32 59bf1c3509f3: Verifying Checksum 08:25:32 59bf1c3509f3: Download complete 08:25:32 a51346096db8: Verifying Checksum 08:25:32 a51346096db8: Download complete 08:25:32 daebc70d1ce1: Verifying Checksum 08:25:32 daebc70d1ce1: Download complete 08:25:32 59bf1c3509f3: Pull complete 08:25:32 666ba61612fd: Pull complete 08:25:33 8ed8ca486205: Pull complete 08:25:33 4fe6c5a15a65: Verifying Checksum 08:25:33 4fe6c5a15a65: Download complete 08:25:33 0e18a0eac166: Verifying Checksum 08:25:33 0e18a0eac166: Download complete 08:25:37 4fe6c5a15a65: Pull complete 08:25:37 22a0e8bec74d: Pull complete 08:25:37 ca2b28591e48: Pull complete 08:25:37 a51346096db8: Pull complete 08:25:37 daebc70d1ce1: Pull complete 08:25:39 0e18a0eac166: Pull complete 08:25:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:25:39 ---> f018257e8ee9 08:25:39 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:25:40 ---> Running in 9598944a88f9 08:25:40 Removing intermediate container 9598944a88f9 08:25:40 ---> a7a7c94cab93 08:25:40 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:25:40 ---> Running in 2c5efd2b7372 08:25:40 Removing intermediate container 2c5efd2b7372 08:25:40 ---> 24b2c8ab2fc8 08:25:40 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:25:41 ---> Running in 76aea4ef59c4 08:25:41 Removing intermediate container 76aea4ef59c4 08:25:41 ---> 079d122a3ead 08:25:41 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:41 ---> Running in 61d09b9bfd79 08:25:41 Removing intermediate container 61d09b9bfd79 08:25:41 ---> 7a9a2b7fb42b 08:25:41 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:25:41 ---> Running in 31108b574e53 08:25:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:25:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:25:43 OK: 221 MiB in 52 packages 08:25:43 Removing intermediate container 31108b574e53 08:25:43 ---> ee359a25f061 08:25:43 Step 8/13 : WORKDIR /app 08:25:43 ---> Running in 142d5b102992 08:25:43 Removing intermediate container 142d5b102992 08:25:43 ---> 3aa7a167aee0 08:25:43 Step 9/13 : COPY go.mod vendor* ./ 08:25:43 ---> 06aa85274a49 08:25:43 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:25:43 ---> Running in f7c2030eb256 08:25:45 Still waiting to schedule task 08:25:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23584’ is offline 08:26:05 Removing intermediate container f7c2030eb256 08:26:05 ---> 4a8d7d49d83f 08:26:05 Step 11/13 : COPY . . 08:26:05 ---> 22b54d210643 08:26:05 Step 12/13 : ARG MAKE="make build" 08:26:05 ---> Running in 03a67951e388 08:26:05 Removing intermediate container 03a67951e388 08:26:05 ---> 461b00ad0380 08:26:05 Step 13/13 : RUN $MAKE 08:26:05 ---> Running in 5cf37052198f 08:26:05 noop 08:26:05 Removing intermediate container 5cf37052198f 08:26:05 ---> ad22dd5c18a1 08:26:05 Successfully built ad22dd5c18a1 08:26:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:26:05 + docker inspect -f . ci-base-image-x86_64 08:26:05 . [Pipeline] withDockerContainer 08:26:06 prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container 08:26:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:06 $ docker top 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:06 + go version 08:26:06 go version go1.17.6 linux/amd64 [Pipeline] } 08:26:06 $ docker stop --time=1 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 08:26:08 $ docker rm -f 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:08 + docker inspect -f . ci-base-image-x86_64 08:26:08 . [Pipeline] withDockerContainer 08:26:08 prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container 08:26:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:09 $ docker top d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:26:09 + make test 08:26:09 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 08:26:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:26:19 CGO_ENABLED=1 go vet ./... 08:26:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:26:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:26:23 ./bin/test-attribution-txt.sh [Pipeline] echo 08:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:26:24 $ docker stop --time=1 d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d 08:26:25 $ docker rm -f d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d [Pipeline] // withDockerContainer [Pipeline] sh 08:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:26:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:26:27 + ls -al . 08:26:27 total 164 08:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:26 . 08:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:25 .. 08:26:27 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 08:25 .dockerignore 08:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:25 .git 08:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:25 .github 08:26:27 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 08:25 .gitignore 08:26:27 drwx------ 3 jenkins jenkins 4096 Apr 26 08:25 .semver 08:26:27 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 08:25 Attribution.txt 08:26:27 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 08:25 CHANGELOG.md 08:26:27 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 08:25 Dockerfile 08:26:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:25 GOVERNANCE.md 08:26:27 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 08:25 Jenkinsfile 08:26:27 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 08:25 LICENSE 08:26:27 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 08:25 OWNERS.md 08:26:27 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 08:25 README.md 08:26:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:25 VERSION 08:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:25 bin 08:26:27 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:26 coverage.out 08:26:27 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 08:25 go.mod 08:26:27 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 08:25 go.sum 08:26:27 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 08:25 main.go 08:26:27 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 08:25 makefile 08:26:27 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:25 res 08:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:25 snap [Pipeline] isUnix [Pipeline] sh 08:26:27 + 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=c1bad40dec39ab39dc53bfb84119fa5413f88e79 --label arch=amd64 --label version=0.0.0 . 08:26:27 Sending build context to Docker daemon 3.024MB 08:26:27 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 08:26:27 Step 2/27 : FROM ${BASE} AS builder 08:26:27 ---> ad22dd5c18a1 08:26:27 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:26:27 ---> Running in d0866f892c34 08:26:27 Removing intermediate container d0866f892c34 08:26:27 ---> 8e822b56eab8 08:26:27 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 08:26:27 ---> Running in 9642a6231dcc 08:26:27 Removing intermediate container 9642a6231dcc 08:26:27 ---> 40452eb5f1b6 08:26:27 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:26:27 ---> Running in a4aeac6779f0 08:26:27 Removing intermediate container a4aeac6779f0 08:26:27 ---> 15f71d5f619c 08:26:27 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:26:27 ---> Running in a2e17de60c3e 08:26:28 Removing intermediate container a2e17de60c3e 08:26:28 ---> ca1f7460c12c 08:26:28 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:28 ---> Running in f5dd816d741a 08:26:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:26:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:26:29 OK: 221 MiB in 52 packages 08:26:30 Removing intermediate container f5dd816d741a 08:26:30 ---> 771ef864d909 08:26:30 Step 8/27 : WORKDIR /app 08:26:30 ---> Running in c2b559a08354 08:26:30 Removing intermediate container c2b559a08354 08:26:30 ---> 130f5b294515 08:26:30 Step 9/27 : COPY go.mod vendor* ./ 08:26:30 ---> 776c901bdbb5 08:26:30 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:30 ---> Running in 4611c75f7bf9 08:26:31 Removing intermediate container 4611c75f7bf9 08:26:31 ---> 57de3450e848 08:26:31 Step 11/27 : COPY . . 08:26:31 ---> 2b90f07abfa4 08:26:31 Step 12/27 : ARG MAKE="make build" 08:26:31 ---> Running in 2622c271873a 08:26:31 Removing intermediate container 2622c271873a 08:26:31 ---> b787860fae80 08:26:31 Step 13/27 : RUN $MAKE 08:26:31 ---> Running in 0362c33fe312 08:26:31 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 08:26:53 Removing intermediate container 0362c33fe312 08:26:53 ---> e46f2aa7b448 08:26:53 Step 14/27 : FROM alpine:3.14 08:26:53 3.14: Pulling from library/alpine 08:26:53 8663204ce13b: Pulling fs layer 08:26:53 8663204ce13b: Verifying Checksum 08:26:53 8663204ce13b: Download complete 08:26:53 8663204ce13b: Pull complete 08:26:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:26:53 Status: Downloaded newer image for alpine:3.14 08:26:53 ---> e04c818066af 08:26:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:26:53 ---> Running in 4b5464da31b2 08:26:53 Removing intermediate container 4b5464da31b2 08:26:53 ---> b7165ca130d3 08:26:53 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 08:26:53 ---> Running in 64e73d998c52 08:26:53 Removing intermediate container 64e73d998c52 08:26:53 ---> 5b73af990700 08:26:53 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 08:26:53 ---> Running in b5b1bec73d1d 08:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:26:53 (1/7) Installing ca-certificates (20211220-r0) 08:26:53 (2/7) Installing dumb-init (1.2.5-r1) 08:26:53 (3/7) Installing libgcc (10.3.1_git20210424-r2) 08:26:53 (4/7) Installing libsodium (1.0.18-r0) 08:26:53 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 08:26:53 (6/7) Installing libzmq (4.3.4-r0) 08:26:53 (7/7) Installing zeromq (4.3.4-r0) 08:26:53 Executing busybox-1.33.1-r7.trigger 08:26:53 Executing ca-certificates-20211220-r0.trigger 08:26:53 OK: 9 MiB in 21 packages 08:26:53 Removing intermediate container b5b1bec73d1d 08:26:53 ---> 0f2737b52701 08:26:53 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:26:53 ---> ce85ce787641 08:26:53 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 08:26:53 ---> 796796d8ff52 08:26:53 Step 20/27 : COPY --from=builder /app/res/ /res/ 08:26:53 ---> 9d8830d918c4 08:26:53 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:26:54 ---> 3bc5dfa2b2ea 08:26:54 Step 22/27 : EXPOSE 48095 08:26:54 ---> Running in 3f3f5009b720 08:26:54 Removing intermediate container 3f3f5009b720 08:26:54 ---> e68662c4f23c 08:26:54 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 08:26:54 ---> Running in d6f097069ef1 08:26:54 Removing intermediate container d6f097069ef1 08:26:54 ---> 094251150888 08:26:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:26:54 ---> Running in 60ae7f581902 08:26:54 Removing intermediate container 60ae7f581902 08:26:54 ---> 9162d90259e4 08:26:54 Step 25/27 : LABEL arch=amd64 08:26:54 ---> Running in f2738b08ad35 08:26:54 Removing intermediate container f2738b08ad35 08:26:54 ---> 66c15c863cf8 08:26:54 Step 26/27 : LABEL git_sha=c1bad40dec39ab39dc53bfb84119fa5413f88e79 08:26:54 ---> Running in aa75b56690a9 08:26:54 Removing intermediate container aa75b56690a9 08:26:54 ---> bbbfafc36a35 08:26:54 Step 27/27 : LABEL version=0.0.0 08:26:54 ---> Running in 8b0788dca1eb 08:26:54 Removing intermediate container 8b0788dca1eb 08:26:54 ---> 83979671cc1c 08:26:54 [Warning] One or more build-args [ARCH] were not consumed 08:26:54 Successfully built 83979671cc1c 08:26:54 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:26:55 08:26:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:26:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:26:55 latest: Pulling from edgex-lftools-log-publisher 08:26:55 5eb5b503b376: Pulling fs layer 08:26:55 5c69ac0246d0: Pulling fs layer 08:26:55 ec43610c2a17: Pulling fs layer 08:26:55 3a2ae6a8a46f: Pulling fs layer 08:26:55 33b1e0a273af: Pulling fs layer 08:26:55 5d3b04190fa2: Pulling fs layer 08:26:55 3a2ae6a8a46f: Waiting 08:26:55 33b1e0a273af: Waiting 08:26:55 2f39f015ded8: Pulling fs layer 08:26:55 5d3b04190fa2: Waiting 08:26:55 2f39f015ded8: Waiting 08:26:55 5c69ac0246d0: Download complete 08:26:55 3a2ae6a8a46f: Verifying Checksum 08:26:55 3a2ae6a8a46f: Download complete 08:26:55 33b1e0a273af: Verifying Checksum 08:26:55 33b1e0a273af: Download complete 08:26:55 5d3b04190fa2: Verifying Checksum 08:26:55 5d3b04190fa2: Download complete 08:26:55 ec43610c2a17: Verifying Checksum 08:26:55 ec43610c2a17: Download complete 08:26:55 5eb5b503b376: Verifying Checksum 08:26:55 5eb5b503b376: Download complete 08:26:56 2f39f015ded8: Download complete 08:26:57 5eb5b503b376: Pull complete 08:26:57 5c69ac0246d0: Pull complete 08:26:57 ec43610c2a17: Pull complete 08:26:57 3a2ae6a8a46f: Pull complete 08:26:57 33b1e0a273af: Pull complete 08:26:57 5d3b04190fa2: Pull complete 08:27:02 2f39f015ded8: Pull complete 08:27:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:27:02 prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container 08:27:02 $ 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-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:27:03 $ docker top 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:04 ---> job-cost.sh 08:27:04 lf-activate-venv: SKIPPING 08:27:04 INFO: No Stack... 08:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:05 INFO: Archiving Costs [Pipeline] sh 08:27:05 + cat /w/workspace/_app-service-configurable_PR-407/archives/cost.csv 08:27:05 + cut -d, -f6 [Pipeline] lock 08:27:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] 08:27:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] did not exist. Created. 08:27:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:05 + echo total: 0.2199999988079071 [Pipeline] stash 08:27:05 Stashed 1 file(s) [Pipeline] } 08:27:05 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:27:05 $ docker stop --time=1 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 08:27:07 $ docker rm -f 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:27:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23586 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] ws 08:27:19 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 08:27:19 Selected Git installation does not exist. Using Default 08:27:19 The recommended git tool is: NONE 08:27:25 using credential edgex-jenkins-ssh 08:27:25 Cloning the remote Git repository 08:27:26 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 08:27:26 > git init /w/workspace/app-service-configurable/3 # timeout=10 08:27:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:27:26 > git --version # timeout=10 08:27:26 > git --version # 'git version 2.25.1' 08:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:28 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit c1bad40dec39ab39dc53bfb84119fa5413f88e79 08:27:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:27:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:27:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:27:28 > git config core.sparsecheckout # timeout=10 08:27:28 > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 08:27:28 > git remote # timeout=10 08:27:28 > git config --get remote.origin.url # timeout=10 08:27:28 Merge succeeded, producing c1bad40dec39ab39dc53bfb84119fa5413f88e79 08:27:28 Checking out Revision c1bad40dec39ab39dc53bfb84119fa5413f88e79 (PR-407) 08:27:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:28 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 08:27:28 > git rev-parse HEAD^{commit} # timeout=10 08:27:28 > git config core.sparsecheckout # timeout=10 08:27:28 > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 08:27:32 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:27:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:27:33 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:33 Dload Upload Total Spent Left Speed 08:27:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68456 0 --:--:-- --:--:-- --:--:-- 68456 [Pipeline] sh 08:27:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:27:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:27:34 + sudo tee /etc/docker/daemon.new 08:27:34 { 08:27:34 "registry-mirrors": [ 08:27:34 "https://nexus3.edgexfoundry.org:10001" 08:27:34 ], 08:27:34 "bip": "10.250.0.254/24", 08:27:34 "hosts": [ 08:27:34 "tcp://0.0.0.0:5555", 08:27:34 "unix:///var/run/docker.sock" 08:27:34 ], 08:27:34 "mtu": 1458, 08:27:34 "selinux-enabled": true, 08:27:34 "seccomp-profile": "/etc/docker/seccomp.json" 08:27:34 } [Pipeline] sh 08:27:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:27:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:53 provisioning config files... 08:27:53 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config2961535260581488915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:53 ---> docker-login.sh 08:27:53 nexus3.edgexfoundry.org:10001 08:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:54 Configure a credential helper to remove this warning. See 08:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:54 08:27:54 Login Succeeded 08:27:54 nexus3.edgexfoundry.org:10002 08:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:55 Configure a credential helper to remove this warning. See 08:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:55 08:27:55 Login Succeeded 08:27:55 nexus3.edgexfoundry.org:10003 08:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:55 Configure a credential helper to remove this warning. See 08:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:55 08:27:55 Login Succeeded 08:27:55 nexus3.edgexfoundry.org:10004 08:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:56 Configure a credential helper to remove this warning. See 08:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:56 08:27:56 Login Succeeded 08:27:56 docker.io 08:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:56 Configure a credential helper to remove this warning. See 08:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:56 08:27:56 Login Succeeded 08:27:56 ---> docker-login.sh ends [Pipeline] } 08:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:27:57 ========================================================= 08:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:27:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:27:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:27:57 Sending build context to Docker daemon 198.7kB 08:27:58 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:27:58 Step 2/13 : FROM ${BASE} AS builder 08:27:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:27:58 9b3977197b4f: Pulling fs layer 08:27:58 1a89e8eeedd5: Pulling fs layer 08:27:58 94645a83ff95: Pulling fs layer 08:27:58 3f3a8bcf1eab: Pulling fs layer 08:27:58 0c92f367c5e7: Pulling fs layer 08:27:58 3096ccb668a1: Pulling fs layer 08:27:58 e8cf19c19ddd: Pulling fs layer 08:27:58 a4caa8a26152: Pulling fs layer 08:27:58 0c92f367c5e7: Waiting 08:27:58 3f3a8bcf1eab: Waiting 08:27:58 3096ccb668a1: Waiting 08:27:58 e8cf19c19ddd: Waiting 08:27:58 a4caa8a26152: Waiting 08:27:58 94645a83ff95: Download complete 08:27:58 1a89e8eeedd5: Verifying Checksum 08:27:58 1a89e8eeedd5: Download complete 08:27:58 0c92f367c5e7: Download complete 08:27:58 3096ccb668a1: Verifying Checksum 08:27:58 3096ccb668a1: Download complete 08:27:58 9b3977197b4f: Verifying Checksum 08:27:58 9b3977197b4f: Download complete 08:27:58 e8cf19c19ddd: Verifying Checksum 08:27:58 e8cf19c19ddd: Download complete 08:27:58 9b3977197b4f: Pull complete 08:27:59 1a89e8eeedd5: Pull complete 08:28:00 94645a83ff95: Pull complete 08:28:00 a4caa8a26152: Download complete 08:28:01 3f3a8bcf1eab: Verifying Checksum 08:28:01 3f3a8bcf1eab: Download complete 08:28:13 3f3a8bcf1eab: Pull complete 08:28:13 0c92f367c5e7: Pull complete 08:28:13 3096ccb668a1: Pull complete 08:28:13 e8cf19c19ddd: Pull complete 08:28:20 a4caa8a26152: Pull complete 08:28:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:28:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:28:20 ---> 725f1c02e7f9 08:28:20 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:28:20 ---> Running in 06cb35571c51 08:28:20 Removing intermediate container 06cb35571c51 08:28:20 ---> 6c1aac8a07a7 08:28:20 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:28:20 ---> Running in 28c549250f4e 08:28:21 Removing intermediate container 28c549250f4e 08:28:21 ---> 45f98b25a9d4 08:28:21 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:28:21 ---> Running in 9c3a31045d6d 08:28:21 Removing intermediate container 9c3a31045d6d 08:28:21 ---> 415d4b6d63fc 08:28:21 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:21 ---> Running in 8330ecb31149 08:28:23 Removing intermediate container 8330ecb31149 08:28:23 ---> 207d349601de 08:28:23 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:28:23 ---> Running in ca3e2603f8f1 08:28:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:28:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:28:25 OK: 220 MiB in 52 packages 08:28:26 Removing intermediate container ca3e2603f8f1 08:28:26 ---> 6952e6e26106 08:28:26 Step 8/13 : WORKDIR /app 08:28:26 ---> Running in d28b80eb4130 08:28:27 Removing intermediate container d28b80eb4130 08:28:27 ---> 60355fee9961 08:28:27 Step 9/13 : COPY go.mod vendor* ./ 08:28:27 ---> bb90ec0f5a04 08:28:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:28:27 ---> Running in 53e139783156 08:29:14 Removing intermediate container 53e139783156 08:29:14 ---> d94edd5efb23 08:29:14 Step 11/13 : COPY . . 08:29:14 ---> 705a9d6dee8a 08:29:14 Step 12/13 : ARG MAKE="make build" 08:29:14 ---> Running in c02d120c029b 08:29:14 Removing intermediate container c02d120c029b 08:29:14 ---> a0f0796a864e 08:29:14 Step 13/13 : RUN $MAKE 08:29:14 ---> Running in 40f9bd056fec 08:29:14 noop 08:29:14 Removing intermediate container 40f9bd056fec 08:29:14 ---> a04a1127ae37 08:29:14 Successfully built a04a1127ae37 08:29:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:29:14 + docker inspect -f . ci-base-image-arm64 08:29:14 . [Pipeline] withDockerContainer 08:29:15 prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container 08:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:29:16 $ docker top 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:17 + go version 08:29:17 go version go1.17.6 linux/arm64 [Pipeline] } 08:29:17 $ docker stop --time=1 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b 08:29:19 $ docker rm -f 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:29:19 + docker inspect -f . ci-base-image-arm64 08:29:19 . [Pipeline] withDockerContainer 08:29:20 prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container 08:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:29:21 $ docker top 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:29:22 + make test 08:29:22 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 08:30:44 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:30:44 CGO_ENABLED=1 go vet ./... 08:31:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:31:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:31:03 ./bin/test-attribution-txt.sh [Pipeline] echo 08:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:31:06 $ docker stop --time=1 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e 08:31:07 $ docker rm -f 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e [Pipeline] // withDockerContainer [Pipeline] sh 08:31:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:31:09 Warning: overwriting stash ‘coverage-report’ 08:31:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:31:10 + ls -al . 08:31:10 total 160 08:31:10 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 08:31 . 08:31:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:27 .. 08:31:10 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 08:27 .dockerignore 08:31:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:27 .git 08:31:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:27 .github 08:31:10 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 08:27 .gitignore 08:31:10 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 08:27 Attribution.txt 08:31:10 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 08:27 CHANGELOG.md 08:31:10 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 08:27 Dockerfile 08:31:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:27 GOVERNANCE.md 08:31:10 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 08:27 Jenkinsfile 08:31:10 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 08:27 LICENSE 08:31:10 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 08:27 OWNERS.md 08:31:10 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 08:27 README.md 08:31:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:25 VERSION 08:31:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:27 bin 08:31:10 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:29 coverage.out 08:31:10 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 08:27 go.mod 08:31:10 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 08:27 go.sum 08:31:10 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 08:27 main.go 08:31:10 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 08:27 makefile 08:31:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 res 08:31:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:27 snap [Pipeline] isUnix [Pipeline] sh 08:31:10 + 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=c1bad40dec39ab39dc53bfb84119fa5413f88e79 --label arch=arm64 --label version=0.0.0 . 08:31:10 Sending build context to Docker daemon 199.7kB 08:31:11 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 08:31:11 Step 2/27 : FROM ${BASE} AS builder 08:31:11 ---> a04a1127ae37 08:31:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:31:11 ---> Running in b3e3a21db33a 08:31:11 Removing intermediate container b3e3a21db33a 08:31:11 ---> e1a0279ed5a9 08:31:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 08:31:11 ---> Running in fbf2035aeddf 08:31:11 Removing intermediate container fbf2035aeddf 08:31:11 ---> bf88d9d91e26 08:31:11 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:31:11 ---> Running in 4f11643d4a3a 08:31:12 Removing intermediate container 4f11643d4a3a 08:31:12 ---> 4df9d7d99fde 08:31:12 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:12 ---> Running in f67a6417587f 08:31:13 Removing intermediate container f67a6417587f 08:31:13 ---> 70b465067833 08:31:13 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:31:14 ---> Running in 2f9fd2993766 08:31:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:31:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:31:16 OK: 220 MiB in 52 packages 08:31:17 Removing intermediate container 2f9fd2993766 08:31:17 ---> 80c7f200864e 08:31:17 Step 8/27 : WORKDIR /app 08:31:17 ---> Running in ec6ef1cecad8 08:31:17 Removing intermediate container ec6ef1cecad8 08:31:17 ---> eb8a97e4331b 08:31:17 Step 9/27 : COPY go.mod vendor* ./ 08:31:18 ---> c6b1af955943 08:31:18 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:31:18 ---> Running in ddd44481df55 08:31:20 Removing intermediate container ddd44481df55 08:31:20 ---> 7b06062cebd5 08:31:20 Step 11/27 : COPY . . 08:31:21 ---> fb2ab3c11adf 08:31:21 Step 12/27 : ARG MAKE="make build" 08:31:21 ---> Running in 3b9cbeb158b6 08:31:21 Removing intermediate container 3b9cbeb158b6 08:31:21 ---> ee598e081697 08:31:21 Step 13/27 : RUN $MAKE 08:31:21 ---> Running in 86691a0b50de 08:31:22 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 08:33:29 Removing intermediate container 86691a0b50de 08:33:29 ---> bb5b3062d599 08:33:29 Step 14/27 : FROM alpine:3.14 08:33:29 3.14: Pulling from library/alpine 08:33:29 455c02918c45: Pulling fs layer 08:33:29 455c02918c45: Verifying Checksum 08:33:29 455c02918c45: Download complete 08:33:29 455c02918c45: Pull complete 08:33:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:33:29 Status: Downloaded newer image for alpine:3.14 08:33:29 ---> ac73e934f311 08:33:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:33:29 ---> Running in 5be73edee233 08:33:29 Removing intermediate container 5be73edee233 08:33:29 ---> 141c4fdf6b5f 08:33:29 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 08:33:29 ---> Running in 06ae96e96a75 08:33:29 Removing intermediate container 06ae96e96a75 08:33:29 ---> 912636700a0b 08:33:29 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 08:33:29 ---> Running in 0f440a5e4dd2 08:33:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:33:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:33:29 (1/7) Installing ca-certificates (20211220-r0) 08:33:29 (2/7) Installing dumb-init (1.2.5-r1) 08:33:29 (3/7) Installing libgcc (10.3.1_git20210424-r2) 08:33:29 (4/7) Installing libsodium (1.0.18-r0) 08:33:29 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 08:33:29 (6/7) Installing libzmq (4.3.4-r0) 08:33:29 (7/7) Installing zeromq (4.3.4-r0) 08:33:29 Executing busybox-1.33.1-r7.trigger 08:33:29 Executing ca-certificates-20211220-r0.trigger 08:33:29 OK: 9 MiB in 21 packages 08:33:29 Removing intermediate container 0f440a5e4dd2 08:33:29 ---> 48b2c05222f2 08:33:29 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:33:29 ---> aadeb1b192f9 08:33:29 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 08:33:29 ---> 157bfcce6509 08:33:29 Step 20/27 : COPY --from=builder /app/res/ /res/ 08:33:29 ---> 1d2e5cdd6f48 08:33:29 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:33:29 ---> 2f54e170e8bd 08:33:29 Step 22/27 : EXPOSE 48095 08:33:29 ---> Running in dd91ec88b64e 08:33:29 Removing intermediate container dd91ec88b64e 08:33:29 ---> 5aa11d6c996b 08:33:29 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 08:33:29 ---> Running in 240c8460d488 08:33:29 Removing intermediate container 240c8460d488 08:33:29 ---> 0bfcc45bbdd4 08:33:29 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:33:29 ---> Running in d38342f38265 08:33:29 Removing intermediate container d38342f38265 08:33:29 ---> a3fa5a277ef5 08:33:29 Step 25/27 : LABEL arch=arm64 08:33:29 ---> Running in c25cf1f1fcfb 08:33:29 Removing intermediate container c25cf1f1fcfb 08:33:29 ---> 0ff5aa59a43c 08:33:29 Step 26/27 : LABEL git_sha=c1bad40dec39ab39dc53bfb84119fa5413f88e79 08:33:29 ---> Running in 8d1ef740c391 08:33:29 Removing intermediate container 8d1ef740c391 08:33:29 ---> fbdcc803f17a 08:33:29 Step 27/27 : LABEL version=0.0.0 08:33:29 ---> Running in a5ea79c3e550 08:33:29 Removing intermediate container a5ea79c3e550 08:33:29 ---> b6c39fc371bb 08:33:29 [Warning] One or more build-args [ARCH] were not consumed 08:33:29 Successfully built b6c39fc371bb 08:33:29 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:33:30 08:33:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:33:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:33:30 arm64: Pulling from edgex-lftools-log-publisher 08:33:30 8998bd30e6a1: Pulling fs layer 08:33:30 04944245beec: Pulling fs layer 08:33:30 699f458cf7ca: Pulling fs layer 08:33:30 765212b225bb: Pulling fs layer 08:33:30 f23df028b6ca: Pulling fs layer 08:33:30 d65c8cfc05b1: Pulling fs layer 08:33:30 2437ff75d9bd: Pulling fs layer 08:33:30 f23df028b6ca: Waiting 08:33:30 d65c8cfc05b1: Waiting 08:33:30 2437ff75d9bd: Waiting 08:33:30 765212b225bb: Waiting 08:33:30 04944245beec: Verifying Checksum 08:33:30 04944245beec: Download complete 08:33:30 765212b225bb: Verifying Checksum 08:33:30 765212b225bb: Download complete 08:33:30 f23df028b6ca: Verifying Checksum 08:33:30 f23df028b6ca: Download complete 08:33:30 d65c8cfc05b1: Download complete 08:33:30 699f458cf7ca: Verifying Checksum 08:33:30 699f458cf7ca: Download complete 08:33:31 8998bd30e6a1: Verifying Checksum 08:33:31 8998bd30e6a1: Download complete 08:33:33 2437ff75d9bd: Verifying Checksum 08:33:33 2437ff75d9bd: Download complete 08:33:35 8998bd30e6a1: Pull complete 08:33:35 04944245beec: Pull complete 08:33:37 699f458cf7ca: Pull complete 08:33:37 765212b225bb: Pull complete 08:33:38 f23df028b6ca: Pull complete 08:33:38 d65c8cfc05b1: Pull complete 08:33:53 2437ff75d9bd: Pull complete 08:33:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:33:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:33:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:33:53 prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container 08:33:54 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:33:56 $ docker top 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:57 ---> job-cost.sh 08:33:57 lf-activate-venv: SKIPPING 08:33:57 INFO: No Stack... 08:33:58 INFO: Retrieving Pricing Info for: v3-standard-4 08:33:59 INFO: Archiving Costs [Pipeline] sh 08:33:59 + cut -d, -f6 08:33:59 + cat /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock 08:33:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] 08:33:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] did not exist. Created. 08:33:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:34:00 /w/workspace/app-service-configurable/3@tmp/durable-9afa6eb0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:34:01 + echo total: 0.10999999940395355 [Pipeline] stash 08:34:01 Warning: overwriting stash ‘stack-cost’ 08:34:01 Stashed 1 file(s) [Pipeline] } 08:34:01 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:34:01 $ docker stop --time=1 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 08:34:02 $ docker rm -f 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 [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 08:34:03 provisioning config files... 08:34:03 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config563610727383415657tmp [Pipeline] { [Pipeline] sh 08:34:03 + set +x 08:34:03 + curl -s https://codecov.io/bash 08:34:03 + bash -s -- 08:34:03 08:34:03 _____ _ 08:34:03 / ____| | | 08:34:03 | | ___ __| | ___ ___ _____ __ 08:34:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:34:03 | |___| (_) | (_| | __/ (_| (_) \ V / 08:34:03 \_____\___/ \__,_|\___|\___\___/ \_/ 08:34:03 Bash-1.0.6 08:34:03 08:34:03 08:34:03 ==> git version 2.25.1 found 08:34:03 ==> 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 08:34:03 Release-Date: 2020-01-08 08:34:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:34:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:34:03 ==> Jenkins CI detected. 08:34:03 current dir:  /w/workspace/_app-service-configurable_PR-407 08:34:03 project root: . 08:34:03 --> token set from env 08:34:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:34:03 ==> Running gcov in . (disable via -X gcov) 08:34:03 ==> Python coveragepy not found 08:34:03 ==> Searching for coverage reports in: 08:34:03 + . 08:34:03 -> Found 1 reports 08:34:03 ==> Detecting git/mercurial file structure 08:34:03 ==> Reading reports 08:34:03 + ./coverage.out bytes=10 08:34:03 ==> Appending adjustments 08:34:03 https://docs.codecov.io/docs/fixing-reports 08:34:03 + Found adjustments 08:34:03 ==> Gzipping contents 08:34:03 4.0K /tmp/codecov.S7DpRG.gz 08:34:03 ==> Uploading reports 08:34:03 url: https://codecov.io 08:34:03 query: branch=PR-407&commit=c1bad40dec39ab39dc53bfb84119fa5413f88e79&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 08:34:03 -> Pinging Codecov 08:34:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-407&commit=c1bad40dec39ab39dc53bfb84119fa5413f88e79&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 08:34:04 -> Uploading to 08:34:04 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/c1bad40dec39ab39dc53bfb84119fa5413f88e79/0a677cbf-3e5c-4bd9-8bc3-586f58f07dbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T083403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=680011482e8d90bf3e0898ca8f37a1efd31a19e246f607b19767a496e0451c5c 08:34:04 % Total % Received % Xferd Average Speed Time Time Time Current 08:34:04 Dload Upload Total Spent Left Speed 08:34:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2646 --:--:-- --:--:-- --:--:-- 2646 08:34:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] } 08:34:04 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 08:34:05 + [ -d /w/workspace/_app-service-configurable_PR-407/archives ] 08:34:05 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 08:34:05 total 16 08:34:05 drwxr-xr-x 3 root root 4096 Apr 26 08:27 . 08:34:05 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 .. 08:34:05 drwxr-xr-x 2 root root 4096 Apr 26 08:27 cost 08:34:05 -rw-r--r-- 1 root root 95 Apr 26 08:27 cost.csv 08:34:05 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-407/archives 08:34:05 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 08:34:05 total 16 08:34:05 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:27 . 08:34:05 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 .. 08:34:05 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:27 cost 08:34:05 -rw-r--r-- 1 jenkins jenkins 95 Apr 26 08:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:34:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:34:06 ---> package-listing.sh 08:34:06 ++ facter osfamily 08:34:06 ++ tr '[:upper:]' '[:lower:]' 08:34:06 + OS_FAMILY=debian 08:34:06 + workspace=/w/workspace/_app-service-configurable_PR-407 08:34:06 + START_PACKAGES=/tmp/packages_start.txt 08:34:06 + END_PACKAGES=/tmp/packages_end.txt 08:34:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:34:06 + PACKAGES=/tmp/packages_start.txt 08:34:06 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 08:34:06 + PACKAGES=/tmp/packages_end.txt 08:34:06 + case "${OS_FAMILY}" in 08:34:06 + dpkg -l 08:34:06 + grep '^ii' 08:34:06 + '[' -f /tmp/packages_start.txt ']' 08:34:06 + '[' -f /tmp/packages_end.txt ']' 08:34:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:34:06 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 08:34:06 + mkdir -p /w/workspace/_app-service-configurable_PR-407/archives/ 08:34:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-407/archives/ [Pipeline] echo 08:34:06 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-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:34:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:07 . [Pipeline] withDockerContainer 08:34:07 prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container 08:34:07 $ 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-407/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-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:34:07 $ docker top 3a6d58d893d7fa16651c6c2e73fce958ad2da9772f5a9925ddd074ab562c2712 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:08 + touch /tmp/pre-build-complete [Pipeline] sh 08:34:08 + mkdir -p /var/log/sysstat [Pipeline] sh 08:34:08 + ls /var/log/sa-host 08:34:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:08 provisioning config files... 08:34:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config4496003064006663762tmp [Pipeline] { [Pipeline] echo 08:34:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:34:09 ---> create-netrc.sh [Pipeline] } 08:34:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:34:09 ---> python-tools-install.sh [Pipeline] echo 08:34:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:34:09 ---> sudo-logs.sh 08:34:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:34:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:34:10 ---> job-cost.sh 08:34:10 lf-activate-venv: SKIPPING 08:34:10 DEBUG: total: 0.2199999988079071 08:34:10 INFO: Retrieving Stack Cost... 08:34:10 INFO: Retrieving Pricing Info for: v3-standard-8 08:34:11 INFO: Archiving Costs [Pipeline] echo 08:34:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:34:11 ---> logs-deploy.sh 08:34:11 lf-activate-venv: SKIPPING 08:34:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-407/3 08:34:11 INFO: archiving workspace using pattern(s): 08:34:12 Archives upload complete. 08:34:12 INFO: archiving logs to Nexus