Pull request #405 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4545a0dc65de264153a2b7cfb01ae096bab3884e+1a526f114784ef26915ff80fd995ea89bcf8e607 (4cef3412b94edee03189a72baf256bb6affda76d) 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-ssh6829510001845523394.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-ssh4674212272535642229.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-405/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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5990366099251264877.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-ssh2286643487750057100.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-405/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-405/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3405009299575657322.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21360 in /w/workspace/_app-service-configurable_PR-405 [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-405 # 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 4545a0dc65de264153a2b7cfb01ae096bab3884e Merge succeeded, producing 4545a0dc65de264153a2b7cfb01ae096bab3884e Checking out Revision 4545a0dc65de264153a2b7cfb01ae096bab3884e (PR-405) > 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # 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 4545a0dc65de264153a2b7cfb01ae096bab3884e # 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 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:38:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:38:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:38:20 ========================================================= 16:38:20 EdgeX Global Pipelines Version Info 16:38:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:38:21 ------------------- 16:38:21 stable info: 16:38:21 ------------------- 16:38:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:38:21 Message: update stable to v1.0.221 16:38:21 ------------------- 16:38:21 experimental info: 16:38:21 ------------------- 16:38:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:21 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 16:38:21 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:38:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 16:38:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 16:38:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:38:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4545a0d [Pipeline] echo 16:38:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:22 provisioning config files... 16:38:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config1051306115232442389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:22 ---> docker-login.sh 16:38:22 nexus3.edgexfoundry.org:10001 16:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:23 Configure a credential helper to remove this warning. See 16:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:23 16:38:23 Login Succeeded 16:38:23 nexus3.edgexfoundry.org:10002 16:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:23 Configure a credential helper to remove this warning. See 16:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:23 16:38:23 Login Succeeded 16:38:23 nexus3.edgexfoundry.org:10003 16:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:23 Configure a credential helper to remove this warning. See 16:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:23 16:38:23 Login Succeeded 16:38:23 nexus3.edgexfoundry.org:10004 16:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:23 Configure a credential helper to remove this warning. See 16:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:23 16:38:23 Login Succeeded 16:38:23 docker.io 16:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:23 Configure a credential helper to remove this warning. See 16:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:23 16:38:23 Login Succeeded 16:38:23 ---> docker-login.sh ends [Pipeline] } 16:38:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:38:24 + git rev-list -1 --merges 4545a0dc65de264153a2b7cfb01ae096bab3884e~1..4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo 16:38:24 -----------> git rev-list -1 --merges 4545a0dc65de264153a2b7cfb01ae096bab3884e~1..4545a0dc65de264153a2b7cfb01ae096bab3884e 4545a0dc65de264153a2b7cfb01ae096bab3884e [false] [Pipeline] sh 16:38:24 + git log --format=format:%s -1 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo 16:38:24 ========================================================= 16:38:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:38:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:24 + git log --format=format:%s -1 4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] echo 16:38:24 [semverPrep] GIT_COMMIT: 4545a0dc65de264153a2b7cfb01ae096bab3884e, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 16:38:24 [semverPrep] This is not a build commit. [Pipeline] sh 16:38:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:38:25 + grep -v github /etc/ssh/ssh_known_hosts 16:38:25 + [ -e /tmp/ssh_known_hosts ] 16:38:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:38:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:38:25 + sudo tee -a /etc/ssh/ssh_known_hosts 16:38:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:25 16:38:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:38:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:26 latest: Pulling from edgex-devops/git-semver 16:38:26 a0d0a0d46f8b: Pulling fs layer 16:38:26 3e5f54012d9b: Pulling fs layer 16:38:26 4c7163046ea9: Pulling fs layer 16:38:26 0c2d73faf560: Pulling fs layer 16:38:26 0c2d73faf560: Waiting 16:38:26 3e5f54012d9b: Download complete 16:38:26 a0d0a0d46f8b: Verifying Checksum 16:38:26 a0d0a0d46f8b: Download complete 16:38:26 0c2d73faf560: Verifying Checksum 16:38:26 4c7163046ea9: Verifying Checksum 16:38:26 4c7163046ea9: Download complete 16:38:26 a0d0a0d46f8b: Pull complete 16:38:26 3e5f54012d9b: Pull complete 16:38:26 4c7163046ea9: Pull complete 16:38:26 0c2d73faf560: Pull complete 16:38:26 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:38:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:38:26 prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container 16:38:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:38:27 $ docker top f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:27 [ssh-agent] Looking for ssh-agent implementation... 16:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:27 $ docker exec f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent 16:38:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAGeOKn/agent.14 16:38:27 SSH_AGENT_PID=20 16:38:27 Running ssh-add (command line suppressed) 16:38:28 Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_8552594182430793029.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_8552594182430793029.key) 16:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:28 + git tag --points-at HEAD [Pipeline] } 16:38:28 $ docker exec --env ******** --env ******** f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent -k 16:38:28 unset SSH_AUTH_SOCK; 16:38:28 unset SSH_AGENT_PID; 16:38:28 echo Agent pid 20 killed; 16:38:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:38:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:28 [ssh-agent] Looking for ssh-agent implementation... 16:38:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:28 $ docker exec f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent 16:38:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCOjKMD/agent.53 16:38:28 SSH_AGENT_PID=59 16:38:28 Running ssh-add (command line suppressed) 16:38:28 Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_2392429208284380055.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_2392429208284380055.key) 16:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:29 + git semver init 16:38:29 # -> Open(): unable to determine branch for HEAD 16:38:29 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-405/.git 16:38:29 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-405 16:38:29 # $SEMVER_REMOTE_NAME = origin 16:38:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:38:29 # $SEMVER_USER_NAME = edgex-jenkins 16:38:29 # $SEMVER_BRANCH = PR-405 16:38:29 # $SEMVER_TEMP = /tmp/semver-097632119 16:38:29 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 16:38:30 # '/tmp/semver-097632119' -> '/w/workspace/_app-service-configurable_PR-405/.semver' 16:38:30 # -> Force: false 16:38:30 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-405/.semver [Pipeline] } 16:38:30 $ docker exec --env ******** --env ******** f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c ssh-agent -k 16:38:30 unset SSH_AUTH_SOCK; 16:38:30 unset SSH_AGENT_PID; 16:38:30 echo Agent pid 59 killed; 16:38:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:38:30 + git semver [Pipeline] } 16:38:30 $ docker stop --time=1 f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c 16:38:32 $ docker rm -f f065465c2a322114e8f82c9c644bea4b35a7837f2e911cef8d12d89ed4384d3c [Pipeline] // withDockerContainer [Pipeline] sh 16:38:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:38:32 Stashed 1 file(s) [Pipeline] echo 16:38:32 [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 16:38:32 provisioning config files... 16:38:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config3274257070504615592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:33 ---> docker-login.sh 16:38:33 nexus3.edgexfoundry.org:10001 16:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:33 Configure a credential helper to remove this warning. See 16:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:33 16:38:33 Login Succeeded 16:38:33 nexus3.edgexfoundry.org:10002 16:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:33 Configure a credential helper to remove this warning. See 16:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:33 16:38:33 Login Succeeded 16:38:33 nexus3.edgexfoundry.org:10003 16:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:33 Configure a credential helper to remove this warning. See 16:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:33 16:38:33 Login Succeeded 16:38:33 nexus3.edgexfoundry.org:10004 16:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:33 Configure a credential helper to remove this warning. See 16:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:33 16:38:33 Login Succeeded 16:38:33 docker.io 16:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:33 Configure a credential helper to remove this warning. See 16:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:33 16:38:33 Login Succeeded 16:38:33 ---> docker-login.sh ends [Pipeline] } 16:38:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:38:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:38:34 ========================================================= 16:38:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:38:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:38:34 + 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 . 16:38:34 Sending build context to Docker daemon 3.016MB 16:38:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:38:34 Step 2/13 : FROM ${BASE} AS builder 16:38:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:38:34 59bf1c3509f3: Pulling fs layer 16:38:34 666ba61612fd: Pulling fs layer 16:38:34 8ed8ca486205: Pulling fs layer 16:38:34 4fe6c5a15a65: Pulling fs layer 16:38:34 22a0e8bec74d: Pulling fs layer 16:38:34 640e595b4fbd: Pulling fs layer 16:38:34 763cafe07f6e: Pulling fs layer 16:38:34 0c0b528cf693: Pulling fs layer 16:38:34 10935f4eaf8b: Pulling fs layer 16:38:34 22a0e8bec74d: Waiting 16:38:34 640e595b4fbd: Waiting 16:38:34 763cafe07f6e: Waiting 16:38:34 0c0b528cf693: Waiting 16:38:34 10935f4eaf8b: Waiting 16:38:34 4fe6c5a15a65: Waiting 16:38:34 8ed8ca486205: Download complete 16:38:34 666ba61612fd: Download complete 16:38:34 22a0e8bec74d: Verifying Checksum 16:38:34 22a0e8bec74d: Download complete 16:38:34 640e595b4fbd: Download complete 16:38:34 59bf1c3509f3: Verifying Checksum 16:38:34 59bf1c3509f3: Download complete 16:38:34 763cafe07f6e: Verifying Checksum 16:38:34 763cafe07f6e: Download complete 16:38:34 0c0b528cf693: Verifying Checksum 16:38:34 0c0b528cf693: Download complete 16:38:34 59bf1c3509f3: Pull complete 16:38:34 666ba61612fd: Pull complete 16:38:34 8ed8ca486205: Pull complete 16:38:35 10935f4eaf8b: Verifying Checksum 16:38:35 10935f4eaf8b: Download complete 16:38:35 4fe6c5a15a65: Verifying Checksum 16:38:35 4fe6c5a15a65: Download complete 16:38:39 4fe6c5a15a65: Pull complete 16:38:39 22a0e8bec74d: Pull complete 16:38:39 640e595b4fbd: Pull complete 16:38:39 763cafe07f6e: Pull complete 16:38:39 0c0b528cf693: Pull complete 16:38:40 10935f4eaf8b: Pull complete 16:38:40 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:38:40 ---> 99d49a6021b9 16:38:40 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:38:42 ---> Running in 86d75703414c 16:38:42 Removing intermediate container 86d75703414c 16:38:42 ---> ff923befb092 16:38:42 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:38:42 ---> Running in 5d7c0af1df99 16:38:42 Removing intermediate container 5d7c0af1df99 16:38:42 ---> e878496e6cdf 16:38:42 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:38:42 ---> Running in ef8116181e85 16:38:42 Removing intermediate container ef8116181e85 16:38:42 ---> dd3b7075ec5f 16:38:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:38:42 ---> Running in ea8c47d36edf 16:38:43 Removing intermediate container ea8c47d36edf 16:38:43 ---> 8fe14154c3ad 16:38:43 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:38:43 ---> Running in 44a5137c5f81 16:38:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:38:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:38:44 OK: 221 MiB in 52 packages 16:38:45 Removing intermediate container 44a5137c5f81 16:38:45 ---> f3e759291406 16:38:45 Step 8/13 : WORKDIR /app 16:38:45 ---> Running in 53a30861a01a 16:38:45 Removing intermediate container 53a30861a01a 16:38:45 ---> 77f449705bf9 16:38:45 Step 9/13 : COPY go.mod vendor* ./ 16:38:45 ---> fd801509ec0f 16:38:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:45 ---> Running in ee06273ed4a6 16:38:47 Still waiting to schedule task 16:38:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:39:00 Removing intermediate container ee06273ed4a6 16:39:00 ---> 3eafdd2d4487 16:39:00 Step 11/13 : COPY . . 16:39:00 ---> fdd292e7ae9c 16:39:00 Step 12/13 : ARG MAKE="make build" 16:39:00 ---> Running in 80aea757d7aa 16:39:00 Removing intermediate container 80aea757d7aa 16:39:00 ---> ad0e645eab2c 16:39:00 Step 13/13 : RUN $MAKE 16:39:00 ---> Running in 6e4f2eb6fccc 16:39:00 noop 16:39:00 Removing intermediate container 6e4f2eb6fccc 16:39:00 ---> 9ff03c5e2fd5 16:39:00 Successfully built 9ff03c5e2fd5 16:39:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:39:00 + docker inspect -f . ci-base-image-x86_64 16:39:00 . [Pipeline] withDockerContainer 16:39:00 prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container 16:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** ci-base-image-x86_64 cat 16:39:01 $ docker top c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:01 + go version 16:39:01 go version go1.17.6 linux/amd64 [Pipeline] } 16:39:01 $ docker stop --time=1 c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 16:39:02 $ docker rm -f c0fd266248971aeb82d69b905af522b8b79dd987e3e424565b13be60e69f30e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:39:03 + docker inspect -f . ci-base-image-x86_64 16:39:03 . [Pipeline] withDockerContainer 16:39:03 prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container 16:39:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 ******** ci-base-image-x86_64 cat 16:39:03 $ docker top cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:39:04 + make test 16:39:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:39:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:39:14 CGO_ENABLED=1 go vet ./... 16:39:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:39:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:39:17 ./bin/test-attribution-txt.sh [Pipeline] echo 16:39:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:39:17 $ docker stop --time=1 cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 16:39:19 $ docker rm -f cd13c4071a8febb57eca91cd32630a99ecffe6498d72f434efe56d9dca3be643 [Pipeline] // withDockerContainer [Pipeline] sh 16:39:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:39:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:39:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:39:21 + ls -al . 16:39:21 total 184 16:39:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:39 . 16:39:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 16:38 .. 16:39:21 -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 16:38 .dockerignore 16:39:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:38 .git 16:39:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:38 .github 16:39:21 -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 16:38 .gitignore 16:39:21 drwx------ 3 jenkins jenkins 4096 Apr 19 16:38 .semver 16:39:21 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 16:38 Attribution.txt 16:39:21 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 16:38 CHANGELOG.md 16:39:21 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 16:38 Dockerfile 16:39:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 16:38 GOVERNANCE.md 16:39:21 -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 16:38 Jenkinsfile 16:39:21 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 16:38 LICENSE 16:39:21 -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 16:38 OWNERS.md 16:39:21 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 16:38 README.md 16:39:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 16:38 VERSION 16:39:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 16:38 bin 16:39:21 -rw-r--r-- 1 jenkins jenkins 10 Apr 19 16:39 coverage.out 16:39:21 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 16:38 go.mod 16:39:21 -rw-rw-r-- 1 jenkins jenkins 54185 Apr 19 16:38 go.sum 16:39:21 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 16:38 main.go 16:39:21 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 16:38 makefile 16:39:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:38 res 16:39:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:38 snap [Pipeline] isUnix [Pipeline] sh 16:39:21 + 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=4545a0dc65de264153a2b7cfb01ae096bab3884e --label arch=amd64 --label version=0.0.0 . 16:39:21 Sending build context to Docker daemon 3.017MB 16:39:21 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 16:39:21 Step 2/27 : FROM ${BASE} AS builder 16:39:21 ---> 9ff03c5e2fd5 16:39:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:39:21 ---> Running in 8faf72edb1e6 16:39:21 Removing intermediate container 8faf72edb1e6 16:39:21 ---> 606dfec2556a 16:39:21 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:39:21 ---> Running in e4420f2803e1 16:39:21 Removing intermediate container e4420f2803e1 16:39:21 ---> 52d17bf0e741 16:39:21 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:39:21 ---> Running in 49adf06a1dc7 16:39:21 Removing intermediate container 49adf06a1dc7 16:39:21 ---> 76a69f728037 16:39:21 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:39:21 ---> Running in aec064abf75b 16:39:22 Removing intermediate container aec064abf75b 16:39:22 ---> 38bf70861139 16:39:22 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:39:22 ---> Running in e3d92ce3e0c0 16:39:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:39:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:39:23 OK: 221 MiB in 52 packages 16:39:24 Removing intermediate container e3d92ce3e0c0 16:39:24 ---> 571b330bbb44 16:39:24 Step 8/27 : WORKDIR /app 16:39:24 ---> Running in 4067f34504a5 16:39:24 Removing intermediate container 4067f34504a5 16:39:24 ---> e236bcd28f66 16:39:24 Step 9/27 : COPY go.mod vendor* ./ 16:39:24 ---> d23a9e245834 16:39:24 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:39:24 ---> Running in 20bc7836057d 16:39:25 Removing intermediate container 20bc7836057d 16:39:25 ---> 926b9a151c75 16:39:25 Step 11/27 : COPY . . 16:39:25 ---> dc9321a535b9 16:39:25 Step 12/27 : ARG MAKE="make build" 16:39:25 ---> Running in 9c9ed6258f17 16:39:26 Removing intermediate container 9c9ed6258f17 16:39:26 ---> 976046420f13 16:39:26 Step 13/27 : RUN $MAKE 16:39:26 ---> Running in 7bd9503c11b6 16:39:26 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 16:39:48 Removing intermediate container 7bd9503c11b6 16:39:48 ---> 764ef61d2b6e 16:39:48 Step 14/27 : FROM alpine:3.14 16:39:48 3.14: Pulling from library/alpine 16:39:48 8663204ce13b: Pulling fs layer 16:39:48 8663204ce13b: Download complete 16:39:48 8663204ce13b: Pull complete 16:39:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:39:48 Status: Downloaded newer image for alpine:3.14 16:39:48 ---> e04c818066af 16:39:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:39:48 ---> Running in e755570a9773 16:39:48 Removing intermediate container e755570a9773 16:39:48 ---> 3655ab97a97b 16:39:48 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:39:48 ---> Running in b09e4ec76fe8 16:39:48 Removing intermediate container b09e4ec76fe8 16:39:48 ---> 7ac91c9927f4 16:39:48 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 16:39:48 ---> Running in 201530641c3e 16:39:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:39:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:39:48 (1/7) Installing ca-certificates (20211220-r0) 16:39:48 (2/7) Installing dumb-init (1.2.5-r1) 16:39:48 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:39:48 (4/7) Installing libsodium (1.0.18-r0) 16:39:48 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:39:48 (6/7) Installing libzmq (4.3.4-r0) 16:39:48 (7/7) Installing zeromq (4.3.4-r0) 16:39:48 Executing busybox-1.33.1-r7.trigger 16:39:48 Executing ca-certificates-20211220-r0.trigger 16:39:48 OK: 9 MiB in 21 packages 16:39:49 Removing intermediate container 201530641c3e 16:39:49 ---> a0539cbdd256 16:39:49 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:39:49 ---> 92a6556f7227 16:39:49 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:39:49 ---> 3098a6454c88 16:39:49 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:39:49 ---> d5e7cf4a6ee8 16:39:49 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:39:50 ---> 8b062d71836a 16:39:50 Step 22/27 : EXPOSE 48095 16:39:50 ---> Running in 29217f7b0647 16:39:50 Removing intermediate container 29217f7b0647 16:39:50 ---> c094416c829c 16:39:50 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:39:50 ---> Running in ad6690f93564 16:39:50 Removing intermediate container ad6690f93564 16:39:50 ---> 2efd21e8c72e 16:39:50 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:39:50 ---> Running in 955907689acd 16:39:51 Removing intermediate container 955907689acd 16:39:51 ---> 4d454fa2ad4b 16:39:51 Step 25/27 : LABEL arch=amd64 16:39:51 ---> Running in f62bcb4d9967 16:39:51 Removing intermediate container f62bcb4d9967 16:39:51 ---> 32e1f727f53c 16:39:51 Step 26/27 : LABEL git_sha=4545a0dc65de264153a2b7cfb01ae096bab3884e 16:39:51 ---> Running in e168f40d2c23 16:39:51 Removing intermediate container e168f40d2c23 16:39:51 ---> 9dc381f2c5c7 16:39:51 Step 27/27 : LABEL version=0.0.0 16:39:51 ---> Running in 866a9e89092b 16:39:51 Removing intermediate container 866a9e89092b 16:39:51 ---> cb907f22adcb 16:39:51 [Warning] One or more build-args [ARCH] were not consumed 16:39:51 Successfully built cb907f22adcb 16:39:51 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 16:39:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:51 16:39:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:52 latest: Pulling from edgex-lftools-log-publisher 16:39:52 5eb5b503b376: Pulling fs layer 16:39:52 5c69ac0246d0: Pulling fs layer 16:39:52 ec43610c2a17: Pulling fs layer 16:39:52 3a2ae6a8a46f: Pulling fs layer 16:39:52 33b1e0a273af: Pulling fs layer 16:39:52 5d3b04190fa2: Pulling fs layer 16:39:52 33b1e0a273af: Waiting 16:39:52 3a2ae6a8a46f: Waiting 16:39:52 2f39f015ded8: Pulling fs layer 16:39:52 5d3b04190fa2: Waiting 16:39:52 2f39f015ded8: Waiting 16:39:52 5c69ac0246d0: Verifying Checksum 16:39:52 5c69ac0246d0: Download complete 16:39:52 3a2ae6a8a46f: Verifying Checksum 16:39:52 3a2ae6a8a46f: Download complete 16:39:52 33b1e0a273af: Verifying Checksum 16:39:52 33b1e0a273af: Download complete 16:39:52 5d3b04190fa2: Download complete 16:39:52 ec43610c2a17: Verifying Checksum 16:39:52 5eb5b503b376: Download complete 16:39:52 2f39f015ded8: Download complete 16:39:53 5eb5b503b376: Pull complete 16:39:53 5c69ac0246d0: Pull complete 16:39:53 ec43610c2a17: Pull complete 16:39:53 3a2ae6a8a46f: Pull complete 16:39:54 33b1e0a273af: Pull complete 16:39:54 5d3b04190fa2: Pull complete 16:39:58 2f39f015ded8: Pull complete 16:39:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:39:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:39:58 prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container 16:39:58 $ 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-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@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 16:40:00 $ docker top 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:01 ---> job-cost.sh 16:40:01 lf-activate-venv: SKIPPING 16:40:01 INFO: No Stack... 16:40:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:40:02 INFO: Archiving Costs [Pipeline] sh 16:40:02 + cat /w/workspace/_app-service-configurable_PR-405/archives/cost.csv 16:40:02 + cut -d, -f6 [Pipeline] lock 16:40:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] 16:40:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] did not exist. Created. 16:40:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:40:02 + echo total: 0.2199999988079071 [Pipeline] stash 16:40:02 Stashed 1 file(s) [Pipeline] } 16:40:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:40:02 $ docker stop --time=1 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 16:40:04 $ docker rm -f 2ac94f795f097d240df7e775d93be1ff81f28679d576aaec9c61b18b66c427f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:42:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21362 in /w/workspace/_app-service-configurable_PR-405 [Pipeline] { [Pipeline] ws 16:42:18 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 16:42:19 Selected Git installation does not exist. Using Default 16:42:19 The recommended git tool is: NONE 16:42:27 using credential edgex-jenkins-ssh 16:42:27 Cloning the remote Git repository 16:42:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 16:42:27 > git init /w/workspace/app-service-configurable/2 # timeout=10 16:42:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:42:27 > git --version # timeout=10 16:42:28 > git --version # 'git version 2.25.1' 16:42:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:42:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:42:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:42:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:42:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:42:30 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit 4545a0dc65de264153a2b7cfb01ae096bab3884e 16:42:30 Merge succeeded, producing 4545a0dc65de264153a2b7cfb01ae096bab3884e 16:42:30 Checking out Revision 4545a0dc65de264153a2b7cfb01ae096bab3884e (PR-405) 16:42:30 > git config core.sparsecheckout # timeout=10 16:42:30 > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # timeout=10 16:42:30 > git remote # timeout=10 16:42:30 > git config --get remote.origin.url # timeout=10 16:42:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:30 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 16:42:30 > git rev-parse HEAD^{commit} # timeout=10 16:42:30 > git config core.sparsecheckout # timeout=10 16:42:30 > git checkout -f 4545a0dc65de264153a2b7cfb01ae096bab3884e # timeout=10 16:42:34 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 16:42:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:42:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:42:35 Dload Upload Total Spent Left Speed 16:42:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 16:42:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:42:36 + sudo tee /etc/docker/daemon.new 16:42:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:42:36 { 16:42:36 "registry-mirrors": [ 16:42:36 "https://nexus3.edgexfoundry.org:10001" 16:42:36 ], 16:42:36 "bip": "10.250.0.254/24", 16:42:36 "hosts": [ 16:42:36 "tcp://0.0.0.0:5555", 16:42:36 "unix:///var/run/docker.sock" 16:42:36 ], 16:42:36 "mtu": 1458, 16:42:36 "selinux-enabled": true, 16:42:36 "seccomp-profile": "/etc/docker/seccomp.json" 16:42:36 } [Pipeline] sh 16:42:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:42:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:55 provisioning config files... 16:42:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config3114536856196805601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:42:56 ---> docker-login.sh 16:42:56 nexus3.edgexfoundry.org:10001 16:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:57 Configure a credential helper to remove this warning. See 16:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:57 16:42:57 Login Succeeded 16:42:57 nexus3.edgexfoundry.org:10002 16:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:57 Configure a credential helper to remove this warning. See 16:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:57 16:42:57 Login Succeeded 16:42:57 nexus3.edgexfoundry.org:10003 16:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:58 Configure a credential helper to remove this warning. See 16:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:58 16:42:58 Login Succeeded 16:42:58 nexus3.edgexfoundry.org:10004 16:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:58 Configure a credential helper to remove this warning. See 16:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:58 16:42:58 Login Succeeded 16:42:58 docker.io 16:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:59 Configure a credential helper to remove this warning. See 16:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:59 16:42:59 Login Succeeded 16:42:59 ---> docker-login.sh ends [Pipeline] } 16:42:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:42:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:42:59 ========================================================= 16:42:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:42:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:43:00 + 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 . 16:43:00 Sending build context to Docker daemon 218.1kB 16:43:00 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:43:00 Step 2/13 : FROM ${BASE} AS builder 16:43:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:43:00 9b3977197b4f: Pulling fs layer 16:43:00 1a89e8eeedd5: Pulling fs layer 16:43:00 94645a83ff95: Pulling fs layer 16:43:00 3f3a8bcf1eab: Pulling fs layer 16:43:00 0c92f367c5e7: Pulling fs layer 16:43:00 f7c0051592d6: Pulling fs layer 16:43:00 a227ed2f7395: Pulling fs layer 16:43:00 7b1c46037f91: Pulling fs layer 16:43:00 f7c0051592d6: Waiting 16:43:00 3f3a8bcf1eab: Waiting 16:43:00 a227ed2f7395: Waiting 16:43:00 0c92f367c5e7: Waiting 16:43:00 7b1c46037f91: Waiting 16:43:00 94645a83ff95: Download complete 16:43:00 1a89e8eeedd5: Verifying Checksum 16:43:00 1a89e8eeedd5: Download complete 16:43:00 0c92f367c5e7: Verifying Checksum 16:43:00 0c92f367c5e7: Download complete 16:43:00 f7c0051592d6: Verifying Checksum 16:43:00 f7c0051592d6: Download complete 16:43:00 9b3977197b4f: Verifying Checksum 16:43:00 9b3977197b4f: Download complete 16:43:00 a227ed2f7395: Verifying Checksum 16:43:00 a227ed2f7395: Download complete 16:43:01 9b3977197b4f: Pull complete 16:43:01 1a89e8eeedd5: Pull complete 16:43:02 94645a83ff95: Pull complete 16:43:02 7b1c46037f91: Verifying Checksum 16:43:02 7b1c46037f91: Download complete 16:43:03 3f3a8bcf1eab: Verifying Checksum 16:43:03 3f3a8bcf1eab: Download complete 16:43:15 3f3a8bcf1eab: Pull complete 16:43:15 0c92f367c5e7: Pull complete 16:43:15 f7c0051592d6: Pull complete 16:43:15 a227ed2f7395: Pull complete 16:43:20 7b1c46037f91: Pull complete 16:43:20 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:43:20 ---> f79e39bc4007 16:43:20 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:43:21 ---> Running in 368f70b3fdd2 16:43:21 Removing intermediate container 368f70b3fdd2 16:43:21 ---> 0e2a70578d54 16:43:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:43:21 ---> Running in 7d434903794b 16:43:21 Removing intermediate container 7d434903794b 16:43:21 ---> fb1c79bc7155 16:43:21 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:43:22 ---> Running in 3a6ffa64e075 16:43:22 Removing intermediate container 3a6ffa64e075 16:43:22 ---> 58b263a4a30a 16:43:22 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:43:22 ---> Running in 9f868073c2a9 16:43:24 Removing intermediate container 9f868073c2a9 16:43:24 ---> cfbbcefdcb51 16:43:24 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:43:24 ---> Running in 8f44ce2dcd11 16:43:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:43:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:43:27 OK: 220 MiB in 52 packages 16:43:27 Removing intermediate container 8f44ce2dcd11 16:43:27 ---> 0b93b3a2c844 16:43:27 Step 8/13 : WORKDIR /app 16:43:27 ---> Running in cb2b2a1a0ddc 16:43:28 Removing intermediate container cb2b2a1a0ddc 16:43:28 ---> c9c6db473af5 16:43:28 Step 9/13 : COPY go.mod vendor* ./ 16:43:28 ---> 765377568a62 16:43:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:43:29 ---> Running in f979ec762065 16:44:25 Removing intermediate container f979ec762065 16:44:25 ---> 81d4a4c56049 16:44:25 Step 11/13 : COPY . . 16:44:25 ---> 0a1482a83ab7 16:44:25 Step 12/13 : ARG MAKE="make build" 16:44:25 ---> Running in 404fc659b5b4 16:44:25 Removing intermediate container 404fc659b5b4 16:44:25 ---> f8521d70f779 16:44:25 Step 13/13 : RUN $MAKE 16:44:25 ---> Running in f132cedfb204 16:44:25 noop 16:44:25 Removing intermediate container f132cedfb204 16:44:25 ---> 7aa689c040d6 16:44:25 Successfully built 7aa689c040d6 16:44:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:44:26 + docker inspect -f . ci-base-image-arm64 16:44:26 . [Pipeline] withDockerContainer 16:44:26 prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container 16:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-arm64 cat 16:44:27 $ docker top 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:28 + go version 16:44:28 go version go1.17.6 linux/arm64 [Pipeline] } 16:44:28 $ docker stop --time=1 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 16:44:30 $ docker rm -f 32feb2fc84220986ecd5b14769a817ac4c77de02c7b3ee1e95e07ed7b5fc3e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:31 + docker inspect -f . ci-base-image-arm64 16:44:31 . [Pipeline] withDockerContainer 16:44:31 prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container 16:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-arm64 cat 16:44:32 $ docker top b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:44:33 + make test 16:44:33 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:46:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:46:10 CGO_ENABLED=1 go vet ./... 16:46:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:46:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:46:29 ./bin/test-attribution-txt.sh [Pipeline] echo 16:46:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:46:30 $ docker stop --time=1 b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c 16:46:32 $ docker rm -f b39834f403043e8d6c6fd48d9caa72957d0a1a9dc2e2c6fe1960a07ba3dae04c [Pipeline] // withDockerContainer [Pipeline] sh 16:46:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:46:33 Warning: overwriting stash ‘coverage-report’ 16:46:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:46:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:46:34 + ls -al . 16:46:34 total 180 16:46:34 drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 16:46 . 16:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 16:42 .. 16:46:34 -rw-rw-r-- 1 jenkins jenkins 119 Apr 19 16:42 .dockerignore 16:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 16:42 .git 16:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:42 .github 16:46:34 -rw-rw-r-- 1 jenkins jenkins 104 Apr 19 16:42 .gitignore 16:46:34 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 19 16:42 Attribution.txt 16:46:34 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 19 16:42 CHANGELOG.md 16:46:34 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 19 16:42 Dockerfile 16:46:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 16:42 GOVERNANCE.md 16:46:34 -rw-rw-r-- 1 jenkins jenkins 688 Apr 19 16:42 Jenkinsfile 16:46:34 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 16:42 LICENSE 16:46:34 -rw-rw-r-- 1 jenkins jenkins 618 Apr 19 16:42 OWNERS.md 16:46:34 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 19 16:42 README.md 16:46:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 16:38 VERSION 16:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 16:42 bin 16:46:34 -rw-r--r-- 1 jenkins jenkins 10 Apr 19 16:44 coverage.out 16:46:34 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 19 16:42 go.mod 16:46:34 -rw-rw-r-- 1 jenkins jenkins 54185 Apr 19 16:42 go.sum 16:46:34 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 19 16:42 main.go 16:46:34 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 19 16:42 makefile 16:46:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:42 res 16:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 16:42 snap [Pipeline] isUnix [Pipeline] sh 16:46:34 + 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=4545a0dc65de264153a2b7cfb01ae096bab3884e --label arch=arm64 --label version=0.0.0 . 16:46:34 Sending build context to Docker daemon 219.1kB 16:46:35 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 16:46:35 Step 2/27 : FROM ${BASE} AS builder 16:46:35 ---> 7aa689c040d6 16:46:35 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:46:35 ---> Running in 363e488741a7 16:46:35 Removing intermediate container 363e488741a7 16:46:35 ---> ffc1b8fc2c94 16:46:35 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:46:35 ---> Running in ebe093699626 16:46:36 Removing intermediate container ebe093699626 16:46:36 ---> 3a342ed1b0c4 16:46:36 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:46:36 ---> Running in c89a71f729a1 16:46:36 Removing intermediate container c89a71f729a1 16:46:36 ---> 0285dae90a9d 16:46:36 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:36 ---> Running in c3f8f12d2add 16:46:38 Removing intermediate container c3f8f12d2add 16:46:38 ---> 51082c61f5fe 16:46:38 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:46:38 ---> Running in 1fcbfcaec2fc 16:46:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:46:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:46:41 OK: 220 MiB in 52 packages 16:46:41 Removing intermediate container 1fcbfcaec2fc 16:46:41 ---> 52e39baa12a3 16:46:41 Step 8/27 : WORKDIR /app 16:46:41 ---> Running in ca3624fd4174 16:46:42 Removing intermediate container ca3624fd4174 16:46:42 ---> 20f704f0917b 16:46:42 Step 9/27 : COPY go.mod vendor* ./ 16:46:42 ---> 7fcf83bd24bd 16:46:42 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:42 ---> Running in 2128dce19c20 16:46:44 Removing intermediate container 2128dce19c20 16:46:44 ---> 2e6e983bbb98 16:46:44 Step 11/27 : COPY . . 16:46:45 ---> b68f542c4f34 16:46:45 Step 12/27 : ARG MAKE="make build" 16:46:45 ---> Running in 6efbb19f8b79 16:46:45 Removing intermediate container 6efbb19f8b79 16:46:45 ---> 352074d2a57f 16:46:45 Step 13/27 : RUN $MAKE 16:46:45 ---> Running in fe9a77b3135e 16:46:46 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 16:49:08 Removing intermediate container fe9a77b3135e 16:49:08 ---> b0c35d1c915a 16:49:08 Step 14/27 : FROM alpine:3.14 16:49:08 3.14: Pulling from library/alpine 16:49:08 455c02918c45: Pulling fs layer 16:49:08 455c02918c45: Verifying Checksum 16:49:08 455c02918c45: Download complete 16:49:08 455c02918c45: Pull complete 16:49:08 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:49:08 Status: Downloaded newer image for alpine:3.14 16:49:08 ---> ac73e934f311 16:49:08 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:49:08 ---> Running in fe8ff85f4cca 16:49:08 Removing intermediate container fe8ff85f4cca 16:49:08 ---> 6e19c5a636c6 16:49:08 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:49:08 ---> Running in 0deb11be5f97 16:49:08 Removing intermediate container 0deb11be5f97 16:49:08 ---> eda28c3955f6 16:49:08 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 16:49:08 ---> Running in cd29ea0a5b2d 16:49:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:49:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:49:08 (1/7) Installing ca-certificates (20211220-r0) 16:49:08 (2/7) Installing dumb-init (1.2.5-r1) 16:49:08 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:49:08 (4/7) Installing libsodium (1.0.18-r0) 16:49:08 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:49:08 (6/7) Installing libzmq (4.3.4-r0) 16:49:08 (7/7) Installing zeromq (4.3.4-r0) 16:49:08 Executing busybox-1.33.1-r7.trigger 16:49:08 Executing ca-certificates-20211220-r0.trigger 16:49:08 OK: 9 MiB in 21 packages 16:49:08 Removing intermediate container cd29ea0a5b2d 16:49:08 ---> a7b87ac59845 16:49:08 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:49:08 ---> 27337c772c67 16:49:08 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:49:08 ---> cd27a33fad3a 16:49:08 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:49:08 ---> 7ff4ed93102b 16:49:08 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:49:08 ---> 71719baf338f 16:49:08 Step 22/27 : EXPOSE 48095 16:49:08 ---> Running in 7b5e8d96e139 16:49:08 Removing intermediate container 7b5e8d96e139 16:49:08 ---> bbba47894399 16:49:08 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:49:08 ---> Running in 96fe883631ce 16:49:08 Removing intermediate container 96fe883631ce 16:49:08 ---> c15202f856a5 16:49:08 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:49:08 ---> Running in acc3da8c6038 16:49:08 Removing intermediate container acc3da8c6038 16:49:08 ---> 981aba4c0900 16:49:08 Step 25/27 : LABEL arch=arm64 16:49:08 ---> Running in 4f0826f65b91 16:49:08 Removing intermediate container 4f0826f65b91 16:49:08 ---> 088db92b7303 16:49:08 Step 26/27 : LABEL git_sha=4545a0dc65de264153a2b7cfb01ae096bab3884e 16:49:08 ---> Running in 08091aea0dd2 16:49:08 Removing intermediate container 08091aea0dd2 16:49:08 ---> 751aefcf5c84 16:49:08 Step 27/27 : LABEL version=0.0.0 16:49:08 ---> Running in ab8d305ed009 16:49:08 Removing intermediate container ab8d305ed009 16:49:08 ---> 0abd8a9979d8 16:49:08 [Warning] One or more build-args [ARCH] were not consumed 16:49:08 Successfully built 0abd8a9979d8 16:49:08 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 16:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:09 16:49:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:49:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:09 arm64: Pulling from edgex-lftools-log-publisher 16:49:09 8998bd30e6a1: Pulling fs layer 16:49:09 04944245beec: Pulling fs layer 16:49:09 699f458cf7ca: Pulling fs layer 16:49:09 765212b225bb: Pulling fs layer 16:49:09 f23df028b6ca: Pulling fs layer 16:49:09 d65c8cfc05b1: Pulling fs layer 16:49:09 2437ff75d9bd: Pulling fs layer 16:49:09 765212b225bb: Waiting 16:49:09 f23df028b6ca: Waiting 16:49:09 d65c8cfc05b1: Waiting 16:49:09 2437ff75d9bd: Waiting 16:49:09 04944245beec: Verifying Checksum 16:49:09 04944245beec: Download complete 16:49:09 765212b225bb: Verifying Checksum 16:49:09 765212b225bb: Download complete 16:49:09 f23df028b6ca: Verifying Checksum 16:49:09 f23df028b6ca: Download complete 16:49:09 d65c8cfc05b1: Verifying Checksum 16:49:09 d65c8cfc05b1: Download complete 16:49:09 699f458cf7ca: Verifying Checksum 16:49:09 699f458cf7ca: Download complete 16:49:10 8998bd30e6a1: Verifying Checksum 16:49:10 8998bd30e6a1: Download complete 16:49:12 2437ff75d9bd: Verifying Checksum 16:49:12 2437ff75d9bd: Download complete 16:49:14 8998bd30e6a1: Pull complete 16:49:14 04944245beec: Pull complete 16:49:16 699f458cf7ca: Pull complete 16:49:16 765212b225bb: Pull complete 16:49:17 f23df028b6ca: Pull complete 16:49:17 d65c8cfc05b1: Pull complete 16:49:32 2437ff75d9bd: Pull complete 16:49:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:49:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:49:33 prd-ubuntu20.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container 16:49:33 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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:arm64 cat 16:49:35 $ docker top a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:36 ---> job-cost.sh 16:49:36 lf-activate-venv: SKIPPING 16:49:36 INFO: No Stack... 16:49:37 INFO: Retrieving Pricing Info for: v3-standard-4 16:49:38 INFO: Archiving Costs [Pipeline] sh 16:49:38 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 16:49:38 + cut -d, -f6 [Pipeline] lock 16:49:38 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] 16:49:38 Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] did not exist. Created. 16:49:38 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:49:39 /w/workspace/app-service-configurable/2@tmp/durable-1f25297d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:49:40 + echo total: 0.10999999940395355 [Pipeline] stash 16:49:40 Warning: overwriting stash ‘stack-cost’ 16:49:40 Stashed 1 file(s) [Pipeline] } 16:49:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:49:40 $ docker stop --time=1 a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 16:49:41 $ docker rm -f a7e5ac96b9133f0a953f6f8fb89d2b8253b9fb29bf76a99485b17e6d0f7efe64 [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 16:49:42 provisioning config files... 16:49:42 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config8393214090775196652tmp [Pipeline] { [Pipeline] sh 16:49:42 + set +x 16:49:42 + + curl -s https://codecov.io/bash 16:49:42 bash -s -- 16:49:42 16:49:42 _____ _ 16:49:42 / ____| | | 16:49:42 | | ___ __| | ___ ___ _____ __ 16:49:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:49:42 | |___| (_) | (_| | __/ (_| (_) \ V / 16:49:42 \_____\___/ \__,_|\___|\___\___/ \_/ 16:49:42 Bash-1.0.6 16:49:42 16:49:42 16:49:42 ==> git version 2.25.1 found 16:49:42 ==> 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 16:49:42 Release-Date: 2020-01-08 16:49:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:49:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:49:42 ==> Jenkins CI detected. 16:49:42 current dir:  /w/workspace/_app-service-configurable_PR-405 16:49:42 project root: . 16:49:42 --> token set from env 16:49:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:49:42 ==> Running gcov in . (disable via -X gcov) 16:49:42 ==> Python coveragepy not found 16:49:42 ==> Searching for coverage reports in: 16:49:42 + . 16:49:42 -> Found 1 reports 16:49:42 ==> Detecting git/mercurial file structure 16:49:42 ==> Reading reports 16:49:42 + ./coverage.out bytes=10 16:49:42 ==> Appending adjustments 16:49:42 https://docs.codecov.io/docs/fixing-reports 16:49:42 + Found adjustments 16:49:42 ==> Gzipping contents 16:49:42 4.0K /tmp/codecov.CmyHCC.gz 16:49:42 ==> Uploading reports 16:49:42 url: https://codecov.io 16:49:42 query: branch=PR-405&commit=4545a0dc65de264153a2b7cfb01ae096bab3884e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-405%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=405&job=&cmd_args= 16:49:42 -> Pinging Codecov 16:49:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-405&commit=4545a0dc65de264153a2b7cfb01ae096bab3884e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-405%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=405&job=&cmd_args= 16:49:42 -> Uploading to 16:49:42 https://storage.googleapis.com/codecov/v4/raw/2022-04-19/A97CA9966030D2A3747ED39772930CCE/4545a0dc65de264153a2b7cfb01ae096bab3884e/cd9844b7-050d-4b00-8e70-5207e6eb5b5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T164942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22ae88d0c554502357877932b015f7a380676c8ec71e81a6ae84502939dc2293 16:49:42 % Total % Received % Xferd Average Speed Time Time Time Current 16:49:42 Dload Upload Total Spent Left Speed 16:49:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2696 --:--:-- --:--:-- --:--:-- 2696 16:49:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/4545a0dc65de264153a2b7cfb01ae096bab3884e [Pipeline] } 16:49:43 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 16:49:43 + [ -d /w/workspace/_app-service-configurable_PR-405/archives ] 16:49:43 + ls -al /w/workspace/_app-service-configurable_PR-405/archives 16:49:43 total 16 16:49:43 drwxr-xr-x 3 root root 4096 Apr 19 16:40 . 16:49:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:40 .. 16:49:43 drwxr-xr-x 2 root root 4096 Apr 19 16:40 cost 16:49:43 -rw-r--r-- 1 root root 95 Apr 19 16:40 cost.csv 16:49:43 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-405/archives 16:49:43 + ls -al /w/workspace/_app-service-configurable_PR-405/archives 16:49:43 total 16 16:49:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 16:40 . 16:49:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 16:40 .. 16:49:43 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 16:40 cost 16:49:43 -rw-r--r-- 1 jenkins jenkins 95 Apr 19 16:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:49:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:49:45 ---> package-listing.sh 16:49:45 ++ facter osfamily 16:49:45 ++ tr '[:upper:]' '[:lower:]' 16:49:45 + OS_FAMILY=debian 16:49:45 + workspace=/w/workspace/_app-service-configurable_PR-405 16:49:45 + START_PACKAGES=/tmp/packages_start.txt 16:49:45 + END_PACKAGES=/tmp/packages_end.txt 16:49:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:49:45 + PACKAGES=/tmp/packages_start.txt 16:49:45 + '[' /w/workspace/_app-service-configurable_PR-405 ']' 16:49:45 + PACKAGES=/tmp/packages_end.txt 16:49:45 + case "${OS_FAMILY}" in 16:49:45 + dpkg -l 16:49:45 + grep '^ii' 16:49:45 + '[' -f /tmp/packages_start.txt ']' 16:49:45 + '[' -f /tmp/packages_end.txt ']' 16:49:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:49:45 + '[' /w/workspace/_app-service-configurable_PR-405 ']' 16:49:45 + mkdir -p /w/workspace/_app-service-configurable_PR-405/archives/ 16:49:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-405/archives/ [Pipeline] echo 16:49:45 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:49:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:49:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:46 . [Pipeline] withDockerContainer 16:49:46 prd-ubuntu20.04-docker-8c-8g-21360 does not seem to be running inside a container 16:49:46 $ 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-405/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-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:49:46 $ docker top 904a133e87b1570a2d7b01a9fc8b6716b7fb46ddbd5f883d0970450ea850bf06 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:46 + touch /tmp/pre-build-complete [Pipeline] sh 16:49:47 + mkdir -p /var/log/sysstat [Pipeline] sh 16:49:47 + ls /var/log/sa-host 16:49:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:49:47 provisioning config files... 16:49:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config4204394245869208128tmp [Pipeline] { [Pipeline] echo 16:49:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:49:47 ---> create-netrc.sh [Pipeline] } 16:49:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:49:48 ---> python-tools-install.sh [Pipeline] echo 16:49:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:49:48 ---> sudo-logs.sh 16:49:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:49:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:49:48 ---> job-cost.sh 16:49:48 lf-activate-venv: SKIPPING 16:49:48 DEBUG: total: 0.2199999988079071 16:49:48 INFO: Retrieving Stack Cost... 16:49:49 INFO: Retrieving Pricing Info for: v3-standard-8 16:49:49 INFO: Archiving Costs [Pipeline] echo 16:49:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:49:49 ---> logs-deploy.sh 16:49:49 lf-activate-venv: SKIPPING 16:49:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-405/2 16:49:49 INFO: archiving workspace using pattern(s): 16:49:50 Archives upload complete. 16:49:50 INFO: archiving logs to Nexus