Pull request #474 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e31862faf1f81338e15e68b6601fba369607637f+4a685ee38dea662665d79d6c95481bff5d89fc51 (2c4ac900ae38b69f1917ac93cc2c63be7ddfcdb8) 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-ssh8522347589878881397.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3342211097518977495.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7221152721111082748.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5042832445086117552.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh14960471211015236266.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9004142220120304208.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7267 in /w/workspace/_app-service-configurable_PR-474 [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-474 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a685ee38dea662665d79d6c95481bff5d89fc51 into PR head commit e31862faf1f81338e15e68b6601fba369607637f Merge succeeded, producing e31862faf1f81338e15e68b6601fba369607637f Checking out Revision e31862faf1f81338e15e68b6601fba369607637f (PR-474) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T12:03:55.550Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e31862faf1f81338e15e68b6601fba369607637f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4a685ee38dea662665d79d6c95481bff5d89fc51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e31862faf1f81338e15e68b6601fba369607637f # timeout=10 [Pipeline] withCredentials [2022-10-06T12:03:55.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T12:03:55.865Z] ========================================================= [2022-10-06T12:03:55.865Z] EdgeX Global Pipelines Version Info [2022-10-06T12:03:55.865Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:03:56.606Z] ------------------- [2022-10-06T12:03:56.606Z] stable info: [2022-10-06T12:03:56.606Z] ------------------- [2022-10-06T12:03:56.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T12:03:56.606Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T12:03:56.606Z] Message: update stable to v1.0.239 [2022-10-06T12:03:57.175Z] ------------------- [2022-10-06T12:03:57.175Z] experimental info: [2022-10-06T12:03:57.175Z] ------------------- [2022-10-06T12:03:57.175Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T12:03:57.175Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T12:03:57.175Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T12:03:57.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-10-06T12:03:57.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-10-06T12:03:57.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T12:03:57.585Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T12:03:57.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T12:03:57.666Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T12:03:57.709Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T12:03:57.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T12:03:57.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T12:03:57.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T12:03:57.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T12:03:57.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-10-06T12:03:58.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T12:03:58.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T12:03:58.114Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T12:03:58.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T12:03:58.207Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T12:03:58.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T12:03:58.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T12:03:58.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T12:03:58.353Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-06T12:03:58.389Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-06T12:03:58.426Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T12:03:58.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T12:03:58.504Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T12:03:58.545Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T12:03:58.582Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T12:03:58.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo [2022-10-06T12:03:58.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo [2022-10-06T12:03:58.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo [2022-10-06T12:03:58.739Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31862faf1f81338e15e68b6601fba369607637f [Pipeline] echo [2022-10-06T12:03:58.776Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31862f [Pipeline] echo [2022-10-06T12:03:58.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T12:03:58.922Z] provisioning config files... [2022-10-06T12:03:58.961Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-474@tmp/config3647306302532519933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:03:59.296Z] ---> docker-login.sh [2022-10-06T12:03:59.296Z] nexus3.edgexfoundry.org:10001 [2022-10-06T12:03:59.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:03:59.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:03:59.817Z] Configure a credential helper to remove this warning. See [2022-10-06T12:03:59.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:03:59.817Z] [2022-10-06T12:03:59.817Z] Login Succeeded [2022-10-06T12:03:59.817Z] nexus3.edgexfoundry.org:10002 [2022-10-06T12:03:59.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:03:59.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:03:59.817Z] Configure a credential helper to remove this warning. See [2022-10-06T12:03:59.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:03:59.817Z] [2022-10-06T12:03:59.817Z] Login Succeeded [2022-10-06T12:03:59.817Z] nexus3.edgexfoundry.org:10003 [2022-10-06T12:04:00.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:00.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:00.077Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:00.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:00.077Z] [2022-10-06T12:04:00.077Z] Login Succeeded [2022-10-06T12:04:00.077Z] nexus3.edgexfoundry.org:10004 [2022-10-06T12:04:00.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:00.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:00.077Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:00.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:00.077Z] [2022-10-06T12:04:00.077Z] Login Succeeded [2022-10-06T12:04:00.077Z] docker.io [2022-10-06T12:04:00.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:00.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:00.603Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:00.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:00.603Z] [2022-10-06T12:04:00.603Z] Login Succeeded [2022-10-06T12:04:00.603Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T12:04:00.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T12:04:01.228Z] + git rev-list -1 --merges e31862faf1f81338e15e68b6601fba369607637f~1..e31862faf1f81338e15e68b6601fba369607637f [Pipeline] echo [2022-10-06T12:04:01.274Z] -----------> git rev-list -1 --merges e31862faf1f81338e15e68b6601fba369607637f~1..e31862faf1f81338e15e68b6601fba369607637f e31862faf1f81338e15e68b6601fba369607637f [false] [Pipeline] sh [2022-10-06T12:04:01.578Z] + git log --format=format:%s -1 e31862faf1f81338e15e68b6601fba369607637f [Pipeline] echo [2022-10-06T12:04:01.612Z] ========================================================= [2022-10-06T12:04:01.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T12:04:01.612Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T12:04:02.027Z] + git log --format=format:%s -1 e31862faf1f81338e15e68b6601fba369607637f [Pipeline] echo [2022-10-06T12:04:02.059Z] [semverPrep] GIT_COMMIT: e31862faf1f81338e15e68b6601fba369607637f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-10-06T12:04:02.086Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T12:04:02.465Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T12:04:02.466Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T12:04:02.466Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T12:04:02.466Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T12:04:02.466Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T12:04:02.466Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T12:04:02.466Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:04:02.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T12:04:02.938Z] [2022-10-06T12:04:02.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:04:03.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T12:04:03.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T12:04:03.483Z] b85a868b505f: Pulling fs layer [2022-10-06T12:04:03.483Z] e2be974225ed: Pulling fs layer [2022-10-06T12:04:03.483Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T12:04:03.483Z] 988bab9f4d93: Pulling fs layer [2022-10-06T12:04:03.483Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T12:04:03.483Z] 988bab9f4d93: Waiting [2022-10-06T12:04:03.483Z] 1469e6f7b9e6: Waiting [2022-10-06T12:04:03.483Z] eaf3925da568: Pulling fs layer [2022-10-06T12:04:03.483Z] bab4dde63d76: Pulling fs layer [2022-10-06T12:04:03.483Z] bde34c3a00c8: Pulling fs layer [2022-10-06T12:04:03.483Z] b352a97aabf1: Pulling fs layer [2022-10-06T12:04:03.483Z] 4872d77fe225: Pulling fs layer [2022-10-06T12:04:03.483Z] 5851b861e8e6: Pulling fs layer [2022-10-06T12:04:03.483Z] 4872d77fe225: Waiting [2022-10-06T12:04:03.483Z] 5851b861e8e6: Waiting [2022-10-06T12:04:03.483Z] bde34c3a00c8: Waiting [2022-10-06T12:04:03.483Z] eaf3925da568: Waiting [2022-10-06T12:04:03.483Z] b352a97aabf1: Waiting [2022-10-06T12:04:03.483Z] bab4dde63d76: Waiting [2022-10-06T12:04:03.483Z] e2be974225ed: Download complete [2022-10-06T12:04:03.483Z] 988bab9f4d93: Download complete [2022-10-06T12:04:03.745Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T12:04:03.745Z] 1469e6f7b9e6: Download complete [2022-10-06T12:04:03.745Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T12:04:03.745Z] 339a4e72a1f5: Download complete [2022-10-06T12:04:03.745Z] eaf3925da568: Download complete [2022-10-06T12:04:03.745Z] bde34c3a00c8: Verifying Checksum [2022-10-06T12:04:03.745Z] bde34c3a00c8: Download complete [2022-10-06T12:04:03.745Z] 4872d77fe225: Verifying Checksum [2022-10-06T12:04:03.745Z] 4872d77fe225: Download complete [2022-10-06T12:04:03.745Z] 5851b861e8e6: Verifying Checksum [2022-10-06T12:04:03.745Z] 5851b861e8e6: Download complete [2022-10-06T12:04:03.745Z] b85a868b505f: Verifying Checksum [2022-10-06T12:04:03.745Z] b85a868b505f: Download complete [2022-10-06T12:04:04.006Z] bab4dde63d76: Verifying Checksum [2022-10-06T12:04:04.006Z] bab4dde63d76: Download complete [2022-10-06T12:04:05.388Z] b85a868b505f: Pull complete [2022-10-06T12:04:05.388Z] e2be974225ed: Pull complete [2022-10-06T12:04:05.958Z] 339a4e72a1f5: Pull complete [2022-10-06T12:04:05.958Z] 988bab9f4d93: Pull complete [2022-10-06T12:04:06.220Z] 1469e6f7b9e6: Pull complete [2022-10-06T12:04:06.478Z] eaf3925da568: Pull complete [2022-10-06T12:04:08.380Z] bab4dde63d76: Pull complete [2022-10-06T12:04:08.380Z] bde34c3a00c8: Pull complete [2022-10-06T12:04:08.380Z] b352a97aabf1: Pull complete [2022-10-06T12:04:08.640Z] 4872d77fe225: Pull complete [2022-10-06T12:04:08.640Z] 5851b861e8e6: Pull complete [2022-10-06T12:04:08.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T12:04:08.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T12:04:08.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:04:08.867Z] prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container [2022-10-06T12:04:08.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-474 -v /w/workspace/_app-service-configurable_PR-474:/w/workspace/_app-service-configurable_PR-474:rw,z -v /w/workspace/_app-service-configurable_PR-474@tmp:/w/workspace/_app-service-configurable_PR-474@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T12:04:12.416Z] $ docker top b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 -eo pid,comm [2022-10-06T12:04:12.480Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-06T12:04:12.480Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T12:04:12.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T12:04:12.592Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T12:04:12.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T12:04:12.711Z] $ docker exec b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 ssh-agent [2022-10-06T12:04:12.838Z] SSH_AUTH_SOCK=/tmp/ssh-TTdA5UwiAZSS/agent.33 [2022-10-06T12:04:12.838Z] SSH_AGENT_PID=39 [2022-10-06T12:04:12.846Z] Running ssh-add (command line suppressed) [2022-10-06T12:04:12.953Z] Identity added: /w/workspace/_app-service-configurable_PR-474@tmp/private_key_87458468705203025.key (/w/workspace/_app-service-configurable_PR-474@tmp/private_key_87458468705203025.key) [2022-10-06T12:04:12.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T12:04:13.302Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T12:04:13.328Z] $ docker exec --env ******** --env ******** b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 ssh-agent -k [2022-10-06T12:04:13.442Z] unset SSH_AUTH_SOCK; [2022-10-06T12:04:13.443Z] unset SSH_AGENT_PID; [2022-10-06T12:04:13.443Z] echo Agent pid 39 killed; [2022-10-06T12:04:13.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T12:04:13.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T12:04:13.538Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T12:04:13.644Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T12:04:13.645Z] $ docker exec b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 ssh-agent [2022-10-06T12:04:13.753Z] SSH_AUTH_SOCK=/tmp/ssh-ntdGI4aM8CzR/agent.71 [2022-10-06T12:04:13.753Z] SSH_AGENT_PID=77 [2022-10-06T12:04:13.760Z] Running ssh-add (command line suppressed) [2022-10-06T12:04:13.862Z] Identity added: /w/workspace/_app-service-configurable_PR-474@tmp/private_key_14780790358248842479.key (/w/workspace/_app-service-configurable_PR-474@tmp/private_key_14780790358248842479.key) [2022-10-06T12:04:13.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T12:04:14.201Z] + git semver init [2022-10-06T12:04:14.460Z] 2022-10-06 12:04:14,376 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T12:04:14.460Z] 2022-10-06 12:04:14,377 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-474/.semver [2022-10-06T12:04:14.460Z] 2022-10-06 12:04:14,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-474/.semver [2022-10-06T12:04:14.460Z] 2022-10-06 12:04:14,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-474/.semver'], cwd=/w/workspace/_app-service-configurable_PR-474, universal_newlines=False, shell=None, istream=None) [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,302 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-474/.git/info/exclude [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-474/.semver/PR-474 with force:False [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,303 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-474/.semver/PR-474 [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,307 [execute] INFO git cat-file --batch-check [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-474/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,314 [execute] INFO git cat-file --batch [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-474/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T12:04:15.399Z] 2022-10-06 12:04:15,319 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-474/.semver/PR-474 [2022-10-06T12:04:15.399Z] 0.0.0 [Pipeline] } [2022-10-06T12:04:15.423Z] $ docker exec --env ******** --env ******** b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 ssh-agent -k [2022-10-06T12:04:15.510Z] unset SSH_AUTH_SOCK; [2022-10-06T12:04:15.510Z] unset SSH_AGENT_PID; [2022-10-06T12:04:15.511Z] echo Agent pid 77 killed; [2022-10-06T12:04:15.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T12:04:15.920Z] + git semver [Pipeline] } [2022-10-06T12:04:16.199Z] $ docker stop --time=1 b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 [2022-10-06T12:04:17.525Z] $ docker rm -f b2a29d38399bf67c739387415a518f4c2a1ca0ca04ca27ced698cb4c0c71e024 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T12:04:17.947Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T12:04:18.213Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T12:04:18.230Z] [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-10-06T12:04:18.769Z] provisioning config files... [2022-10-06T12:04:18.779Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-474@tmp/config11865390263961718911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:04:19.118Z] ---> docker-login.sh [2022-10-06T12:04:19.118Z] nexus3.edgexfoundry.org:10001 [2022-10-06T12:04:19.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:19.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:19.118Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:19.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:19.118Z] [2022-10-06T12:04:19.118Z] Login Succeeded [2022-10-06T12:04:19.118Z] nexus3.edgexfoundry.org:10002 [2022-10-06T12:04:19.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:19.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:19.118Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:19.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:19.118Z] [2022-10-06T12:04:19.118Z] Login Succeeded [2022-10-06T12:04:19.118Z] nexus3.edgexfoundry.org:10003 [2022-10-06T12:04:19.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:19.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:19.377Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:19.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:19.377Z] [2022-10-06T12:04:19.377Z] Login Succeeded [2022-10-06T12:04:19.377Z] nexus3.edgexfoundry.org:10004 [2022-10-06T12:04:19.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:19.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:19.377Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:19.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:19.377Z] [2022-10-06T12:04:19.377Z] Login Succeeded [2022-10-06T12:04:19.377Z] docker.io [2022-10-06T12:04:19.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:04:19.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:04:19.898Z] Configure a credential helper to remove this warning. See [2022-10-06T12:04:19.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:04:19.898Z] [2022-10-06T12:04:19.898Z] Login Succeeded [2022-10-06T12:04:19.898Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T12:04:19.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T12:04:20.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T12:04:20.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T12:04:20.184Z] ========================================================= [2022-10-06T12:04:20.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T12:04:20.184Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:04:20.657Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T12:04:20.657Z] Sending build context to Docker daemon 3.142MB [2022-10-06T12:04:20.657Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T12:04:20.657Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T12:04:20.918Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T12:04:20.918Z] 2408cc74d12b: Pulling fs layer [2022-10-06T12:04:20.918Z] ea60b727a1ce: Pulling fs layer [2022-10-06T12:04:20.918Z] 30c4a7721957: Pulling fs layer [2022-10-06T12:04:20.918Z] 370296b7ddb6: Pulling fs layer [2022-10-06T12:04:20.918Z] 7c6cee850709: Pulling fs layer [2022-10-06T12:04:20.918Z] aa9baa53a306: Pulling fs layer [2022-10-06T12:04:20.918Z] 8b309c321861: Pulling fs layer [2022-10-06T12:04:20.918Z] d8d76fd02f46: Pulling fs layer [2022-10-06T12:04:20.918Z] fa31f396de31: Pulling fs layer [2022-10-06T12:04:20.918Z] 370296b7ddb6: Waiting [2022-10-06T12:04:20.918Z] d8d76fd02f46: Waiting [2022-10-06T12:04:20.918Z] fa31f396de31: Waiting [2022-10-06T12:04:20.918Z] 8b309c321861: Waiting [2022-10-06T12:04:20.918Z] 7c6cee850709: Waiting [2022-10-06T12:04:20.918Z] aa9baa53a306: Waiting [2022-10-06T12:04:20.918Z] 30c4a7721957: Verifying Checksum [2022-10-06T12:04:20.918Z] 30c4a7721957: Download complete [2022-10-06T12:04:20.918Z] ea60b727a1ce: Download complete [2022-10-06T12:04:20.918Z] 7c6cee850709: Download complete [2022-10-06T12:04:20.918Z] aa9baa53a306: Verifying Checksum [2022-10-06T12:04:20.918Z] aa9baa53a306: Download complete [2022-10-06T12:04:20.918Z] 2408cc74d12b: Download complete [2022-10-06T12:04:21.179Z] 8b309c321861: Verifying Checksum [2022-10-06T12:04:21.179Z] 8b309c321861: Download complete [2022-10-06T12:04:21.179Z] 2408cc74d12b: Pull complete [2022-10-06T12:04:21.453Z] ea60b727a1ce: Pull complete [2022-10-06T12:04:21.715Z] fa31f396de31: Verifying Checksum [2022-10-06T12:04:21.715Z] fa31f396de31: Download complete [2022-10-06T12:04:21.715Z] d8d76fd02f46: Verifying Checksum [2022-10-06T12:04:21.715Z] d8d76fd02f46: Download complete [2022-10-06T12:04:21.975Z] 370296b7ddb6: Verifying Checksum [2022-10-06T12:04:21.975Z] 370296b7ddb6: Download complete [2022-10-06T12:04:21.975Z] 30c4a7721957: Pull complete [2022-10-06T12:04:26.168Z] 370296b7ddb6: Pull complete [2022-10-06T12:04:26.168Z] 7c6cee850709: Pull complete [2022-10-06T12:04:26.427Z] aa9baa53a306: Pull complete [2022-10-06T12:04:26.427Z] 8b309c321861: Pull complete [2022-10-06T12:04:28.956Z] d8d76fd02f46: Pull complete [2022-10-06T12:04:29.214Z] fa31f396de31: Pull complete [2022-10-06T12:04:29.214Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T12:04:29.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T12:04:29.214Z] ---> cef68f9685f8 [2022-10-06T12:04:29.214Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-06T12:04:33.610Z] Still waiting to schedule task [2022-10-06T12:04:33.611Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-06T12:04:35.866Z] ---> Running in 30c8f6964220 [2022-10-06T12:04:35.866Z] Removing intermediate container 30c8f6964220 [2022-10-06T12:04:35.866Z] ---> 987c4e47854a [2022-10-06T12:04:35.866Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T12:04:35.866Z] ---> Running in 5d652e4d00ed [2022-10-06T12:04:35.866Z] Removing intermediate container 5d652e4d00ed [2022-10-06T12:04:35.866Z] ---> 981ee5408a25 [2022-10-06T12:04:35.866Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T12:04:36.124Z] ---> Running in d0ff66351344 [2022-10-06T12:04:36.124Z] Removing intermediate container d0ff66351344 [2022-10-06T12:04:36.124Z] ---> a5f91337a6a1 [2022-10-06T12:04:36.124Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:04:36.124Z] ---> Running in 42b4f2c52fec [2022-10-06T12:04:36.384Z] Removing intermediate container 42b4f2c52fec [2022-10-06T12:04:36.384Z] ---> cd944c46a6c5 [2022-10-06T12:04:36.384Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T12:04:36.384Z] ---> Running in 71bc826b7d3b [2022-10-06T12:04:37.323Z] Removing intermediate container 71bc826b7d3b [2022-10-06T12:04:37.323Z] ---> 78407a87ed9d [2022-10-06T12:04:37.323Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T12:04:37.323Z] ---> Running in 200bff1026ad [2022-10-06T12:04:37.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T12:04:38.825Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T12:04:39.084Z] OK: 211 MiB in 51 packages [2022-10-06T12:04:39.343Z] Removing intermediate container 200bff1026ad [2022-10-06T12:04:39.343Z] ---> ca24b5685397 [2022-10-06T12:04:39.343Z] Step 9/14 : WORKDIR /app [2022-10-06T12:04:39.602Z] ---> Running in e4c89fed767c [2022-10-06T12:04:39.865Z] Removing intermediate container e4c89fed767c [2022-10-06T12:04:39.865Z] ---> fada0189e0b5 [2022-10-06T12:04:39.865Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-06T12:04:40.125Z] ---> 2d0177a86ba4 [2022-10-06T12:04:40.125Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T12:04:40.384Z] ---> Running in ec18ae232511 [2022-10-06T12:05:19.141Z] Removing intermediate container ec18ae232511 [2022-10-06T12:05:19.141Z] ---> 26aff845700b [2022-10-06T12:05:19.141Z] Step 12/14 : COPY . . [2022-10-06T12:05:19.141Z] ---> 463c3bc491b3 [2022-10-06T12:05:19.141Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T12:05:19.141Z] ---> Running in 3da8ac18ea52 [2022-10-06T12:05:19.141Z] Removing intermediate container 3da8ac18ea52 [2022-10-06T12:05:19.141Z] ---> 5ba332466ccb [2022-10-06T12:05:19.141Z] Step 14/14 : RUN $MAKE [2022-10-06T12:05:19.141Z] ---> Running in dfcf61e00151 [2022-10-06T12:05:19.141Z] noop [2022-10-06T12:05:19.141Z] Removing intermediate container dfcf61e00151 [2022-10-06T12:05:19.141Z] ---> 1feed8a3e3a7 [2022-10-06T12:05:19.141Z] Successfully built 1feed8a3e3a7 [2022-10-06T12:05:19.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:05:19.585Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T12:05:19.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:05:19.729Z] prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container [2022-10-06T12:05:19.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-474 -v /w/workspace/_app-service-configurable_PR-474:/w/workspace/_app-service-configurable_PR-474:rw,z -v /w/workspace/_app-service-configurable_PR-474@tmp:/w/workspace/_app-service-configurable_PR-474@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 ******** ci-base-image-x86_64 cat [2022-10-06T12:05:20.142Z] $ docker top 953eb2085df0191ef7c1fe82133391bc73ac93d792396a6e5c1ce4909c2132e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T12:05:20.530Z] + go version [2022-10-06T12:05:20.530Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T12:05:20.558Z] $ docker stop --time=1 953eb2085df0191ef7c1fe82133391bc73ac93d792396a6e5c1ce4909c2132e0 [2022-10-06T12:05:22.028Z] $ docker rm -f 953eb2085df0191ef7c1fe82133391bc73ac93d792396a6e5c1ce4909c2132e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:05:22.720Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T12:05:22.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:05:22.857Z] prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container [2022-10-06T12:05:22.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-474 -v /w/workspace/_app-service-configurable_PR-474:/w/workspace/_app-service-configurable_PR-474:rw,z -v /w/workspace/_app-service-configurable_PR-474@tmp:/w/workspace/_app-service-configurable_PR-474@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 ******** ci-base-image-x86_64 cat [2022-10-06T12:05:23.389Z] $ docker top 6ad6a9932331ecb0ff450c6fa7cdcccfea0e3f57e6bd7494da6a485b1fabaf9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T12:05:23.778Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-474 [Pipeline] fileExists [Pipeline] sh [2022-10-06T12:05:24.137Z] + make test [2022-10-06T12:05:24.137Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-10-06T12:05:34.101Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-10-06T12:05:34.101Z] CGO_ENABLED=1 go vet ./... [2022-10-06T12:05:38.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T12:05:38.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T12:05:38.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-06T12:05:38.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-06T12:05:38.350Z] $ docker stop --time=1 6ad6a9932331ecb0ff450c6fa7cdcccfea0e3f57e6bd7494da6a485b1fabaf9a [2022-10-06T12:05:41.136Z] $ docker rm -f 6ad6a9932331ecb0ff450c6fa7cdcccfea0e3f57e6bd7494da6a485b1fabaf9a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T12:05:41.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-06T12:05:41.734Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-06T12:05:42.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-06T12:05:42.812Z] + ls -al . [2022-10-06T12:05:42.812Z] total 176 [2022-10-06T12:05:42.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 12:05 . [2022-10-06T12:05:42.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 12:03 .. [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 6 12:03 .dockerignore [2022-10-06T12:05:42.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 12:04 .git [2022-10-06T12:05:42.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 12:03 .github [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 171 Oct 6 12:03 .gitignore [2022-10-06T12:05:42.812Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 12:04 .semver [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 9207 Oct 6 12:03 Attribution.txt [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 27269 Oct 6 12:03 CHANGELOG.md [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 2146 Oct 6 12:03 Dockerfile [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 12:03 GOVERNANCE.md [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 688 Oct 6 12:03 Jenkinsfile [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 12:03 LICENSE [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 12:03 OWNERS.md [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 4369 Oct 6 12:03 README.md [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 12:04 VERSION [2022-10-06T12:05:42.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 12:03 bin [2022-10-06T12:05:42.812Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 6 12:05 coverage.out [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 6 12:03 go.mod [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 37326 Oct 6 12:03 go.sum [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 1949 Oct 6 12:03 main.go [2022-10-06T12:05:42.812Z] -rw-rw-r-- 1 jenkins jenkins 2185 Oct 6 12:03 makefile [2022-10-06T12:05:42.812Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 12:03 res [2022-10-06T12:05:42.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 12:03 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:05:43.201Z] + 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=e31862faf1f81338e15e68b6601fba369607637f --label arch=amd64 --label version=0.0.0 . [2022-10-06T12:05:43.201Z] Sending build context to Docker daemon 3.143MB [2022-10-06T12:05:43.201Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T12:05:43.201Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-06T12:05:43.201Z] ---> 1feed8a3e3a7 [2022-10-06T12:05:43.201Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-06T12:05:43.461Z] ---> Running in d3df9ccf75df [2022-10-06T12:05:43.461Z] Removing intermediate container d3df9ccf75df [2022-10-06T12:05:43.461Z] ---> cbff7ac37e14 [2022-10-06T12:05:43.461Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T12:05:43.461Z] ---> Running in 1d97289d9c4b [2022-10-06T12:05:44.399Z] Removing intermediate container 1d97289d9c4b [2022-10-06T12:05:44.399Z] ---> 0f0852a6cd32 [2022-10-06T12:05:44.399Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-10-06T12:05:44.399Z] ---> Running in da84667cd097 [2022-10-06T12:05:44.399Z] Removing intermediate container da84667cd097 [2022-10-06T12:05:44.399Z] ---> a910fc26175e [2022-10-06T12:05:44.399Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:05:44.399Z] ---> Running in 99933643af94 [2022-10-06T12:05:44.660Z] Removing intermediate container 99933643af94 [2022-10-06T12:05:44.660Z] ---> 846544f049ea [2022-10-06T12:05:44.660Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T12:05:44.660Z] ---> Running in 76f4b209f93d [2022-10-06T12:05:45.230Z] Removing intermediate container 76f4b209f93d [2022-10-06T12:05:45.230Z] ---> c96dabd85b81 [2022-10-06T12:05:45.230Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T12:05:45.230Z] ---> Running in 4697de0cf0d4 [2022-10-06T12:05:45.490Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T12:05:46.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T12:05:46.689Z] OK: 211 MiB in 51 packages [2022-10-06T12:05:47.261Z] Removing intermediate container 4697de0cf0d4 [2022-10-06T12:05:47.261Z] ---> aaceddfec92e [2022-10-06T12:05:47.261Z] Step 9/28 : WORKDIR /app [2022-10-06T12:05:47.261Z] ---> Running in 73a653d2f0d3 [2022-10-06T12:05:47.828Z] Removing intermediate container 73a653d2f0d3 [2022-10-06T12:05:47.828Z] ---> 2e7794ec0b93 [2022-10-06T12:05:47.828Z] Step 10/28 : COPY go.mod vendor* ./ [2022-10-06T12:05:47.828Z] ---> 5df0eb50e1f0 [2022-10-06T12:05:47.828Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T12:05:48.086Z] ---> Running in e7997aaea369 [2022-10-06T12:05:49.467Z] Removing intermediate container e7997aaea369 [2022-10-06T12:05:49.467Z] ---> 3dffb9e08089 [2022-10-06T12:05:49.467Z] Step 12/28 : COPY . . [2022-10-06T12:05:49.467Z] ---> c6d0bafef5d8 [2022-10-06T12:05:49.467Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T12:05:49.724Z] ---> Running in ebc47cb7ec9d [2022-10-06T12:05:49.724Z] Removing intermediate container ebc47cb7ec9d [2022-10-06T12:05:49.724Z] ---> 1ce3c9296450 [2022-10-06T12:05:49.724Z] Step 14/28 : RUN $MAKE [2022-10-06T12:05:49.724Z] ---> Running in c29a38151dfd [2022-10-06T12:05:49.984Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-10-06T12:06:01.276Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7269 in /w/workspace/_app-service-configurable_PR-474 [Pipeline] { [Pipeline] ws [2022-10-06T12:06:01.319Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-10-06T12:06:01.395Z] Selected Git installation does not exist. Using Default [2022-10-06T12:06:01.395Z] The recommended git tool is: NONE [2022-10-06T12:06:06.542Z] using credential edgex-jenkins-ssh [2022-10-06T12:06:06.562Z] Cloning the remote Git repository [2022-10-06T12:06:06.600Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-10-06T12:06:06.673Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-10-06T12:06:06.802Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-10-06T12:06:06.803Z] > git --version # timeout=10 [2022-10-06T12:06:06.822Z] > git --version # 'git version 2.25.1' [2022-10-06T12:06:06.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T12:06:06.868Z] Verifying host key using known hosts file [2022-10-06T12:06:07.057Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T12:06:07.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T12:06:08.166Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-10-06T12:06:08.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T12:06:09.588Z] Merging remotes/origin/main commit 4a685ee38dea662665d79d6c95481bff5d89fc51 into PR head commit e31862faf1f81338e15e68b6601fba369607637f [2022-10-06T12:06:09.786Z] Merge succeeded, producing e31862faf1f81338e15e68b6601fba369607637f [2022-10-06T12:06:09.787Z] Checking out Revision e31862faf1f81338e15e68b6601fba369607637f (PR-474) [2022-10-06T12:06:08.987Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-10-06T12:06:09.029Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-10-06T12:06:09.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T12:06:09.035Z] Verifying host key using known hosts file [2022-10-06T12:06:09.043Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T12:06:09.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-06T12:06:09.603Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T12:06:09.617Z] > git checkout -f e31862faf1f81338e15e68b6601fba369607637f # timeout=10 [2022-10-06T12:06:09.690Z] > git remote # timeout=10 [2022-10-06T12:06:09.706Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T12:06:09.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T12:06:09.724Z] Verifying host key using known hosts file [2022-10-06T12:06:09.730Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T12:06:09.742Z] > git merge 4a685ee38dea662665d79d6c95481bff5d89fc51 # timeout=10 [2022-10-06T12:06:09.766Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T12:06:09.790Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T12:06:09.805Z] > git checkout -f e31862faf1f81338e15e68b6601fba369607637f # timeout=10 [2022-10-06T12:06:10.263Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-10-06T12:06:10.310Z] > git --version # timeout=10 [2022-10-06T12:06:10.325Z] > git --version # 'git version 2.25.1' [2022-10-06T12:06:10.343Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T12:06:11.454Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T12:06:11.454Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T12:06:11.454Z] Dload Upload Total Spent Left Speed [2022-10-06T12:06:11.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh [2022-10-06T12:06:12.068Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T12:06:12.413Z] + sudo tee /etc/docker/daemon.new [2022-10-06T12:06:12.413Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T12:06:12.413Z] { [2022-10-06T12:06:12.413Z] "registry-mirrors": [ [2022-10-06T12:06:12.413Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T12:06:12.413Z] ], [2022-10-06T12:06:12.413Z] "bip": "10.250.0.254/24", [2022-10-06T12:06:12.413Z] "hosts": [ [2022-10-06T12:06:12.413Z] "tcp://0.0.0.0:5555", [2022-10-06T12:06:12.413Z] "unix:///var/run/docker.sock" [2022-10-06T12:06:12.413Z] ], [2022-10-06T12:06:12.413Z] "mtu": 1458, [2022-10-06T12:06:12.413Z] "selinux-enabled": true, [2022-10-06T12:06:12.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T12:06:12.413Z] } [Pipeline] sh [2022-10-06T12:06:12.758Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T12:06:13.105Z] + sudo service docker restart [2022-10-06T12:06:16.535Z] Removing intermediate container c29a38151dfd [2022-10-06T12:06:16.535Z] ---> ae888dbc56a2 [2022-10-06T12:06:16.535Z] Step 15/28 : FROM alpine:3.16 [2022-10-06T12:06:16.535Z] 3.16: Pulling from library/alpine [2022-10-06T12:06:16.535Z] 213ec9aee27d: Pulling fs layer [2022-10-06T12:06:16.535Z] 213ec9aee27d: Verifying Checksum [2022-10-06T12:06:16.535Z] 213ec9aee27d: Download complete [2022-10-06T12:06:16.795Z] 213ec9aee27d: Pull complete [2022-10-06T12:06:16.795Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-06T12:06:16.795Z] Status: Downloaded newer image for alpine:3.16 [2022-10-06T12:06:16.795Z] ---> 9c6f07244728 [2022-10-06T12:06:16.795Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:06:16.795Z] ---> Running in 8367118dfe70 [2022-10-06T12:06:17.055Z] Removing intermediate container 8367118dfe70 [2022-10-06T12:06:17.055Z] ---> 7d7a4028e5ea [2022-10-06T12:06:17.055Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-10-06T12:06:17.055Z] ---> Running in 6a786d3800d4 [2022-10-06T12:06:17.055Z] Removing intermediate container 6a786d3800d4 [2022-10-06T12:06:17.055Z] ---> c88fd014f7b4 [2022-10-06T12:06:17.055Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-10-06T12:06:17.055Z] ---> Running in 5c4c37e77310 [2022-10-06T12:06:17.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T12:06:17.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T12:06:17.833Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-06T12:06:17.833Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-06T12:06:17.833Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-10-06T12:06:17.833Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-06T12:06:17.833Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-06T12:06:17.833Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-06T12:06:17.833Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-06T12:06:17.833Z] Executing busybox-1.35.0-r17.trigger [2022-10-06T12:06:17.833Z] Executing ca-certificates-20220614-r0.trigger [2022-10-06T12:06:17.833Z] OK: 9 MiB in 21 packages [2022-10-06T12:06:18.402Z] Removing intermediate container 5c4c37e77310 [2022-10-06T12:06:18.402Z] ---> 226eb449804b [2022-10-06T12:06:18.402Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-06T12:06:18.661Z] ---> 881225f8eaf9 [2022-10-06T12:06:18.661Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-06T12:06:18.921Z] ---> 9eeda3af05b4 [2022-10-06T12:06:18.921Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-10-06T12:06:18.921Z] ---> 36f22f06cff3 [2022-10-06T12:06:18.921Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-10-06T12:06:19.902Z] ---> ec2cc15cda09 [2022-10-06T12:06:19.902Z] Step 23/28 : EXPOSE 48095 [2022-10-06T12:06:19.902Z] ---> Running in ad726cdb68c0 [2022-10-06T12:06:19.902Z] Removing intermediate container ad726cdb68c0 [2022-10-06T12:06:19.902Z] ---> dc747d90dce6 [2022-10-06T12:06:19.902Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-10-06T12:06:19.902Z] ---> Running in ea5289ab1e96 [2022-10-06T12:06:19.902Z] Removing intermediate container ea5289ab1e96 [2022-10-06T12:06:19.902Z] ---> 5d5e42898f4c [2022-10-06T12:06:19.902Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-06T12:06:19.902Z] ---> Running in fedf7f36cc14 [2022-10-06T12:06:19.902Z] Removing intermediate container fedf7f36cc14 [2022-10-06T12:06:19.902Z] ---> f40c9f105cff [2022-10-06T12:06:19.902Z] Step 26/28 : LABEL arch=amd64 [2022-10-06T12:06:19.902Z] ---> Running in 076b206757b6 [2022-10-06T12:06:20.160Z] Removing intermediate container 076b206757b6 [2022-10-06T12:06:20.160Z] ---> b6e67efd13ac [2022-10-06T12:06:20.160Z] Step 27/28 : LABEL git_sha=e31862faf1f81338e15e68b6601fba369607637f [2022-10-06T12:06:20.160Z] ---> Running in 35a28920be3b [2022-10-06T12:06:20.160Z] Removing intermediate container 35a28920be3b [2022-10-06T12:06:20.160Z] ---> d13fbf8937c9 [2022-10-06T12:06:20.160Z] Step 28/28 : LABEL version=0.0.0 [2022-10-06T12:06:20.160Z] ---> Running in b501de585aeb [2022-10-06T12:06:20.419Z] Removing intermediate container b501de585aeb [2022-10-06T12:06:20.419Z] ---> 43b38f1bcf97 [2022-10-06T12:06:20.419Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-06T12:06:20.419Z] Successfully built 43b38f1bcf97 [2022-10-06T12:06:20.419Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:06:21.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T12:06:21.334Z] [2022-10-06T12:06:21.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:06:21.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T12:06:21.727Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T12:06:21.727Z] 5eb5b503b376: Pulling fs layer [2022-10-06T12:06:21.727Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T12:06:21.727Z] ec43610c2a17: Pulling fs layer [2022-10-06T12:06:21.727Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T12:06:21.727Z] 33b1e0a273af: Pulling fs layer [2022-10-06T12:06:21.727Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T12:06:21.727Z] 2f39f015ded8: Pulling fs layer [2022-10-06T12:06:21.727Z] 33b1e0a273af: Waiting [2022-10-06T12:06:21.727Z] 5d3b04190fa2: Waiting [2022-10-06T12:06:21.727Z] 2f39f015ded8: Waiting [2022-10-06T12:06:21.727Z] 3a2ae6a8a46f: Waiting [2022-10-06T12:06:21.727Z] 5c69ac0246d0: Download complete [2022-10-06T12:06:21.727Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-06T12:06:21.727Z] 3a2ae6a8a46f: Download complete [2022-10-06T12:06:21.987Z] 33b1e0a273af: Verifying Checksum [2022-10-06T12:06:21.987Z] 33b1e0a273af: Download complete [2022-10-06T12:06:21.987Z] 5d3b04190fa2: Verifying Checksum [2022-10-06T12:06:21.987Z] 5d3b04190fa2: Download complete [2022-10-06T12:06:21.987Z] ec43610c2a17: Verifying Checksum [2022-10-06T12:06:21.987Z] ec43610c2a17: Download complete [2022-10-06T12:06:22.246Z] 5eb5b503b376: Verifying Checksum [2022-10-06T12:06:22.246Z] 5eb5b503b376: Download complete [2022-10-06T12:06:22.814Z] 2f39f015ded8: Download complete [2022-10-06T12:06:23.386Z] 5eb5b503b376: Pull complete [2022-10-06T12:06:23.645Z] 5c69ac0246d0: Pull complete [2022-10-06T12:06:24.217Z] ec43610c2a17: Pull complete [2022-10-06T12:06:24.217Z] 3a2ae6a8a46f: Pull complete [2022-10-06T12:06:24.478Z] 33b1e0a273af: Pull complete [2022-10-06T12:06:24.478Z] 5d3b04190fa2: Pull complete [2022-10-06T12:06:29.817Z] 2f39f015ded8: Pull complete [2022-10-06T12:06:29.817Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T12:06:29.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T12:06:29.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:06:30.056Z] prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container [2022-10-06T12:06:30.086Z] $ 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-474 -v /w/workspace/_app-service-configurable_PR-474:/w/workspace/_app-service-configurable_PR-474:rw,z -v /w/workspace/_app-service-configurable_PR-474@tmp:/w/workspace/_app-service-configurable_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T12:06:34.932Z] $ docker top 5c032c7ee4845ef5903749eca4bdc187ba301628bd5acbe5bcf06f6fda50e835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2022-10-06T12:06:35.206Z] provisioning config files... [2022-10-06T12:06:35.236Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15117388497296601269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:06:35.448Z] ---> job-cost.sh [2022-10-06T12:06:35.448Z] lf-activate-venv: SKIPPING [2022-10-06T12:06:35.448Z] INFO: No Stack... [2022-10-06T12:06:35.615Z] ---> docker-login.sh [2022-10-06T12:06:35.615Z] nexus3.edgexfoundry.org:10001 [2022-10-06T12:06:35.707Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T12:06:36.275Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T12:06:36.588Z] + cat /w/workspace/_app-service-configurable_PR-474/archives/cost.csv [2022-10-06T12:06:36.588Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T12:06:36.628Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [2022-10-06T12:06:36.636Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] did not exist. Created. [2022-10-06T12:06:36.637Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T12:06:37.019Z] + echo total: 0.2199999988079071 [2022-10-06T12:06:37.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:06:37.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:06:37.034Z] Configure a credential helper to remove this warning. See [2022-10-06T12:06:37.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:06:37.034Z] [2022-10-06T12:06:37.034Z] Login Succeeded [2022-10-06T12:06:37.034Z] nexus3.edgexfoundry.org:10002 [Pipeline] stash [2022-10-06T12:06:37.083Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T12:06:37.118Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T12:06:37.200Z] $ docker stop --time=1 5c032c7ee4845ef5903749eca4bdc187ba301628bd5acbe5bcf06f6fda50e835 [2022-10-06T12:06:37.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:06:37.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:06:37.574Z] Configure a credential helper to remove this warning. See [2022-10-06T12:06:37.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:06:37.574Z] [2022-10-06T12:06:37.574Z] Login Succeeded [2022-10-06T12:06:37.574Z] nexus3.edgexfoundry.org:10003 [2022-10-06T12:06:37.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:06:37.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:06:37.844Z] Configure a credential helper to remove this warning. See [2022-10-06T12:06:37.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:06:37.844Z] [2022-10-06T12:06:37.844Z] Login Succeeded [2022-10-06T12:06:37.844Z] nexus3.edgexfoundry.org:10004 [2022-10-06T12:06:38.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:06:38.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:06:38.114Z] Configure a credential helper to remove this warning. See [2022-10-06T12:06:38.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:06:38.114Z] [2022-10-06T12:06:38.114Z] Login Succeeded [2022-10-06T12:06:38.114Z] docker.io [2022-10-06T12:06:38.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T12:06:38.402Z] $ docker rm -f 5c032c7ee4845ef5903749eca4bdc187ba301628bd5acbe5bcf06f6fda50e835 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T12:06:38.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T12:06:38.967Z] Configure a credential helper to remove this warning. See [2022-10-06T12:06:38.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T12:06:38.967Z] [2022-10-06T12:06:38.967Z] Login Succeeded [2022-10-06T12:06:38.967Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T12:06:38.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T12:06:39.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T12:06:39.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T12:06:39.358Z] ========================================================= [2022-10-06T12:06:39.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T12:06:39.358Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:06:39.846Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T12:06:39.846Z] Sending build context to Docker daemon 207.4kB [2022-10-06T12:06:40.117Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T12:06:40.117Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T12:06:40.117Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T12:06:40.117Z] b3c136eddcbf: Pulling fs layer [2022-10-06T12:06:40.117Z] c0a3192eca97: Pulling fs layer [2022-10-06T12:06:40.117Z] a050256f5b6f: Pulling fs layer [2022-10-06T12:06:40.117Z] 656be50a0ddc: Pulling fs layer [2022-10-06T12:06:40.117Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T12:06:40.117Z] f607e4fc86c3: Pulling fs layer [2022-10-06T12:06:40.117Z] 4d572c569a2c: Pulling fs layer [2022-10-06T12:06:40.117Z] fcf976331f73: Pulling fs layer [2022-10-06T12:06:40.117Z] 656be50a0ddc: Waiting [2022-10-06T12:06:40.117Z] f607e4fc86c3: Waiting [2022-10-06T12:06:40.117Z] 4d572c569a2c: Waiting [2022-10-06T12:06:40.117Z] 2bbca73fdf42: Waiting [2022-10-06T12:06:40.117Z] a050256f5b6f: Download complete [2022-10-06T12:06:40.117Z] c0a3192eca97: Verifying Checksum [2022-10-06T12:06:40.117Z] c0a3192eca97: Download complete [2022-10-06T12:06:40.385Z] 2bbca73fdf42: Verifying Checksum [2022-10-06T12:06:40.385Z] 2bbca73fdf42: Download complete [2022-10-06T12:06:40.385Z] f607e4fc86c3: Verifying Checksum [2022-10-06T12:06:40.385Z] f607e4fc86c3: Download complete [2022-10-06T12:06:40.385Z] b3c136eddcbf: Download complete [2022-10-06T12:06:41.356Z] b3c136eddcbf: Pull complete [2022-10-06T12:06:41.356Z] fcf976331f73: Verifying Checksum [2022-10-06T12:06:41.356Z] fcf976331f73: Download complete [2022-10-06T12:06:41.630Z] c0a3192eca97: Pull complete [2022-10-06T12:06:42.218Z] a050256f5b6f: Pull complete [2022-10-06T12:06:42.489Z] 4d572c569a2c: Verifying Checksum [2022-10-06T12:06:42.490Z] 4d572c569a2c: Download complete [2022-10-06T12:06:43.074Z] 656be50a0ddc: Verifying Checksum [2022-10-06T12:06:43.074Z] 656be50a0ddc: Download complete [2022-10-06T12:06:55.473Z] 656be50a0ddc: Pull complete [2022-10-06T12:06:55.473Z] 2bbca73fdf42: Pull complete [2022-10-06T12:06:55.473Z] f607e4fc86c3: Pull complete [2022-10-06T12:07:00.825Z] 4d572c569a2c: Pull complete [2022-10-06T12:07:03.411Z] fcf976331f73: Pull complete [2022-10-06T12:07:03.412Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T12:07:03.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T12:07:03.412Z] ---> 3970a7415f9e [2022-10-06T12:07:03.412Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-06T12:07:04.378Z] ---> Running in 25b912b7a4c8 [2022-10-06T12:07:04.378Z] Removing intermediate container 25b912b7a4c8 [2022-10-06T12:07:04.378Z] ---> 988025a8f41b [2022-10-06T12:07:04.378Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T12:07:04.645Z] ---> Running in 7e5223e407cc [2022-10-06T12:07:04.914Z] Removing intermediate container 7e5223e407cc [2022-10-06T12:07:04.914Z] ---> 10c923af31d7 [2022-10-06T12:07:04.914Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T12:07:04.914Z] ---> Running in 44710de36d3c [2022-10-06T12:07:05.186Z] Removing intermediate container 44710de36d3c [2022-10-06T12:07:05.186Z] ---> e2e34c2c77ba [2022-10-06T12:07:05.186Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:07:05.452Z] ---> Running in 4b99006798e1 [2022-10-06T12:07:05.720Z] Removing intermediate container 4b99006798e1 [2022-10-06T12:07:05.720Z] ---> b88cf215df5c [2022-10-06T12:07:05.720Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T12:07:05.720Z] ---> Running in f99842a49458 [2022-10-06T12:07:07.667Z] Removing intermediate container f99842a49458 [2022-10-06T12:07:07.667Z] ---> 4786e91c0d07 [2022-10-06T12:07:07.667Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T12:07:07.667Z] ---> Running in 3ac72c2c6404 [2022-10-06T12:07:08.249Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T12:07:09.209Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T12:07:10.173Z] OK: 221 MiB in 51 packages [2022-10-06T12:07:11.140Z] Removing intermediate container 3ac72c2c6404 [2022-10-06T12:07:11.140Z] ---> 97c0adb77c9e [2022-10-06T12:07:11.140Z] Step 9/14 : WORKDIR /app [2022-10-06T12:07:11.140Z] ---> Running in ecae57b35900 [2022-10-06T12:07:11.409Z] Removing intermediate container ecae57b35900 [2022-10-06T12:07:11.409Z] ---> b5dfc668da6d [2022-10-06T12:07:11.409Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-06T12:07:11.994Z] ---> d3a17f7982c2 [2022-10-06T12:07:11.994Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T12:07:11.994Z] ---> Running in 100bcf57ae30 [2022-10-06T12:07:58.843Z] Removing intermediate container 100bcf57ae30 [2022-10-06T12:07:58.843Z] ---> b3617f41b2d0 [2022-10-06T12:07:58.843Z] Step 12/14 : COPY . . [2022-10-06T12:07:59.821Z] ---> 39939d3cd46a [2022-10-06T12:07:59.821Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T12:07:59.821Z] ---> Running in 701b5cecd159 [2022-10-06T12:07:59.821Z] Removing intermediate container 701b5cecd159 [2022-10-06T12:07:59.821Z] ---> d79357e2235d [2022-10-06T12:07:59.821Z] Step 14/14 : RUN $MAKE [2022-10-06T12:08:00.092Z] ---> Running in 32608e79e452 [2022-10-06T12:08:01.056Z] noop [2022-10-06T12:08:01.645Z] Removing intermediate container 32608e79e452 [2022-10-06T12:08:01.645Z] ---> 143a1841e63c [2022-10-06T12:08:01.645Z] Successfully built 143a1841e63c [2022-10-06T12:08:01.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:08:02.121Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T12:08:02.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:08:02.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container [2022-10-06T12:08:02.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T12:08:03.610Z] $ docker top b05189494a3e4cbe40fa0abce48bd73a94ee29e286d6d5e346801eec4d0cae38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T12:08:04.477Z] + go version [2022-10-06T12:08:04.477Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T12:08:04.511Z] $ docker stop --time=1 b05189494a3e4cbe40fa0abce48bd73a94ee29e286d6d5e346801eec4d0cae38 [2022-10-06T12:08:06.079Z] $ docker rm -f b05189494a3e4cbe40fa0abce48bd73a94ee29e286d6d5e346801eec4d0cae38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:08:06.892Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T12:08:06.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:08:07.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container [2022-10-06T12:08:07.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T12:08:08.322Z] $ docker top 1e4374f00bbc7291a21862047ba68d4ae3a8ab2698ac67b04dbcbfac20f15358 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T12:08:08.875Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh [2022-10-06T12:08:09.578Z] + make test [2022-10-06T12:08:09.578Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-10-06T12:09:31.221Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-10-06T12:09:31.221Z] CGO_ENABLED=1 go vet ./... [2022-10-06T12:09:46.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T12:09:46.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T12:09:46.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-06T12:09:46.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-06T12:09:46.296Z] $ docker stop --time=1 1e4374f00bbc7291a21862047ba68d4ae3a8ab2698ac67b04dbcbfac20f15358 [2022-10-06T12:09:48.047Z] $ docker rm -f 1e4374f00bbc7291a21862047ba68d4ae3a8ab2698ac67b04dbcbfac20f15358 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T12:09:48.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-06T12:09:49.032Z] Warning: overwriting stash ‘coverage-report’ [2022-10-06T12:09:49.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T12:09:49.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-06T12:09:50.327Z] + ls -al . [2022-10-06T12:09:50.327Z] total 172 [2022-10-06T12:09:50.327Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 6 12:08 . [2022-10-06T12:09:50.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 12:06 .. [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 6 12:06 .dockerignore [2022-10-06T12:09:50.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 12:06 .git [2022-10-06T12:09:50.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 12:06 .github [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 171 Oct 6 12:06 .gitignore [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 9207 Oct 6 12:06 Attribution.txt [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 27269 Oct 6 12:06 CHANGELOG.md [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 2146 Oct 6 12:06 Dockerfile [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 12:06 GOVERNANCE.md [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 688 Oct 6 12:06 Jenkinsfile [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 12:06 LICENSE [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 12:06 OWNERS.md [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 4369 Oct 6 12:06 README.md [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 12:04 VERSION [2022-10-06T12:09:50.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 12:06 bin [2022-10-06T12:09:50.327Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 6 12:08 coverage.out [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 6 12:06 go.mod [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 37326 Oct 6 12:06 go.sum [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 1949 Oct 6 12:06 main.go [2022-10-06T12:09:50.327Z] -rw-rw-r-- 1 jenkins jenkins 2185 Oct 6 12:06 makefile [2022-10-06T12:09:50.327Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 12:06 res [2022-10-06T12:09:50.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 12:06 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:09:50.737Z] + 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=e31862faf1f81338e15e68b6601fba369607637f --label arch=arm64 --label version=0.0.0 . [2022-10-06T12:09:50.737Z] Sending build context to Docker daemon 208.4kB [2022-10-06T12:09:51.003Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T12:09:51.003Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-06T12:09:51.003Z] ---> 143a1841e63c [2022-10-06T12:09:51.003Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-06T12:09:51.003Z] ---> Running in 5aee5f78af02 [2022-10-06T12:09:51.271Z] Removing intermediate container 5aee5f78af02 [2022-10-06T12:09:51.271Z] ---> 53eeb4a51995 [2022-10-06T12:09:51.271Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T12:09:51.271Z] ---> Running in 7d7b91bcdd13 [2022-10-06T12:09:51.537Z] Removing intermediate container 7d7b91bcdd13 [2022-10-06T12:09:51.537Z] ---> c95e307667ad [2022-10-06T12:09:51.537Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-10-06T12:09:51.807Z] ---> Running in 734ac686104d [2022-10-06T12:09:52.077Z] Removing intermediate container 734ac686104d [2022-10-06T12:09:52.077Z] ---> eb0f89cc43d1 [2022-10-06T12:09:52.077Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:09:52.077Z] ---> Running in af31bc5e67dd [2022-10-06T12:09:52.350Z] Removing intermediate container af31bc5e67dd [2022-10-06T12:09:52.350Z] ---> 8ad571d865c2 [2022-10-06T12:09:52.350Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T12:09:52.350Z] ---> Running in 25e774b5199c [2022-10-06T12:09:54.307Z] Removing intermediate container 25e774b5199c [2022-10-06T12:09:54.307Z] ---> c2def227ab8b [2022-10-06T12:09:54.307Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T12:09:54.307Z] ---> Running in f45b4365b1d0 [2022-10-06T12:09:54.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T12:09:55.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T12:09:56.803Z] OK: 221 MiB in 51 packages [2022-10-06T12:09:57.771Z] Removing intermediate container f45b4365b1d0 [2022-10-06T12:09:57.771Z] ---> 451e96b81d53 [2022-10-06T12:09:57.771Z] Step 9/28 : WORKDIR /app [2022-10-06T12:09:57.771Z] ---> Running in 6680717ba7cd [2022-10-06T12:09:57.771Z] Removing intermediate container 6680717ba7cd [2022-10-06T12:09:57.771Z] ---> 8b460de9e942 [2022-10-06T12:09:57.771Z] Step 10/28 : COPY go.mod vendor* ./ [2022-10-06T12:09:58.361Z] ---> 9c6e149cbc63 [2022-10-06T12:09:58.361Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T12:09:58.361Z] ---> Running in 8310ec2eff09 [2022-10-06T12:10:00.307Z] Removing intermediate container 8310ec2eff09 [2022-10-06T12:10:00.307Z] ---> 2a41ff0d5e06 [2022-10-06T12:10:00.307Z] Step 12/28 : COPY . . [2022-10-06T12:10:00.888Z] ---> ab259f6fdaec [2022-10-06T12:10:00.889Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T12:10:00.889Z] ---> Running in 8bb8abfa714c [2022-10-06T12:10:01.162Z] Removing intermediate container 8bb8abfa714c [2022-10-06T12:10:01.162Z] ---> 127e8f7c5d3d [2022-10-06T12:10:01.162Z] Step 14/28 : RUN $MAKE [2022-10-06T12:10:01.162Z] ---> Running in 65530f2f5169 [2022-10-06T12:10:02.124Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-10-06T12:12:38.854Z] Removing intermediate container 65530f2f5169 [2022-10-06T12:12:38.854Z] ---> 249588dee63f [2022-10-06T12:12:38.854Z] Step 15/28 : FROM alpine:3.16 [2022-10-06T12:12:38.854Z] 3.16: Pulling from library/alpine [2022-10-06T12:12:38.854Z] 9b18e9b68314: Pulling fs layer [2022-10-06T12:12:38.854Z] 9b18e9b68314: Verifying Checksum [2022-10-06T12:12:38.854Z] 9b18e9b68314: Download complete [2022-10-06T12:12:38.854Z] 9b18e9b68314: Pull complete [2022-10-06T12:12:38.854Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-06T12:12:38.854Z] Status: Downloaded newer image for alpine:3.16 [2022-10-06T12:12:38.854Z] ---> a6215f271958 [2022-10-06T12:12:38.854Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T12:12:38.854Z] ---> Running in beb36a9add93 [2022-10-06T12:12:38.854Z] Removing intermediate container beb36a9add93 [2022-10-06T12:12:38.854Z] ---> 3ae102608e25 [2022-10-06T12:12:38.854Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-10-06T12:12:38.854Z] ---> Running in 37c3ed89d073 [2022-10-06T12:12:38.854Z] Removing intermediate container 37c3ed89d073 [2022-10-06T12:12:38.854Z] ---> 8dd0c1d802aa [2022-10-06T12:12:38.854Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-10-06T12:12:38.854Z] ---> Running in c7c1281766a4 [2022-10-06T12:12:38.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T12:12:38.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T12:12:38.854Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-06T12:12:38.854Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-06T12:12:38.854Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-10-06T12:12:38.854Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-06T12:12:38.854Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-06T12:12:38.854Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-06T12:12:38.854Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-06T12:12:38.854Z] Executing busybox-1.35.0-r17.trigger [2022-10-06T12:12:38.854Z] Executing ca-certificates-20220614-r0.trigger [2022-10-06T12:12:38.854Z] OK: 9 MiB in 21 packages [2022-10-06T12:12:38.854Z] Removing intermediate container c7c1281766a4 [2022-10-06T12:12:38.854Z] ---> 7ad1a6d36410 [2022-10-06T12:12:38.854Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-06T12:12:38.854Z] ---> 7aeb5830b254 [2022-10-06T12:12:38.854Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-06T12:12:38.854Z] ---> d23b6870f883 [2022-10-06T12:12:38.854Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-10-06T12:12:38.854Z] ---> a9c741ff92cb [2022-10-06T12:12:38.854Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-10-06T12:12:38.855Z] ---> fadfc0e547dd [2022-10-06T12:12:38.855Z] Step 23/28 : EXPOSE 48095 [2022-10-06T12:12:38.855Z] ---> Running in cb391efe7dfe [2022-10-06T12:12:38.855Z] Removing intermediate container cb391efe7dfe [2022-10-06T12:12:38.855Z] ---> a32a3345a846 [2022-10-06T12:12:38.855Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-10-06T12:12:38.855Z] ---> Running in 1508055dc843 [2022-10-06T12:12:38.855Z] Removing intermediate container 1508055dc843 [2022-10-06T12:12:38.855Z] ---> 8a1852470fb6 [2022-10-06T12:12:38.855Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-06T12:12:38.855Z] ---> Running in eef87d9a009d [2022-10-06T12:12:38.855Z] Removing intermediate container eef87d9a009d [2022-10-06T12:12:38.855Z] ---> 13b58287ebc7 [2022-10-06T12:12:38.855Z] Step 26/28 : LABEL arch=arm64 [2022-10-06T12:12:38.855Z] ---> Running in 34e028335bd2 [2022-10-06T12:12:39.121Z] Removing intermediate container 34e028335bd2 [2022-10-06T12:12:39.121Z] ---> dd704c0edf9d [2022-10-06T12:12:39.121Z] Step 27/28 : LABEL git_sha=e31862faf1f81338e15e68b6601fba369607637f [2022-10-06T12:12:39.121Z] ---> Running in b928828a2b24 [2022-10-06T12:12:39.392Z] Removing intermediate container b928828a2b24 [2022-10-06T12:12:39.392Z] ---> a3762662bcb9 [2022-10-06T12:12:39.392Z] Step 28/28 : LABEL version=0.0.0 [2022-10-06T12:12:39.664Z] ---> Running in 97fcf76930e3 [2022-10-06T12:12:39.929Z] Removing intermediate container 97fcf76930e3 [2022-10-06T12:12:39.929Z] ---> 2f9cb55f7425 [2022-10-06T12:12:39.929Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-06T12:12:39.929Z] Successfully built 2f9cb55f7425 [2022-10-06T12:12:39.929Z] Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:12:40.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T12:12:40.725Z] [2022-10-06T12:12:40.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:12:41.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T12:12:41.132Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T12:12:41.132Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T12:12:41.132Z] 04944245beec: Pulling fs layer [2022-10-06T12:12:41.132Z] 699f458cf7ca: Pulling fs layer [2022-10-06T12:12:41.132Z] 765212b225bb: Pulling fs layer [2022-10-06T12:12:41.132Z] f23df028b6ca: Pulling fs layer [2022-10-06T12:12:41.132Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T12:12:41.132Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T12:12:41.132Z] 765212b225bb: Waiting [2022-10-06T12:12:41.132Z] d65c8cfc05b1: Waiting [2022-10-06T12:12:41.132Z] f23df028b6ca: Waiting [2022-10-06T12:12:41.132Z] 2437ff75d9bd: Waiting [2022-10-06T12:12:41.402Z] 04944245beec: Verifying Checksum [2022-10-06T12:12:41.402Z] 04944245beec: Download complete [2022-10-06T12:12:41.402Z] 765212b225bb: Verifying Checksum [2022-10-06T12:12:41.402Z] 765212b225bb: Download complete [2022-10-06T12:12:41.402Z] f23df028b6ca: Verifying Checksum [2022-10-06T12:12:41.402Z] f23df028b6ca: Download complete [2022-10-06T12:12:41.402Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T12:12:41.402Z] d65c8cfc05b1: Download complete [2022-10-06T12:12:41.402Z] 699f458cf7ca: Verifying Checksum [2022-10-06T12:12:41.990Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T12:12:41.990Z] 8998bd30e6a1: Download complete [2022-10-06T12:12:44.571Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T12:12:44.571Z] 2437ff75d9bd: Download complete [2022-10-06T12:12:45.978Z] 8998bd30e6a1: Pull complete [2022-10-06T12:12:46.245Z] 04944245beec: Pull complete [2022-10-06T12:12:47.650Z] 699f458cf7ca: Pull complete [2022-10-06T12:12:47.650Z] 765212b225bb: Pull complete [2022-10-06T12:12:48.233Z] f23df028b6ca: Pull complete [2022-10-06T12:12:48.500Z] d65c8cfc05b1: Pull complete [2022-10-06T12:13:03.488Z] 2437ff75d9bd: Pull complete [2022-10-06T12:13:03.488Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T12:13:03.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T12:13:03.488Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:13:03.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container [2022-10-06T12:13:03.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-06T12:13:06.325Z] $ docker top 75b7ffe921d29daef6f027a18989ac17d0a38b0129563741916fd3a79289e2b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:07.000Z] ---> job-cost.sh [2022-10-06T12:13:07.274Z] lf-activate-venv: SKIPPING [2022-10-06T12:13:07.274Z] INFO: No Stack... [2022-10-06T12:13:07.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T12:13:08.466Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T12:13:09.157Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-10-06T12:13:09.157Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T12:13:09.241Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [2022-10-06T12:13:09.246Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] did not exist. Created. [2022-10-06T12:13:09.246Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T12:13:09.650Z] /w/workspace/app-service-configurable/1@tmp/durable-70c36046/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T12:13:10.003Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T12:13:10.042Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T12:13:10.084Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T12:13:10.099Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T12:13:10.172Z] $ docker stop --time=1 75b7ffe921d29daef6f027a18989ac17d0a38b0129563741916fd3a79289e2b4 [2022-10-06T12:13:11.649Z] $ docker rm -f 75b7ffe921d29daef6f027a18989ac17d0a38b0129563741916fd3a79289e2b4 [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-10-06T12:13:12.592Z] provisioning config files... [2022-10-06T12:13:12.601Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-474@tmp/config3538259001164801061tmp [Pipeline] { [Pipeline] sh [2022-10-06T12:13:12.935Z] + set +x [2022-10-06T12:13:12.935Z] + curl -s https://codecov.io/bash [2022-10-06T12:13:12.935Z] + bash -s -- [2022-10-06T12:13:12.935Z] [2022-10-06T12:13:12.935Z] _____ _ [2022-10-06T12:13:12.935Z] / ____| | | [2022-10-06T12:13:12.935Z] | | ___ __| | ___ ___ _____ __ [2022-10-06T12:13:12.935Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-06T12:13:12.935Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-06T12:13:12.935Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-06T12:13:12.935Z] Bash-1.0.6 [2022-10-06T12:13:12.935Z] [2022-10-06T12:13:12.935Z] [2022-10-06T12:13:12.935Z] ==> git version 2.25.1 found [2022-10-06T12:13:12.935Z] ==> 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-10-06T12:13:12.935Z] Release-Date: 2020-01-08 [2022-10-06T12:13:12.935Z] 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-10-06T12:13:12.935Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-06T12:13:12.935Z] ==> Jenkins CI detected. [2022-10-06T12:13:12.935Z] current dir:  /w/workspace/_app-service-configurable_PR-474 [2022-10-06T12:13:12.935Z] project root: . [2022-10-06T12:13:12.935Z] --> token set from env [2022-10-06T12:13:12.935Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-06T12:13:12.935Z] ==> Running gcov in . (disable via -X gcov) [2022-10-06T12:13:12.935Z] ==> Python coveragepy not found [2022-10-06T12:13:12.935Z] ==> Searching for coverage reports in: [2022-10-06T12:13:12.935Z] + . [2022-10-06T12:13:12.935Z] -> Found 1 reports [2022-10-06T12:13:12.935Z] ==> Detecting git/mercurial file structure [2022-10-06T12:13:13.198Z] ==> Reading reports [2022-10-06T12:13:13.198Z] + ./coverage.out bytes=10 [2022-10-06T12:13:13.198Z] ==> Appending adjustments [2022-10-06T12:13:13.198Z] https://docs.codecov.io/docs/fixing-reports [2022-10-06T12:13:13.198Z] + Found adjustments [2022-10-06T12:13:13.198Z] ==> Gzipping contents [2022-10-06T12:13:13.198Z] 4.0K /tmp/codecov.FWjVaX.gz [2022-10-06T12:13:13.198Z] ==> Uploading reports [2022-10-06T12:13:13.198Z] url: https://codecov.io [2022-10-06T12:13:13.198Z] query: branch=PR-474&commit=e31862faf1f81338e15e68b6601fba369607637f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=474&job=&cmd_args= [2022-10-06T12:13:13.198Z] -> Pinging Codecov [2022-10-06T12:13:13.198Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-474&commit=e31862faf1f81338e15e68b6601fba369607637f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=474&job=&cmd_args= [2022-10-06T12:13:13.464Z] -> Uploading to [2022-10-06T12:13:13.464Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-06/A97CA9966030D2A3747ED39772930CCE/e31862faf1f81338e15e68b6601fba369607637f/1a9289c9-d02b-4391-9298-d94ebe702a4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221006T121313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae6ab49c6866c3e2c8e08c914b4624ae0dc47d7ef4bd2d9a841409806bbfd27d [2022-10-06T12:13:13.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T12:13:13.464Z] Dload Upload Total Spent Left Speed [2022-10-06T12:13:13.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 2233 --:--:-- --:--:-- --:--:-- 2223 [2022-10-06T12:13:13.724Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/e31862faf1f81338e15e68b6601fba369607637f [Pipeline] } [2022-10-06T12:13:13.752Z] 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-10-06T12:13:15.464Z] + [ -d /w/workspace/_app-service-configurable_PR-474/archives ] [2022-10-06T12:13:15.464Z] + ls -al /w/workspace/_app-service-configurable_PR-474/archives [2022-10-06T12:13:15.464Z] total 16 [2022-10-06T12:13:15.464Z] drwxr-xr-x 3 root root 4096 Oct 6 12:06 . [2022-10-06T12:13:15.464Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 12:06 .. [2022-10-06T12:13:15.464Z] drwxr-xr-x 2 root root 4096 Oct 6 12:06 cost [2022-10-06T12:13:15.464Z] -rw-r--r-- 1 root root 96 Oct 6 12:06 cost.csv [2022-10-06T12:13:15.464Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-474/archives [2022-10-06T12:13:15.464Z] + ls -al /w/workspace/_app-service-configurable_PR-474/archives [2022-10-06T12:13:15.464Z] total 16 [2022-10-06T12:13:15.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 12:06 . [2022-10-06T12:13:15.464Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 12:06 .. [2022-10-06T12:13:15.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 12:06 cost [2022-10-06T12:13:15.464Z] -rw-r--r-- 1 jenkins jenkins 96 Oct 6 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:15.792Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:16.685Z] ---> package-listing.sh [2022-10-06T12:13:16.685Z] ++ facter osfamily [2022-10-06T12:13:16.685Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T12:13:16.945Z] + OS_FAMILY=debian [2022-10-06T12:13:16.945Z] + workspace=/w/workspace/_app-service-configurable_PR-474 [2022-10-06T12:13:16.945Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T12:13:16.945Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T12:13:16.945Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T12:13:16.945Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T12:13:16.945Z] + '[' /w/workspace/_app-service-configurable_PR-474 ']' [2022-10-06T12:13:16.945Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T12:13:16.945Z] + case "${OS_FAMILY}" in [2022-10-06T12:13:16.945Z] + dpkg -l [2022-10-06T12:13:16.945Z] + grep '^ii' [2022-10-06T12:13:16.945Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T12:13:16.945Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T12:13:16.945Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T12:13:16.945Z] + '[' /w/workspace/_app-service-configurable_PR-474 ']' [2022-10-06T12:13:16.945Z] + mkdir -p /w/workspace/_app-service-configurable_PR-474/archives/ [2022-10-06T12:13:16.945Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-474/archives/ [Pipeline] echo [2022-10-06T12:13:16.983Z] 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-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-06T12:13:17.275Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T12:13:17.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T12:13:17.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T12:13:18.056Z] prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container [2022-10-06T12:13:18.077Z] $ 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-474/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-474 -v /w/workspace/_app-service-configurable_PR-474:/w/workspace/_app-service-configurable_PR-474:rw,z -v /w/workspace/_app-service-configurable_PR-474@tmp:/w/workspace/_app-service-configurable_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T12:13:18.280Z] $ docker top d70ca10970d3c287a31bf509485bc4f37dadf75395757b9080e7d4fc365966d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T12:13:18.689Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T12:13:18.999Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T12:13:19.311Z] + ls /var/log/sa-host [2022-10-06T12:13:19.311Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T12:13:19.531Z] provisioning config files... [2022-10-06T12:13:19.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-474@tmp/config2192504711087389695tmp [Pipeline] { [Pipeline] echo [2022-10-06T12:13:19.598Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:19.913Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T12:13:19.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:20.345Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T12:13:20.378Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:20.691Z] ---> sudo-logs.sh [2022-10-06T12:13:20.691Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T12:13:20.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:21.077Z] ---> job-cost.sh [2022-10-06T12:13:21.077Z] lf-activate-venv: SKIPPING [2022-10-06T12:13:21.077Z] DEBUG: total: 0.2199999988079071 [2022-10-06T12:13:21.077Z] INFO: Retrieving Stack Cost... [2022-10-06T12:13:21.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T12:13:21.906Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T12:13:21.942Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T12:13:22.250Z] ---> logs-deploy.sh [2022-10-06T12:13:22.250Z] lf-activate-venv: SKIPPING [2022-10-06T12:13:22.250Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-474/1 [2022-10-06T12:13:22.250Z] INFO: archiving workspace using pattern(s): [2022-10-06T12:13:23.186Z] Archives upload complete. [2022-10-06T12:13:23.446Z] INFO: archiving logs to Nexus