Pull request #409 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 3cc2d14d138f46f1859b4a933023ed82e9bb950f+df3e4aa32325b4ff01c9571101f476251afb5081 (ec0b21a2d41b0a83dcf54fa1cb77d08696ba1399) 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-ssh7518190463966134094.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-ssh17767106656051435457.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9041322308092439000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10071520921216050661.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17552687307046264429.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33005 in /w/workspace/_app-service-configurable_PR-409 [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-409 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 3cc2d14d138f46f1859b4a933023ed82e9bb950f Merge succeeded, producing 3cc2d14d138f46f1859b4a933023ed82e9bb950f Checking out Revision 3cc2d14d138f46f1859b4a933023ed82e9bb950f (PR-409) > 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/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # 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 df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 Commit message: "feat: Enable use of common app service metrics" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T17:33:57.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T17:33:57.877Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T17:33:57.897Z] ========================================================= [2022-04-26T17:33:57.897Z] EdgeX Global Pipelines Version Info [2022-04-26T17:33:57.897Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:33:58.665Z] ------------------- [2022-04-26T17:33:58.665Z] stable info: [2022-04-26T17:33:58.665Z] ------------------- [2022-04-26T17:33:58.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T17:33:58.665Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T17:33:58.665Z] Message: update stable to v1.0.221 [2022-04-26T17:33:59.243Z] ------------------- [2022-04-26T17:33:59.243Z] experimental info: [2022-04-26T17:33:59.243Z] ------------------- [2022-04-26T17:33:59.243Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T17:33:59.243Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T17:33:59.243Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T17:33:59.383Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-26T17:33:59.393Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-26T17:33:59.412Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T17:33:59.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T17:33:59.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T17:33:59.465Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T17:33:59.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T17:33:59.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T17:33:59.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T17:33:59.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T17:33:59.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T17:33:59.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-26T17:33:59.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T17:33:59.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T17:33:59.612Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T17:33:59.626Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T17:33:59.643Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T17:33:59.660Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T17:33:59.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T17:33:59.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T17:33:59.714Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T17:33:59.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T17:33:59.757Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T17:33:59.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T17:33:59.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T17:33:59.812Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T17:33:59.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-409 [Pipeline] echo [2022-04-26T17:33:59.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-409 [Pipeline] echo [2022-04-26T17:33:59.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-409 [Pipeline] echo [2022-04-26T17:33:59.862Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo [2022-04-26T17:33:59.876Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cc2d14 [Pipeline] echo [2022-04-26T17:33:59.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:33:59.949Z] provisioning config files... [2022-04-26T17:33:59.966Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config1601866796547971371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:34:00.284Z] ---> docker-login.sh [2022-04-26T17:34:00.284Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:34:00.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:00.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:00.548Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:00.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:00.548Z] [2022-04-26T17:34:00.548Z] Login Succeeded [2022-04-26T17:34:00.548Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:34:00.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:00.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:00.810Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:00.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:00.810Z] [2022-04-26T17:34:00.810Z] Login Succeeded [2022-04-26T17:34:00.810Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:34:00.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:00.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:00.810Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:00.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:00.810Z] [2022-04-26T17:34:00.810Z] Login Succeeded [2022-04-26T17:34:00.810Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:34:01.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:01.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:01.070Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:01.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:01.070Z] [2022-04-26T17:34:01.070Z] Login Succeeded [2022-04-26T17:34:01.070Z] docker.io [2022-04-26T17:34:01.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:01.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:01.645Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:01.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:01.645Z] [2022-04-26T17:34:01.645Z] Login Succeeded [2022-04-26T17:34:01.645Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:34:01.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T17:34:02.042Z] + git rev-list -1 --merges 3cc2d14d138f46f1859b4a933023ed82e9bb950f~1..3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo [2022-04-26T17:34:02.167Z] -----------> git rev-list -1 --merges 3cc2d14d138f46f1859b4a933023ed82e9bb950f~1..3cc2d14d138f46f1859b4a933023ed82e9bb950f 3cc2d14d138f46f1859b4a933023ed82e9bb950f [false] [Pipeline] sh [2022-04-26T17:34:02.462Z] + git log --format=format:%s -1 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo [2022-04-26T17:34:02.481Z] ========================================================= [2022-04-26T17:34:02.481Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T17:34:02.481Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:34:02.826Z] + git log --format=format:%s -1 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo [2022-04-26T17:34:02.840Z] [semverPrep] GIT_COMMIT: 3cc2d14d138f46f1859b4a933023ed82e9bb950f, Commit Message: feat: Enable use of common app service metrics [Pipeline] echo [2022-04-26T17:34:02.852Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T17:34:03.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T17:34:03.481Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T17:34:03.481Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T17:34:03.481Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T17:34:03.481Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T17:34:03.481Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T17:34:03.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:34:03.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T17:34:03.912Z] [2022-04-26T17:34:03.912Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:34:04.234Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T17:34:04.235Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T17:34:04.235Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T17:34:04.235Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T17:34:04.235Z] 4c7163046ea9: Pulling fs layer [2022-04-26T17:34:04.235Z] 0c2d73faf560: Pulling fs layer [2022-04-26T17:34:04.235Z] 0c2d73faf560: Waiting [2022-04-26T17:34:04.235Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T17:34:04.235Z] 3e5f54012d9b: Download complete [2022-04-26T17:34:04.235Z] a0d0a0d46f8b: Download complete [2022-04-26T17:34:04.235Z] 0c2d73faf560: Verifying Checksum [2022-04-26T17:34:04.235Z] 0c2d73faf560: Download complete [2022-04-26T17:34:04.235Z] 4c7163046ea9: Verifying Checksum [2022-04-26T17:34:04.235Z] 4c7163046ea9: Download complete [2022-04-26T17:34:04.497Z] a0d0a0d46f8b: Pull complete [2022-04-26T17:34:04.497Z] 3e5f54012d9b: Pull complete [2022-04-26T17:34:04.760Z] 4c7163046ea9: Pull complete [2022-04-26T17:34:05.027Z] 0c2d73faf560: Pull complete [2022-04-26T17:34:05.027Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T17:34:05.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T17:34:05.027Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T17:34:05.111Z] prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container [2022-04-26T17:34:05.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T17:34:05.884Z] $ docker top 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T17:34:05.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T17:34:05.990Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T17:34:06.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T17:34:06.136Z] $ docker exec 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent [2022-04-26T17:34:06.258Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeEHpDD/agent.13 [2022-04-26T17:34:06.258Z] SSH_AGENT_PID=19 [2022-04-26T17:34:06.266Z] Running ssh-add (command line suppressed) [2022-04-26T17:34:06.397Z] Identity added: /w/workspace/_app-service-configurable_PR-409@tmp/private_key_3707117943735259613.key (/w/workspace/_app-service-configurable_PR-409@tmp/private_key_3707117943735259613.key) [2022-04-26T17:34:06.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T17:34:06.702Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T17:34:06.725Z] $ docker exec --env ******** --env ******** 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent -k [2022-04-26T17:34:06.839Z] unset SSH_AUTH_SOCK; [2022-04-26T17:34:06.839Z] unset SSH_AGENT_PID; [2022-04-26T17:34:06.839Z] echo Agent pid 19 killed; [2022-04-26T17:34:06.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T17:34:06.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T17:34:06.868Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T17:34:07.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T17:34:07.023Z] $ docker exec 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent [2022-04-26T17:34:07.164Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbpMdGN/agent.52 [2022-04-26T17:34:07.164Z] SSH_AGENT_PID=59 [2022-04-26T17:34:07.170Z] Running ssh-add (command line suppressed) [2022-04-26T17:34:07.293Z] Identity added: /w/workspace/_app-service-configurable_PR-409@tmp/private_key_7041392285125008022.key (/w/workspace/_app-service-configurable_PR-409@tmp/private_key_7041392285125008022.key) [2022-04-26T17:34:07.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T17:34:07.596Z] + git semver init [2022-04-26T17:34:07.596Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T17:34:07.596Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-409/.git [2022-04-26T17:34:07.596Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-409 [2022-04-26T17:34:07.596Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T17:34:07.596Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T17:34:07.596Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T17:34:07.596Z] # $SEMVER_BRANCH = PR-409 [2022-04-26T17:34:07.596Z] # $SEMVER_TEMP = /tmp/semver-769881795 [2022-04-26T17:34:07.596Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-26T17:34:08.542Z] # '/tmp/semver-769881795' -> '/w/workspace/_app-service-configurable_PR-409/.semver' [2022-04-26T17:34:08.542Z] # -> Force: false [2022-04-26T17:34:08.542Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-409/.semver [Pipeline] } [2022-04-26T17:34:08.561Z] $ docker exec --env ******** --env ******** 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent -k [2022-04-26T17:34:08.671Z] unset SSH_AUTH_SOCK; [2022-04-26T17:34:08.672Z] unset SSH_AGENT_PID; [2022-04-26T17:34:08.672Z] echo Agent pid 59 killed; [2022-04-26T17:34:08.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T17:34:08.987Z] + git semver [Pipeline] } [2022-04-26T17:34:09.009Z] $ docker stop --time=1 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 [2022-04-26T17:34:10.366Z] $ docker rm -f 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T17:34:10.719Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T17:34:10.987Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T17:34:10.991Z] [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 [2022-04-26T17:34:11.146Z] provisioning config files... [2022-04-26T17:34:11.156Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config2057608994720352542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:34:11.453Z] ---> docker-login.sh [2022-04-26T17:34:11.453Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:34:11.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:11.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:11.453Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:11.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:11.453Z] [2022-04-26T17:34:11.453Z] Login Succeeded [2022-04-26T17:34:11.453Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:34:11.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:11.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:11.713Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:11.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:11.713Z] [2022-04-26T17:34:11.713Z] Login Succeeded [2022-04-26T17:34:11.713Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:34:11.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:11.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:11.713Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:11.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:11.713Z] [2022-04-26T17:34:11.713Z] Login Succeeded [2022-04-26T17:34:11.713Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:34:11.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:11.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:11.973Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:11.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:11.973Z] [2022-04-26T17:34:11.973Z] Login Succeeded [2022-04-26T17:34:11.973Z] docker.io [2022-04-26T17:34:11.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:34:12.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:34:12.233Z] Configure a credential helper to remove this warning. See [2022-04-26T17:34:12.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:34:12.233Z] [2022-04-26T17:34:12.233Z] Login Succeeded [2022-04-26T17:34:12.233Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:34:12.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:34:12.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:34:12.322Z] ========================================================= [2022-04-26T17:34:12.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T17:34:12.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:34:12.628Z] + 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 . [2022-04-26T17:34:12.629Z] Sending build context to Docker daemon 3.032MB [2022-04-26T17:34:12.629Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:34:12.629Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T17:34:12.629Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T17:34:12.629Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T17:34:12.629Z] 666ba61612fd: Pulling fs layer [2022-04-26T17:34:12.629Z] 8ed8ca486205: Pulling fs layer [2022-04-26T17:34:12.629Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T17:34:12.629Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T17:34:12.629Z] ca2b28591e48: Pulling fs layer [2022-04-26T17:34:12.629Z] a51346096db8: Pulling fs layer [2022-04-26T17:34:12.629Z] daebc70d1ce1: Pulling fs layer [2022-04-26T17:34:12.629Z] 0e18a0eac166: Pulling fs layer [2022-04-26T17:34:12.629Z] 4fe6c5a15a65: Waiting [2022-04-26T17:34:12.629Z] 22a0e8bec74d: Waiting [2022-04-26T17:34:12.629Z] ca2b28591e48: Waiting [2022-04-26T17:34:12.629Z] daebc70d1ce1: Waiting [2022-04-26T17:34:12.629Z] 0e18a0eac166: Waiting [2022-04-26T17:34:12.629Z] a51346096db8: Waiting [2022-04-26T17:34:12.629Z] 8ed8ca486205: Verifying Checksum [2022-04-26T17:34:12.629Z] 8ed8ca486205: Download complete [2022-04-26T17:34:12.629Z] 666ba61612fd: Download complete [2022-04-26T17:34:12.891Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T17:34:12.891Z] 22a0e8bec74d: Download complete [2022-04-26T17:34:12.891Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T17:34:12.891Z] 59bf1c3509f3: Download complete [2022-04-26T17:34:12.891Z] ca2b28591e48: Verifying Checksum [2022-04-26T17:34:12.891Z] ca2b28591e48: Download complete [2022-04-26T17:34:12.891Z] a51346096db8: Verifying Checksum [2022-04-26T17:34:12.891Z] a51346096db8: Download complete [2022-04-26T17:34:12.891Z] daebc70d1ce1: Verifying Checksum [2022-04-26T17:34:12.891Z] daebc70d1ce1: Download complete [2022-04-26T17:34:12.891Z] 59bf1c3509f3: Pull complete [2022-04-26T17:34:13.152Z] 666ba61612fd: Pull complete [2022-04-26T17:34:13.152Z] 8ed8ca486205: Pull complete [2022-04-26T17:34:13.412Z] 0e18a0eac166: Verifying Checksum [2022-04-26T17:34:13.413Z] 0e18a0eac166: Download complete [2022-04-26T17:34:13.673Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T17:34:13.673Z] 4fe6c5a15a65: Download complete [2022-04-26T17:34:17.874Z] 4fe6c5a15a65: Pull complete [2022-04-26T17:34:17.874Z] 22a0e8bec74d: Pull complete [2022-04-26T17:34:17.874Z] ca2b28591e48: Pull complete [2022-04-26T17:34:18.136Z] a51346096db8: Pull complete [2022-04-26T17:34:18.136Z] daebc70d1ce1: Pull complete [2022-04-26T17:34:20.694Z] 0e18a0eac166: Pull complete [2022-04-26T17:34:20.694Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T17:34:20.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T17:34:20.694Z] ---> f018257e8ee9 [2022-04-26T17:34:20.694Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T17:34:22.086Z] ---> Running in e40d26328869 [2022-04-26T17:34:22.086Z] Removing intermediate container e40d26328869 [2022-04-26T17:34:22.086Z] ---> d4c02819fe61 [2022-04-26T17:34:22.086Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:34:22.086Z] ---> Running in a23ee5ebcdf1 [2022-04-26T17:34:22.086Z] Removing intermediate container a23ee5ebcdf1 [2022-04-26T17:34:22.086Z] ---> fe6f897d34c6 [2022-04-26T17:34:22.086Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:34:22.086Z] ---> Running in 73f64d48ecdb [2022-04-26T17:34:22.346Z] Removing intermediate container 73f64d48ecdb [2022-04-26T17:34:22.346Z] ---> b9129034de7b [2022-04-26T17:34:22.346Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:34:22.346Z] ---> Running in 32c835077459 [2022-04-26T17:34:22.922Z] Removing intermediate container 32c835077459 [2022-04-26T17:34:22.922Z] ---> fd510a34398f [2022-04-26T17:34:22.922Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:34:22.922Z] ---> Running in 9c5d569b88a6 [2022-04-26T17:34:23.182Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T17:34:24.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T17:34:24.396Z] OK: 221 MiB in 52 packages [2022-04-26T17:34:24.657Z] Removing intermediate container 9c5d569b88a6 [2022-04-26T17:34:24.657Z] ---> 16a5e7723471 [2022-04-26T17:34:24.657Z] Step 8/13 : WORKDIR /app [2022-04-26T17:34:24.657Z] ---> Running in 14ecfbe86f89 [2022-04-26T17:34:24.918Z] Removing intermediate container 14ecfbe86f89 [2022-04-26T17:34:24.918Z] ---> a295357c7ef0 [2022-04-26T17:34:24.918Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T17:34:24.918Z] ---> ffa5633620e0 [2022-04-26T17:34:24.918Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:34:25.178Z] ---> Running in ae067416982e [2022-04-26T17:34:26.093Z] Still waiting to schedule task [2022-04-26T17:34:26.093Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T17:34:40.101Z] Removing intermediate container ae067416982e [2022-04-26T17:34:40.101Z] ---> 75aa339437ba [2022-04-26T17:34:40.101Z] Step 11/13 : COPY . . [2022-04-26T17:34:40.101Z] ---> c4747fd1b9f0 [2022-04-26T17:34:40.101Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T17:34:40.101Z] ---> Running in f9390789f17e [2022-04-26T17:34:40.101Z] Removing intermediate container f9390789f17e [2022-04-26T17:34:40.101Z] ---> 00d661350924 [2022-04-26T17:34:40.101Z] Step 13/13 : RUN $MAKE [2022-04-26T17:34:40.101Z] ---> Running in 710cf12ae467 [2022-04-26T17:34:40.362Z] noop [2022-04-26T17:34:40.623Z] Removing intermediate container 710cf12ae467 [2022-04-26T17:34:40.623Z] ---> 0f6e80fc2131 [2022-04-26T17:34:40.623Z] Successfully built 0f6e80fc2131 [2022-04-26T17:34:40.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:34:40.924Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T17:34:40.924Z] . [Pipeline] withDockerContainer [2022-04-26T17:34:41.000Z] prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container [2022-04-26T17:34:41.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T17:34:41.442Z] $ docker top 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:34:41.805Z] + go version [2022-04-26T17:34:41.806Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T17:34:41.824Z] $ docker stop --time=1 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e [2022-04-26T17:34:43.121Z] $ docker rm -f 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:34:43.546Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T17:34:43.546Z] . [Pipeline] withDockerContainer [2022-04-26T17:34:43.619Z] prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container [2022-04-26T17:34:43.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T17:34:44.049Z] $ docker top 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:34:44.416Z] + make test [2022-04-26T17:34:44.416Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T17:34:56.670Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T17:34:56.670Z] CGO_ENABLED=1 go vet ./... [2022-04-26T17:35:00.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:35:00.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:35:00.058Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T17:35:00.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T17:35:00.672Z] $ docker stop --time=1 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da [2022-04-26T17:35:02.303Z] $ docker rm -f 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T17:35:02.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T17:35:02.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T17:35:04.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T17:35:04.372Z] + ls -al . [2022-04-26T17:35:04.372Z] total 164 [2022-04-26T17:35:04.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:35 . [2022-04-26T17:35:04.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:33 .. [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 17:33 .dockerignore [2022-04-26T17:35:04.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:33 .git [2022-04-26T17:35:04.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:33 .github [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 17:33 .gitignore [2022-04-26T17:35:04.372Z] drwx------ 3 jenkins jenkins 4096 Apr 26 17:34 .semver [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 17:33 Attribution.txt [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 17:33 CHANGELOG.md [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 17:33 Dockerfile [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:33 GOVERNANCE.md [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 17:33 Jenkinsfile [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 17:33 LICENSE [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 17:33 OWNERS.md [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 17:33 README.md [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 17:34 VERSION [2022-04-26T17:35:04.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:33 bin [2022-04-26T17:35:04.372Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 17:34 coverage.out [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 17:33 go.mod [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 17:33 go.sum [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 17:33 main.go [2022-04-26T17:35:04.372Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 17:33 makefile [2022-04-26T17:35:04.372Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:33 res [2022-04-26T17:35:04.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:33 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:35:04.707Z] + 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=3cc2d14d138f46f1859b4a933023ed82e9bb950f --label arch=amd64 --label version=0.0.0 . [2022-04-26T17:35:04.707Z] Sending build context to Docker daemon 3.033MB [2022-04-26T17:35:04.707Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:35:04.707Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T17:35:04.707Z] ---> 0f6e80fc2131 [2022-04-26T17:35:04.707Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T17:35:05.281Z] ---> Running in 1f44654e81d4 [2022-04-26T17:35:05.544Z] Removing intermediate container 1f44654e81d4 [2022-04-26T17:35:05.544Z] ---> 1cc3ef3fc627 [2022-04-26T17:35:05.544Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:35:05.544Z] ---> Running in 0d43ea2dd1b8 [2022-04-26T17:35:05.544Z] Removing intermediate container 0d43ea2dd1b8 [2022-04-26T17:35:05.544Z] ---> b16cb1977518 [2022-04-26T17:35:05.544Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:35:05.806Z] ---> Running in 042aff00ad58 [2022-04-26T17:35:05.807Z] Removing intermediate container 042aff00ad58 [2022-04-26T17:35:05.807Z] ---> b38a11b30c1d [2022-04-26T17:35:05.807Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:35:05.807Z] ---> Running in bac31ab3fa23 [2022-04-26T17:35:06.378Z] Removing intermediate container bac31ab3fa23 [2022-04-26T17:35:06.378Z] ---> d9455914e626 [2022-04-26T17:35:06.378Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:35:06.638Z] ---> Running in 72ab925031db [2022-04-26T17:35:06.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T17:35:07.845Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T17:35:07.845Z] OK: 221 MiB in 52 packages [2022-04-26T17:35:08.418Z] Removing intermediate container 72ab925031db [2022-04-26T17:35:08.418Z] ---> 5fffd18f43af [2022-04-26T17:35:08.418Z] Step 8/27 : WORKDIR /app [2022-04-26T17:35:08.418Z] ---> Running in b4804da54fb6 [2022-04-26T17:35:08.418Z] Removing intermediate container b4804da54fb6 [2022-04-26T17:35:08.418Z] ---> 39e55bbeaad4 [2022-04-26T17:35:08.418Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T17:35:08.681Z] ---> 61390a30ac99 [2022-04-26T17:35:08.681Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:35:08.681Z] ---> Running in 927845556ed1 [2022-04-26T17:35:09.254Z] Removing intermediate container 927845556ed1 [2022-04-26T17:35:09.254Z] ---> 95ae39fcb4ed [2022-04-26T17:35:09.254Z] Step 11/27 : COPY . . [2022-04-26T17:35:09.514Z] ---> f27b7b570634 [2022-04-26T17:35:09.514Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T17:35:09.514Z] ---> Running in e47bb8dddebd [2022-04-26T17:35:09.774Z] Removing intermediate container e47bb8dddebd [2022-04-26T17:35:09.774Z] ---> 43a08a5028de [2022-04-26T17:35:09.774Z] Step 13/27 : RUN $MAKE [2022-04-26T17:35:09.774Z] ---> Running in 35c561d07078 [2022-04-26T17:35:10.033Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T17:35:36.732Z] Removing intermediate container 35c561d07078 [2022-04-26T17:35:36.732Z] ---> 2394459e14bb [2022-04-26T17:35:36.732Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T17:35:36.732Z] 3.14: Pulling from library/alpine [2022-04-26T17:35:36.732Z] 8663204ce13b: Pulling fs layer [2022-04-26T17:35:36.732Z] 8663204ce13b: Verifying Checksum [2022-04-26T17:35:36.732Z] 8663204ce13b: Download complete [2022-04-26T17:35:36.732Z] 8663204ce13b: Pull complete [2022-04-26T17:35:36.732Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T17:35:36.732Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T17:35:36.732Z] ---> e04c818066af [2022-04-26T17:35:36.732Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:35:36.732Z] ---> Running in f48d756802cb [2022-04-26T17:35:36.732Z] Removing intermediate container f48d756802cb [2022-04-26T17:35:36.732Z] ---> 8f583251f7b6 [2022-04-26T17:35:36.732Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T17:35:36.732Z] ---> Running in 4a068698b70c [2022-04-26T17:35:36.732Z] Removing intermediate container 4a068698b70c [2022-04-26T17:35:36.732Z] ---> 5658fc4d30c2 [2022-04-26T17:35:36.732Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T17:35:36.732Z] ---> Running in 3adecb092c6c [2022-04-26T17:35:36.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T17:35:36.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T17:35:36.732Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T17:35:36.732Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T17:35:36.732Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T17:35:36.732Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T17:35:36.732Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T17:35:36.732Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T17:35:36.732Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T17:35:36.732Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T17:35:36.732Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T17:35:36.732Z] OK: 9 MiB in 21 packages [2022-04-26T17:35:36.732Z] Removing intermediate container 3adecb092c6c [2022-04-26T17:35:36.732Z] ---> d11e33c332ef [2022-04-26T17:35:36.732Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T17:35:36.732Z] ---> ddf92e9aac57 [2022-04-26T17:35:36.732Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T17:35:36.732Z] ---> 97584875569d [2022-04-26T17:35:36.732Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T17:35:36.732Z] ---> 605a351c47e9 [2022-04-26T17:35:36.732Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T17:35:36.732Z] ---> dd927a1e711d [2022-04-26T17:35:36.732Z] Step 22/27 : EXPOSE 48095 [2022-04-26T17:35:36.732Z] ---> Running in 0c34cd78acad [2022-04-26T17:35:36.732Z] Removing intermediate container 0c34cd78acad [2022-04-26T17:35:36.732Z] ---> 5b645dd341e1 [2022-04-26T17:35:36.732Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T17:35:36.732Z] ---> Running in 4b75b535627a [2022-04-26T17:35:36.732Z] Removing intermediate container 4b75b535627a [2022-04-26T17:35:36.732Z] ---> 44f245c340d8 [2022-04-26T17:35:36.732Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T17:35:36.732Z] ---> Running in 8b77f8524637 [2022-04-26T17:35:36.992Z] Removing intermediate container 8b77f8524637 [2022-04-26T17:35:36.992Z] ---> b0d2f0911a08 [2022-04-26T17:35:36.992Z] Step 25/27 : LABEL arch=amd64 [2022-04-26T17:35:36.992Z] ---> Running in d57c52f60fc5 [2022-04-26T17:35:36.992Z] Removing intermediate container d57c52f60fc5 [2022-04-26T17:35:36.992Z] ---> 22d2e3ffaef2 [2022-04-26T17:35:36.992Z] Step 26/27 : LABEL git_sha=3cc2d14d138f46f1859b4a933023ed82e9bb950f [2022-04-26T17:35:36.992Z] ---> Running in ebf5dd8f52e1 [2022-04-26T17:35:37.255Z] Removing intermediate container ebf5dd8f52e1 [2022-04-26T17:35:37.255Z] ---> 0a3a492fe5bb [2022-04-26T17:35:37.255Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T17:35:37.255Z] ---> Running in 4cbf789a0a7b [2022-04-26T17:35:37.255Z] Removing intermediate container 4cbf789a0a7b [2022-04-26T17:35:37.255Z] ---> 328da4290cc4 [2022-04-26T17:35:37.255Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T17:35:37.255Z] Successfully built 328da4290cc4 [2022-04-26T17:35:37.255Z] 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 [2022-04-26T17:35:37.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:35:37.696Z] [2022-04-26T17:35:37.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:35:38.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:35:38.003Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T17:35:38.003Z] 5eb5b503b376: Pulling fs layer [2022-04-26T17:35:38.003Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T17:35:38.003Z] ec43610c2a17: Pulling fs layer [2022-04-26T17:35:38.003Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T17:35:38.003Z] 33b1e0a273af: Pulling fs layer [2022-04-26T17:35:38.003Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T17:35:38.003Z] 2f39f015ded8: Pulling fs layer [2022-04-26T17:35:38.003Z] 33b1e0a273af: Waiting [2022-04-26T17:35:38.003Z] 5d3b04190fa2: Waiting [2022-04-26T17:35:38.003Z] 2f39f015ded8: Waiting [2022-04-26T17:35:38.003Z] 3a2ae6a8a46f: Waiting [2022-04-26T17:35:38.003Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T17:35:38.003Z] 5c69ac0246d0: Download complete [2022-04-26T17:35:38.003Z] 3a2ae6a8a46f: Download complete [2022-04-26T17:35:38.003Z] 33b1e0a273af: Verifying Checksum [2022-04-26T17:35:38.003Z] 33b1e0a273af: Download complete [2022-04-26T17:35:38.003Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T17:35:38.003Z] 5d3b04190fa2: Download complete [2022-04-26T17:35:38.263Z] ec43610c2a17: Verifying Checksum [2022-04-26T17:35:38.263Z] ec43610c2a17: Download complete [2022-04-26T17:35:38.263Z] 5eb5b503b376: Download complete [2022-04-26T17:35:39.206Z] 2f39f015ded8: Download complete [2022-04-26T17:35:39.779Z] 5eb5b503b376: Pull complete [2022-04-26T17:35:39.779Z] 5c69ac0246d0: Pull complete [2022-04-26T17:35:40.353Z] ec43610c2a17: Pull complete [2022-04-26T17:35:40.353Z] 3a2ae6a8a46f: Pull complete [2022-04-26T17:35:40.612Z] 33b1e0a273af: Pull complete [2022-04-26T17:35:40.612Z] 5d3b04190fa2: Pull complete [2022-04-26T17:35:45.902Z] 2f39f015ded8: Pull complete [2022-04-26T17:35:45.902Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T17:35:45.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:35:45.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T17:35:45.971Z] prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container [2022-04-26T17:35:46.010Z] $ 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-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T17:35:47.514Z] $ docker top 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:35:47.952Z] ---> job-cost.sh [2022-04-26T17:35:47.952Z] lf-activate-venv: SKIPPING [2022-04-26T17:35:47.952Z] INFO: No Stack... [2022-04-26T17:35:48.212Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:35:48.783Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:35:49.088Z] + cat /w/workspace/_app-service-configurable_PR-409/archives/cost.csv [2022-04-26T17:35:49.088Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T17:35:49.107Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [2022-04-26T17:35:49.113Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] did not exist. Created. [2022-04-26T17:35:49.113Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:35:49.420Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T17:35:49.452Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:35:49.459Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:35:49.487Z] $ docker stop --time=1 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 [2022-04-26T17:35:50.667Z] $ docker rm -f 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T17:45:13.570Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33343 in /w/workspace/_app-service-configurable_PR-409 [Pipeline] { [Pipeline] ws [2022-04-26T17:45:13.581Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-04-26T17:45:14.095Z] Selected Git installation does not exist. Using Default [2022-04-26T17:45:14.095Z] The recommended git tool is: NONE [2022-04-26T17:45:23.733Z] using credential edgex-jenkins-ssh [2022-04-26T17:45:23.753Z] Cloning the remote Git repository [2022-04-26T17:45:23.838Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T17:45:23.938Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-04-26T17:45:24.043Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T17:45:24.044Z] > git --version # timeout=10 [2022-04-26T17:45:24.067Z] > git --version # 'git version 2.25.1' [2022-04-26T17:45:24.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:45:24.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:45:26.258Z] Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 3cc2d14d138f46f1859b4a933023ed82e9bb950f [2022-04-26T17:45:26.558Z] Merge succeeded, producing 3cc2d14d138f46f1859b4a933023ed82e9bb950f [2022-04-26T17:45:26.558Z] Checking out Revision 3cc2d14d138f46f1859b4a933023ed82e9bb950f (PR-409) [2022-04-26T17:45:25.372Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T17:45:25.393Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:45:25.421Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T17:45:25.552Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T17:45:25.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:45:25.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T17:45:26.287Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:45:26.324Z] > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 [2022-04-26T17:45:26.435Z] > git remote # timeout=10 [2022-04-26T17:45:26.463Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T17:45:26.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:45:26.497Z] > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 [2022-04-26T17:45:26.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T17:45:26.573Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:45:26.590Z] > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 [2022-04-26T17:45:31.144Z] Commit message: "feat: Enable use of common app service metrics" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:45:32.070Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T17:45:32.070Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:45:32.070Z] Dload Upload Total Spent Left Speed [2022-04-26T17:45:32.070Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-04-26T17:45:32.715Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T17:45:33.075Z] + sudo tee /etc/docker/daemon.new [2022-04-26T17:45:33.075Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T17:45:33.075Z] { [2022-04-26T17:45:33.075Z] "registry-mirrors": [ [2022-04-26T17:45:33.075Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T17:45:33.075Z] ], [2022-04-26T17:45:33.075Z] "bip": "10.250.0.254/24", [2022-04-26T17:45:33.075Z] "hosts": [ [2022-04-26T17:45:33.075Z] "tcp://0.0.0.0:5555", [2022-04-26T17:45:33.075Z] "unix:///var/run/docker.sock" [2022-04-26T17:45:33.075Z] ], [2022-04-26T17:45:33.075Z] "mtu": 1458, [2022-04-26T17:45:33.075Z] "selinux-enabled": true, [2022-04-26T17:45:33.075Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T17:45:33.075Z] } [Pipeline] sh [2022-04-26T17:45:33.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T17:45:33.815Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:45:52.228Z] provisioning config files... [2022-04-26T17:45:52.261Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config8676340844064594590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:45:52.647Z] ---> docker-login.sh [2022-04-26T17:45:52.647Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:45:53.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:45:53.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:45:53.540Z] Configure a credential helper to remove this warning. See [2022-04-26T17:45:53.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:45:53.540Z] [2022-04-26T17:45:53.540Z] Login Succeeded [2022-04-26T17:45:53.830Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:45:54.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:45:54.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:45:54.494Z] Configure a credential helper to remove this warning. See [2022-04-26T17:45:54.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:45:54.494Z] [2022-04-26T17:45:54.494Z] Login Succeeded [2022-04-26T17:45:54.494Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:45:54.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:45:55.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:45:55.062Z] Configure a credential helper to remove this warning. See [2022-04-26T17:45:55.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:45:55.062Z] [2022-04-26T17:45:55.062Z] Login Succeeded [2022-04-26T17:45:55.062Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:45:55.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:45:55.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:45:55.671Z] Configure a credential helper to remove this warning. See [2022-04-26T17:45:55.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:45:55.671Z] [2022-04-26T17:45:55.671Z] Login Succeeded [2022-04-26T17:45:55.671Z] docker.io [2022-04-26T17:45:56.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:45:56.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:45:56.558Z] Configure a credential helper to remove this warning. See [2022-04-26T17:45:56.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:45:56.558Z] [2022-04-26T17:45:56.558Z] Login Succeeded [2022-04-26T17:45:56.558Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:45:56.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:45:57.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:45:57.137Z] ========================================================= [2022-04-26T17:45:57.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T17:45:57.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:45:57.527Z] + 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 . [2022-04-26T17:45:57.527Z] Sending build context to Docker daemon 200.7kB [2022-04-26T17:45:57.809Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:45:57.809Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T17:45:58.092Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T17:45:58.092Z] 9b3977197b4f: Pulling fs layer [2022-04-26T17:45:58.092Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T17:45:58.092Z] 94645a83ff95: Pulling fs layer [2022-04-26T17:45:58.092Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T17:45:58.092Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T17:45:58.092Z] 3096ccb668a1: Pulling fs layer [2022-04-26T17:45:58.092Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T17:45:58.092Z] a4caa8a26152: Pulling fs layer [2022-04-26T17:45:58.092Z] 3096ccb668a1: Waiting [2022-04-26T17:45:58.092Z] e8cf19c19ddd: Waiting [2022-04-26T17:45:58.092Z] a4caa8a26152: Waiting [2022-04-26T17:45:58.092Z] 3f3a8bcf1eab: Waiting [2022-04-26T17:45:58.092Z] 0c92f367c5e7: Waiting [2022-04-26T17:45:58.092Z] 94645a83ff95: Verifying Checksum [2022-04-26T17:45:58.092Z] 94645a83ff95: Download complete [2022-04-26T17:45:58.092Z] 1a89e8eeedd5: Download complete [2022-04-26T17:45:58.092Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T17:45:58.092Z] 0c92f367c5e7: Download complete [2022-04-26T17:45:58.382Z] 3096ccb668a1: Verifying Checksum [2022-04-26T17:45:58.382Z] 3096ccb668a1: Download complete [2022-04-26T17:45:58.382Z] 9b3977197b4f: Verifying Checksum [2022-04-26T17:45:58.382Z] 9b3977197b4f: Download complete [2022-04-26T17:45:58.382Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T17:45:58.382Z] e8cf19c19ddd: Download complete [2022-04-26T17:45:59.402Z] 9b3977197b4f: Pull complete [2022-04-26T17:46:00.020Z] 1a89e8eeedd5: Pull complete [2022-04-26T17:46:00.304Z] 94645a83ff95: Pull complete [2022-04-26T17:46:00.913Z] a4caa8a26152: Verifying Checksum [2022-04-26T17:46:00.913Z] a4caa8a26152: Download complete [2022-04-26T17:46:01.526Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T17:46:01.526Z] 3f3a8bcf1eab: Download complete [2022-04-26T17:46:16.724Z] 3f3a8bcf1eab: Pull complete [2022-04-26T17:46:16.724Z] 0c92f367c5e7: Pull complete [2022-04-26T17:46:16.724Z] 3096ccb668a1: Pull complete [2022-04-26T17:46:16.724Z] e8cf19c19ddd: Pull complete [2022-04-26T17:46:23.505Z] a4caa8a26152: Pull complete [2022-04-26T17:46:23.506Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T17:46:23.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T17:46:23.506Z] ---> 725f1c02e7f9 [2022-04-26T17:46:23.506Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T17:46:23.506Z] ---> Running in 1d75fd12f310 [2022-04-26T17:46:24.112Z] Removing intermediate container 1d75fd12f310 [2022-04-26T17:46:24.112Z] ---> 892b31ce8d8c [2022-04-26T17:46:24.112Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:46:24.112Z] ---> Running in b3632bdc4c75 [2022-04-26T17:46:24.731Z] Removing intermediate container b3632bdc4c75 [2022-04-26T17:46:24.731Z] ---> 4e58115e30ad [2022-04-26T17:46:24.731Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:46:24.731Z] ---> Running in 31ce890ad3be [2022-04-26T17:46:26.205Z] Removing intermediate container 31ce890ad3be [2022-04-26T17:46:26.205Z] ---> e6b7444e5428 [2022-04-26T17:46:26.205Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:46:26.205Z] ---> Running in f44fc68d9997 [2022-04-26T17:46:28.207Z] Removing intermediate container f44fc68d9997 [2022-04-26T17:46:28.207Z] ---> 3c09e97488d0 [2022-04-26T17:46:28.207Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:46:28.207Z] ---> Running in 6be85d9c3099 [2022-04-26T17:46:29.657Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:46:30.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:46:31.722Z] OK: 220 MiB in 52 packages [2022-04-26T17:46:32.746Z] Removing intermediate container 6be85d9c3099 [2022-04-26T17:46:32.746Z] ---> b599c5402133 [2022-04-26T17:46:32.746Z] Step 8/13 : WORKDIR /app [2022-04-26T17:46:32.746Z] ---> Running in cd808fc8c65c [2022-04-26T17:46:33.037Z] Removing intermediate container cd808fc8c65c [2022-04-26T17:46:33.037Z] ---> 8642e3776c6c [2022-04-26T17:46:33.037Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T17:46:33.644Z] ---> b9abd0311c31 [2022-04-26T17:46:33.644Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:46:33.644Z] ---> Running in 1940929bedd7 [2022-04-26T17:47:30.541Z] Removing intermediate container 1940929bedd7 [2022-04-26T17:47:30.541Z] ---> ffd84ef20dc4 [2022-04-26T17:47:30.541Z] Step 11/13 : COPY . . [2022-04-26T17:47:30.541Z] ---> b1a9e53b50b7 [2022-04-26T17:47:30.541Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T17:47:30.541Z] ---> Running in 92a274602c18 [2022-04-26T17:47:30.541Z] Removing intermediate container 92a274602c18 [2022-04-26T17:47:30.541Z] ---> f43e4d15144c [2022-04-26T17:47:30.541Z] Step 13/13 : RUN $MAKE [2022-04-26T17:47:30.541Z] ---> Running in 9bfea4668acb [2022-04-26T17:47:30.541Z] noop [2022-04-26T17:47:30.541Z] Removing intermediate container 9bfea4668acb [2022-04-26T17:47:30.541Z] ---> fbfe30414515 [2022-04-26T17:47:30.541Z] Successfully built fbfe30414515 [2022-04-26T17:47:30.541Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:47:30.919Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:47:30.920Z] . [Pipeline] withDockerContainer [2022-04-26T17:47:31.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container [2022-04-26T17:47:31.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:47:32.863Z] $ docker top 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:47:33.871Z] + go version [2022-04-26T17:47:33.871Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T17:47:33.904Z] $ docker stop --time=1 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d [2022-04-26T17:47:35.647Z] $ docker rm -f 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:47:36.301Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:47:36.301Z] . [Pipeline] withDockerContainer [2022-04-26T17:47:36.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container [2022-04-26T17:47:36.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:47:38.243Z] $ docker top 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:47:39.362Z] + make test [2022-04-26T17:47:39.362Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T17:49:31.389Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T17:49:31.389Z] CGO_ENABLED=1 go vet ./... [2022-04-26T17:49:53.666Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:49:53.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:49:53.666Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T17:49:53.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T17:49:53.989Z] $ docker stop --time=1 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f [2022-04-26T17:49:55.955Z] $ docker rm -f 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T17:49:57.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T17:49:57.101Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T17:49:57.733Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:49:58.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T17:49:58.489Z] + ls -al . [2022-04-26T17:49:58.489Z] total 160 [2022-04-26T17:49:58.489Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 17:49 . [2022-04-26T17:49:58.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:45 .. [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 17:45 .dockerignore [2022-04-26T17:49:58.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:45 .git [2022-04-26T17:49:58.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:45 .github [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 17:45 .gitignore [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 17:45 Attribution.txt [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 17:45 CHANGELOG.md [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 17:45 Dockerfile [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:45 GOVERNANCE.md [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 17:45 Jenkinsfile [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 17:45 LICENSE [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 17:45 OWNERS.md [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 17:45 README.md [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 17:34 VERSION [2022-04-26T17:49:58.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:45 bin [2022-04-26T17:49:58.489Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 17:47 coverage.out [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 17:45 go.mod [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 17:45 go.sum [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 17:45 main.go [2022-04-26T17:49:58.489Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 17:45 makefile [2022-04-26T17:49:58.489Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:45 res [2022-04-26T17:49:58.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:45 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:49:58.849Z] + 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=3cc2d14d138f46f1859b4a933023ed82e9bb950f --label arch=arm64 --label version=0.0.0 . [2022-04-26T17:49:58.849Z] Sending build context to Docker daemon 201.7kB [2022-04-26T17:49:59.127Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:49:59.127Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T17:49:59.127Z] ---> fbfe30414515 [2022-04-26T17:49:59.127Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T17:49:59.405Z] ---> Running in 88ca418efbe7 [2022-04-26T17:49:59.719Z] Removing intermediate container 88ca418efbe7 [2022-04-26T17:49:59.719Z] ---> d17bb5ad3845 [2022-04-26T17:49:59.719Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:49:59.719Z] ---> Running in 8e514cf9bb7a [2022-04-26T17:50:00.320Z] Removing intermediate container 8e514cf9bb7a [2022-04-26T17:50:00.320Z] ---> dd5d87954d81 [2022-04-26T17:50:00.320Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:50:00.320Z] ---> Running in d2185204c44e [2022-04-26T17:50:00.596Z] Removing intermediate container d2185204c44e [2022-04-26T17:50:00.596Z] ---> a516cfcc71e9 [2022-04-26T17:50:00.596Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:50:00.915Z] ---> Running in 13248b72051c [2022-04-26T17:50:02.992Z] Removing intermediate container 13248b72051c [2022-04-26T17:50:02.992Z] ---> cc5455b798a8 [2022-04-26T17:50:02.992Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:50:02.992Z] ---> Running in e92627969817 [2022-04-26T17:50:04.465Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:50:05.449Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:50:06.439Z] OK: 220 MiB in 52 packages [2022-04-26T17:50:07.425Z] Removing intermediate container e92627969817 [2022-04-26T17:50:07.425Z] ---> ff6691cafc86 [2022-04-26T17:50:07.425Z] Step 8/27 : WORKDIR /app [2022-04-26T17:50:07.425Z] ---> Running in d8c82d76e94c [2022-04-26T17:50:07.703Z] Removing intermediate container d8c82d76e94c [2022-04-26T17:50:07.703Z] ---> 75d557e61b72 [2022-04-26T17:50:07.703Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T17:50:08.312Z] ---> 0f347d56bc84 [2022-04-26T17:50:08.312Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:50:08.312Z] ---> Running in ce55d7c7c246 [2022-04-26T17:50:10.949Z] Removing intermediate container ce55d7c7c246 [2022-04-26T17:50:10.949Z] ---> 8c1ce6e3180d [2022-04-26T17:50:10.949Z] Step 11/27 : COPY . . [2022-04-26T17:50:11.225Z] ---> 18538bbfa387 [2022-04-26T17:50:11.225Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T17:50:11.500Z] ---> Running in a21801d915f2 [2022-04-26T17:50:11.784Z] Removing intermediate container a21801d915f2 [2022-04-26T17:50:11.784Z] ---> 534acf5943c0 [2022-04-26T17:50:11.784Z] Step 13/27 : RUN $MAKE [2022-04-26T17:50:11.784Z] ---> Running in 539094bfef3c [2022-04-26T17:50:13.262Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T17:52:35.187Z] Removing intermediate container 539094bfef3c [2022-04-26T17:52:35.187Z] ---> a09463d40161 [2022-04-26T17:52:35.187Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T17:52:35.187Z] 3.14: Pulling from library/alpine [2022-04-26T17:52:35.187Z] 455c02918c45: Pulling fs layer [2022-04-26T17:52:35.187Z] 455c02918c45: Verifying Checksum [2022-04-26T17:52:35.187Z] 455c02918c45: Download complete [2022-04-26T17:52:35.187Z] 455c02918c45: Pull complete [2022-04-26T17:52:35.187Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T17:52:35.187Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T17:52:35.187Z] ---> ac73e934f311 [2022-04-26T17:52:35.187Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T17:52:35.187Z] ---> Running in 7d995ed1dcf0 [2022-04-26T17:52:35.187Z] Removing intermediate container 7d995ed1dcf0 [2022-04-26T17:52:35.187Z] ---> c782fb64c78a [2022-04-26T17:52:35.187Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T17:52:35.187Z] ---> Running in 078fe3c70858 [2022-04-26T17:52:35.187Z] Removing intermediate container 078fe3c70858 [2022-04-26T17:52:35.187Z] ---> fe6b0f6926c5 [2022-04-26T17:52:35.187Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T17:52:35.187Z] ---> Running in b18ba8c716ee [2022-04-26T17:52:35.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:52:35.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:52:35.187Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T17:52:35.187Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T17:52:35.187Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T17:52:35.187Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T17:52:35.187Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T17:52:35.187Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T17:52:35.187Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T17:52:35.187Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T17:52:35.187Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T17:52:35.466Z] OK: 9 MiB in 21 packages [2022-04-26T17:52:36.919Z] Removing intermediate container b18ba8c716ee [2022-04-26T17:52:36.919Z] ---> 8bc7e4f6fe56 [2022-04-26T17:52:36.919Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T17:52:37.516Z] ---> c47d4c7b0745 [2022-04-26T17:52:37.516Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T17:52:38.116Z] ---> f60207b12cee [2022-04-26T17:52:38.116Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T17:52:38.723Z] ---> 919c1f727922 [2022-04-26T17:52:38.723Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T17:52:40.160Z] ---> cc91795c1bda [2022-04-26T17:52:40.160Z] Step 22/27 : EXPOSE 48095 [2022-04-26T17:52:40.160Z] ---> Running in 1b902e1568af [2022-04-26T17:52:40.764Z] Removing intermediate container 1b902e1568af [2022-04-26T17:52:40.764Z] ---> 9814feb8a053 [2022-04-26T17:52:40.764Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T17:52:40.764Z] ---> Running in fa05e485f4e0 [2022-04-26T17:52:41.040Z] Removing intermediate container fa05e485f4e0 [2022-04-26T17:52:41.040Z] ---> b9625f1877e6 [2022-04-26T17:52:41.040Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T17:52:41.040Z] ---> Running in 7124e18cbd1b [2022-04-26T17:52:41.314Z] Removing intermediate container 7124e18cbd1b [2022-04-26T17:52:41.314Z] ---> fabd10522b1a [2022-04-26T17:52:41.314Z] Step 25/27 : LABEL arch=arm64 [2022-04-26T17:52:41.593Z] ---> Running in 280f8c554ad9 [2022-04-26T17:52:41.882Z] Removing intermediate container 280f8c554ad9 [2022-04-26T17:52:41.882Z] ---> 99cf959ee710 [2022-04-26T17:52:41.882Z] Step 26/27 : LABEL git_sha=3cc2d14d138f46f1859b4a933023ed82e9bb950f [2022-04-26T17:52:41.882Z] ---> Running in aacbb5832c5c [2022-04-26T17:52:42.484Z] Removing intermediate container aacbb5832c5c [2022-04-26T17:52:42.484Z] ---> 6a18b5f784ec [2022-04-26T17:52:42.484Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T17:52:42.484Z] ---> Running in 983ebfa36c0d [2022-04-26T17:52:42.761Z] Removing intermediate container 983ebfa36c0d [2022-04-26T17:52:42.761Z] ---> 5a41fc109f77 [2022-04-26T17:52:42.761Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T17:52:42.761Z] Successfully built 5a41fc109f77 [2022-04-26T17:52:42.761Z] 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 [2022-04-26T17:52:43.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:52:43.213Z] [2022-04-26T17:52:43.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:52:43.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:52:47.336Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T17:52:47.336Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T17:52:47.336Z] 04944245beec: Pulling fs layer [2022-04-26T17:52:47.336Z] 699f458cf7ca: Pulling fs layer [2022-04-26T17:52:47.336Z] 765212b225bb: Pulling fs layer [2022-04-26T17:52:47.336Z] f23df028b6ca: Pulling fs layer [2022-04-26T17:52:47.336Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T17:52:47.336Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T17:52:47.336Z] f23df028b6ca: Waiting [2022-04-26T17:52:47.336Z] d65c8cfc05b1: Waiting [2022-04-26T17:52:47.336Z] 2437ff75d9bd: Waiting [2022-04-26T17:52:47.336Z] 765212b225bb: Waiting [2022-04-26T17:52:47.336Z] 04944245beec: Verifying Checksum [2022-04-26T17:52:47.336Z] 04944245beec: Download complete [2022-04-26T17:52:47.336Z] 765212b225bb: Verifying Checksum [2022-04-26T17:52:47.336Z] 765212b225bb: Download complete [2022-04-26T17:52:47.336Z] f23df028b6ca: Verifying Checksum [2022-04-26T17:52:47.336Z] f23df028b6ca: Download complete [2022-04-26T17:52:47.336Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T17:52:47.336Z] d65c8cfc05b1: Download complete [2022-04-26T17:52:47.336Z] 699f458cf7ca: Verifying Checksum [2022-04-26T17:52:47.336Z] 699f458cf7ca: Download complete [2022-04-26T17:52:47.614Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T17:52:47.614Z] 8998bd30e6a1: Download complete [2022-04-26T17:52:50.240Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T17:52:50.240Z] 2437ff75d9bd: Download complete [2022-04-26T17:52:51.683Z] 8998bd30e6a1: Pull complete [2022-04-26T17:52:52.285Z] 04944245beec: Pull complete [2022-04-26T17:52:53.728Z] 699f458cf7ca: Pull complete [2022-04-26T17:52:54.002Z] 765212b225bb: Pull complete [2022-04-26T17:52:54.596Z] f23df028b6ca: Pull complete [2022-04-26T17:52:54.876Z] d65c8cfc05b1: Pull complete [2022-04-26T17:53:10.202Z] 2437ff75d9bd: Pull complete [2022-04-26T17:53:10.202Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T17:53:10.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:53:10.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T17:53:10.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container [2022-04-26T17:53:10.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T17:53:13.410Z] $ docker top e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:14.368Z] ---> job-cost.sh [2022-04-26T17:53:14.368Z] lf-activate-venv: SKIPPING [2022-04-26T17:53:14.368Z] INFO: No Stack... [2022-04-26T17:53:14.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T17:53:15.611Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:53:16.278Z] + cut -d, -f6 [2022-04-26T17:53:16.278Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock [2022-04-26T17:53:16.344Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [2022-04-26T17:53:16.350Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] did not exist. Created. [2022-04-26T17:53:16.350Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:53:17.047Z] /w/workspace/app-service-configurable/2@tmp/durable-e879b51b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T17:53:17.747Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T17:53:17.769Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T17:53:17.820Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:53:17.829Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:53:17.853Z] $ docker stop --time=1 e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed [2022-04-26T17:53:19.458Z] $ docker rm -f e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed [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 [2022-04-26T17:53:19.922Z] provisioning config files... [2022-04-26T17:53:19.956Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config5926025687079188351tmp [Pipeline] { [Pipeline] sh [2022-04-26T17:53:20.323Z] + set +x [2022-04-26T17:53:20.323Z] + curl -s https://codecov.io/bash [2022-04-26T17:53:20.323Z] + bash -s -- [2022-04-26T17:53:20.323Z] [2022-04-26T17:53:20.323Z] _____ _ [2022-04-26T17:53:20.323Z] / ____| | | [2022-04-26T17:53:20.323Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T17:53:20.323Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T17:53:20.323Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T17:53:20.323Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T17:53:20.324Z] Bash-1.0.6 [2022-04-26T17:53:20.324Z] [2022-04-26T17:53:20.324Z] [2022-04-26T17:53:20.324Z] ==> git version 2.25.1 found [2022-04-26T17:53:20.324Z] ==> 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 [2022-04-26T17:53:20.324Z] Release-Date: 2020-01-08 [2022-04-26T17:53:20.324Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T17:53:20.324Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T17:53:20.324Z] ==> Jenkins CI detected. [2022-04-26T17:53:20.324Z] current dir:  /w/workspace/_app-service-configurable_PR-409 [2022-04-26T17:53:20.324Z] project root: . [2022-04-26T17:53:20.324Z] --> token set from env [2022-04-26T17:53:20.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T17:53:20.324Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T17:53:20.324Z] ==> Python coveragepy not found [2022-04-26T17:53:20.324Z] ==> Searching for coverage reports in: [2022-04-26T17:53:20.324Z] + . [2022-04-26T17:53:20.324Z] -> Found 1 reports [2022-04-26T17:53:20.324Z] ==> Detecting git/mercurial file structure [2022-04-26T17:53:20.324Z] ==> Reading reports [2022-04-26T17:53:20.324Z] + ./coverage.out bytes=10 [2022-04-26T17:53:20.324Z] ==> Appending adjustments [2022-04-26T17:53:20.324Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T17:53:20.324Z] + Found adjustments [2022-04-26T17:53:20.324Z] ==> Gzipping contents [2022-04-26T17:53:20.324Z] 4.0K /tmp/codecov.rMyuNq.gz [2022-04-26T17:53:20.324Z] ==> Uploading reports [2022-04-26T17:53:20.324Z] url: https://codecov.io [2022-04-26T17:53:20.324Z] query: branch=PR-409&commit=3cc2d14d138f46f1859b4a933023ed82e9bb950f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=409&job=&cmd_args= [2022-04-26T17:53:20.324Z] -> Pinging Codecov [2022-04-26T17:53:20.324Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-409&commit=3cc2d14d138f46f1859b4a933023ed82e9bb950f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=409&job=&cmd_args= [2022-04-26T17:53:20.582Z] -> Uploading to [2022-04-26T17:53:20.582Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/3cc2d14d138f46f1859b4a933023ed82e9bb950f/26651a48-86f3-48f2-83b6-ce5029eb6649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T175320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97698c129578d0daf737ba0c88f898d8e304af8c9ffb60bf044850d531b87d47 [2022-04-26T17:53:20.582Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:53:20.582Z] Dload Upload Total Spent Left Speed [2022-04-26T17:53:20.844Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2541 --:--:-- --:--:-- --:--:-- 2553 [2022-04-26T17:53:20.844Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] } [2022-04-26T17:53:20.851Z] 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 [2022-04-26T17:53:21.544Z] + [ -d /w/workspace/_app-service-configurable_PR-409/archives ] [2022-04-26T17:53:21.545Z] + ls -al /w/workspace/_app-service-configurable_PR-409/archives [2022-04-26T17:53:21.545Z] total 16 [2022-04-26T17:53:21.545Z] drwxr-xr-x 3 root root 4096 Apr 26 17:35 . [2022-04-26T17:53:21.545Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:35 .. [2022-04-26T17:53:21.545Z] drwxr-xr-x 2 root root 4096 Apr 26 17:35 cost [2022-04-26T17:53:21.545Z] -rw-r--r-- 1 root root 95 Apr 26 17:35 cost.csv [2022-04-26T17:53:21.545Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-409/archives [2022-04-26T17:53:21.545Z] + ls -al /w/workspace/_app-service-configurable_PR-409/archives [2022-04-26T17:53:21.545Z] total 16 [2022-04-26T17:53:21.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 17:35 . [2022-04-26T17:53:21.545Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:35 .. [2022-04-26T17:53:21.545Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 17:35 cost [2022-04-26T17:53:21.545Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 26 17:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:21.838Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:22.704Z] ---> package-listing.sh [2022-04-26T17:53:22.704Z] ++ facter osfamily [2022-04-26T17:53:22.704Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T17:53:22.965Z] + OS_FAMILY=debian [2022-04-26T17:53:22.965Z] + workspace=/w/workspace/_app-service-configurable_PR-409 [2022-04-26T17:53:22.965Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T17:53:22.965Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T17:53:22.965Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T17:53:22.965Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T17:53:22.965Z] + '[' /w/workspace/_app-service-configurable_PR-409 ']' [2022-04-26T17:53:22.965Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T17:53:22.965Z] + case "${OS_FAMILY}" in [2022-04-26T17:53:22.965Z] + dpkg -l [2022-04-26T17:53:22.965Z] + grep '^ii' [2022-04-26T17:53:22.965Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T17:53:22.965Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T17:53:22.965Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T17:53:22.965Z] + '[' /w/workspace/_app-service-configurable_PR-409 ']' [2022-04-26T17:53:22.965Z] + mkdir -p /w/workspace/_app-service-configurable_PR-409/archives/ [2022-04-26T17:53:22.965Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-409/archives/ [Pipeline] echo [2022-04-26T17:53:22.976Z] 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-409/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T17:53:23.256Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:53:23.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:53:23.817Z] . [Pipeline] withDockerContainer [2022-04-26T17:53:23.891Z] prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container [2022-04-26T17:53:23.923Z] $ 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-409/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-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T17:53:24.158Z] $ docker top 15857fb2b9d200eb0fa1a06d09b283091d53aa8052eccf45ee725d1961d97cb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:53:24.515Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T17:53:24.804Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T17:53:25.096Z] + ls /var/log/sa-host [2022-04-26T17:53:25.096Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:53:25.185Z] provisioning config files... [2022-04-26T17:53:25.194Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config437946392757563173tmp [Pipeline] { [Pipeline] echo [2022-04-26T17:53:25.210Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:25.495Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T17:53:25.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:25.835Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T17:53:25.845Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:26.131Z] ---> sudo-logs.sh [2022-04-26T17:53:26.131Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T17:53:26.154Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:26.439Z] ---> job-cost.sh [2022-04-26T17:53:26.440Z] lf-activate-venv: SKIPPING [2022-04-26T17:53:26.440Z] DEBUG: total: 0.2199999988079071 [2022-04-26T17:53:26.440Z] INFO: Retrieving Stack Cost... [2022-04-26T17:53:27.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:53:27.272Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T17:53:27.287Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:53:27.576Z] ---> logs-deploy.sh [2022-04-26T17:53:27.577Z] lf-activate-venv: SKIPPING [2022-04-26T17:53:27.577Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-409/2 [2022-04-26T17:53:27.577Z] INFO: archiving workspace using pattern(s): [2022-04-26T17:53:28.521Z] Archives upload complete. [2022-04-26T17:53:28.521Z] INFO: archiving logs to Nexus