Pull request #395 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebc2bda70916b7dc276f88409f54ece56b4e3ce2+ab4754bb686cc1a901ed29aff581db85023172aa (a3b0fcc1cfcb40e00892893204ebf3dadea0b6a0) 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-ssh16259767466758989779.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-ssh6005354357385350393.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-395/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-395/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh547588886654761623.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-395/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6101305856599102211.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-ssh8374662372050310913.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-395/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-395/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3300299148292175318.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-11408 in /w/workspace/_app-service-configurable_PR-395 [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-395 # 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 ab4754bb686cc1a901ed29aff581db85023172aa into PR head commit ebc2bda70916b7dc276f88409f54ece56b4e3ce2 Merge succeeded, producing ebc2bda70916b7dc276f88409f54ece56b4e3ce2 Checking out Revision ebc2bda70916b7dc276f88409f54ece56b4e3ce2 (PR-395) > 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/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebc2bda70916b7dc276f88409f54ece56b4e3ce2 # 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 ab4754bb686cc1a901ed29aff581db85023172aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebc2bda70916b7dc276f88409f54ece56b4e3ce2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 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:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:42 ========================================================= 12:03:42 EdgeX Global Pipelines Version Info 12:03:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:43 ------------------- 12:03:43 stable info: 12:03:43 ------------------- 12:03:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:43 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:43 Message: update stable to v1.0.221 12:03:44 ------------------- 12:03:44 experimental info: 12:03:44 ------------------- 12:03:44 Commited By: **** collab-it+edgex@linuxfoundation.org 12:03:44 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:44 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-395 [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-395 [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-395 [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebc2bda [Pipeline] echo 12:03:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:45 provisioning config files... 12:03:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-395@tmp/config8170181732230598684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:46 ---> docker-login.sh 12:03:46 nexus3.edgexfoundry.org:10001 12:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:46 Configure a credential helper to remove this warning. See 12:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:46 12:03:46 Login Succeeded 12:03:46 nexus3.edgexfoundry.org:10002 12:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:46 Configure a credential helper to remove this warning. See 12:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:46 12:03:46 Login Succeeded 12:03:46 nexus3.edgexfoundry.org:10003 12:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:46 Configure a credential helper to remove this warning. See 12:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:46 12:03:46 Login Succeeded 12:03:46 nexus3.edgexfoundry.org:10004 12:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:46 Configure a credential helper to remove this warning. See 12:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:46 12:03:46 Login Succeeded 12:03:46 docker.io 12:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:47 Configure a credential helper to remove this warning. See 12:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:47 12:03:47 Login Succeeded 12:03:47 ---> docker-login.sh ends [Pipeline] } 12:03:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:03:48 + git rev-list -1 --merges ebc2bda70916b7dc276f88409f54ece56b4e3ce2~1..ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [Pipeline] echo 12:03:48 -----------> git rev-list -1 --merges ebc2bda70916b7dc276f88409f54ece56b4e3ce2~1..ebc2bda70916b7dc276f88409f54ece56b4e3ce2 ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [false] [Pipeline] sh 12:03:48 + git log --format=format:%s -1 ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [Pipeline] echo 12:03:48 ========================================================= 12:03:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:03:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:49 + git log --format=format:%s -1 ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [Pipeline] echo 12:03:49 [semverPrep] GIT_COMMIT: ebc2bda70916b7dc276f88409f54ece56b4e3ce2, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:03:49 [semverPrep] This is not a build commit. [Pipeline] sh 12:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:03:49 + grep -v github /etc/ssh/ssh_known_hosts 12:03:49 + [ -e /tmp/ssh_known_hosts ] 12:03:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:03:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:03:49 + sudo tee -a /etc/ssh/ssh_known_hosts 12:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:50 12:03:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:03:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:50 latest: Pulling from edgex-devops/git-semver 12:03:50 a0d0a0d46f8b: Pulling fs layer 12:03:50 3e5f54012d9b: Pulling fs layer 12:03:50 4c7163046ea9: Pulling fs layer 12:03:50 0c2d73faf560: Pulling fs layer 12:03:50 0c2d73faf560: Waiting 12:03:50 3e5f54012d9b: Verifying Checksum 12:03:50 3e5f54012d9b: Download complete 12:03:50 a0d0a0d46f8b: Verifying Checksum 12:03:50 a0d0a0d46f8b: Download complete 12:03:50 0c2d73faf560: Verifying Checksum 12:03:50 0c2d73faf560: Download complete 12:03:50 4c7163046ea9: Verifying Checksum 12:03:50 4c7163046ea9: Download complete 12:03:50 a0d0a0d46f8b: Pull complete 12:03:50 3e5f54012d9b: Pull complete 12:03:51 4c7163046ea9: Pull complete 12:03:51 0c2d73faf560: Pull complete 12:03:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:03:51 prd-ubuntu20.04-docker-8c-8g-11408 does not seem to be running inside a container 12:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-395 -v /w/workspace/_app-service-configurable_PR-395:/w/workspace/_app-service-configurable_PR-395:rw,z -v /w/workspace/_app-service-configurable_PR-395@tmp:/w/workspace/_app-service-configurable_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:03:52 $ docker top 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:03:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:52 [ssh-agent] Looking for ssh-agent implementation... 12:03:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:52 $ docker exec 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d ssh-agent 12:03:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfHcklo/agent.13 12:03:52 SSH_AGENT_PID=20 12:03:52 Running ssh-add (command line suppressed) 12:03:52 Identity added: /w/workspace/_app-service-configurable_PR-395@tmp/private_key_5870953598155810755.key (/w/workspace/_app-service-configurable_PR-395@tmp/private_key_5870953598155810755.key) 12:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:53 + git tag --points-at HEAD [Pipeline] } 12:03:53 $ docker exec --env ******** --env ******** 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d ssh-agent -k 12:03:53 unset SSH_AUTH_SOCK; 12:03:53 unset SSH_AGENT_PID; 12:03:53 echo Agent pid 20 killed; 12:03:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:03:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:53 [ssh-agent] Looking for ssh-agent implementation... 12:03:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:53 $ docker exec 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d ssh-agent 12:03:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbAnBGp/agent.54 12:03:53 SSH_AGENT_PID=61 12:03:53 Running ssh-add (command line suppressed) 12:03:53 Identity added: /w/workspace/_app-service-configurable_PR-395@tmp/private_key_4702071666170413131.key (/w/workspace/_app-service-configurable_PR-395@tmp/private_key_4702071666170413131.key) 12:03:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:54 + git semver init 12:03:54 # -> Open(): unable to determine branch for HEAD 12:03:54 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-395/.git 12:03:54 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-395 12:03:54 # $SEMVER_REMOTE_NAME = origin 12:03:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:03:54 # $SEMVER_USER_NAME = edgex-jenkins 12:03:54 # $SEMVER_BRANCH = PR-395 12:03:54 # $SEMVER_TEMP = /tmp/semver-774280647 12:03:54 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:03:55 # '/tmp/semver-774280647' -> '/w/workspace/_app-service-configurable_PR-395/.semver' 12:03:55 # -> Force: false 12:03:55 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-395/.semver [Pipeline] } 12:03:55 $ docker exec --env ******** --env ******** 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d ssh-agent -k 12:03:55 unset SSH_AUTH_SOCK; 12:03:55 unset SSH_AGENT_PID; 12:03:55 echo Agent pid 61 killed; 12:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:03:55 + git semver [Pipeline] } 12:03:55 $ docker stop --time=1 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d 12:03:57 $ docker rm -f 3b3c5309db87ba10925abf4a74978fe022e66349a123e5ea4427569eef964a3d [Pipeline] // withDockerContainer [Pipeline] sh 12:03:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:03:57 Stashed 1 file(s) [Pipeline] echo 12:03:57 [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:03:58 provisioning config files... 12:03:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-395@tmp/config136202571459726671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:58 ---> docker-login.sh 12:03:58 nexus3.edgexfoundry.org:10001 12:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:58 Configure a credential helper to remove this warning. See 12:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:58 12:03:58 Login Succeeded 12:03:58 nexus3.edgexfoundry.org:10002 12:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 nexus3.edgexfoundry.org:10003 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 nexus3.edgexfoundry.org:10004 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 docker.io 12:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:59 Configure a credential helper to remove this warning. See 12:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:59 12:03:59 Login Succeeded 12:03:59 ---> docker-login.sh ends [Pipeline] } 12:04:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:00 ========================================================= 12:04:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:00 + 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:04:00 Sending build context to Docker daemon 2.998MB 12:04:00 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:00 Step 2/13 : FROM ${BASE} AS builder 12:04:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:00 59bf1c3509f3: Pulling fs layer 12:04:00 666ba61612fd: Pulling fs layer 12:04:00 8ed8ca486205: Pulling fs layer 12:04:00 4fe6c5a15a65: Pulling fs layer 12:04:00 22a0e8bec74d: Pulling fs layer 12:04:00 640e595b4fbd: Pulling fs layer 12:04:00 4fe6c5a15a65: Waiting 12:04:00 763cafe07f6e: Pulling fs layer 12:04:00 22a0e8bec74d: Waiting 12:04:00 0c0b528cf693: Pulling fs layer 12:04:00 10935f4eaf8b: Pulling fs layer 12:04:00 640e595b4fbd: Waiting 12:04:00 0c0b528cf693: Waiting 12:04:00 763cafe07f6e: Waiting 12:04:00 10935f4eaf8b: Waiting 12:04:00 8ed8ca486205: Download complete 12:04:00 666ba61612fd: Download complete 12:04:00 22a0e8bec74d: Verifying Checksum 12:04:00 22a0e8bec74d: Download complete 12:04:00 640e595b4fbd: Download complete 12:04:00 59bf1c3509f3: Verifying Checksum 12:04:00 59bf1c3509f3: Download complete 12:04:00 763cafe07f6e: Verifying Checksum 12:04:00 763cafe07f6e: Download complete 12:04:00 0c0b528cf693: Verifying Checksum 12:04:00 0c0b528cf693: Download complete 12:04:00 59bf1c3509f3: Pull complete 12:04:01 666ba61612fd: Pull complete 12:04:01 8ed8ca486205: Pull complete 12:04:01 10935f4eaf8b: Verifying Checksum 12:04:01 10935f4eaf8b: Download complete 12:04:01 4fe6c5a15a65: Verifying Checksum 12:04:01 4fe6c5a15a65: Download complete 12:04:05 4fe6c5a15a65: Pull complete 12:04:05 22a0e8bec74d: Pull complete 12:04:05 640e595b4fbd: Pull complete 12:04:06 763cafe07f6e: Pull complete 12:04:06 0c0b528cf693: Pull complete 12:04:08 10935f4eaf8b: Pull complete 12:04:08 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:08 ---> 99d49a6021b9 12:04:08 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:10 ---> Running in e9963af6e431 12:04:10 Removing intermediate container e9963af6e431 12:04:10 ---> b77437ec3a6c 12:04:10 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:10 ---> Running in c74d53f38277 12:04:10 Removing intermediate container c74d53f38277 12:04:10 ---> 45a8acff4a60 12:04:10 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:10 ---> Running in b173285a781c 12:04:10 Removing intermediate container b173285a781c 12:04:10 ---> 5234b4cd9bc5 12:04:10 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:10 ---> Running in e0d0ad70881c 12:04:11 Removing intermediate container e0d0ad70881c 12:04:11 ---> e80c077374f0 12:04:11 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:11 ---> Running in 8ec80e2bea27 12:04:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:12 OK: 221 MiB in 52 packages 12:04:12 Removing intermediate container 8ec80e2bea27 12:04:12 ---> 00117b77bbf9 12:04:12 Step 8/13 : WORKDIR /app 12:04:12 ---> Running in 4f38d07c262d 12:04:13 Removing intermediate container 4f38d07c262d 12:04:13 ---> 0a73b70ec03d 12:04:13 Step 9/13 : COPY go.mod vendor* ./ 12:04:13 ---> e4d66c3b5a86 12:04:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:13 Still waiting to schedule task 12:04:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:13 ---> Running in 8123ff433e21 12:04:40 Removing intermediate container 8123ff433e21 12:04:40 ---> 13f634c4fd82 12:04:40 Step 11/13 : COPY . . 12:04:40 ---> 21b8f6594aa1 12:04:40 Step 12/13 : ARG MAKE="make build" 12:04:40 ---> Running in ba984eb0ee40 12:04:40 Removing intermediate container ba984eb0ee40 12:04:40 ---> bfe43900c45e 12:04:40 Step 13/13 : RUN $MAKE 12:04:40 ---> Running in 1dd8a86fa2cf 12:04:40 noop 12:04:40 Removing intermediate container 1dd8a86fa2cf 12:04:40 ---> 98066df8737b 12:04:40 Successfully built 98066df8737b 12:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:04:40 + docker inspect -f . ci-base-image-x86_64 12:04:40 . [Pipeline] withDockerContainer 12:04:40 prd-ubuntu20.04-docker-8c-8g-11408 does not seem to be running inside a container 12:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-395 -v /w/workspace/_app-service-configurable_PR-395:/w/workspace/_app-service-configurable_PR-395:rw,z -v /w/workspace/_app-service-configurable_PR-395@tmp:/w/workspace/_app-service-configurable_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:04:40 $ docker top 1fa8a3327e5f1e7656f3343174e1c14c8486b8b0332a2bb9eceb924d3177e573 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:41 + go version 12:04:41 go version go1.17.6 linux/amd64 [Pipeline] } 12:04:41 $ docker stop --time=1 1fa8a3327e5f1e7656f3343174e1c14c8486b8b0332a2bb9eceb924d3177e573 12:04:42 $ docker rm -f 1fa8a3327e5f1e7656f3343174e1c14c8486b8b0332a2bb9eceb924d3177e573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:04:43 + docker inspect -f . ci-base-image-x86_64 12:04:43 . [Pipeline] withDockerContainer 12:04:43 prd-ubuntu20.04-docker-8c-8g-11408 does not seem to be running inside a container 12:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-395 -v /w/workspace/_app-service-configurable_PR-395:/w/workspace/_app-service-configurable_PR-395:rw,z -v /w/workspace/_app-service-configurable_PR-395@tmp:/w/workspace/_app-service-configurable_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:04:43 $ docker top 72448c5cb550b79930bb54e882b0a3b860fe02913355b5501f922c8ab73b8357 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:04:44 + make test 12:04:44 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:04:51 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:51 CGO_ENABLED=1 go vet ./... 12:04:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:54 ./bin/test-attribution-txt.sh [Pipeline] echo 12:04:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:54 $ docker stop --time=1 72448c5cb550b79930bb54e882b0a3b860fe02913355b5501f922c8ab73b8357 12:04:56 $ docker rm -f 72448c5cb550b79930bb54e882b0a3b860fe02913355b5501f922c8ab73b8357 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:58 + ls -al . 12:04:58 total 176 12:04:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 12:04 . 12:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 12:03 .. 12:04:58 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 12:03 .dockerignore 12:04:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 12:03 .git 12:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 12:03 .github 12:04:58 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 12:03 .gitignore 12:04:58 drwx------ 3 jenkins jenkins 4096 Apr 7 12:03 .semver 12:04:58 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 12:03 Attribution.txt 12:04:58 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 12:03 CHANGELOG.md 12:04:58 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 12:03 Dockerfile 12:04:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 12:03 GOVERNANCE.md 12:04:58 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 12:03 Jenkinsfile 12:04:58 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 12:03 LICENSE 12:04:58 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 12:03 OWNERS.md 12:04:58 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 12:03 README.md 12:04:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 12:03 VERSION 12:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 12:03 bin 12:04:58 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 12:04 coverage.out 12:04:58 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 12:03 go.mod 12:04:58 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 12:03 go.sum 12:04:58 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 12:03 main.go 12:04:58 -rw-rw-r-- 1 jenkins jenkins 1614 Apr 7 12:03 makefile 12:04:58 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 12:03 res 12:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 12:03 snap [Pipeline] isUnix [Pipeline] sh 12:04:58 + 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=ebc2bda70916b7dc276f88409f54ece56b4e3ce2 --label arch=amd64 --label version=0.0.0 . 12:04:58 Sending build context to Docker daemon 2.999MB 12:04:58 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:04:58 Step 2/27 : FROM ${BASE} AS builder 12:04:58 ---> 98066df8737b 12:04:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:58 ---> Running in 856344b16744 12:04:59 Removing intermediate container 856344b16744 12:04:59 ---> 0de5e4f76285 12:04:59 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:04:59 ---> Running in ccdc54aef662 12:04:59 Removing intermediate container ccdc54aef662 12:04:59 ---> ec1e7273c9ad 12:04:59 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:59 ---> Running in b41d69dde42a 12:04:59 Removing intermediate container b41d69dde42a 12:04:59 ---> 5ab24f626f3e 12:04:59 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:59 ---> Running in a33e8908b1d4 12:05:00 Removing intermediate container a33e8908b1d4 12:05:00 ---> 0c32b1ee9ee4 12:05:00 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:00 ---> Running in d522dfcb515f 12:05:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:01 OK: 221 MiB in 52 packages 12:05:01 Removing intermediate container d522dfcb515f 12:05:01 ---> cc38dace8187 12:05:01 Step 8/27 : WORKDIR /app 12:05:01 ---> Running in 760f23f0e9aa 12:05:02 Removing intermediate container 760f23f0e9aa 12:05:02 ---> e25df634574c 12:05:02 Step 9/27 : COPY go.mod vendor* ./ 12:05:02 ---> 2c0d976f559d 12:05:02 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:02 ---> Running in d0d77320d824 12:05:02 Removing intermediate container d0d77320d824 12:05:02 ---> 27dd9c18c45b 12:05:02 Step 11/27 : COPY . . 12:05:03 ---> c9e807b46432 12:05:03 Step 12/27 : ARG MAKE="make build" 12:05:03 ---> Running in 112c5940666a 12:05:03 Removing intermediate container 112c5940666a 12:05:03 ---> 91e74986311f 12:05:03 Step 13/27 : RUN $MAKE 12:05:03 ---> Running in 9f1e09001356 12:05:03 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 12:05:11 Removing intermediate container 9f1e09001356 12:05:11 ---> e1aae34a7b45 12:05:11 Step 14/27 : FROM alpine:3.14 12:05:12 3.14: Pulling from library/alpine 12:05:12 8663204ce13b: Pulling fs layer 12:05:12 8663204ce13b: Verifying Checksum 12:05:12 8663204ce13b: Download complete 12:05:12 8663204ce13b: Pull complete 12:05:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:12 Status: Downloaded newer image for alpine:3.14 12:05:12 ---> e04c818066af 12:05:12 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:12 ---> Running in 38da1607598c 12:05:12 Removing intermediate container 38da1607598c 12:05:12 ---> 0663bdc78d12 12:05:12 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:12 ---> Running in 7afe29b88db8 12:05:12 Removing intermediate container 7afe29b88db8 12:05:12 ---> 4b395a4df225 12:05:12 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:12 ---> Running in 7a6949a39284 12:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:05:13 (1/7) Installing ca-certificates (20211220-r0) 12:05:13 (2/7) Installing dumb-init (1.2.5-r1) 12:05:13 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:05:13 (4/7) Installing libsodium (1.0.18-r0) 12:05:13 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:13 (6/7) Installing libzmq (4.3.4-r0) 12:05:13 (7/7) Installing zeromq (4.3.4-r0) 12:05:13 Executing busybox-1.33.1-r7.trigger 12:05:13 Executing ca-certificates-20211220-r0.trigger 12:05:13 OK: 9 MiB in 21 packages 12:05:14 Removing intermediate container 7a6949a39284 12:05:14 ---> 0b0b6a644e65 12:05:14 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:14 ---> 8266a4cc7da0 12:05:14 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:14 ---> a22429e3b5f7 12:05:14 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:14 ---> 929ea72e7076 12:05:14 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:15 ---> b46febed7068 12:05:15 Step 22/27 : EXPOSE 48095 12:05:15 ---> Running in d1078c75a1e3 12:05:15 Removing intermediate container d1078c75a1e3 12:05:15 ---> 36ce5b1262aa 12:05:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:15 ---> Running in 62ad44d2547a 12:05:15 Removing intermediate container 62ad44d2547a 12:05:15 ---> 46ab013030f2 12:05:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:15 ---> Running in 439c5a595f9e 12:05:15 Removing intermediate container 439c5a595f9e 12:05:15 ---> 04600eb2cb1e 12:05:15 Step 25/27 : LABEL arch=amd64 12:05:15 ---> Running in d861e497e264 12:05:15 Removing intermediate container d861e497e264 12:05:15 ---> ee6f521b912d 12:05:15 Step 26/27 : LABEL git_sha=ebc2bda70916b7dc276f88409f54ece56b4e3ce2 12:05:15 ---> Running in 4dbdad9ba75f 12:05:15 Removing intermediate container 4dbdad9ba75f 12:05:15 ---> 2a5381d7eee5 12:05:15 Step 27/27 : LABEL version=0.0.0 12:05:15 ---> Running in 9f5d12f711c9 12:05:16 Removing intermediate container 9f5d12f711c9 12:05:16 ---> 0157691b8058 12:05:16 [Warning] One or more build-args [ARCH] were not consumed 12:05:16 Successfully built 0157691b8058 12:05:16 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:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:16 12:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:17 latest: Pulling from edgex-lftools-log-publisher 12:05:17 5eb5b503b376: Pulling fs layer 12:05:17 5c69ac0246d0: Pulling fs layer 12:05:17 ec43610c2a17: Pulling fs layer 12:05:17 3a2ae6a8a46f: Pulling fs layer 12:05:17 33b1e0a273af: Pulling fs layer 12:05:17 5d3b04190fa2: Pulling fs layer 12:05:17 2f39f015ded8: Pulling fs layer 12:05:17 3a2ae6a8a46f: Waiting 12:05:17 2f39f015ded8: Waiting 12:05:17 5c69ac0246d0: Verifying Checksum 12:05:17 5c69ac0246d0: Download complete 12:05:17 3a2ae6a8a46f: Verifying Checksum 12:05:17 3a2ae6a8a46f: Download complete 12:05:17 33b1e0a273af: Verifying Checksum 12:05:17 33b1e0a273af: Download complete 12:05:17 5d3b04190fa2: Verifying Checksum 12:05:17 5d3b04190fa2: Download complete 12:05:17 ec43610c2a17: Verifying Checksum 12:05:17 ec43610c2a17: Download complete 12:05:17 5eb5b503b376: Verifying Checksum 12:05:17 5eb5b503b376: Download complete 12:05:17 2f39f015ded8: Download complete 12:05:18 5eb5b503b376: Pull complete 12:05:18 5c69ac0246d0: Pull complete 12:05:19 ec43610c2a17: Pull complete 12:05:19 3a2ae6a8a46f: Pull complete 12:05:19 33b1e0a273af: Pull complete 12:05:19 5d3b04190fa2: Pull complete 12:05:23 2f39f015ded8: Pull complete 12:05:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:24 prd-ubuntu20.04-docker-8c-8g-11408 does not seem to be running inside a container 12:05:24 $ 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-395 -v /w/workspace/_app-service-configurable_PR-395:/w/workspace/_app-service-configurable_PR-395:rw,z -v /w/workspace/_app-service-configurable_PR-395@tmp:/w/workspace/_app-service-configurable_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:26 $ docker top 2b7e695bfc5df19ecadf9c47c5dc76a1a1883a952864dbc8d35ac9325032e90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:26 ---> job-cost.sh 12:05:26 lf-activate-venv: SKIPPING 12:05:26 INFO: No Stack... 12:05:27 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:27 INFO: Archiving Costs [Pipeline] sh 12:05:28 + cat /w/workspace/_app-service-configurable_PR-395/archives/cost.csv 12:05:28 + cut -d, -f6 [Pipeline] lock 12:05:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] 12:05:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] did not exist. Created. 12:05:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:28 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:28 Stashed 1 file(s) [Pipeline] } 12:05:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:28 $ docker stop --time=1 2b7e695bfc5df19ecadf9c47c5dc76a1a1883a952864dbc8d35ac9325032e90e 12:05:29 $ docker rm -f 2b7e695bfc5df19ecadf9c47c5dc76a1a1883a952864dbc8d35ac9325032e90e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:05:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11410 in /w/workspace/_app-service-configurable_PR-395 [Pipeline] { [Pipeline] ws 12:05:49 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:05:49 Selected Git installation does not exist. Using Default 12:05:49 The recommended git tool is: NONE 12:05:56 using credential edgex-jenkins-ssh 12:05:56 Cloning the remote Git repository 12:05:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:05:56 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:05:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:56 > git --version # timeout=10 12:05:56 > git --version # 'git version 2.25.1' 12:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:59 Merging remotes/origin/main commit ab4754bb686cc1a901ed29aff581db85023172aa into PR head commit ebc2bda70916b7dc276f88409f54ece56b4e3ce2 12:05:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:58 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:05:59 > git config core.sparsecheckout # timeout=10 12:05:59 > git checkout -f ebc2bda70916b7dc276f88409f54ece56b4e3ce2 # timeout=10 12:05:59 Merge succeeded, producing ebc2bda70916b7dc276f88409f54ece56b4e3ce2 12:05:59 Checking out Revision ebc2bda70916b7dc276f88409f54ece56b4e3ce2 (PR-395) 12:05:59 > git remote # timeout=10 12:05:59 > git config --get remote.origin.url # timeout=10 12:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:59 > git merge ab4754bb686cc1a901ed29aff581db85023172aa # timeout=10 12:05:59 > git rev-parse HEAD^{commit} # timeout=10 12:05:59 > git config core.sparsecheckout # timeout=10 12:05:59 > git checkout -f ebc2bda70916b7dc276f88409f54ece56b4e3ce2 # timeout=10 12:06:03 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:03 > git --version # timeout=10 12:06:03 > git --version # 'git version 2.25.1' 12:06:03 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:04 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:04 Dload Upload Total Spent Left Speed 12:06:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45725 0 --:--:-- --:--:-- --:--:-- 45903 [Pipeline] sh 12:06:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:05 + sudo tee /etc/docker/daemon.new 12:06:05 { 12:06:05 "registry-mirrors": [ 12:06:05 "https://nexus3.edgexfoundry.org:10001" 12:06:05 ], 12:06:05 "bip": "10.250.0.254/24", 12:06:05 "hosts": [ 12:06:05 "tcp://0.0.0.0:5555", 12:06:05 "unix:///var/run/docker.sock" 12:06:05 ], 12:06:05 "mtu": 1458, 12:06:05 "selinux-enabled": true, 12:06:05 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:05 } [Pipeline] sh 12:06:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:24 provisioning config files... 12:06:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3745664079046530904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:25 ---> docker-login.sh 12:06:25 nexus3.edgexfoundry.org:10001 12:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:26 Configure a credential helper to remove this warning. See 12:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:26 12:06:26 Login Succeeded 12:06:26 nexus3.edgexfoundry.org:10002 12:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:26 Configure a credential helper to remove this warning. See 12:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:26 12:06:26 Login Succeeded 12:06:26 nexus3.edgexfoundry.org:10003 12:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:27 Configure a credential helper to remove this warning. See 12:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:27 12:06:27 Login Succeeded 12:06:27 nexus3.edgexfoundry.org:10004 12:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:27 Configure a credential helper to remove this warning. See 12:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:27 12:06:27 Login Succeeded 12:06:27 docker.io 12:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:28 Configure a credential helper to remove this warning. See 12:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:28 12:06:28 Login Succeeded 12:06:28 ---> docker-login.sh ends [Pipeline] } 12:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:29 ========================================================= 12:06:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:06:29 + 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:06:29 Sending build context to Docker daemon 210.4kB 12:06:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:29 Step 2/13 : FROM ${BASE} AS builder 12:06:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:30 9b3977197b4f: Pulling fs layer 12:06:30 1a89e8eeedd5: Pulling fs layer 12:06:30 94645a83ff95: Pulling fs layer 12:06:30 3f3a8bcf1eab: Pulling fs layer 12:06:30 0c92f367c5e7: Pulling fs layer 12:06:30 f7c0051592d6: Pulling fs layer 12:06:30 a227ed2f7395: Pulling fs layer 12:06:30 7b1c46037f91: Pulling fs layer 12:06:30 0c92f367c5e7: Waiting 12:06:30 f7c0051592d6: Waiting 12:06:30 a227ed2f7395: Waiting 12:06:30 7b1c46037f91: Waiting 12:06:30 3f3a8bcf1eab: Waiting 12:06:30 94645a83ff95: Download complete 12:06:30 1a89e8eeedd5: Download complete 12:06:30 0c92f367c5e7: Verifying Checksum 12:06:30 0c92f367c5e7: Download complete 12:06:30 f7c0051592d6: Verifying Checksum 12:06:30 f7c0051592d6: Download complete 12:06:30 9b3977197b4f: Verifying Checksum 12:06:30 9b3977197b4f: Download complete 12:06:30 a227ed2f7395: Verifying Checksum 12:06:30 a227ed2f7395: Download complete 12:06:31 9b3977197b4f: Pull complete 12:06:31 1a89e8eeedd5: Pull complete 12:06:31 94645a83ff95: Pull complete 12:06:32 7b1c46037f91: Verifying Checksum 12:06:32 7b1c46037f91: Download complete 12:06:32 3f3a8bcf1eab: Download complete 12:06:44 3f3a8bcf1eab: Pull complete 12:06:44 0c92f367c5e7: Pull complete 12:06:44 f7c0051592d6: Pull complete 12:06:44 a227ed2f7395: Pull complete 12:06:51 7b1c46037f91: Pull complete 12:06:51 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:06:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:06:51 ---> f79e39bc4007 12:06:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:52 ---> Running in a406f1933704 12:06:52 Removing intermediate container a406f1933704 12:06:52 ---> 72d60d0455b0 12:06:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:06:52 ---> Running in ac0ae9fcda05 12:06:52 Removing intermediate container ac0ae9fcda05 12:06:52 ---> 04a809185702 12:06:52 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:53 ---> Running in 6e61d942168e 12:06:53 Removing intermediate container 6e61d942168e 12:06:53 ---> 95d5cbefe378 12:06:53 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:53 ---> Running in 7ec48f8faabd 12:06:55 Removing intermediate container 7ec48f8faabd 12:06:55 ---> eee00a2f1165 12:06:55 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:55 ---> Running in 83f1890613c8 12:06:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:06:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:06:58 OK: 220 MiB in 52 packages 12:06:58 Removing intermediate container 83f1890613c8 12:06:58 ---> d18f17372e7d 12:06:58 Step 8/13 : WORKDIR /app 12:06:58 ---> Running in fef580218e8f 12:06:58 Removing intermediate container fef580218e8f 12:06:58 ---> 526dc5ac04e1 12:06:58 Step 9/13 : COPY go.mod vendor* ./ 12:06:59 ---> ab1a69a87e5b 12:06:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:59 ---> Running in 26fbafdac6b3 12:08:21 Removing intermediate container 26fbafdac6b3 12:08:21 ---> 74142a98f5de 12:08:21 Step 11/13 : COPY . . 12:08:21 ---> d5e5abd29dba 12:08:21 Step 12/13 : ARG MAKE="make build" 12:08:21 ---> Running in adc0502fccbd 12:08:21 Removing intermediate container adc0502fccbd 12:08:21 ---> a3e9a82518b7 12:08:21 Step 13/13 : RUN $MAKE 12:08:21 ---> Running in 7f454b661e41 12:08:21 noop 12:08:21 Removing intermediate container 7f454b661e41 12:08:21 ---> dfb55e38614b 12:08:21 Successfully built dfb55e38614b 12:08:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:21 + docker inspect -f . ci-base-image-arm64 12:08:21 . [Pipeline] withDockerContainer 12:08:22 prd-ubuntu20.04-docker-arm64-4c-16g-11410 does not seem to be running inside a container 12:08:22 $ 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 ******** ci-base-image-arm64 cat 12:08:23 $ docker top b351dab72a03dc302faf37d6053f7a66ab80bd5d9382ea990a9a8a309cb77741 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:24 + go version 12:08:24 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:24 $ docker stop --time=1 b351dab72a03dc302faf37d6053f7a66ab80bd5d9382ea990a9a8a309cb77741 12:08:26 $ docker rm -f b351dab72a03dc302faf37d6053f7a66ab80bd5d9382ea990a9a8a309cb77741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:27 + docker inspect -f . ci-base-image-arm64 12:08:27 . [Pipeline] withDockerContainer 12:08:27 prd-ubuntu20.04-docker-arm64-4c-16g-11410 does not seem to be running inside a container 12:08:27 $ 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 ******** ci-base-image-arm64 cat 12:08:28 $ docker top 3897d0c840a01621285f961a7c973edd1bac32a8591d9ff7946190dc82729730 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:29 + make test 12:08:29 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:16 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:16 CGO_ENABLED=1 go vet ./... 12:09:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:09:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:09:34 ./bin/test-attribution-txt.sh [Pipeline] echo 12:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:37 $ docker stop --time=1 3897d0c840a01621285f961a7c973edd1bac32a8591d9ff7946190dc82729730 12:09:39 $ docker rm -f 3897d0c840a01621285f961a7c973edd1bac32a8591d9ff7946190dc82729730 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:40 Warning: overwriting stash ‘coverage-report’ 12:09:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:41 + ls -al . 12:09:41 total 172 12:09:41 drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 12:09 . 12:09:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 12:05 .. 12:09:41 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 12:05 .dockerignore 12:09:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 12:06 .git 12:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 12:05 .github 12:09:41 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 12:05 .gitignore 12:09:41 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 12:05 Attribution.txt 12:09:41 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 12:05 CHANGELOG.md 12:09:41 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 12:05 Dockerfile 12:09:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 12:05 GOVERNANCE.md 12:09:41 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 12:05 Jenkinsfile 12:09:41 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 12:05 LICENSE 12:09:41 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 12:05 OWNERS.md 12:09:41 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 12:05 README.md 12:09:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 12:03 VERSION 12:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 12:05 bin 12:09:41 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 12:08 coverage.out 12:09:41 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 12:05 go.mod 12:09:41 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 12:05 go.sum 12:09:41 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 12:05 main.go 12:09:41 -rw-rw-r-- 1 jenkins jenkins 1614 Apr 7 12:05 makefile 12:09:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 12:05 res 12:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 12:05 snap [Pipeline] isUnix [Pipeline] sh 12:09:42 + 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=ebc2bda70916b7dc276f88409f54ece56b4e3ce2 --label arch=arm64 --label version=0.0.0 . 12:09:42 Sending build context to Docker daemon 211.5kB 12:09:42 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:09:42 Step 2/27 : FROM ${BASE} AS builder 12:09:42 ---> dfb55e38614b 12:09:42 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:09:42 ---> Running in 3e28e525d4d8 12:09:42 Removing intermediate container 3e28e525d4d8 12:09:42 ---> d15450b4f296 12:09:42 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:09:42 ---> Running in c468137631fd 12:09:42 Removing intermediate container c468137631fd 12:09:42 ---> d3fc420804db 12:09:42 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:09:43 ---> Running in 522dd8d4b8d7 12:09:43 Removing intermediate container 522dd8d4b8d7 12:09:43 ---> d0300cff9ae0 12:09:43 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:43 ---> Running in e48abcd2fe03 12:09:44 Removing intermediate container e48abcd2fe03 12:09:44 ---> 8bb12077452e 12:09:44 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:45 ---> Running in cfb72d7de63c 12:09:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:09:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:09:47 OK: 220 MiB in 52 packages 12:09:48 Removing intermediate container cfb72d7de63c 12:09:48 ---> 10e7b43b3844 12:09:48 Step 8/27 : WORKDIR /app 12:09:48 ---> Running in 4776eb256bd0 12:09:48 Removing intermediate container 4776eb256bd0 12:09:48 ---> b3ef7818ea93 12:09:48 Step 9/27 : COPY go.mod vendor* ./ 12:09:49 ---> 7fbe00e8056b 12:09:49 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:49 ---> Running in 2a85b11f89ba 12:09:52 Removing intermediate container 2a85b11f89ba 12:09:52 ---> cd6bf9ed734b 12:09:52 Step 11/27 : COPY . . 12:09:52 ---> 38514a43b460 12:09:52 Step 12/27 : ARG MAKE="make build" 12:09:52 ---> Running in d4b0058bb840 12:09:52 Removing intermediate container d4b0058bb840 12:09:52 ---> b4eb10fefbb2 12:09:52 Step 13/27 : RUN $MAKE 12:09:52 ---> Running in 2ca65892f435 12:09:53 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 12:10:40 Removing intermediate container 2ca65892f435 12:10:40 ---> 67231306d654 12:10:40 Step 14/27 : FROM alpine:3.14 12:10:40 3.14: Pulling from library/alpine 12:10:40 455c02918c45: Pulling fs layer 12:10:40 455c02918c45: Download complete 12:10:40 455c02918c45: Pull complete 12:10:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:10:40 Status: Downloaded newer image for alpine:3.14 12:10:40 ---> ac73e934f311 12:10:40 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:10:40 ---> Running in e427e62fb9aa 12:10:40 Removing intermediate container e427e62fb9aa 12:10:40 ---> 1795a777830c 12:10:40 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:10:40 ---> Running in e0875862a876 12:10:40 Removing intermediate container e0875862a876 12:10:40 ---> c454459b3159 12:10:40 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:10:40 ---> Running in c7950810849d 12:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:10:40 (1/7) Installing ca-certificates (20211220-r0) 12:10:40 (2/7) Installing dumb-init (1.2.5-r1) 12:10:40 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:10:40 (4/7) Installing libsodium (1.0.18-r0) 12:10:40 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:10:40 (6/7) Installing libzmq (4.3.4-r0) 12:10:40 (7/7) Installing zeromq (4.3.4-r0) 12:10:40 Executing busybox-1.33.1-r7.trigger 12:10:40 Executing ca-certificates-20211220-r0.trigger 12:10:40 OK: 9 MiB in 21 packages 12:10:42 Removing intermediate container c7950810849d 12:10:42 ---> 8236c88c6e6b 12:10:42 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:10:42 ---> 0d9546b134aa 12:10:42 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:10:43 ---> ab5099223b0c 12:10:43 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:10:43 ---> 86907a849f12 12:10:43 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:10:44 ---> 20e544b87458 12:10:44 Step 22/27 : EXPOSE 48095 12:10:44 ---> Running in c5b34824eec0 12:10:45 Removing intermediate container c5b34824eec0 12:10:45 ---> 80885adeba60 12:10:45 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:10:45 ---> Running in 8e164badf09d 12:10:45 Removing intermediate container 8e164badf09d 12:10:45 ---> 20e02dfac693 12:10:45 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:10:45 ---> Running in 90ca049f072d 12:10:45 Removing intermediate container 90ca049f072d 12:10:45 ---> 8b51c5484c24 12:10:45 Step 25/27 : LABEL arch=arm64 12:10:45 ---> Running in 267359b3e0e9 12:10:46 Removing intermediate container 267359b3e0e9 12:10:46 ---> a61889bf8c70 12:10:46 Step 26/27 : LABEL git_sha=ebc2bda70916b7dc276f88409f54ece56b4e3ce2 12:10:46 ---> Running in 4c2cd9e1ee40 12:10:46 Removing intermediate container 4c2cd9e1ee40 12:10:46 ---> b902d0927c31 12:10:46 Step 27/27 : LABEL version=0.0.0 12:10:46 ---> Running in 337d0e9bca5c 12:10:47 Removing intermediate container 337d0e9bca5c 12:10:47 ---> 257869ea0ad0 12:10:47 [Warning] One or more build-args [ARCH] were not consumed 12:10:47 Successfully built 257869ea0ad0 12:10:47 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:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:47 12:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:48 arm64: Pulling from edgex-lftools-log-publisher 12:10:48 8998bd30e6a1: Pulling fs layer 12:10:48 04944245beec: Pulling fs layer 12:10:48 699f458cf7ca: Pulling fs layer 12:10:48 765212b225bb: Pulling fs layer 12:10:48 f23df028b6ca: Pulling fs layer 12:10:48 d65c8cfc05b1: Pulling fs layer 12:10:48 2437ff75d9bd: Pulling fs layer 12:10:48 f23df028b6ca: Waiting 12:10:48 d65c8cfc05b1: Waiting 12:10:48 2437ff75d9bd: Waiting 12:10:48 765212b225bb: Waiting 12:10:48 04944245beec: Verifying Checksum 12:10:48 04944245beec: Download complete 12:10:48 765212b225bb: Verifying Checksum 12:10:48 765212b225bb: Download complete 12:10:48 f23df028b6ca: Verifying Checksum 12:10:48 f23df028b6ca: Download complete 12:10:48 d65c8cfc05b1: Verifying Checksum 12:10:48 d65c8cfc05b1: Download complete 12:10:48 699f458cf7ca: Download complete 12:10:49 8998bd30e6a1: Verifying Checksum 12:10:49 8998bd30e6a1: Download complete 12:10:51 2437ff75d9bd: Verifying Checksum 12:10:51 2437ff75d9bd: Download complete 12:10:53 8998bd30e6a1: Pull complete 12:10:53 04944245beec: Pull complete 12:10:55 699f458cf7ca: Pull complete 12:10:55 765212b225bb: Pull complete 12:10:56 f23df028b6ca: Pull complete 12:10:56 d65c8cfc05b1: Pull complete 12:11:11 2437ff75d9bd: Pull complete 12:11:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:11:11 prd-ubuntu20.04-docker-arm64-4c-16g-11410 does not seem to be running inside a container 12:11:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:14 $ docker top 904b00181c60b9433c86fe67582084d7aca04083a5bab2d9782e565ea103ab58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:15 ---> job-cost.sh 12:11:15 lf-activate-venv: SKIPPING 12:11:15 INFO: No Stack... 12:11:15 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:16 INFO: Archiving Costs [Pipeline] sh 12:11:17 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:11:17 + cut -d, -f6 [Pipeline] lock 12:11:17 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] 12:11:17 Resource [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] did not exist. Created. 12:11:17 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:18 /w/workspace/app-service-configurable/1@tmp/durable-ccc21e13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:19 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:19 Warning: overwriting stash ‘stack-cost’ 12:11:19 Stashed 1 file(s) [Pipeline] } 12:11:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:19 $ docker stop --time=1 904b00181c60b9433c86fe67582084d7aca04083a5bab2d9782e565ea103ab58 12:11:20 $ docker rm -f 904b00181c60b9433c86fe67582084d7aca04083a5bab2d9782e565ea103ab58 [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:11:21 provisioning config files... 12:11:21 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-395@tmp/config4365178259695871164tmp [Pipeline] { [Pipeline] sh 12:11:22 + set +x 12:11:22 + curl -s https://codecov.io/bash 12:11:22 + bash -s -- 12:11:22 12:11:22 _____ _ 12:11:22 / ____| | | 12:11:22 | | ___ __| | ___ ___ _____ __ 12:11:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:11:22 | |___| (_) | (_| | __/ (_| (_) \ V / 12:11:22 \_____\___/ \__,_|\___|\___\___/ \_/ 12:11:22 Bash-1.0.6 12:11:22 12:11:22 12:11:22 ==> git version 2.25.1 found 12:11:22 ==> 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:11:22 Release-Date: 2020-01-08 12:11:22 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:11:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:11:22 ==> Jenkins CI detected. 12:11:22 current dir:  /w/workspace/_app-service-configurable_PR-395 12:11:22 project root: . 12:11:22 --> token set from env 12:11:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:11:22 ==> Running gcov in . (disable via -X gcov) 12:11:22 ==> Python coveragepy not found 12:11:22 ==> Searching for coverage reports in: 12:11:22 + . 12:11:22 -> Found 1 reports 12:11:22 ==> Detecting git/mercurial file structure 12:11:22 ==> Reading reports 12:11:22 + ./coverage.out bytes=10 12:11:22 ==> Appending adjustments 12:11:22 https://docs.codecov.io/docs/fixing-reports 12:11:22 + Found adjustments 12:11:22 ==> Gzipping contents 12:11:22 4.0K /tmp/codecov.GP0nz5.gz 12:11:22 ==> Uploading reports 12:11:22 url: https://codecov.io 12:11:22 query: branch=PR-395&commit=ebc2bda70916b7dc276f88409f54ece56b4e3ce2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=395&job=&cmd_args= 12:11:22 -> Pinging Codecov 12:11:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-395&commit=ebc2bda70916b7dc276f88409f54ece56b4e3ce2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=395&job=&cmd_args= 12:11:22 -> Uploading to 12:11:22 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/A97CA9966030D2A3747ED39772930CCE/ebc2bda70916b7dc276f88409f54ece56b4e3ce2/05745858-1c07-4f92-b345-a0a2c112b0be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T121122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9544667f32d034f4c363d614ee409d779fc5f36fb0a971da754c686d8c74fbce 12:11:22 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:22 Dload Upload Total Spent Left Speed 12:11:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2452 --:--:-- --:--:-- --:--:-- 2452 12:11:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/ebc2bda70916b7dc276f88409f54ece56b4e3ce2 [Pipeline] } 12:11:22 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:11:24 + [ -d /w/workspace/_app-service-configurable_PR-395/archives ] 12:11:24 + ls -al /w/workspace/_app-service-configurable_PR-395/archives 12:11:24 total 16 12:11:24 drwxr-xr-x 3 root root 4096 Apr 7 12:05 . 12:11:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 12:05 .. 12:11:24 drwxr-xr-x 2 root root 4096 Apr 7 12:05 cost 12:11:24 -rw-r--r-- 1 root root 95 Apr 7 12:05 cost.csv 12:11:24 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-395/archives 12:11:24 + ls -al /w/workspace/_app-service-configurable_PR-395/archives 12:11:24 total 16 12:11:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 12:05 . 12:11:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 12:05 .. 12:11:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 12:05 cost 12:11:24 -rw-r--r-- 1 jenkins jenkins 95 Apr 7 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:26 ---> package-listing.sh 12:11:26 ++ facter osfamily 12:11:26 ++ tr '[:upper:]' '[:lower:]' 12:11:26 + OS_FAMILY=debian 12:11:26 + workspace=/w/workspace/_app-service-configurable_PR-395 12:11:26 + START_PACKAGES=/tmp/packages_start.txt 12:11:26 + END_PACKAGES=/tmp/packages_end.txt 12:11:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:26 + PACKAGES=/tmp/packages_start.txt 12:11:26 + '[' /w/workspace/_app-service-configurable_PR-395 ']' 12:11:26 + PACKAGES=/tmp/packages_end.txt 12:11:26 + case "${OS_FAMILY}" in 12:11:26 + dpkg -l 12:11:26 + grep '^ii' 12:11:26 + '[' -f /tmp/packages_start.txt ']' 12:11:26 + '[' -f /tmp/packages_end.txt ']' 12:11:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:26 + '[' /w/workspace/_app-service-configurable_PR-395 ']' 12:11:26 + mkdir -p /w/workspace/_app-service-configurable_PR-395/archives/ 12:11:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-395/archives/ [Pipeline] echo 12:11:26 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-395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:27 . [Pipeline] withDockerContainer 12:11:27 prd-ubuntu20.04-docker-8c-8g-11408 does not seem to be running inside a container 12:11:27 $ 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-395/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-395 -v /w/workspace/_app-service-configurable_PR-395:/w/workspace/_app-service-configurable_PR-395:rw,z -v /w/workspace/_app-service-configurable_PR-395@tmp:/w/workspace/_app-service-configurable_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:11:27 $ docker top 713c4128374511c2116b365e8c45c68fdaaec17dafaebbb3f7685ec1fedbe6fb -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:28 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:28 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:28 + ls /var/log/sa-host 12:11:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:28 provisioning config files... 12:11:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-395@tmp/config4005930677580830271tmp [Pipeline] { [Pipeline] echo 12:11:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:29 ---> create-netrc.sh [Pipeline] } 12:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:29 ---> python-tools-install.sh [Pipeline] echo 12:11:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:30 ---> sudo-logs.sh 12:11:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:30 ---> job-cost.sh 12:11:30 lf-activate-venv: SKIPPING 12:11:30 DEBUG: total: 0.2199999988079071 12:11:30 INFO: Retrieving Stack Cost... 12:11:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:31 INFO: Archiving Costs [Pipeline] echo 12:11:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:31 ---> logs-deploy.sh 12:11:31 lf-activate-venv: SKIPPING 12:11:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-395/1 12:11:31 INFO: archiving workspace using pattern(s): 12:11:32 Archives upload complete. 12:11:32 INFO: archiving logs to Nexus