Pull request #407 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 1a526f114784ef26915ff80fd995ea89bcf8e607 rather than e6e70ee785a4ea65c7bb03471372d86c2b416c95 Obtained Jenkinsfile from 1a526f114784ef26915ff80fd995ea89bcf8e607 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11664060687105905969.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-ssh6065371404857152946.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6966717522341842404.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11213772605756443496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh372884948817518826.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7293277492781470292.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21782 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-407 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit e6e70ee785a4ea65c7bb03471372d86c2b416c95 Merge succeeded, producing e6e70ee785a4ea65c7bb03471372d86c2b416c95 Checking out Revision e6e70ee785a4ea65c7bb03471372d86c2b416c95 (PR-407) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6e70ee785a4ea65c7bb03471372d86c2b416c95 # 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 e6e70ee785a4ea65c7bb03471372d86c2b416c95 # timeout=10 Commit message: "feat(snap): use updated environment variable injection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:26:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:26:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:26:50 ========================================================= 12:26:50 EdgeX Global Pipelines Version Info 12:26:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:26:51 ------------------- 12:26:51 stable info: 12:26:51 ------------------- 12:26:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:26:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:26:51 Message: update stable to v1.0.221 12:26:52 ------------------- 12:26:52 experimental info: 12:26:52 ------------------- 12:26:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:26:52 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 12:26:52 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6e70ee785a4ea65c7bb03471372d86c2b416c95 [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6e70ee [Pipeline] echo 12:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:26:53 provisioning config files... 12:26:53 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config7315196877995817136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:54 ---> docker-login.sh 12:26:54 nexus3.edgexfoundry.org:10001 12:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:54 Configure a credential helper to remove this warning. See 12:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:54 12:26:54 Login Succeeded 12:26:54 nexus3.edgexfoundry.org:10002 12:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:54 Configure a credential helper to remove this warning. See 12:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:54 12:26:54 Login Succeeded 12:26:54 nexus3.edgexfoundry.org:10003 12:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:55 Configure a credential helper to remove this warning. See 12:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:55 12:26:55 Login Succeeded 12:26:55 nexus3.edgexfoundry.org:10004 12:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:55 Configure a credential helper to remove this warning. See 12:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:55 12:26:55 Login Succeeded 12:26:55 docker.io 12:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:55 Configure a credential helper to remove this warning. See 12:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:55 12:26:55 Login Succeeded 12:26:55 ---> docker-login.sh ends [Pipeline] } 12:26:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:26:56 + git rev-list -1 --merges e6e70ee785a4ea65c7bb03471372d86c2b416c95~1..e6e70ee785a4ea65c7bb03471372d86c2b416c95 [Pipeline] echo 12:26:56 -----------> git rev-list -1 --merges e6e70ee785a4ea65c7bb03471372d86c2b416c95~1..e6e70ee785a4ea65c7bb03471372d86c2b416c95 e6e70ee785a4ea65c7bb03471372d86c2b416c95 [false] [Pipeline] sh 12:26:56 + git log --format=format:%s -1 e6e70ee785a4ea65c7bb03471372d86c2b416c95 [Pipeline] echo 12:26:56 ========================================================= 12:26:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:26:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:57 + git log --format=format:%s -1 e6e70ee785a4ea65c7bb03471372d86c2b416c95 [Pipeline] echo 12:26:57 [semverPrep] GIT_COMMIT: e6e70ee785a4ea65c7bb03471372d86c2b416c95, Commit Message: feat(snap): use updated environment variable injection [Pipeline] echo 12:26:57 [semverPrep] This is not a build commit. [Pipeline] sh 12:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:26:57 + grep -v github /etc/ssh/ssh_known_hosts 12:26:57 + [ -e /tmp/ssh_known_hosts ] 12:26:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:26:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:26:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:26:58 12:26:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:26:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:26:58 latest: Pulling from edgex-devops/git-semver 12:26:58 a0d0a0d46f8b: Pulling fs layer 12:26:58 3e5f54012d9b: Pulling fs layer 12:26:58 4c7163046ea9: Pulling fs layer 12:26:58 0c2d73faf560: Pulling fs layer 12:26:58 0c2d73faf560: Waiting 12:26:58 3e5f54012d9b: Verifying Checksum 12:26:58 3e5f54012d9b: Download complete 12:26:58 a0d0a0d46f8b: Verifying Checksum 12:26:58 a0d0a0d46f8b: Download complete 12:26:58 4c7163046ea9: Verifying Checksum 12:26:58 4c7163046ea9: Download complete 12:26:58 0c2d73faf560: Verifying Checksum 12:26:58 0c2d73faf560: Download complete 12:26:58 a0d0a0d46f8b: Pull complete 12:26:58 3e5f54012d9b: Pull complete 12:26:58 4c7163046ea9: Pull complete 12:26:59 0c2d73faf560: Pull complete 12:26:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:26:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:26:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:26:59 prd-ubuntu20.04-docker-8c-8g-21782 does not seem to be running inside a container 12:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:27:00 $ docker top ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:27:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:27:00 [ssh-agent] Looking for ssh-agent implementation... 12:27:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:27:00 $ docker exec ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 ssh-agent 12:27:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdlAhCj/agent.15 12:27:00 SSH_AGENT_PID=21 12:27:00 Running ssh-add (command line suppressed) 12:27:00 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_985445588351445767.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_985445588351445767.key) 12:27:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:27:01 + git tag --points-at HEAD [Pipeline] } 12:27:01 $ docker exec --env ******** --env ******** ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 ssh-agent -k 12:27:01 unset SSH_AUTH_SOCK; 12:27:01 unset SSH_AGENT_PID; 12:27:01 echo Agent pid 21 killed; 12:27:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:27:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:27:01 [ssh-agent] Looking for ssh-agent implementation... 12:27:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:27:01 $ docker exec ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 ssh-agent 12:27:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXabCafk/agent.53 12:27:01 SSH_AGENT_PID=60 12:27:01 Running ssh-add (command line suppressed) 12:27:01 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_4635931484622099348.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_4635931484622099348.key) 12:27:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:27:02 + git semver init 12:27:02 # -> Open(): unable to determine branch for HEAD 12:27:02 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-407/.git 12:27:02 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-407 12:27:02 # $SEMVER_REMOTE_NAME = origin 12:27:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:27:02 # $SEMVER_USER_NAME = edgex-jenkins 12:27:02 # $SEMVER_BRANCH = PR-407 12:27:02 # $SEMVER_TEMP = /tmp/semver-039849267 12:27:02 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:27:03 # '/tmp/semver-039849267' -> '/w/workspace/_app-service-configurable_PR-407/.semver' 12:27:03 # -> Force: false 12:27:03 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-407/.semver [Pipeline] } 12:27:03 $ docker exec --env ******** --env ******** ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 ssh-agent -k 12:27:03 unset SSH_AUTH_SOCK; 12:27:03 unset SSH_AGENT_PID; 12:27:03 echo Agent pid 60 killed; 12:27:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:27:03 + git semver [Pipeline] } 12:27:03 $ docker stop --time=1 ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 12:27:05 $ docker rm -f ce8f17ffcf1f7d2a62cd605154ddd2f87bc348d85f82efc37403be1e5b649014 [Pipeline] // withDockerContainer [Pipeline] sh 12:27:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:27:06 Stashed 1 file(s) [Pipeline] echo 12:27:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:27:06 provisioning config files... 12:27:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config324845823232090867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:06 ---> docker-login.sh 12:27:06 nexus3.edgexfoundry.org:10001 12:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:06 Configure a credential helper to remove this warning. See 12:27:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:06 12:27:06 Login Succeeded 12:27:06 nexus3.edgexfoundry.org:10002 12:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:07 Configure a credential helper to remove this warning. See 12:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:07 12:27:07 Login Succeeded 12:27:07 nexus3.edgexfoundry.org:10003 12:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:07 Configure a credential helper to remove this warning. See 12:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:07 12:27:07 Login Succeeded 12:27:07 nexus3.edgexfoundry.org:10004 12:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:07 Configure a credential helper to remove this warning. See 12:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:07 12:27:07 Login Succeeded 12:27:07 docker.io 12:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:07 Configure a credential helper to remove this warning. See 12:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:07 12:27:07 Login Succeeded 12:27:07 ---> docker-login.sh ends [Pipeline] } 12:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:27:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:27:08 ========================================================= 12:27:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:27:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:27:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:27:08 Sending build context to Docker daemon 3.023MB 12:27:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:27:08 Step 2/13 : FROM ${BASE} AS builder 12:27:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:27:08 59bf1c3509f3: Pulling fs layer 12:27:08 666ba61612fd: Pulling fs layer 12:27:08 8ed8ca486205: Pulling fs layer 12:27:08 4fe6c5a15a65: Pulling fs layer 12:27:08 22a0e8bec74d: Pulling fs layer 12:27:08 640e595b4fbd: Pulling fs layer 12:27:08 763cafe07f6e: Pulling fs layer 12:27:08 0c0b528cf693: Pulling fs layer 12:27:08 10935f4eaf8b: Pulling fs layer 12:27:08 640e595b4fbd: Waiting 12:27:08 763cafe07f6e: Waiting 12:27:08 4fe6c5a15a65: Waiting 12:27:08 22a0e8bec74d: Waiting 12:27:08 10935f4eaf8b: Waiting 12:27:08 0c0b528cf693: Waiting 12:27:08 8ed8ca486205: Verifying Checksum 12:27:08 8ed8ca486205: Download complete 12:27:08 666ba61612fd: Verifying Checksum 12:27:08 666ba61612fd: Download complete 12:27:08 22a0e8bec74d: Download complete 12:27:08 640e595b4fbd: Verifying Checksum 12:27:08 640e595b4fbd: Download complete 12:27:08 59bf1c3509f3: Verifying Checksum 12:27:08 59bf1c3509f3: Download complete 12:27:08 763cafe07f6e: Download complete 12:27:08 0c0b528cf693: Verifying Checksum 12:27:08 0c0b528cf693: Download complete 12:27:08 59bf1c3509f3: Pull complete 12:27:08 666ba61612fd: Pull complete 12:27:08 8ed8ca486205: Pull complete 12:27:09 10935f4eaf8b: Verifying Checksum 12:27:09 10935f4eaf8b: Download complete 12:27:09 4fe6c5a15a65: Verifying Checksum 12:27:09 4fe6c5a15a65: Download complete 12:27:13 4fe6c5a15a65: Pull complete 12:27:13 22a0e8bec74d: Pull complete 12:27:13 640e595b4fbd: Pull complete 12:27:13 763cafe07f6e: Pull complete 12:27:13 0c0b528cf693: Pull complete 12:27:15 10935f4eaf8b: Pull complete 12:27:15 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:27:15 ---> 99d49a6021b9 12:27:15 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:27:19 ---> Running in b82226cb0821 12:27:19 Removing intermediate container b82226cb0821 12:27:19 ---> 90c294f75ced 12:27:19 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:27:19 ---> Running in eaaba74f8646 12:27:19 Removing intermediate container eaaba74f8646 12:27:19 ---> 0b885466c324 12:27:19 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:27:19 ---> Running in 9dfb2b373dd3 12:27:19 Removing intermediate container 9dfb2b373dd3 12:27:19 ---> b7282651b3e0 12:27:19 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:27:19 ---> Running in 5809f0a9d65b 12:27:20 Removing intermediate container 5809f0a9d65b 12:27:20 ---> 43165dde1819 12:27:20 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:27:20 ---> Running in da44aa79ca7e 12:27:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:27:21 Still waiting to schedule task 12:27:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:27:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:27:21 OK: 221 MiB in 52 packages 12:27:22 Removing intermediate container da44aa79ca7e 12:27:22 ---> df37902b9258 12:27:22 Step 8/13 : WORKDIR /app 12:27:22 ---> Running in aed270b92847 12:27:22 Removing intermediate container aed270b92847 12:27:22 ---> 7614e5f4c6cd 12:27:22 Step 9/13 : COPY go.mod vendor* ./ 12:27:22 ---> da3a16801bd7 12:27:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:22 ---> Running in 59d31cb408f8 12:27:37 Removing intermediate container 59d31cb408f8 12:27:37 ---> b369f7c50955 12:27:37 Step 11/13 : COPY . . 12:27:37 ---> ecdfba739aba 12:27:37 Step 12/13 : ARG MAKE="make build" 12:27:37 ---> Running in 4f5837ae7a6c 12:27:37 Removing intermediate container 4f5837ae7a6c 12:27:37 ---> 29eb5b43fa94 12:27:37 Step 13/13 : RUN $MAKE 12:27:37 ---> Running in edfb85f9916f 12:27:38 noop 12:27:38 Removing intermediate container edfb85f9916f 12:27:38 ---> 948ce118a75d 12:27:38 Successfully built 948ce118a75d 12:27:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:27:39 + docker inspect -f . ci-base-image-x86_64 12:27:39 . [Pipeline] withDockerContainer 12:27:39 prd-ubuntu20.04-docker-8c-8g-21782 does not seem to be running inside a container 12:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:39 $ docker top 8ec20d1fbaacd5dd4a25ed91b0019e7423ef8e5d4d8717fa004a9dee078ff757 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:39 + go version 12:27:39 go version go1.17.6 linux/amd64 [Pipeline] } 12:27:40 $ docker stop --time=1 8ec20d1fbaacd5dd4a25ed91b0019e7423ef8e5d4d8717fa004a9dee078ff757 12:27:41 $ docker rm -f 8ec20d1fbaacd5dd4a25ed91b0019e7423ef8e5d4d8717fa004a9dee078ff757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:27:42 + docker inspect -f . ci-base-image-x86_64 12:27:42 . [Pipeline] withDockerContainer 12:27:42 prd-ubuntu20.04-docker-8c-8g-21782 does not seem to be running inside a container 12:27:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:42 $ docker top 704eb086dc4552fab78f931df1492382eb0cf80857a9f7296d4c9b5f11e83572 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:27:43 + make test 12:27:43 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:27:53 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:27:53 CGO_ENABLED=1 go vet ./... 12:27:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:27:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:27:56 ./bin/test-attribution-txt.sh [Pipeline] echo 12:27:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:27:56 $ docker stop --time=1 704eb086dc4552fab78f931df1492382eb0cf80857a9f7296d4c9b5f11e83572 12:27:58 $ docker rm -f 704eb086dc4552fab78f931df1492382eb0cf80857a9f7296d4c9b5f11e83572 [Pipeline] // withDockerContainer [Pipeline] sh 12:27:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:27:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:28:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:28:00 + ls -al . 12:28:00 total 164 12:28:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:27 . 12:28:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:26 .. 12:28:00 -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:26 .dockerignore 12:28:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:26 .git 12:28:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:26 .github 12:28:00 -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:26 .gitignore 12:28:00 drwx------ 3 jenkins jenkins 4096 Apr 22 12:27 .semver 12:28:00 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:26 Attribution.txt 12:28:00 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:26 CHANGELOG.md 12:28:00 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:26 Dockerfile 12:28:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:26 GOVERNANCE.md 12:28:00 -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:26 Jenkinsfile 12:28:00 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:26 LICENSE 12:28:00 -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:26 OWNERS.md 12:28:00 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:26 README.md 12:28:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:27 VERSION 12:28:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:26 bin 12:28:00 -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:27 coverage.out 12:28:00 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:26 go.mod 12:28:00 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 22 12:26 go.sum 12:28:00 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:26 main.go 12:28:00 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:26 makefile 12:28:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:26 res 12:28:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:26 snap [Pipeline] isUnix [Pipeline] sh 12:28:00 + 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=e6e70ee785a4ea65c7bb03471372d86c2b416c95 --label arch=amd64 --label version=0.0.0 . 12:28:00 Sending build context to Docker daemon 3.024MB 12:28:00 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:28:00 Step 2/27 : FROM ${BASE} AS builder 12:28:00 ---> 948ce118a75d 12:28:00 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:28:00 ---> Running in c776a49f522c 12:28:00 Removing intermediate container c776a49f522c 12:28:00 ---> bce1f14c7b93 12:28:00 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:28:01 ---> Running in 2df7792170d3 12:28:01 Removing intermediate container 2df7792170d3 12:28:01 ---> 57fbf3f6e711 12:28:01 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:28:01 ---> Running in 1b1ef0de38f3 12:28:01 Removing intermediate container 1b1ef0de38f3 12:28:01 ---> cc84065dbfa8 12:28:01 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:28:01 ---> Running in 86338a2fa02d 12:28:01 Removing intermediate container 86338a2fa02d 12:28:01 ---> a83d3606ccc4 12:28:01 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:01 ---> Running in 1bd462659956 12:28:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:28:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:28:03 OK: 221 MiB in 52 packages 12:28:03 Removing intermediate container 1bd462659956 12:28:03 ---> 859e3a2176ff 12:28:03 Step 8/27 : WORKDIR /app 12:28:03 ---> Running in 1d68f97850b7 12:28:03 Removing intermediate container 1d68f97850b7 12:28:03 ---> 2b26d8bc24c7 12:28:03 Step 9/27 : COPY go.mod vendor* ./ 12:28:03 ---> f8371265b859 12:28:03 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:03 ---> Running in 55739ba76a11 12:28:04 Removing intermediate container 55739ba76a11 12:28:04 ---> 632e5091d127 12:28:04 Step 11/27 : COPY . . 12:28:04 ---> 6b8c94159672 12:28:04 Step 12/27 : ARG MAKE="make build" 12:28:04 ---> Running in d681d5eac42d 12:28:04 Removing intermediate container d681d5eac42d 12:28:04 ---> 528cd9fa9d43 12:28:04 Step 13/27 : RUN $MAKE 12:28:04 ---> Running in 51a0bdc794bc 12:28:05 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:28:23 Removing intermediate container 51a0bdc794bc 12:28:23 ---> 1325981d244c 12:28:23 Step 14/27 : FROM alpine:3.14 12:28:23 3.14: Pulling from library/alpine 12:28:24 8663204ce13b: Pulling fs layer 12:28:24 8663204ce13b: Verifying Checksum 12:28:24 8663204ce13b: Download complete 12:28:24 8663204ce13b: Pull complete 12:28:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:28:24 Status: Downloaded newer image for alpine:3.14 12:28:24 ---> e04c818066af 12:28:24 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:28:24 ---> Running in f54cd881b097 12:28:24 Removing intermediate container f54cd881b097 12:28:24 ---> fc42b2b1ea36 12:28:24 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:28:24 ---> Running in 57a3ecb05177 12:28:24 Removing intermediate container 57a3ecb05177 12:28:24 ---> 91f564a7917a 12:28:24 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:28:24 ---> Running in cd624a9d4df1 12:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:28:25 (1/7) Installing ca-certificates (20211220-r0) 12:28:25 (2/7) Installing dumb-init (1.2.5-r1) 12:28:25 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:28:25 (4/7) Installing libsodium (1.0.18-r0) 12:28:25 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:28:25 (6/7) Installing libzmq (4.3.4-r0) 12:28:25 (7/7) Installing zeromq (4.3.4-r0) 12:28:25 Executing busybox-1.33.1-r7.trigger 12:28:25 Executing ca-certificates-20211220-r0.trigger 12:28:25 OK: 9 MiB in 21 packages 12:28:25 Removing intermediate container cd624a9d4df1 12:28:25 ---> ba213a3e2ed4 12:28:25 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:28:25 ---> 5386799b629d 12:28:25 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:28:26 ---> 347119e2911d 12:28:26 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:28:26 ---> a57cbb603c6c 12:28:26 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:28:26 ---> 969e7c2ea5af 12:28:26 Step 22/27 : EXPOSE 48095 12:28:26 ---> Running in 4e57b45480f0 12:28:26 Removing intermediate container 4e57b45480f0 12:28:26 ---> 2f0b034421b7 12:28:26 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:28:27 ---> Running in 5057ae463aef 12:28:27 Removing intermediate container 5057ae463aef 12:28:27 ---> 86ecb4bbc0f3 12:28:27 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:28:27 ---> Running in a8c310d4c670 12:28:27 Removing intermediate container a8c310d4c670 12:28:27 ---> 1855fef87c23 12:28:27 Step 25/27 : LABEL arch=amd64 12:28:27 ---> Running in 0637a585856e 12:28:27 Removing intermediate container 0637a585856e 12:28:27 ---> e2533ca957fe 12:28:27 Step 26/27 : LABEL git_sha=e6e70ee785a4ea65c7bb03471372d86c2b416c95 12:28:27 ---> Running in 77884e0b6fc3 12:28:27 Removing intermediate container 77884e0b6fc3 12:28:27 ---> 7dda378748fd 12:28:27 Step 27/27 : LABEL version=0.0.0 12:28:27 ---> Running in 4a2e1199b7d3 12:28:27 Removing intermediate container 4a2e1199b7d3 12:28:27 ---> 33c899afe3b1 12:28:27 [Warning] One or more build-args [ARCH] were not consumed 12:28:27 Successfully built 33c899afe3b1 12:28:27 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:28:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:28:28 12:28:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:28:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:28:28 latest: Pulling from edgex-lftools-log-publisher 12:28:28 5eb5b503b376: Pulling fs layer 12:28:28 5c69ac0246d0: Pulling fs layer 12:28:28 ec43610c2a17: Pulling fs layer 12:28:28 3a2ae6a8a46f: Pulling fs layer 12:28:28 33b1e0a273af: Pulling fs layer 12:28:28 5d3b04190fa2: Pulling fs layer 12:28:28 2f39f015ded8: Pulling fs layer 12:28:28 33b1e0a273af: Waiting 12:28:28 5d3b04190fa2: Waiting 12:28:28 2f39f015ded8: Waiting 12:28:28 5c69ac0246d0: Verifying Checksum 12:28:28 5c69ac0246d0: Download complete 12:28:28 3a2ae6a8a46f: Download complete 12:28:28 33b1e0a273af: Verifying Checksum 12:28:28 33b1e0a273af: Download complete 12:28:28 ec43610c2a17: Verifying Checksum 12:28:28 ec43610c2a17: Download complete 12:28:28 5d3b04190fa2: Verifying Checksum 12:28:28 5d3b04190fa2: Download complete 12:28:28 5eb5b503b376: Verifying Checksum 12:28:28 5eb5b503b376: Download complete 12:28:29 2f39f015ded8: Download complete 12:28:30 5eb5b503b376: Pull complete 12:28:30 5c69ac0246d0: Pull complete 12:28:30 ec43610c2a17: Pull complete 12:28:30 3a2ae6a8a46f: Pull complete 12:28:30 33b1e0a273af: Pull complete 12:28:30 5d3b04190fa2: Pull complete 12:28:35 2f39f015ded8: Pull complete 12:28:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:28:35 prd-ubuntu20.04-docker-8c-8g-21782 does not seem to be running inside a container 12:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:28:36 $ docker top 06e2abcc55237974996b88c740e8c8a9e4e0b8cd473c5a5a8df99bc0bf3ada32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:28:37 ---> job-cost.sh 12:28:37 lf-activate-venv: SKIPPING 12:28:37 INFO: No Stack... 12:28:37 INFO: Retrieving Pricing Info for: v3-standard-8 12:28:38 INFO: Archiving Costs [Pipeline] sh 12:28:38 + cat /w/workspace/_app-service-configurable_PR-407/archives/cost.csv 12:28:38 + cut -d, -f6 [Pipeline] lock 12:28:38 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] 12:28:38 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] did not exist. Created. 12:28:38 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:28:38 + echo total: 0.2199999988079071 [Pipeline] stash 12:28:38 Stashed 1 file(s) [Pipeline] } 12:28:38 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:28:38 $ docker stop --time=1 06e2abcc55237974996b88c740e8c8a9e4e0b8cd473c5a5a8df99bc0bf3ada32 12:28:40 $ docker rm -f 06e2abcc55237974996b88c740e8c8a9e4e0b8cd473c5a5a8df99bc0bf3ada32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:28:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21783 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] ws 12:28:58 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:28:59 Selected Git installation does not exist. Using Default 12:28:59 The recommended git tool is: NONE 12:29:05 using credential edgex-jenkins-ssh 12:29:05 Cloning the remote Git repository 12:29:05 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:29:05 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:29:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:29:05 > git --version # timeout=10 12:29:05 > git --version # 'git version 2.25.1' 12:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:29:07 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit e6e70ee785a4ea65c7bb03471372d86c2b416c95 12:29:07 Merge succeeded, producing e6e70ee785a4ea65c7bb03471372d86c2b416c95 12:29:07 Checking out Revision e6e70ee785a4ea65c7bb03471372d86c2b416c95 (PR-407) 12:29:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:29:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:29:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:29:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:29:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:29:07 > git config core.sparsecheckout # timeout=10 12:29:07 > git checkout -f e6e70ee785a4ea65c7bb03471372d86c2b416c95 # timeout=10 12:29:07 > git remote # timeout=10 12:29:07 > git config --get remote.origin.url # timeout=10 12:29:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:07 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 12:29:07 > git rev-parse HEAD^{commit} # timeout=10 12:29:07 > git config core.sparsecheckout # timeout=10 12:29:07 > git checkout -f e6e70ee785a4ea65c7bb03471372d86c2b416c95 # timeout=10 12:29:11 Commit message: "feat(snap): use updated environment variable injection" 12:29:12 > git --version # timeout=10 12:29:12 > git --version # 'git version 2.25.1' 12:29:12 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:29:13 % Total % Received % Xferd Average Speed Time Time Time Current 12:29:13 Dload Upload Total Spent Left Speed 12:29:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 62331 0 --:--:-- --:--:-- --:--:-- 62331 100 11843 100 11843 0 0 62005 0 --:--:-- --:--:-- --:--:-- 61682 [Pipeline] sh 12:29:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:29:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:29:14 + sudo tee /etc/docker/daemon.new 12:29:14 { 12:29:14 "registry-mirrors": [ 12:29:14 "https://nexus3.edgexfoundry.org:10001" 12:29:14 ], 12:29:14 "bip": "10.250.0.254/24", 12:29:14 "hosts": [ 12:29:14 "tcp://0.0.0.0:5555", 12:29:14 "unix:///var/run/docker.sock" 12:29:14 ], 12:29:14 "mtu": 1458, 12:29:14 "selinux-enabled": true, 12:29:14 "seccomp-profile": "/etc/docker/seccomp.json" 12:29:14 } [Pipeline] sh 12:29:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:29:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:33 provisioning config files... 12:29:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7636616745783961126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:33 ---> docker-login.sh 12:29:33 nexus3.edgexfoundry.org:10001 12:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:34 Configure a credential helper to remove this warning. See 12:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:34 12:29:34 Login Succeeded 12:29:34 nexus3.edgexfoundry.org:10002 12:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:35 Configure a credential helper to remove this warning. See 12:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:35 12:29:35 Login Succeeded 12:29:35 nexus3.edgexfoundry.org:10003 12:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:35 Configure a credential helper to remove this warning. See 12:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:35 12:29:35 Login Succeeded 12:29:35 nexus3.edgexfoundry.org:10004 12:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:36 Configure a credential helper to remove this warning. See 12:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:36 12:29:36 Login Succeeded 12:29:36 docker.io 12:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:37 Configure a credential helper to remove this warning. See 12:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:37 12:29:37 Login Succeeded 12:29:37 ---> docker-login.sh ends [Pipeline] } 12:29:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:29:37 ========================================================= 12:29:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:29:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:29:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:29:37 Sending build context to Docker daemon 198.7kB 12:29:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:29:38 Step 2/13 : FROM ${BASE} AS builder 12:29:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:29:38 9b3977197b4f: Pulling fs layer 12:29:38 1a89e8eeedd5: Pulling fs layer 12:29:38 94645a83ff95: Pulling fs layer 12:29:38 3f3a8bcf1eab: Pulling fs layer 12:29:38 0c92f367c5e7: Pulling fs layer 12:29:38 f7c0051592d6: Pulling fs layer 12:29:38 a227ed2f7395: Pulling fs layer 12:29:38 7b1c46037f91: Pulling fs layer 12:29:38 3f3a8bcf1eab: Waiting 12:29:38 f7c0051592d6: Waiting 12:29:38 a227ed2f7395: Waiting 12:29:38 0c92f367c5e7: Waiting 12:29:38 7b1c46037f91: Waiting 12:29:38 94645a83ff95: Download complete 12:29:38 1a89e8eeedd5: Download complete 12:29:38 0c92f367c5e7: Verifying Checksum 12:29:38 0c92f367c5e7: Download complete 12:29:38 f7c0051592d6: Verifying Checksum 12:29:38 f7c0051592d6: Download complete 12:29:38 9b3977197b4f: Verifying Checksum 12:29:38 9b3977197b4f: Download complete 12:29:38 a227ed2f7395: Verifying Checksum 12:29:38 a227ed2f7395: Download complete 12:29:39 9b3977197b4f: Pull complete 12:29:39 1a89e8eeedd5: Pull complete 12:29:40 94645a83ff95: Pull complete 12:29:40 7b1c46037f91: Verifying Checksum 12:29:40 7b1c46037f91: Download complete 12:29:41 3f3a8bcf1eab: Verifying Checksum 12:29:41 3f3a8bcf1eab: Download complete 12:29:53 3f3a8bcf1eab: Pull complete 12:29:53 0c92f367c5e7: Pull complete 12:29:53 f7c0051592d6: Pull complete 12:29:53 a227ed2f7395: Pull complete 12:30:00 7b1c46037f91: Pull complete 12:30:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:30:00 ---> f79e39bc4007 12:30:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:30:01 ---> Running in 4d3d65ac9e99 12:30:01 Removing intermediate container 4d3d65ac9e99 12:30:01 ---> 8fc93bf3928c 12:30:01 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:30:01 ---> Running in 1585b1e46688 12:30:01 Removing intermediate container 1585b1e46688 12:30:01 ---> 6ba5c4b8a1b4 12:30:01 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:30:01 ---> Running in 0131e9e22311 12:30:02 Removing intermediate container 0131e9e22311 12:30:02 ---> a7318c932446 12:30:02 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:30:02 ---> Running in 345cb487450f 12:30:03 Removing intermediate container 345cb487450f 12:30:03 ---> 145430010f12 12:30:03 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:04 ---> Running in 6e771cabe436 12:30:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:30:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:30:06 OK: 220 MiB in 52 packages 12:30:07 Removing intermediate container 6e771cabe436 12:30:07 ---> 8e2cb1afa128 12:30:07 Step 8/13 : WORKDIR /app 12:30:07 ---> Running in e732fc0819c6 12:30:07 Removing intermediate container e732fc0819c6 12:30:07 ---> 671471bb2570 12:30:07 Step 9/13 : COPY go.mod vendor* ./ 12:30:08 ---> 6f26c00b8dd3 12:30:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:30:08 ---> Running in b797a5c36e97 12:30:55 Removing intermediate container b797a5c36e97 12:30:55 ---> 2d7a3878f535 12:30:55 Step 11/13 : COPY . . 12:30:55 ---> e931418c3477 12:30:55 Step 12/13 : ARG MAKE="make build" 12:30:55 ---> Running in 005b874fd91a 12:30:55 Removing intermediate container 005b874fd91a 12:30:55 ---> 33a121f5cf2b 12:30:55 Step 13/13 : RUN $MAKE 12:30:55 ---> Running in 3c991a9e1cfc 12:30:55 noop 12:30:55 Removing intermediate container 3c991a9e1cfc 12:30:55 ---> 2aa3a8fd7ab6 12:30:55 Successfully built 2aa3a8fd7ab6 12:30:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:30:55 + docker inspect -f . ci-base-image-arm64 12:30:55 . [Pipeline] withDockerContainer 12:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-21783 does not seem to be running inside a container 12:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:30:57 $ docker top a13b2566dc7ca5765348528412289af826e2b868d15d6e6b0dc22c7bde213d90 -eo pid,comm [Pipeline] { [Pipeline] sh 12:30:58 + go version 12:30:58 go version go1.17.6 linux/arm64 [Pipeline] } 12:30:58 $ docker stop --time=1 a13b2566dc7ca5765348528412289af826e2b868d15d6e6b0dc22c7bde213d90 12:31:00 $ docker rm -f a13b2566dc7ca5765348528412289af826e2b868d15d6e6b0dc22c7bde213d90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:31:01 + docker inspect -f . ci-base-image-arm64 12:31:01 . [Pipeline] withDockerContainer 12:31:01 prd-ubuntu20.04-docker-arm64-4c-16g-21783 does not seem to be running inside a container 12:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:31:02 $ docker top 9a32d0677fd3087433213287c40ff66b5fceda16cdc550b116f8c673a16c5a27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:31:03 + make test 12:31:03 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:32:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:32:25 CGO_ENABLED=1 go vet ./... 12:32:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:32:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:32:43 ./bin/test-attribution-txt.sh [Pipeline] echo 12:32:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:32:47 $ docker stop --time=1 9a32d0677fd3087433213287c40ff66b5fceda16cdc550b116f8c673a16c5a27 12:32:49 $ docker rm -f 9a32d0677fd3087433213287c40ff66b5fceda16cdc550b116f8c673a16c5a27 [Pipeline] // withDockerContainer [Pipeline] sh 12:32:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:32:50 Warning: overwriting stash ‘coverage-report’ 12:32:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:32:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:32:51 + ls -al . 12:32:51 total 160 12:32:51 drwxrwxr-x 7 jenkins jenkins 4096 Apr 22 12:32 . 12:32:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:29 .. 12:32:51 -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:29 .dockerignore 12:32:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:29 .git 12:32:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:29 .github 12:32:51 -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:29 .gitignore 12:32:51 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:29 Attribution.txt 12:32:51 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:29 CHANGELOG.md 12:32:51 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:29 Dockerfile 12:32:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:29 GOVERNANCE.md 12:32:51 -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:29 Jenkinsfile 12:32:51 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:29 LICENSE 12:32:51 -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:29 OWNERS.md 12:32:51 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:29 README.md 12:32:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:27 VERSION 12:32:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:29 bin 12:32:51 -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:31 coverage.out 12:32:51 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:29 go.mod 12:32:51 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 22 12:29 go.sum 12:32:51 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:29 main.go 12:32:51 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:29 makefile 12:32:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:29 res 12:32:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:29 snap [Pipeline] isUnix [Pipeline] sh 12:32:51 + 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=e6e70ee785a4ea65c7bb03471372d86c2b416c95 --label arch=arm64 --label version=0.0.0 . 12:32:51 Sending build context to Docker daemon 199.7kB 12:32:52 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:32:52 Step 2/27 : FROM ${BASE} AS builder 12:32:52 ---> 2aa3a8fd7ab6 12:32:52 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:32:52 ---> Running in ee92b8aeb3ed 12:32:52 Removing intermediate container ee92b8aeb3ed 12:32:52 ---> 8b4445baa3bb 12:32:52 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:32:52 ---> Running in 83673a3ba2a0 12:32:52 Removing intermediate container 83673a3ba2a0 12:32:52 ---> 450619a865f9 12:32:52 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:32:52 ---> Running in ec2bb7d8264d 12:32:53 Removing intermediate container ec2bb7d8264d 12:32:53 ---> 84db37fbcdc1 12:32:53 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:32:53 ---> Running in 423bba8d7ccb 12:32:55 Removing intermediate container 423bba8d7ccb 12:32:55 ---> 640e5f1b9f30 12:32:55 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:32:55 ---> Running in 95a303c37985 12:32:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:32:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:32:57 OK: 220 MiB in 52 packages 12:32:58 Removing intermediate container 95a303c37985 12:32:58 ---> c2c510ce2d81 12:32:58 Step 8/27 : WORKDIR /app 12:32:58 ---> Running in 90362076c2f5 12:32:58 Removing intermediate container 90362076c2f5 12:32:58 ---> bc1ef5ba52b4 12:32:58 Step 9/27 : COPY go.mod vendor* ./ 12:32:59 ---> 661608c24742 12:32:59 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:32:59 ---> Running in f78a37b26e63 12:33:01 Removing intermediate container f78a37b26e63 12:33:01 ---> f62912c989d1 12:33:01 Step 11/27 : COPY . . 12:33:02 ---> 7d129e3a428f 12:33:02 Step 12/27 : ARG MAKE="make build" 12:33:02 ---> Running in 49e25efcaa8d 12:33:02 Removing intermediate container 49e25efcaa8d 12:33:02 ---> 3e927307fbac 12:33:02 Step 13/27 : RUN $MAKE 12:33:02 ---> Running in 8098ba5dfbdd 12:33:03 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:35:10 Removing intermediate container 8098ba5dfbdd 12:35:10 ---> 65e081ff4d4b 12:35:10 Step 14/27 : FROM alpine:3.14 12:35:10 3.14: Pulling from library/alpine 12:35:10 455c02918c45: Pulling fs layer 12:35:10 455c02918c45: Download complete 12:35:10 455c02918c45: Pull complete 12:35:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:35:10 Status: Downloaded newer image for alpine:3.14 12:35:10 ---> ac73e934f311 12:35:10 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:35:10 ---> Running in 562651e513e6 12:35:10 Removing intermediate container 562651e513e6 12:35:10 ---> ff1decf9950a 12:35:10 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:35:10 ---> Running in 2db1285125cf 12:35:10 Removing intermediate container 2db1285125cf 12:35:10 ---> 0557406e14d8 12:35:10 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:35:10 ---> Running in ea86becb55c6 12:35:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:35:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:35:10 (1/7) Installing ca-certificates (20211220-r0) 12:35:10 (2/7) Installing dumb-init (1.2.5-r1) 12:35:10 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:35:10 (4/7) Installing libsodium (1.0.18-r0) 12:35:10 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:35:10 (6/7) Installing libzmq (4.3.4-r0) 12:35:10 (7/7) Installing zeromq (4.3.4-r0) 12:35:10 Executing busybox-1.33.1-r7.trigger 12:35:10 Executing ca-certificates-20211220-r0.trigger 12:35:10 OK: 9 MiB in 21 packages 12:35:10 Removing intermediate container ea86becb55c6 12:35:10 ---> 8d94ccb31a5a 12:35:10 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:35:10 ---> 7e338be35fa1 12:35:10 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:35:10 ---> d318546a49a2 12:35:10 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:35:10 ---> 706c41c62d8d 12:35:10 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:35:10 ---> e324bd8c359a 12:35:10 Step 22/27 : EXPOSE 48095 12:35:10 ---> Running in f070b8bab904 12:35:10 Removing intermediate container f070b8bab904 12:35:10 ---> 451752f51666 12:35:10 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:35:10 ---> Running in 12bbc2fa505f 12:35:10 Removing intermediate container 12bbc2fa505f 12:35:10 ---> db23aed7e883 12:35:10 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:35:10 ---> Running in 53c119365714 12:35:10 Removing intermediate container 53c119365714 12:35:10 ---> bce3407e1a83 12:35:10 Step 25/27 : LABEL arch=arm64 12:35:10 ---> Running in 0cba1b9b299e 12:35:10 Removing intermediate container 0cba1b9b299e 12:35:10 ---> e94fb373fff4 12:35:10 Step 26/27 : LABEL git_sha=e6e70ee785a4ea65c7bb03471372d86c2b416c95 12:35:10 ---> Running in 5efd7fa71344 12:35:10 Removing intermediate container 5efd7fa71344 12:35:10 ---> d90040e8e3a8 12:35:10 Step 27/27 : LABEL version=0.0.0 12:35:10 ---> Running in 3eaaa9cea8f3 12:35:10 Removing intermediate container 3eaaa9cea8f3 12:35:10 ---> 67010529ace1 12:35:10 [Warning] One or more build-args [ARCH] were not consumed 12:35:10 Successfully built 67010529ace1 12:35:10 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:35:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:35:10 12:35:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:35:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:35:11 arm64: Pulling from edgex-lftools-log-publisher 12:35:11 8998bd30e6a1: Pulling fs layer 12:35:11 04944245beec: Pulling fs layer 12:35:11 699f458cf7ca: Pulling fs layer 12:35:11 765212b225bb: Pulling fs layer 12:35:11 f23df028b6ca: Pulling fs layer 12:35:11 d65c8cfc05b1: Pulling fs layer 12:35:11 2437ff75d9bd: Pulling fs layer 12:35:11 f23df028b6ca: Waiting 12:35:11 d65c8cfc05b1: Waiting 12:35:11 2437ff75d9bd: Waiting 12:35:11 765212b225bb: Waiting 12:35:11 04944245beec: Verifying Checksum 12:35:11 04944245beec: Download complete 12:35:11 765212b225bb: Verifying Checksum 12:35:11 765212b225bb: Download complete 12:35:11 f23df028b6ca: Verifying Checksum 12:35:11 f23df028b6ca: Download complete 12:35:11 d65c8cfc05b1: Verifying Checksum 12:35:11 d65c8cfc05b1: Download complete 12:35:11 699f458cf7ca: Verifying Checksum 12:35:11 699f458cf7ca: Download complete 12:35:12 8998bd30e6a1: Download complete 12:35:14 2437ff75d9bd: Verifying Checksum 12:35:14 2437ff75d9bd: Download complete 12:35:16 8998bd30e6a1: Pull complete 12:35:16 04944245beec: Pull complete 12:35:18 699f458cf7ca: Pull complete 12:35:18 765212b225bb: Pull complete 12:35:19 f23df028b6ca: Pull complete 12:35:19 d65c8cfc05b1: Pull complete 12:35:34 2437ff75d9bd: Pull complete 12:35:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:35:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:35:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:35:34 prd-ubuntu20.04-docker-arm64-4c-16g-21783 does not seem to be running inside a container 12:35:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:35:37 $ docker top 87e12bb682007fffb2c1e066b066cdfc765ac564ef4b620cdd7457d408269502 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:38 ---> job-cost.sh 12:35:38 lf-activate-venv: SKIPPING 12:35:38 INFO: No Stack... 12:35:39 INFO: Retrieving Pricing Info for: v3-standard-4 12:35:39 INFO: Archiving Costs [Pipeline] sh 12:35:40 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:35:40 + cut -d, -f6 [Pipeline] lock 12:35:40 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] 12:35:40 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] did not exist. Created. 12:35:40 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:35:41 /w/workspace/app-service-configurable/1@tmp/durable-bcba5713/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:35:41 + echo total: 0.10999999940395355 [Pipeline] stash 12:35:41 Warning: overwriting stash ‘stack-cost’ 12:35:41 Stashed 1 file(s) [Pipeline] } 12:35:41 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:35:42 $ docker stop --time=1 87e12bb682007fffb2c1e066b066cdfc765ac564ef4b620cdd7457d408269502 12:35:43 $ docker rm -f 87e12bb682007fffb2c1e066b066cdfc765ac564ef4b620cdd7457d408269502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:35:44 provisioning config files... 12:35:44 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config2472225360666398247tmp [Pipeline] { [Pipeline] sh 12:35:45 + set +x 12:35:45 + bash -s -- 12:35:45 + curl -s https://codecov.io/bash 12:35:45 12:35:45 _____ _ 12:35:45 / ____| | | 12:35:45 | | ___ __| | ___ ___ _____ __ 12:35:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:35:45 | |___| (_) | (_| | __/ (_| (_) \ V / 12:35:45 \_____\___/ \__,_|\___|\___\___/ \_/ 12:35:45 Bash-1.0.6 12:35:45 12:35:45 12:35:45 ==> git version 2.25.1 found 12:35:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:35:45 Release-Date: 2020-01-08 12:35:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:35:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:35:45 ==> Jenkins CI detected. 12:35:45 current dir:  /w/workspace/_app-service-configurable_PR-407 12:35:45 project root: . 12:35:45 --> token set from env 12:35:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:35:45 ==> Running gcov in . (disable via -X gcov) 12:35:45 ==> Python coveragepy not found 12:35:45 ==> Searching for coverage reports in: 12:35:45 + . 12:35:45 -> Found 1 reports 12:35:45 ==> Detecting git/mercurial file structure 12:35:45 ==> Reading reports 12:35:45 + ./coverage.out bytes=10 12:35:45 ==> Appending adjustments 12:35:45 https://docs.codecov.io/docs/fixing-reports 12:35:45 + Found adjustments 12:35:45 ==> Gzipping contents 12:35:45 4.0K /tmp/codecov.cksNwd.gz 12:35:45 ==> Uploading reports 12:35:45 url: https://codecov.io 12:35:45 query: branch=PR-407&commit=e6e70ee785a4ea65c7bb03471372d86c2b416c95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 12:35:45 -> Pinging Codecov 12:35:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-407&commit=e6e70ee785a4ea65c7bb03471372d86c2b416c95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 12:35:45 -> Uploading to 12:35:45 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/A97CA9966030D2A3747ED39772930CCE/e6e70ee785a4ea65c7bb03471372d86c2b416c95/2429940f-fda7-453e-b4f3-c35155ef5d66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T123545Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f81ddcc4f0a9d485d4cc0de76c4b7a88ac0170a9418b8db04422766d5b521f9 12:35:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:35:45 Dload Upload Total Spent Left Speed 12:35:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2599 --:--:-- --:--:-- --:--:-- 2587 100 577 0 0 100 577 0 2345 --:--:-- --:--:-- --:--:-- 2336 12:35:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/e6e70ee785a4ea65c7bb03471372d86c2b416c95 [Pipeline] } 12:35:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:35:47 + [ -d /w/workspace/_app-service-configurable_PR-407/archives ] 12:35:47 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 12:35:47 total 16 12:35:47 drwxr-xr-x 3 root root 4096 Apr 22 12:28 . 12:35:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:28 .. 12:35:47 drwxr-xr-x 2 root root 4096 Apr 22 12:28 cost 12:35:47 -rw-r--r-- 1 root root 95 Apr 22 12:28 cost.csv 12:35:47 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-407/archives 12:35:47 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 12:35:47 total 16 12:35:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 12:28 . 12:35:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:28 .. 12:35:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 12:28 cost 12:35:47 -rw-r--r-- 1 jenkins jenkins 95 Apr 22 12:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:35:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:35:48 ---> package-listing.sh 12:35:48 ++ facter osfamily 12:35:48 ++ tr '[:upper:]' '[:lower:]' 12:35:49 + OS_FAMILY=debian 12:35:49 + workspace=/w/workspace/_app-service-configurable_PR-407 12:35:49 + START_PACKAGES=/tmp/packages_start.txt 12:35:49 + END_PACKAGES=/tmp/packages_end.txt 12:35:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:35:49 + PACKAGES=/tmp/packages_start.txt 12:35:49 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 12:35:49 + PACKAGES=/tmp/packages_end.txt 12:35:49 + case "${OS_FAMILY}" in 12:35:49 + dpkg -l 12:35:49 + grep '^ii' 12:35:49 + '[' -f /tmp/packages_start.txt ']' 12:35:49 + '[' -f /tmp/packages_end.txt ']' 12:35:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:35:49 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 12:35:49 + mkdir -p /w/workspace/_app-service-configurable_PR-407/archives/ 12:35:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-407/archives/ [Pipeline] echo 12:35:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:35:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:50 . [Pipeline] withDockerContainer 12:35:50 prd-ubuntu20.04-docker-8c-8g-21782 does not seem to be running inside a container 12:35:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:35:50 $ docker top 7c67220b648a8d7390a6c0bc0592b1a9c380a4c0c48d43227a9b202655e08e5f -eo pid,comm [Pipeline] { [Pipeline] sh 12:35:50 + touch /tmp/pre-build-complete [Pipeline] sh 12:35:51 + mkdir -p /var/log/sysstat [Pipeline] sh 12:35:51 + ls /var/log/sa-host 12:35:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:51 provisioning config files... 12:35:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config1603837233044401582tmp [Pipeline] { [Pipeline] echo 12:35:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:35:52 ---> create-netrc.sh [Pipeline] } 12:35:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:35:52 ---> python-tools-install.sh [Pipeline] echo 12:35:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:35:52 ---> sudo-logs.sh 12:35:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:35:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:35:53 ---> job-cost.sh 12:35:53 lf-activate-venv: SKIPPING 12:35:53 DEBUG: total: 0.2199999988079071 12:35:53 INFO: Retrieving Stack Cost... 12:35:53 INFO: Retrieving Pricing Info for: v3-standard-8 12:35:54 INFO: Archiving Costs [Pipeline] echo 12:35:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:35:54 ---> logs-deploy.sh 12:35:54 lf-activate-venv: SKIPPING 12:35:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-407/1 12:35:54 INFO: archiving workspace using pattern(s): 12:35:55 Archives upload complete. 12:35:55 INFO: archiving logs to Nexus