Pull request #408 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4+df3e4aa32325b4ff01c9571101f476251afb5081 (0d66c0ff62f69b42981203bd99150ff5832d3ce2) 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-ssh13224369918597092007.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-ssh4350491268174434874.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-408/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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18399778254239951569.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-ssh743913421164954133.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-408/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-408/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1207723215641278313.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-23614’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-23613’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23617 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 Merge succeeded, producing 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 Checking out Revision 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 (PR-408) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git rev-list --no-walk a2a64409e1acb691c7a77096580297ed2c4f9923 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:33:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:33:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:33:48 ========================================================= 15:33:48 EdgeX Global Pipelines Version Info 15:33:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:33:50 ------------------- 15:33:50 stable info: 15:33:50 ------------------- 15:33:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:33:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:33:50 Message: update stable to v1.0.221 15:33:51 ------------------- 15:33:51 experimental info: 15:33:51 ------------------- 15:33:51 Commited By: Emilio Reyes emilio.reyes@intel.com 15:33:51 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:33:51 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:33:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33be463 [Pipeline] echo 15:33:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:52 provisioning config files... 15:33:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config1942325788057271513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:52 ---> docker-login.sh 15:33:52 nexus3.edgexfoundry.org:10001 15:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:54 Configure a credential helper to remove this warning. See 15:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:54 15:33:54 Login Succeeded 15:33:54 nexus3.edgexfoundry.org:10002 15:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:54 Configure a credential helper to remove this warning. See 15:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:54 15:33:54 Login Succeeded 15:33:54 nexus3.edgexfoundry.org:10003 15:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:57 Configure a credential helper to remove this warning. See 15:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:57 15:33:57 Login Succeeded 15:33:57 nexus3.edgexfoundry.org:10004 15:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:57 Configure a credential helper to remove this warning. See 15:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:57 15:33:57 Login Succeeded 15:33:57 docker.io 15:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:58 Configure a credential helper to remove this warning. See 15:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:58 15:33:58 Login Succeeded 15:33:58 ---> docker-login.sh ends [Pipeline] } 15:33:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:33:59 + git rev-list -1 --merges 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4~1..33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo 15:33:59 -----------> git rev-list -1 --merges 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4~1..33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [false] [Pipeline] sh 15:33:59 + git log --format=format:%s -1 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo 15:33:59 ========================================================= 15:33:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:33:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:34:00 + git log --format=format:%s -1 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] echo 15:34:00 [semverPrep] GIT_COMMIT: 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 15:34:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:34:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:00 + grep -v github /etc/ssh/ssh_known_hosts 15:34:00 + [ -e /tmp/ssh_known_hosts ] 15:34:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:34:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:34:00 + sudo tee -a /etc/ssh/ssh_known_hosts 15:34:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:34:01 15:34:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:34:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:34:01 latest: Pulling from edgex-devops/git-semver 15:34:01 a0d0a0d46f8b: Pulling fs layer 15:34:01 3e5f54012d9b: Pulling fs layer 15:34:01 4c7163046ea9: Pulling fs layer 15:34:01 0c2d73faf560: Pulling fs layer 15:34:01 0c2d73faf560: Waiting 15:34:01 3e5f54012d9b: Verifying Checksum 15:34:01 3e5f54012d9b: Download complete 15:34:02 0c2d73faf560: Verifying Checksum 15:34:02 0c2d73faf560: Download complete 15:34:02 4c7163046ea9: Verifying Checksum 15:34:02 4c7163046ea9: Download complete 15:34:02 a0d0a0d46f8b: Download complete 15:34:02 a0d0a0d46f8b: Pull complete 15:34:02 3e5f54012d9b: Pull complete 15:34:02 4c7163046ea9: Pull complete 15:34:02 0c2d73faf560: Pull complete 15:34:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:34:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:34:02 prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container 15:34:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:34:03 $ docker top aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:03 [ssh-agent] Looking for ssh-agent implementation... 15:34:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:03 $ docker exec aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent 15:34:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGABcGo/agent.14 15:34:04 SSH_AGENT_PID=21 15:34:04 Running ssh-add (command line suppressed) 15:34:04 Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_9140798352252676688.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_9140798352252676688.key) 15:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:04 + git tag --points-at HEAD [Pipeline] } 15:34:04 $ docker exec --env ******** --env ******** aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent -k 15:34:04 unset SSH_AUTH_SOCK; 15:34:04 unset SSH_AGENT_PID; 15:34:04 echo Agent pid 21 killed; 15:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:04 [ssh-agent] Looking for ssh-agent implementation... 15:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:04 $ docker exec aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent 15:34:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDaBeBm/agent.54 15:34:05 SSH_AGENT_PID=61 15:34:05 Running ssh-add (command line suppressed) 15:34:05 Identity added: /w/workspace/_app-service-configurable_PR-408@tmp/private_key_3461485634611876349.key (/w/workspace/_app-service-configurable_PR-408@tmp/private_key_3461485634611876349.key) 15:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:05 + git semver init 15:34:05 # -> Open(): unable to determine branch for HEAD 15:34:05 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-408/.git 15:34:05 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-408 15:34:05 # $SEMVER_REMOTE_NAME = origin 15:34:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:34:05 # $SEMVER_USER_NAME = edgex-jenkins 15:34:05 # $SEMVER_BRANCH = PR-408 15:34:05 # $SEMVER_TEMP = /tmp/semver-613092858 15:34:05 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 15:34:06 # '/tmp/semver-613092858' -> '/w/workspace/_app-service-configurable_PR-408/.semver' 15:34:06 # -> Force: false 15:34:06 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-408/.semver [Pipeline] } 15:34:06 $ docker exec --env ******** --env ******** aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 ssh-agent -k 15:34:06 unset SSH_AUTH_SOCK; 15:34:06 unset SSH_AGENT_PID; 15:34:06 echo Agent pid 61 killed; 15:34:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:06 + git semver [Pipeline] } 15:34:06 $ docker stop --time=1 aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 15:34:08 $ docker rm -f aedafc74181ab599b793abfb543bdb0ba5d8a896b2cd6bf03e325740712bd280 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:34:08 Stashed 1 file(s) [Pipeline] echo 15:34:08 [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 15:34:09 provisioning config files... 15:34:09 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config228079470530408617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:09 ---> docker-login.sh 15:34:09 nexus3.edgexfoundry.org:10001 15:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:09 Configure a credential helper to remove this warning. See 15:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:09 15:34:09 Login Succeeded 15:34:09 nexus3.edgexfoundry.org:10002 15:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:09 Configure a credential helper to remove this warning. See 15:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:09 15:34:09 Login Succeeded 15:34:09 nexus3.edgexfoundry.org:10003 15:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:09 Configure a credential helper to remove this warning. See 15:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:09 15:34:09 Login Succeeded 15:34:09 nexus3.edgexfoundry.org:10004 15:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:10 Configure a credential helper to remove this warning. See 15:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:10 15:34:10 Login Succeeded 15:34:10 docker.io 15:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:10 Configure a credential helper to remove this warning. See 15:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:10 15:34:10 Login Succeeded 15:34:10 ---> docker-login.sh ends [Pipeline] } 15:34:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:34:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:34:10 ========================================================= 15:34:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:34:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:34:10 + 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 . 15:34:10 Sending build context to Docker daemon 3.043MB 15:34:10 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:34:10 Step 2/13 : FROM ${BASE} AS builder 15:34:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:34:10 59bf1c3509f3: Pulling fs layer 15:34:10 666ba61612fd: Pulling fs layer 15:34:10 8ed8ca486205: Pulling fs layer 15:34:10 4fe6c5a15a65: Pulling fs layer 15:34:10 22a0e8bec74d: Pulling fs layer 15:34:10 ca2b28591e48: Pulling fs layer 15:34:10 a51346096db8: Pulling fs layer 15:34:10 daebc70d1ce1: Pulling fs layer 15:34:10 0e18a0eac166: Pulling fs layer 15:34:10 daebc70d1ce1: Waiting 15:34:10 ca2b28591e48: Waiting 15:34:10 0e18a0eac166: Waiting 15:34:10 22a0e8bec74d: Waiting 15:34:10 4fe6c5a15a65: Waiting 15:34:10 8ed8ca486205: Verifying Checksum 15:34:10 8ed8ca486205: Download complete 15:34:10 666ba61612fd: Verifying Checksum 15:34:10 666ba61612fd: Download complete 15:34:10 22a0e8bec74d: Verifying Checksum 15:34:10 22a0e8bec74d: Download complete 15:34:10 59bf1c3509f3: Verifying Checksum 15:34:10 59bf1c3509f3: Download complete 15:34:10 ca2b28591e48: Download complete 15:34:10 a51346096db8: Verifying Checksum 15:34:10 a51346096db8: Download complete 15:34:10 daebc70d1ce1: Verifying Checksum 15:34:10 daebc70d1ce1: Download complete 15:34:10 59bf1c3509f3: Pull complete 15:34:11 666ba61612fd: Pull complete 15:34:11 8ed8ca486205: Pull complete 15:34:11 0e18a0eac166: Download complete 15:34:11 4fe6c5a15a65: Verifying Checksum 15:34:11 4fe6c5a15a65: Download complete 15:34:15 4fe6c5a15a65: Pull complete 15:34:15 22a0e8bec74d: Pull complete 15:34:16 ca2b28591e48: Pull complete 15:34:16 a51346096db8: Pull complete 15:34:16 daebc70d1ce1: Pull complete 15:34:19 0e18a0eac166: Pull complete 15:34:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:34:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:34:19 ---> f018257e8ee9 15:34:19 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:34:20 ---> Running in a74e0a5f2e03 15:34:20 Removing intermediate container a74e0a5f2e03 15:34:20 ---> e053cef19848 15:34:20 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:34:20 ---> Running in 51ba7049de4c 15:34:20 Removing intermediate container 51ba7049de4c 15:34:20 ---> ca51a274370e 15:34:20 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:34:20 ---> Running in b4ffe643e2c8 15:34:20 Removing intermediate container b4ffe643e2c8 15:34:20 ---> 3ce8d354eeef 15:34:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:34:20 ---> Running in e8d84dcc9763 15:34:21 Removing intermediate container e8d84dcc9763 15:34:21 ---> f3a432cea22c 15:34:21 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:34:21 ---> Running in 577724ad3369 15:34:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:34:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:34:23 OK: 221 MiB in 52 packages 15:34:23 Removing intermediate container 577724ad3369 15:34:23 ---> 7acc7a9b8ec0 15:34:23 Step 8/13 : WORKDIR /app 15:34:23 ---> Running in 4f30878b9eaf 15:34:23 Removing intermediate container 4f30878b9eaf 15:34:23 ---> 25017d69180b 15:34:23 Step 9/13 : COPY go.mod vendor* ./ 15:34:23 ---> 5ed6e5c3b99e 15:34:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:34:23 ---> Running in 53128102cc2c 15:34:24 Still waiting to schedule task 15:34:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23619’ is offline 15:34:42 Removing intermediate container 53128102cc2c 15:34:42 ---> 07a2b2a0cbf6 15:34:42 Step 11/13 : COPY . . 15:34:42 ---> 16730d4b0962 15:34:42 Step 12/13 : ARG MAKE="make build" 15:34:42 ---> Running in f69f3f9960f0 15:34:42 Removing intermediate container f69f3f9960f0 15:34:42 ---> cb6c78f18d23 15:34:42 Step 13/13 : RUN $MAKE 15:34:42 ---> Running in cb866de9accc 15:34:42 noop 15:34:42 Removing intermediate container cb866de9accc 15:34:42 ---> 77707196dd5c 15:34:42 Successfully built 77707196dd5c 15:34:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:34:42 + docker inspect -f . ci-base-image-x86_64 15:34:42 . [Pipeline] withDockerContainer 15:34:42 prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container 15:34:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:34:42 $ docker top 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c -eo pid,comm [Pipeline] { [Pipeline] sh 15:34:43 + go version 15:34:43 go version go1.17.6 linux/amd64 [Pipeline] } 15:34:43 $ docker stop --time=1 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c 15:34:44 $ docker rm -f 65ce5c85e95f863516dff2ac6dc5c91bbdb75334d31bee7dc093b373bd6c521c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:34:45 + docker inspect -f . ci-base-image-x86_64 15:34:45 . [Pipeline] withDockerContainer 15:34:45 prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container 15:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:34:45 $ docker top 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:34:46 + make test 15:34:46 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:34:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:34:58 CGO_ENABLED=1 go vet ./... 15:35:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:35:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:35:00 ./bin/test-attribution-txt.sh [Pipeline] echo 15:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:35:01 $ docker stop --time=1 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb 15:35:03 $ docker rm -f 9787b1e8b5d2f7f54b15ce783d950476c2cbe9c1f09695d040b5fd2fa0342ccb [Pipeline] // withDockerContainer [Pipeline] sh 15:35:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:35:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:35:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:35:04 + ls -al . 15:35:04 total 184 15:35:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:35 . 15:35:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:33 .. 15:35:04 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 15:33 .dockerignore 15:35:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:33 .git 15:35:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:33 .github 15:35:04 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 15:33 .gitignore 15:35:04 drwx------ 3 jenkins jenkins 4096 Apr 26 15:34 .semver 15:35:04 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 15:33 Attribution.txt 15:35:04 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 15:33 CHANGELOG.md 15:35:04 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 15:33 Dockerfile 15:35:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:33 GOVERNANCE.md 15:35:04 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 15:33 Jenkinsfile 15:35:04 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 15:33 LICENSE 15:35:04 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 15:33 OWNERS.md 15:35:04 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 15:33 README.md 15:35:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:34 VERSION 15:35:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:33 bin 15:35:04 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 15:34 coverage.out 15:35:04 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 15:33 go.mod 15:35:04 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 15:33 go.sum 15:35:04 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 15:33 main.go 15:35:04 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 15:33 makefile 15:35:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:33 res 15:35:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:33 snap [Pipeline] isUnix [Pipeline] sh 15:35:04 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 --label arch=amd64 --label version=0.0.0 . 15:35:04 Sending build context to Docker daemon 3.044MB 15:35:04 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 15:35:04 Step 2/27 : FROM ${BASE} AS builder 15:35:04 ---> 77707196dd5c 15:35:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:35:04 ---> Running in 186c9aca725f 15:35:05 Removing intermediate container 186c9aca725f 15:35:05 ---> 724de19f371c 15:35:05 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:35:05 ---> Running in badbb08ce3a7 15:35:05 Removing intermediate container badbb08ce3a7 15:35:05 ---> 558f9940089e 15:35:05 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:35:05 ---> Running in ebab5f5bdcac 15:35:05 Removing intermediate container ebab5f5bdcac 15:35:05 ---> 13d1c1593b85 15:35:05 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:35:05 ---> Running in 90258eecabfb 15:35:05 Removing intermediate container 90258eecabfb 15:35:05 ---> 60dcbb09b7ab 15:35:05 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:35:05 ---> Running in aa7dd1a8c707 15:35:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:35:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:35:07 OK: 221 MiB in 52 packages 15:35:07 Removing intermediate container aa7dd1a8c707 15:35:07 ---> 0884f34eee9a 15:35:07 Step 8/27 : WORKDIR /app 15:35:07 ---> Running in e4dec4f72101 15:35:07 Removing intermediate container e4dec4f72101 15:35:07 ---> 8b6ac937dcca 15:35:07 Step 9/27 : COPY go.mod vendor* ./ 15:35:07 ---> 1ad9c9c169d2 15:35:07 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:35:07 ---> Running in bf6728cc8e1b 15:35:08 Removing intermediate container bf6728cc8e1b 15:35:08 ---> 7b97001c961f 15:35:08 Step 11/27 : COPY . . 15:35:09 ---> fa0852ce77a8 15:35:09 Step 12/27 : ARG MAKE="make build" 15:35:09 ---> Running in 79ae61e59d45 15:35:09 Removing intermediate container 79ae61e59d45 15:35:09 ---> e24b83932387 15:35:09 Step 13/27 : RUN $MAKE 15:35:09 ---> Running in c8994152ca85 15:35:09 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 15:35:31 Removing intermediate container c8994152ca85 15:35:31 ---> ce0ae99ebdff 15:35:31 Step 14/27 : FROM alpine:3.14 15:35:32 3.14: Pulling from library/alpine 15:35:32 8663204ce13b: Pulling fs layer 15:35:32 8663204ce13b: Download complete 15:35:32 8663204ce13b: Pull complete 15:35:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:35:32 Status: Downloaded newer image for alpine:3.14 15:35:32 ---> e04c818066af 15:35:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:35:33 ---> Running in ac1f842b0ec5 15:35:33 Removing intermediate container ac1f842b0ec5 15:35:33 ---> e99502272f9c 15:35:33 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:35:33 ---> Running in 0760f1b18be1 15:35:33 Removing intermediate container 0760f1b18be1 15:35:33 ---> 745f707c46b0 15:35:33 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 15:35:33 ---> Running in 45acd5e345b5 15:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:35:33 (1/7) Installing ca-certificates (20211220-r0) 15:35:33 (2/7) Installing dumb-init (1.2.5-r1) 15:35:33 (3/7) Installing libgcc (10.3.1_git20210424-r2) 15:35:33 (4/7) Installing libsodium (1.0.18-r0) 15:35:33 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 15:35:33 (6/7) Installing libzmq (4.3.4-r0) 15:35:33 (7/7) Installing zeromq (4.3.4-r0) 15:35:33 Executing busybox-1.33.1-r7.trigger 15:35:33 Executing ca-certificates-20211220-r0.trigger 15:35:33 OK: 9 MiB in 21 packages 15:35:34 Removing intermediate container 45acd5e345b5 15:35:34 ---> 51c2f8186211 15:35:34 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:35:34 ---> 7a35f2fb8184 15:35:34 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 15:35:34 ---> e2cfbb3839de 15:35:34 Step 20/27 : COPY --from=builder /app/res/ /res/ 15:35:34 ---> f28549ce0997 15:35:34 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 15:35:35 ---> 0d79e2861b85 15:35:35 Step 22/27 : EXPOSE 48095 15:35:35 ---> Running in 24a15cae2ade 15:35:35 Removing intermediate container 24a15cae2ade 15:35:35 ---> 3ae298947027 15:35:35 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 15:35:35 ---> Running in 7e686d4d3a70 15:35:35 Removing intermediate container 7e686d4d3a70 15:35:35 ---> e37621dc588d 15:35:35 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:35:35 ---> Running in ac964e0362b3 15:35:35 Removing intermediate container ac964e0362b3 15:35:35 ---> 6346edf8dc21 15:35:35 Step 25/27 : LABEL arch=amd64 15:35:35 ---> Running in 7650715a030c 15:35:35 Removing intermediate container 7650715a030c 15:35:35 ---> 3b2171e77cc9 15:35:35 Step 26/27 : LABEL git_sha=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 15:35:36 ---> Running in 96692cbf8fc0 15:35:36 Removing intermediate container 96692cbf8fc0 15:35:36 ---> 17854f1a6aaa 15:35:36 Step 27/27 : LABEL version=0.0.0 15:35:36 ---> Running in 90f24ca3bd9d 15:35:36 Removing intermediate container 90f24ca3bd9d 15:35:36 ---> aa244abbb88d 15:35:36 [Warning] One or more build-args [ARCH] were not consumed 15:35:36 Successfully built aa244abbb88d 15:35:36 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 15:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:36 15:35:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:35:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:37 latest: Pulling from edgex-lftools-log-publisher 15:35:37 5eb5b503b376: Pulling fs layer 15:35:37 5c69ac0246d0: Pulling fs layer 15:35:37 ec43610c2a17: Pulling fs layer 15:35:37 3a2ae6a8a46f: Pulling fs layer 15:35:37 33b1e0a273af: Pulling fs layer 15:35:37 5d3b04190fa2: Pulling fs layer 15:35:37 33b1e0a273af: Waiting 15:35:37 3a2ae6a8a46f: Waiting 15:35:37 2f39f015ded8: Pulling fs layer 15:35:37 2f39f015ded8: Waiting 15:35:37 5c69ac0246d0: Download complete 15:35:37 3a2ae6a8a46f: Verifying Checksum 15:35:37 3a2ae6a8a46f: Download complete 15:35:37 33b1e0a273af: Verifying Checksum 15:35:37 33b1e0a273af: Download complete 15:35:37 5d3b04190fa2: Verifying Checksum 15:35:37 5d3b04190fa2: Download complete 15:35:37 ec43610c2a17: Verifying Checksum 15:35:37 ec43610c2a17: Download complete 15:35:37 5eb5b503b376: Verifying Checksum 15:35:37 5eb5b503b376: Download complete 15:35:38 2f39f015ded8: Download complete 15:35:39 5eb5b503b376: Pull complete 15:35:39 5c69ac0246d0: Pull complete 15:35:39 ec43610c2a17: Pull complete 15:35:39 3a2ae6a8a46f: Pull complete 15:35:39 33b1e0a273af: Pull complete 15:35:40 5d3b04190fa2: Pull complete 15:35:44 2f39f015ded8: Pull complete 15:35:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:35:44 prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container 15:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:35:46 $ docker top 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:46 ---> job-cost.sh 15:35:46 lf-activate-venv: SKIPPING 15:35:46 INFO: No Stack... 15:35:53 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:53 INFO: Archiving Costs [Pipeline] sh 15:35:53 + cat /w/workspace/_app-service-configurable_PR-408/archives/cost.csv 15:35:53 + cut -d, -f6 [Pipeline] lock 15:35:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] 15:35:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] did not exist. Created. 15:35:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:54 + echo total: 0.2199999988079071 [Pipeline] stash 15:35:54 Stashed 1 file(s) [Pipeline] } 15:35:54 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:54 $ docker stop --time=1 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 15:35:55 $ docker rm -f 0405ef59b860866de3c5c4251d105fad2b126cded4d8ba5c3a57b954a9b7f125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:37:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23621 in /w/workspace/_app-service-configurable_PR-408 [Pipeline] { [Pipeline] ws 15:37:25 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 15:37:26 Selected Git installation does not exist. Using Default 15:37:26 The recommended git tool is: NONE 15:37:34 using credential edgex-jenkins-ssh 15:37:34 Cloning the remote Git repository 15:37:34 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:37:34 > git init /w/workspace/app-service-configurable/3 # timeout=10 15:37:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:37:35 > git --version # timeout=10 15:37:35 > git --version # 'git version 2.25.1' 15:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:37:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:37:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:37:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:37:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:37:37 Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 15:37:37 Merge succeeded, producing 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 15:37:37 Checking out Revision 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 (PR-408) 15:37:37 > git config core.sparsecheckout # timeout=10 15:37:37 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 15:37:37 > git remote # timeout=10 15:37:37 > git config --get remote.origin.url # timeout=10 15:37:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:37:37 > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 15:37:37 > git rev-parse HEAD^{commit} # timeout=10 15:37:37 > git config core.sparsecheckout # timeout=10 15:37:37 > git checkout -f 33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 # timeout=10 15:37:42 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:37:43 % Total % Received % Xferd Average Speed Time Time Time Current 15:37:43 Dload Upload Total Spent Left Speed 15:37:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 15:37:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:37:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:37:44 + sudo tee /etc/docker/daemon.new 15:37:44 { 15:37:44 "registry-mirrors": [ 15:37:44 "https://nexus3.edgexfoundry.org:10001" 15:37:44 ], 15:37:44 "bip": "10.250.0.254/24", 15:37:44 "hosts": [ 15:37:44 "tcp://0.0.0.0:5555", 15:37:44 "unix:///var/run/docker.sock" 15:37:44 ], 15:37:44 "mtu": 1458, 15:37:44 "selinux-enabled": true, 15:37:44 "seccomp-profile": "/etc/docker/seccomp.json" 15:37:44 } [Pipeline] sh 15:37:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:37:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:03 provisioning config files... 15:38:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config807722581531796752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:03 ---> docker-login.sh 15:38:03 nexus3.edgexfoundry.org:10001 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:04 Configure a credential helper to remove this warning. See 15:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:04 15:38:04 Login Succeeded 15:38:04 nexus3.edgexfoundry.org:10002 15:38:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:05 Configure a credential helper to remove this warning. See 15:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:05 15:38:05 Login Succeeded 15:38:05 nexus3.edgexfoundry.org:10003 15:38:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:05 Configure a credential helper to remove this warning. See 15:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:05 15:38:05 Login Succeeded 15:38:05 nexus3.edgexfoundry.org:10004 15:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:06 Configure a credential helper to remove this warning. See 15:38:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:06 15:38:06 Login Succeeded 15:38:06 docker.io 15:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:07 Configure a credential helper to remove this warning. See 15:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:07 15:38:07 Login Succeeded 15:38:07 ---> docker-login.sh ends [Pipeline] } 15:38:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:07 ========================================================= 15:38:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:38:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:38:08 + 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 . 15:38:08 Sending build context to Docker daemon 218.1kB 15:38:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:38:08 Step 2/13 : FROM ${BASE} AS builder 15:38:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:38:08 9b3977197b4f: Pulling fs layer 15:38:08 1a89e8eeedd5: Pulling fs layer 15:38:08 94645a83ff95: Pulling fs layer 15:38:08 3f3a8bcf1eab: Pulling fs layer 15:38:08 0c92f367c5e7: Pulling fs layer 15:38:08 3096ccb668a1: Pulling fs layer 15:38:08 e8cf19c19ddd: Pulling fs layer 15:38:08 a4caa8a26152: Pulling fs layer 15:38:08 3f3a8bcf1eab: Waiting 15:38:08 0c92f367c5e7: Waiting 15:38:08 3096ccb668a1: Waiting 15:38:08 e8cf19c19ddd: Waiting 15:38:08 a4caa8a26152: Waiting 15:38:08 94645a83ff95: Verifying Checksum 15:38:08 94645a83ff95: Download complete 15:38:08 1a89e8eeedd5: Download complete 15:38:08 0c92f367c5e7: Verifying Checksum 15:38:08 0c92f367c5e7: Download complete 15:38:08 3096ccb668a1: Download complete 15:38:09 9b3977197b4f: Download complete 15:38:09 e8cf19c19ddd: Verifying Checksum 15:38:09 e8cf19c19ddd: Download complete 15:38:09 9b3977197b4f: Pull complete 15:38:10 1a89e8eeedd5: Pull complete 15:38:11 94645a83ff95: Pull complete 15:38:11 a4caa8a26152: Download complete 15:38:11 3f3a8bcf1eab: Verifying Checksum 15:38:11 3f3a8bcf1eab: Download complete 15:38:24 3f3a8bcf1eab: Pull complete 15:38:24 0c92f367c5e7: Pull complete 15:38:24 3096ccb668a1: Pull complete 15:38:24 e8cf19c19ddd: Pull complete 15:38:31 a4caa8a26152: Pull complete 15:38:31 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:38:31 ---> 725f1c02e7f9 15:38:31 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:38:32 ---> Running in 2f0a0510768c 15:38:32 Removing intermediate container 2f0a0510768c 15:38:32 ---> 3dd204f9996a 15:38:32 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:38:32 ---> Running in f963297007e4 15:38:33 Removing intermediate container f963297007e4 15:38:33 ---> 910e9023c9c6 15:38:33 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:38:33 ---> Running in 6b978f0008f6 15:38:33 Removing intermediate container 6b978f0008f6 15:38:33 ---> 28278586b4df 15:38:33 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:33 ---> Running in c3a56b8d0e56 15:38:35 Removing intermediate container c3a56b8d0e56 15:38:35 ---> 85f797c27f33 15:38:35 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:35 ---> Running in 044d900a2888 15:38:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:38:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:38:39 OK: 220 MiB in 52 packages 15:38:40 Removing intermediate container 044d900a2888 15:38:40 ---> 8163a6030dd5 15:38:40 Step 8/13 : WORKDIR /app 15:38:40 ---> Running in f4273cbcf45e 15:38:41 Removing intermediate container f4273cbcf45e 15:38:41 ---> ca5a91e06c8a 15:38:41 Step 9/13 : COPY go.mod vendor* ./ 15:38:41 ---> 6482b0127f20 15:38:41 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:41 ---> Running in f2809a959638 15:39:38 Removing intermediate container f2809a959638 15:39:38 ---> b25e31925b76 15:39:38 Step 11/13 : COPY . . 15:39:38 ---> db9188b8ef96 15:39:38 Step 12/13 : ARG MAKE="make build" 15:39:38 ---> Running in 4ff8193badee 15:39:38 Removing intermediate container 4ff8193badee 15:39:38 ---> 4ef4927fb5c8 15:39:38 Step 13/13 : RUN $MAKE 15:39:38 ---> Running in f69f0792924a 15:39:38 noop 15:39:38 Removing intermediate container f69f0792924a 15:39:38 ---> e1775f06ee65 15:39:38 Successfully built e1775f06ee65 15:39:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:39:38 + docker inspect -f . ci-base-image-arm64 15:39:38 . [Pipeline] withDockerContainer 15:39:39 prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container 15:39:39 $ 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 ******** ci-base-image-arm64 cat 15:39:40 $ docker top a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:41 + go version 15:39:41 go version go1.17.6 linux/arm64 [Pipeline] } 15:39:41 $ docker stop --time=1 a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb 15:39:43 $ docker rm -f a51df480fa63adbfd06f78eddd6ba82cb2151b549c5b4ff147734f6017caaffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:39:44 + docker inspect -f . ci-base-image-arm64 15:39:44 . [Pipeline] withDockerContainer 15:39:44 prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container 15:39:44 $ 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 ******** ci-base-image-arm64 cat 15:39:46 $ docker top 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:39:47 + make test 15:39:47 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:41:24 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:41:24 CGO_ENABLED=1 go vet ./... 15:41:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:41:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:41:56 ./bin/test-attribution-txt.sh [Pipeline] echo 15:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:41:56 $ docker stop --time=1 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 15:41:58 $ docker rm -f 70ed62f59f9b36198669b64b32aca2da4b25313f5a4a6efe6df11101c205f218 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:42:00 Warning: overwriting stash ‘coverage-report’ 15:42:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:01 + ls -al . 15:42:01 total 180 15:42:01 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 15:41 . 15:42:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:37 .. 15:42:01 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 15:37 .dockerignore 15:42:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:37 .git 15:42:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:37 .github 15:42:01 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 15:37 .gitignore 15:42:01 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 15:37 Attribution.txt 15:42:01 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 15:37 CHANGELOG.md 15:42:01 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 15:37 Dockerfile 15:42:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:37 GOVERNANCE.md 15:42:01 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 15:37 Jenkinsfile 15:42:01 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 15:37 LICENSE 15:42:01 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 15:37 OWNERS.md 15:42:01 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 15:37 README.md 15:42:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:34 VERSION 15:42:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:37 bin 15:42:01 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 15:39 coverage.out 15:42:01 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 15:37 go.mod 15:42:01 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 26 15:37 go.sum 15:42:01 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 15:37 main.go 15:42:01 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 15:37 makefile 15:42:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:37 res 15:42:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:37 snap [Pipeline] isUnix [Pipeline] sh 15:42:01 + 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=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 --label arch=arm64 --label version=0.0.0 . 15:42:01 Sending build context to Docker daemon 219.1kB 15:42:02 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 15:42:02 Step 2/27 : FROM ${BASE} AS builder 15:42:02 ---> e1775f06ee65 15:42:02 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:42:02 ---> Running in 9bc3a74bcc8d 15:42:02 Removing intermediate container 9bc3a74bcc8d 15:42:02 ---> cc23b7e53403 15:42:02 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:42:03 ---> Running in 7e95f5ce2d6b 15:42:03 Removing intermediate container 7e95f5ce2d6b 15:42:03 ---> 434971df43a8 15:42:03 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:42:03 ---> Running in e08a4eb2eec9 15:42:03 Removing intermediate container e08a4eb2eec9 15:42:03 ---> 116b41c308fa 15:42:03 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:03 ---> Running in c7a730e6f452 15:42:05 Removing intermediate container c7a730e6f452 15:42:05 ---> 66fa13c4c77a 15:42:05 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:05 ---> Running in 987442c00369 15:42:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:42:09 OK: 220 MiB in 52 packages 15:42:10 Removing intermediate container 987442c00369 15:42:10 ---> ec16bc1c807c 15:42:10 Step 8/27 : WORKDIR /app 15:42:10 ---> Running in a32dcab9453d 15:42:10 Removing intermediate container a32dcab9453d 15:42:10 ---> 538d8f65893f 15:42:10 Step 9/27 : COPY go.mod vendor* ./ 15:42:11 ---> 0a9efb9d71b3 15:42:11 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:11 ---> Running in 8f7806652f14 15:42:14 Removing intermediate container 8f7806652f14 15:42:14 ---> ee4441203aa0 15:42:14 Step 11/27 : COPY . . 15:42:14 ---> cf5bd4959a03 15:42:14 Step 12/27 : ARG MAKE="make build" 15:42:15 ---> Running in 4aaf05047e30 15:42:15 Removing intermediate container 4aaf05047e30 15:42:15 ---> 70e7e06cf4df 15:42:15 Step 13/27 : RUN $MAKE 15:42:15 ---> Running in 6eaa143c66d8 15:42:16 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 15:44:53 Removing intermediate container 6eaa143c66d8 15:44:53 ---> 09f265289aff 15:44:53 Step 14/27 : FROM alpine:3.14 15:44:53 3.14: Pulling from library/alpine 15:44:53 455c02918c45: Pulling fs layer 15:44:53 455c02918c45: Verifying Checksum 15:44:53 455c02918c45: Download complete 15:44:53 455c02918c45: Pull complete 15:44:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:44:53 Status: Downloaded newer image for alpine:3.14 15:44:53 ---> ac73e934f311 15:44:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:44:53 ---> Running in aa150d1dcf99 15:44:53 Removing intermediate container aa150d1dcf99 15:44:53 ---> f51c0c12bec1 15:44:53 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:44:53 ---> Running in 2e9adfb4968f 15:44:53 Removing intermediate container 2e9adfb4968f 15:44:53 ---> ad713dc07477 15:44:53 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 15:44:53 ---> Running in e43bc914b420 15:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:44:53 (1/7) Installing ca-certificates (20211220-r0) 15:44:53 (2/7) Installing dumb-init (1.2.5-r1) 15:44:53 (3/7) Installing libgcc (10.3.1_git20210424-r2) 15:44:53 (4/7) Installing libsodium (1.0.18-r0) 15:44:53 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 15:44:53 (6/7) Installing libzmq (4.3.4-r0) 15:44:53 (7/7) Installing zeromq (4.3.4-r0) 15:44:53 Executing busybox-1.33.1-r7.trigger 15:44:53 Executing ca-certificates-20211220-r0.trigger 15:44:53 OK: 9 MiB in 21 packages 15:44:53 Removing intermediate container e43bc914b420 15:44:53 ---> f52a9dd70255 15:44:53 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:44:53 ---> cb5f0f17b52f 15:44:53 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 15:44:54 ---> 61975eb28117 15:44:54 Step 20/27 : COPY --from=builder /app/res/ /res/ 15:44:54 ---> 11e5423f5094 15:44:54 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 15:44:56 ---> fa313c0b0fdd 15:44:56 Step 22/27 : EXPOSE 48095 15:44:56 ---> Running in aaa08b9a731c 15:44:56 Removing intermediate container aaa08b9a731c 15:44:56 ---> 0357c06e8f9f 15:44:56 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 15:44:56 ---> Running in 4388b9b3326b 15:44:57 Removing intermediate container 4388b9b3326b 15:44:57 ---> bca8bea09703 15:44:57 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:44:57 ---> Running in 19df731cab65 15:44:57 Removing intermediate container 19df731cab65 15:44:57 ---> e41c2758ad4e 15:44:57 Step 25/27 : LABEL arch=arm64 15:44:57 ---> Running in 1acb929acb8a 15:44:58 Removing intermediate container 1acb929acb8a 15:44:58 ---> d4fbca84902c 15:44:58 Step 26/27 : LABEL git_sha=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 15:44:58 ---> Running in d9f8c27be967 15:44:58 Removing intermediate container d9f8c27be967 15:44:58 ---> 9015c4618626 15:44:58 Step 27/27 : LABEL version=0.0.0 15:44:58 ---> Running in a12a390880c0 15:44:58 Removing intermediate container a12a390880c0 15:44:58 ---> a6cd997a6c7e 15:44:58 [Warning] One or more build-args [ARCH] were not consumed 15:44:58 Successfully built a6cd997a6c7e 15:44:58 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 15:44:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:59 15:44:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:44:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:00 arm64: Pulling from edgex-lftools-log-publisher 15:45:00 8998bd30e6a1: Pulling fs layer 15:45:00 04944245beec: Pulling fs layer 15:45:00 699f458cf7ca: Pulling fs layer 15:45:00 765212b225bb: Pulling fs layer 15:45:00 f23df028b6ca: Pulling fs layer 15:45:00 d65c8cfc05b1: Pulling fs layer 15:45:00 2437ff75d9bd: Pulling fs layer 15:45:00 765212b225bb: Waiting 15:45:00 f23df028b6ca: Waiting 15:45:00 d65c8cfc05b1: Waiting 15:45:00 2437ff75d9bd: Waiting 15:45:00 04944245beec: Verifying Checksum 15:45:00 04944245beec: Download complete 15:45:00 765212b225bb: Download complete 15:45:00 f23df028b6ca: Download complete 15:45:00 d65c8cfc05b1: Verifying Checksum 15:45:00 d65c8cfc05b1: Download complete 15:45:00 699f458cf7ca: Verifying Checksum 15:45:00 699f458cf7ca: Download complete 15:45:00 8998bd30e6a1: Verifying Checksum 15:45:00 8998bd30e6a1: Download complete 15:45:03 2437ff75d9bd: Verifying Checksum 15:45:03 2437ff75d9bd: Download complete 15:45:05 8998bd30e6a1: Pull complete 15:45:05 04944245beec: Pull complete 15:45:07 699f458cf7ca: Pull complete 15:45:07 765212b225bb: Pull complete 15:45:07 f23df028b6ca: Pull complete 15:45:08 d65c8cfc05b1: Pull complete 15:45:23 2437ff75d9bd: Pull complete 15:45:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:45:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:45:23 prd-ubuntu20.04-docker-arm64-4c-16g-23621 does not seem to be running inside a container 15:45:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:45:26 $ docker top a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:27 ---> job-cost.sh 15:45:27 lf-activate-venv: SKIPPING 15:45:27 INFO: No Stack... 15:45:27 INFO: Retrieving Pricing Info for: v3-standard-4 15:45:28 INFO: Archiving Costs [Pipeline] sh 15:45:29 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 15:45:29 + cut -d, -f6 [Pipeline] lock 15:45:29 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] 15:45:29 Resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] did not exist. Created. 15:45:29 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:30 /w/workspace/app-service-configurable/3@tmp/durable-a5f2d17f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:45:30 + echo total: 0.10999999940395355 [Pipeline] stash 15:45:30 Warning: overwriting stash ‘stack-cost’ 15:45:30 Stashed 1 file(s) [Pipeline] } 15:45:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-408-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:30 $ docker stop --time=1 a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d 15:45:32 $ docker rm -f a5900656c481744a3cb445490d7b19d37791ce7b5ef3438748721d3e8c2d751d [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 15:45:32 provisioning config files... 15:45:32 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config6539437971078297559tmp [Pipeline] { [Pipeline] sh 15:45:33 + set +x 15:45:33 + curl -s https://codecov.io/bash 15:45:33 + bash -s -- 15:45:33 15:45:33 _____ _ 15:45:33 / ____| | | 15:45:33 | | ___ __| | ___ ___ _____ __ 15:45:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:45:33 | |___| (_) | (_| | __/ (_| (_) \ V / 15:45:33 \_____\___/ \__,_|\___|\___\___/ \_/ 15:45:33 Bash-1.0.6 15:45:33 15:45:33 15:45:33 ==> git version 2.25.1 found 15:45:33 ==> 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 15:45:33 Release-Date: 2020-01-08 15:45:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:45:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:45:33 ==> Jenkins CI detected. 15:45:33 current dir:  /w/workspace/_app-service-configurable_PR-408 15:45:33 project root: . 15:45:33 --> token set from env 15:45:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:45:33 ==> Running gcov in . (disable via -X gcov) 15:45:33 ==> Python coveragepy not found 15:45:33 ==> Searching for coverage reports in: 15:45:33 + . 15:45:33 -> Found 1 reports 15:45:33 ==> Detecting git/mercurial file structure 15:45:33 ==> Reading reports 15:45:33 + ./coverage.out bytes=10 15:45:33 ==> Appending adjustments 15:45:33 https://docs.codecov.io/docs/fixing-reports 15:45:33 + Found adjustments 15:45:33 ==> Gzipping contents 15:45:33 4.0K /tmp/codecov.s030AD.gz 15:45:33 ==> Uploading reports 15:45:33 url: https://codecov.io 15:45:33 query: branch=PR-408&commit=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= 15:45:33 -> Pinging Codecov 15:45:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-408&commit=33be4634f6d4eb7b07c28c22636b15fbd46bdeb4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-408%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=408&job=&cmd_args= 15:45:33 -> Uploading to 15:45:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/33be4634f6d4eb7b07c28c22636b15fbd46bdeb4/81fd7ce1-855e-4d90-af4b-8349962560d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T154533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88cccf45e6bb1309d5b63361c32ca6f40b88ee00df84dae74122dcbc721a945e 15:45:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:33 Dload Upload Total Spent Left Speed 15:45:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2671 --:--:-- --:--:-- --:--:-- 2671 15:45:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/33be4634f6d4eb7b07c28c22636b15fbd46bdeb4 [Pipeline] } 15:45:33 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 15:45:34 + [ -d /w/workspace/_app-service-configurable_PR-408/archives ] 15:45:34 + ls -al /w/workspace/_app-service-configurable_PR-408/archives 15:45:34 total 16 15:45:34 drwxr-xr-x 3 root root 4096 Apr 26 15:35 . 15:45:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:35 .. 15:45:34 drwxr-xr-x 2 root root 4096 Apr 26 15:35 cost 15:45:34 -rw-r--r-- 1 root root 95 Apr 26 15:35 cost.csv 15:45:34 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-408/archives 15:45:34 + ls -al /w/workspace/_app-service-configurable_PR-408/archives 15:45:34 total 16 15:45:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:35 . 15:45:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:35 .. 15:45:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:35 cost 15:45:34 -rw-r--r-- 1 jenkins jenkins 95 Apr 26 15:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:45:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:45:35 ---> package-listing.sh 15:45:35 ++ facter osfamily 15:45:35 ++ tr '[:upper:]' '[:lower:]' 15:45:35 + OS_FAMILY=debian 15:45:35 + workspace=/w/workspace/_app-service-configurable_PR-408 15:45:35 + START_PACKAGES=/tmp/packages_start.txt 15:45:35 + END_PACKAGES=/tmp/packages_end.txt 15:45:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:45:35 + PACKAGES=/tmp/packages_start.txt 15:45:35 + '[' /w/workspace/_app-service-configurable_PR-408 ']' 15:45:35 + PACKAGES=/tmp/packages_end.txt 15:45:35 + case "${OS_FAMILY}" in 15:45:35 + dpkg -l 15:45:35 + grep '^ii' 15:45:35 + '[' -f /tmp/packages_start.txt ']' 15:45:35 + '[' -f /tmp/packages_end.txt ']' 15:45:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:45:35 + '[' /w/workspace/_app-service-configurable_PR-408 ']' 15:45:35 + mkdir -p /w/workspace/_app-service-configurable_PR-408/archives/ 15:45:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-408/archives/ [Pipeline] echo 15:45:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:45:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:45:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:36 . [Pipeline] withDockerContainer 15:45:36 prd-ubuntu20.04-docker-8c-8g-23617 does not seem to be running inside a container 15:45:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-408 -v /w/workspace/_app-service-configurable_PR-408:/w/workspace/_app-service-configurable_PR-408:rw,z -v /w/workspace/_app-service-configurable_PR-408@tmp:/w/workspace/_app-service-configurable_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:37 $ docker top 51932a257428dde03449ae6fc28e0821f2b565f96752443a4f67811470f691c9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:37 + touch /tmp/pre-build-complete [Pipeline] sh 15:45:37 + mkdir -p /var/log/sysstat [Pipeline] sh 15:45:38 + ls /var/log/sa-host 15:45:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:38 provisioning config files... 15:45:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-408@tmp/config4161254995639212664tmp [Pipeline] { [Pipeline] echo 15:45:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:45:38 ---> create-netrc.sh [Pipeline] } 15:45:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:45:38 ---> python-tools-install.sh [Pipeline] echo 15:45:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:45:39 ---> sudo-logs.sh 15:45:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:45:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:45:39 ---> job-cost.sh 15:45:39 lf-activate-venv: SKIPPING 15:45:39 DEBUG: total: 0.2199999988079071 15:45:39 INFO: Retrieving Stack Cost... 15:45:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:40 INFO: Archiving Costs [Pipeline] echo 15:45:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:45:40 ---> logs-deploy.sh 15:45:40 lf-activate-venv: SKIPPING 15:45:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-408/3 15:45:40 INFO: archiving workspace using pattern(s): 15:45:41 Archives upload complete. 15:45:41 INFO: archiving logs to Nexus