Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from cca3c994759863ce8dfc32ce73e904c728ed8315+5ce181da19694a4307a13509148c3e1aea68fdc3 (9573dee15ae484536dafa37f3e02c4d708417d5c) 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-ssh16215201297198633170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh8868856183287984318.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-430/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-430/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh896798542460536784.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5013697781194544246.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-430/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-430/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh613969460512606276.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org 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-15512 in /w/workspace/_app-service-configurable_PR-430 [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-430 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5ce181da19694a4307a13509148c3e1aea68fdc3 into PR head commit cca3c994759863ce8dfc32ce73e904c728ed8315 Merge succeeded, producing 3fa159bfb019f4ea4fc95e90173e41cfb623c275 Checking out Revision 3fa159bfb019f4ea4fc95e90173e41cfb623c275 (PR-430) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/430/head:refs/remotes/origin/PR-430 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cca3c994759863ce8dfc32ce73e904c728ed8315 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5ce181da19694a4307a13509148c3e1aea68fdc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3fa159bfb019f4ea4fc95e90173e41cfb623c275 # timeout=10 Commit message: "Merge commit '5ce181da19694a4307a13509148c3e1aea68fdc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:20 ========================================================= 04:52:20 EdgeX Global Pipelines Version Info 04:52:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a2be9f29e9643d13f6d40a37ca5959646243d32c # timeout=10 04:52:20 ------------------- 04:52:20 stable info: 04:52:20 ------------------- 04:52:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:52:20 Message: update stable to v1.0.234 04:52:21 ------------------- 04:52:21 experimental info: 04:52:21 ------------------- 04:52:21 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:21 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:52:21 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-430 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-430 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-430 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3fa159bfb019f4ea4fc95e90173e41cfb623c275 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3fa159b [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:21 provisioning config files... 04:52:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-430@tmp/config2525674721192177913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:22 ---> docker-login.sh 04:52:22 nexus3.edgexfoundry.org:10001 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 nexus3.edgexfoundry.org:10002 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 nexus3.edgexfoundry.org:10003 04:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:23 Configure a credential helper to remove this warning. See 04:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:23 04:52:23 Login Succeeded 04:52:23 nexus3.edgexfoundry.org:10004 04:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:23 Configure a credential helper to remove this warning. See 04:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:23 04:52:23 Login Succeeded 04:52:23 docker.io 04:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:23 Configure a credential helper to remove this warning. See 04:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:23 04:52:23 Login Succeeded 04:52:23 ---> docker-login.sh ends [Pipeline] } 04:52:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:24 + git rev-list -1 --merges 3fa159bfb019f4ea4fc95e90173e41cfb623c275~1..3fa159bfb019f4ea4fc95e90173e41cfb623c275 [Pipeline] echo 04:52:24 -----------> git rev-list -1 --merges 3fa159bfb019f4ea4fc95e90173e41cfb623c275~1..3fa159bfb019f4ea4fc95e90173e41cfb623c275 3fa159bfb019f4ea4fc95e90173e41cfb623c275 04:52:24 3fa159bfb019f4ea4fc95e90173e41cfb623c275 [false] [Pipeline] sh 04:52:24 + git log --format=format:%s -1 3fa159bfb019f4ea4fc95e90173e41cfb623c275 [Pipeline] echo 04:52:24 ========================================================= 04:52:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:24 + git log --format=format:%s -1 3fa159bfb019f4ea4fc95e90173e41cfb623c275 [Pipeline] echo 04:52:24 [semverPrep] GIT_COMMIT: 3fa159bfb019f4ea4fc95e90173e41cfb623c275, Commit Message: Merge commit '5ce181da19694a4307a13509148c3e1aea68fdc3' into HEAD [Pipeline] echo 04:52:24 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:25 + grep -v github /etc/ssh/ssh_known_hosts 04:52:25 + [ -e /tmp/ssh_known_hosts ] 04:52:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:25 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:25 04:52:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:25 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:25 42c077c10790: Pulling fs layer 04:52:25 f63e77b7563a: Pulling fs layer 04:52:25 bd5fdadae976: Pulling fs layer 04:52:25 205491f53016: Pulling fs layer 04:52:25 df18705c85c3: Pulling fs layer 04:52:25 bdb3f477010e: Pulling fs layer 04:52:25 c8a8fc8e1c8f: Pulling fs layer 04:52:25 2c6e9b1d212d: Pulling fs layer 04:52:25 bdb8f0575790: Pulling fs layer 04:52:25 386e3cb2ff24: Pulling fs layer 04:52:25 2343380bae48: Pulling fs layer 04:52:25 c8a8fc8e1c8f: Waiting 04:52:25 2c6e9b1d212d: Waiting 04:52:25 bdb8f0575790: Waiting 04:52:25 386e3cb2ff24: Waiting 04:52:25 2343380bae48: Waiting 04:52:25 205491f53016: Waiting 04:52:25 bdb3f477010e: Waiting 04:52:25 df18705c85c3: Waiting 04:52:25 f63e77b7563a: Verifying Checksum 04:52:25 f63e77b7563a: Download complete 04:52:25 205491f53016: Download complete 04:52:26 df18705c85c3: Download complete 04:52:26 bd5fdadae976: Verifying Checksum 04:52:26 bd5fdadae976: Download complete 04:52:26 bdb3f477010e: Download complete 04:52:26 2c6e9b1d212d: Verifying Checksum 04:52:26 2c6e9b1d212d: Download complete 04:52:26 bdb8f0575790: Download complete 04:52:26 386e3cb2ff24: Verifying Checksum 04:52:26 386e3cb2ff24: Download complete 04:52:26 2343380bae48: Verifying Checksum 04:52:26 2343380bae48: Download complete 04:52:26 42c077c10790: Verifying Checksum 04:52:26 42c077c10790: Download complete 04:52:26 c8a8fc8e1c8f: Verifying Checksum 04:52:26 c8a8fc8e1c8f: Download complete 04:52:27 42c077c10790: Pull complete 04:52:27 f63e77b7563a: Pull complete 04:52:28 bd5fdadae976: Pull complete 04:52:28 205491f53016: Pull complete 04:52:28 df18705c85c3: Pull complete 04:52:28 bdb3f477010e: Pull complete 04:52:31 c8a8fc8e1c8f: Pull complete 04:52:31 2c6e9b1d212d: Pull complete 04:52:31 bdb8f0575790: Pull complete 04:52:31 386e3cb2ff24: Pull complete 04:52:31 2343380bae48: Pull complete 04:52:31 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:31 prd-ubuntu20.04-docker-8c-8g-15512 does not seem to be running inside a container 04:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-430 -v /w/workspace/_app-service-configurable_PR-430:/w/workspace/_app-service-configurable_PR-430:rw,z -v /w/workspace/_app-service-configurable_PR-430@tmp:/w/workspace/_app-service-configurable_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:32 $ docker top 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 -eo pid,comm 04:52:32 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). 04:52:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:32 [ssh-agent] Looking for ssh-agent implementation... 04:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:33 $ docker exec 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 ssh-agent 04:52:33 SSH_AUTH_SOCK=/tmp/ssh-NaKUPIc2bsxZ/agent.33 04:52:33 SSH_AGENT_PID=40 04:52:33 Running ssh-add (command line suppressed) 04:52:33 Identity added: /w/workspace/_app-service-configurable_PR-430@tmp/private_key_2852483209563060453.key (/w/workspace/_app-service-configurable_PR-430@tmp/private_key_2852483209563060453.key) 04:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:33 + git tag --points-at HEAD [Pipeline] } 04:52:33 $ docker exec --env ******** --env ******** 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 ssh-agent -k 04:52:33 unset SSH_AUTH_SOCK; 04:52:33 unset SSH_AGENT_PID; 04:52:33 echo Agent pid 40 killed; 04:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:33 [ssh-agent] Looking for ssh-agent implementation... 04:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:33 $ docker exec 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 ssh-agent 04:52:34 SSH_AUTH_SOCK=/tmp/ssh-ZFpSE8FrWNwc/agent.73 04:52:34 SSH_AGENT_PID=80 04:52:34 Running ssh-add (command line suppressed) 04:52:34 Identity added: /w/workspace/_app-service-configurable_PR-430@tmp/private_key_641004096334660479.key (/w/workspace/_app-service-configurable_PR-430@tmp/private_key_641004096334660479.key) 04:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:34 + git semver init 04:52:34 2022-06-24 04:52:34,798 [run_init] DEBUG init version:0.0.0 force:False 04:52:34 2022-06-24 04:52:34,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-430/.semver 04:52:34 2022-06-24 04:52:34,799 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-430/.semver 04:52:34 2022-06-24 04:52:34,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-430/.semver'], cwd=/w/workspace/_app-service-configurable_PR-430, universal_newlines=False, shell=None, istream=None) 04:52:35 2022-06-24 04:52:35,505 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-430/.git/info/exclude 04:52:35 2022-06-24 04:52:35,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-430/.semver/PR-430 with force:False 04:52:35 2022-06-24 04:52:35,505 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-430/.semver/PR-430 04:52:35 2022-06-24 04:52:35,509 [execute] INFO git cat-file --batch-check 04:52:35 2022-06-24 04:52:35,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-430/.semver, universal_newlines=False, shell=None, istream=) 04:52:35 2022-06-24 04:52:35,516 [execute] INFO git cat-file --batch 04:52:35 2022-06-24 04:52:35,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-430/.semver, universal_newlines=False, shell=None, istream=) 04:52:35 2022-06-24 04:52:35,523 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-430/.semver/PR-430 04:52:35 0.0.0 [Pipeline] } 04:52:35 $ docker exec --env ******** --env ******** 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 ssh-agent -k 04:52:35 unset SSH_AUTH_SOCK; 04:52:35 unset SSH_AGENT_PID; 04:52:35 echo Agent pid 80 killed; 04:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:36 + git semver [Pipeline] } 04:52:36 $ docker stop --time=1 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 04:52:37 $ docker rm -f 65e094598f00163a44459c063c15ef90aeffba7b3575090f2b78fb78c9147f09 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:38 Stashed 1 file(s) [Pipeline] echo 04:52:38 [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 04:52:38 provisioning config files... 04:52:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-430@tmp/config5817553127051836039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:38 ---> docker-login.sh 04:52:38 nexus3.edgexfoundry.org:10001 04:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:38 Configure a credential helper to remove this warning. See 04:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:38 04:52:38 Login Succeeded 04:52:38 nexus3.edgexfoundry.org:10002 04:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:39 Configure a credential helper to remove this warning. See 04:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:39 04:52:39 Login Succeeded 04:52:39 nexus3.edgexfoundry.org:10003 04:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:39 Configure a credential helper to remove this warning. See 04:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:39 04:52:39 Login Succeeded 04:52:39 nexus3.edgexfoundry.org:10004 04:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:39 Configure a credential helper to remove this warning. See 04:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:39 04:52:39 Login Succeeded 04:52:39 docker.io 04:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:39 Configure a credential helper to remove this warning. See 04:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:39 04:52:39 Login Succeeded 04:52:39 ---> docker-login.sh ends [Pipeline] } 04:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:39 ========================================================= 04:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:52:40 Sending build context to Docker daemon 3.086MB 04:52:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:52:40 Step 2/13 : FROM ${BASE} AS builder 04:52:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:40 59bf1c3509f3: Pulling fs layer 04:52:40 666ba61612fd: Pulling fs layer 04:52:40 8ed8ca486205: Pulling fs layer 04:52:40 cc1cd167ecdc: Pulling fs layer 04:52:40 c516ae0d96e1: Pulling fs layer 04:52:40 684cea983483: Pulling fs layer 04:52:40 dd3240ac7de5: Pulling fs layer 04:52:40 b1e948a4e11c: Pulling fs layer 04:52:40 a8fd76ee1af6: Pulling fs layer 04:52:40 646ad004c059: Pulling fs layer 04:52:40 cc1cd167ecdc: Waiting 04:52:40 dd3240ac7de5: Waiting 04:52:40 b1e948a4e11c: Waiting 04:52:40 a8fd76ee1af6: Waiting 04:52:40 646ad004c059: Waiting 04:52:40 684cea983483: Waiting 04:52:40 c516ae0d96e1: Waiting 04:52:40 8ed8ca486205: Download complete 04:52:40 666ba61612fd: Download complete 04:52:40 c516ae0d96e1: Verifying Checksum 04:52:40 c516ae0d96e1: Download complete 04:52:40 684cea983483: Verifying Checksum 04:52:40 684cea983483: Download complete 04:52:40 59bf1c3509f3: Verifying Checksum 04:52:40 59bf1c3509f3: Download complete 04:52:40 dd3240ac7de5: Download complete 04:52:40 b1e948a4e11c: Verifying Checksum 04:52:40 b1e948a4e11c: Download complete 04:52:40 59bf1c3509f3: Pull complete 04:52:40 666ba61612fd: Pull complete 04:52:40 8ed8ca486205: Pull complete 04:52:41 cc1cd167ecdc: Download complete 04:52:41 646ad004c059: Verifying Checksum 04:52:41 646ad004c059: Download complete 04:52:41 a8fd76ee1af6: Download complete 04:52:45 cc1cd167ecdc: Pull complete 04:52:45 c516ae0d96e1: Pull complete 04:52:45 684cea983483: Pull complete 04:52:45 dd3240ac7de5: Pull complete 04:52:45 b1e948a4e11c: Pull complete 04:52:48 a8fd76ee1af6: Pull complete 04:52:49 646ad004c059: Pull complete 04:52:49 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:52:49 ---> 8f69c11f6b0c 04:52:49 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 04:52:50 ---> Running in f18523ee992a 04:52:50 Removing intermediate container f18523ee992a 04:52:50 ---> a52245e81dcc 04:52:50 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 04:52:50 ---> Running in 1fe16c379117 04:52:50 Removing intermediate container 1fe16c379117 04:52:50 ---> 029821f6148f 04:52:50 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 04:52:50 ---> Running in 26be0eea3368 04:52:51 Removing intermediate container 26be0eea3368 04:52:51 ---> 0ff95b61f4ad 04:52:51 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:51 ---> Running in e476eb870c7f 04:52:51 Removing intermediate container e476eb870c7f 04:52:51 ---> d479f4465d2c 04:52:51 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:51 ---> Running in 1511c40f22d0 04:52:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:52:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:52:53 OK: 221 MiB in 52 packages 04:52:53 Removing intermediate container 1511c40f22d0 04:52:53 ---> de4082668bb1 04:52:53 Step 8/13 : WORKDIR /app 04:52:53 Still waiting to schedule task 04:52:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:52:53 ---> Running in e3dd502d4fc9 04:52:53 Removing intermediate container e3dd502d4fc9 04:52:53 ---> 5c5a3d378ae2 04:52:53 Step 9/13 : COPY go.mod vendor* ./ 04:52:53 ---> 99c1c798b36a 04:52:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:53 ---> Running in 053f131df71b 04:53:12 Removing intermediate container 053f131df71b 04:53:12 ---> 1af6de0ab8f2 04:53:12 Step 11/13 : COPY . . 04:53:12 ---> 1aa7a8e21d56 04:53:12 Step 12/13 : ARG MAKE="make build" 04:53:12 ---> Running in 323d8b7d78b0 04:53:12 Removing intermediate container 323d8b7d78b0 04:53:12 ---> 819df5946c6f 04:53:12 Step 13/13 : RUN $MAKE 04:53:12 ---> Running in b456b7cff307 04:53:12 noop 04:53:12 Removing intermediate container b456b7cff307 04:53:12 ---> e80522498b83 04:53:12 Successfully built e80522498b83 04:53:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:12 + docker inspect -f . ci-base-image-x86_64 04:53:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:12 prd-ubuntu20.04-docker-8c-8g-15512 does not seem to be running inside a container 04:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-430 -v /w/workspace/_app-service-configurable_PR-430:/w/workspace/_app-service-configurable_PR-430:rw,z -v /w/workspace/_app-service-configurable_PR-430@tmp:/w/workspace/_app-service-configurable_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:12 $ docker top 041d8f187b2d4807357e911cd616e347431d5f4148ef1c7a98d412769e4a4609 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:13 + go version 04:53:13 go version go1.17.7 linux/amd64 [Pipeline] } 04:53:13 $ docker stop --time=1 041d8f187b2d4807357e911cd616e347431d5f4148ef1c7a98d412769e4a4609 04:53:14 $ docker rm -f 041d8f187b2d4807357e911cd616e347431d5f4148ef1c7a98d412769e4a4609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:15 + docker inspect -f . ci-base-image-x86_64 04:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:15 prd-ubuntu20.04-docker-8c-8g-15512 does not seem to be running inside a container 04:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-430 -v /w/workspace/_app-service-configurable_PR-430:/w/workspace/_app-service-configurable_PR-430:rw,z -v /w/workspace/_app-service-configurable_PR-430@tmp:/w/workspace/_app-service-configurable_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:15 $ docker top 4497268743b4fd2a378b8d110ee69af875279e998467af3aeac0b694e5ce36bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:53:15 + make test 04:53:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 04:53:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:53:26 CGO_ENABLED=1 go vet ./... 04:53:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:53:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:53:31 ./bin/test-attribution-txt.sh [Pipeline] echo 04:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:53:31 $ docker stop --time=1 4497268743b4fd2a378b8d110ee69af875279e998467af3aeac0b694e5ce36bd 04:53:33 $ docker rm -f 4497268743b4fd2a378b8d110ee69af875279e998467af3aeac0b694e5ce36bd [Pipeline] // withDockerContainer [Pipeline] sh 04:53:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:53:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:53:34 + ls -al . 04:53:34 total 168 04:53:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 04:53 . 04:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 04:52 .. 04:53:34 -rw-rw-r-- 1 jenkins jenkins 119 Jun 24 04:52 .dockerignore 04:53:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 04:52 .git 04:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 04:52 .github 04:53:34 -rw-rw-r-- 1 jenkins jenkins 104 Jun 24 04:52 .gitignore 04:53:34 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 04:52 .semver 04:53:34 -rw-rw-r-- 1 jenkins jenkins 8698 Jun 24 04:52 Attribution.txt 04:53:34 -rw-rw-r-- 1 jenkins jenkins 27269 Jun 24 04:52 CHANGELOG.md 04:53:34 -rw-rw-r-- 1 jenkins jenkins 2087 Jun 24 04:52 Dockerfile 04:53:34 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 04:52 GOVERNANCE.md 04:53:34 -rw-rw-r-- 1 jenkins jenkins 688 Jun 24 04:52 Jenkinsfile 04:53:34 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 24 04:52 LICENSE 04:53:34 -rw-rw-r-- 1 jenkins jenkins 618 Jun 24 04:52 OWNERS.md 04:53:34 -rw-rw-r-- 1 jenkins jenkins 3718 Jun 24 04:52 README.md 04:53:34 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 04:52 VERSION 04:53:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 04:52 bin 04:53:34 -rw-r--r-- 1 jenkins jenkins 10 Jun 24 04:53 coverage.out 04:53:34 -rw-rw-r-- 1 jenkins jenkins 3273 Jun 24 04:52 go.mod 04:53:34 -rw-rw-r-- 1 jenkins jenkins 35803 Jun 24 04:52 go.sum 04:53:34 -rw-rw-r-- 1 jenkins jenkins 1949 Jun 24 04:52 main.go 04:53:34 -rw-rw-r-- 1 jenkins jenkins 1972 Jun 24 04:52 makefile 04:53:34 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 04:52 res 04:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:34 + 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=3fa159bfb019f4ea4fc95e90173e41cfb623c275 --label arch=amd64 --label version=0.0.0 . 04:53:34 Sending build context to Docker daemon 3.087MB 04:53:34 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 04:53:34 Step 2/27 : FROM ${BASE} AS builder 04:53:34 ---> e80522498b83 04:53:34 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 04:53:34 ---> Running in f2e389404713 04:53:35 Removing intermediate container f2e389404713 04:53:35 ---> 4ba5677827ca 04:53:35 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:53:35 ---> Running in f3151b5242ae 04:53:35 Removing intermediate container f3151b5242ae 04:53:35 ---> aa8f8fa82289 04:53:35 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 04:53:35 ---> Running in 8616e03c117a 04:53:35 Removing intermediate container 8616e03c117a 04:53:35 ---> b18cea7986cb 04:53:35 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:53:35 ---> Running in 296f02178bc7 04:53:35 Removing intermediate container 296f02178bc7 04:53:35 ---> 8e351c5cca93 04:53:35 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:35 ---> Running in a91e49791b27 04:53:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:53:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:53:37 OK: 221 MiB in 52 packages 04:53:37 Removing intermediate container a91e49791b27 04:53:37 ---> 9ea76684ee37 04:53:37 Step 8/27 : WORKDIR /app 04:53:37 ---> Running in 16bf5e31ccb1 04:53:37 Removing intermediate container 16bf5e31ccb1 04:53:37 ---> 8238b66d5705 04:53:37 Step 9/27 : COPY go.mod vendor* ./ 04:53:38 ---> e12266eedb8e 04:53:38 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:38 ---> Running in c3cc3e20bcb2 04:53:39 Removing intermediate container c3cc3e20bcb2 04:53:39 ---> ebd83c79417e 04:53:39 Step 11/27 : COPY . . 04:53:39 ---> 193c1001e534 04:53:39 Step 12/27 : ARG MAKE="make build" 04:53:39 ---> Running in f08290c500f8 04:53:39 Removing intermediate container f08290c500f8 04:53:39 ---> 1d2e5e627a7d 04:53:39 Step 13/27 : RUN $MAKE 04:53:39 ---> Running in 8b169e588d49 04:53:39 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 04:54:01 Removing intermediate container 8b169e588d49 04:54:01 ---> 65e65b5b0644 04:54:01 Step 14/27 : FROM alpine:3.14 04:54:01 3.14: Pulling from library/alpine 04:54:01 8663204ce13b: Pulling fs layer 04:54:01 8663204ce13b: Verifying Checksum 04:54:01 8663204ce13b: Download complete 04:54:01 8663204ce13b: Pull complete 04:54:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:54:01 Status: Downloaded newer image for alpine:3.14 04:54:01 ---> e04c818066af 04:54:01 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 04:54:01 ---> Running in 1f413b9743fa 04:54:01 Removing intermediate container 1f413b9743fa 04:54:01 ---> 110c338f2ab2 04:54:01 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 04:54:01 ---> Running in d4e67cce9877 04:54:01 Removing intermediate container d4e67cce9877 04:54:01 ---> 1565c797fc1a 04:54:01 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 04:54:01 ---> Running in c55b99cdadb2 04:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:54:02 (1/7) Installing ca-certificates (20211220-r0) 04:54:02 (2/7) Installing dumb-init (1.2.5-r1) 04:54:02 (3/7) Installing libgcc (10.3.1_git20210424-r2) 04:54:02 (4/7) Installing libsodium (1.0.18-r0) 04:54:02 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 04:54:02 (6/7) Installing libzmq (4.3.4-r0) 04:54:02 (7/7) Installing zeromq (4.3.4-r0) 04:54:02 Executing busybox-1.33.1-r7.trigger 04:54:02 Executing ca-certificates-20211220-r0.trigger 04:54:02 OK: 9 MiB in 21 packages 04:54:03 Removing intermediate container c55b99cdadb2 04:54:03 ---> 40c9ee393076 04:54:03 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:54:03 ---> ac96cbe0932a 04:54:03 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 04:54:03 ---> 2f232fd3bfd9 04:54:03 Step 20/27 : COPY --from=builder /app/res/ /res/ 04:54:03 ---> 2635d88fb459 04:54:03 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:54:04 ---> bc5a04f8737a 04:54:04 Step 22/27 : EXPOSE 48095 04:54:04 ---> Running in 6c3f362ae8f5 04:54:04 Removing intermediate container 6c3f362ae8f5 04:54:04 ---> db0a18f6945e 04:54:04 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 04:54:04 ---> Running in df811541ba57 04:54:04 Removing intermediate container df811541ba57 04:54:04 ---> d3d492694350 04:54:04 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:54:04 ---> Running in 3a44008baf29 04:54:04 Removing intermediate container 3a44008baf29 04:54:04 ---> 9130a2138aa5 04:54:04 Step 25/27 : LABEL arch=amd64 04:54:04 ---> Running in 42ea4ebc230c 04:54:04 Removing intermediate container 42ea4ebc230c 04:54:04 ---> ee0f84fe7761 04:54:04 Step 26/27 : LABEL git_sha=3fa159bfb019f4ea4fc95e90173e41cfb623c275 04:54:04 ---> Running in 79a87823fd3d 04:54:04 Removing intermediate container 79a87823fd3d 04:54:04 ---> d9648aad2961 04:54:04 Step 27/27 : LABEL version=0.0.0 04:54:04 ---> Running in ef556e0413c5 04:54:05 Removing intermediate container ef556e0413c5 04:54:05 ---> ff866d35a67b 04:54:05 [Warning] One or more build-args [ARCH] were not consumed 04:54:05 Successfully built ff866d35a67b 04:54:05 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 04:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:05 04:54:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:05 latest: Pulling from edgex-lftools-log-publisher 04:54:05 5eb5b503b376: Pulling fs layer 04:54:05 5c69ac0246d0: Pulling fs layer 04:54:05 ec43610c2a17: Pulling fs layer 04:54:05 3a2ae6a8a46f: Pulling fs layer 04:54:05 33b1e0a273af: Pulling fs layer 04:54:05 5d3b04190fa2: Pulling fs layer 04:54:05 2f39f015ded8: Pulling fs layer 04:54:05 3a2ae6a8a46f: Waiting 04:54:05 33b1e0a273af: Waiting 04:54:05 5d3b04190fa2: Waiting 04:54:05 2f39f015ded8: Waiting 04:54:05 5c69ac0246d0: Verifying Checksum 04:54:05 5c69ac0246d0: Download complete 04:54:05 3a2ae6a8a46f: Download complete 04:54:05 33b1e0a273af: Verifying Checksum 04:54:05 33b1e0a273af: Download complete 04:54:05 5d3b04190fa2: Download complete 04:54:05 ec43610c2a17: Verifying Checksum 04:54:05 ec43610c2a17: Download complete 04:54:06 5eb5b503b376: Verifying Checksum 04:54:06 5eb5b503b376: Download complete 04:54:06 2f39f015ded8: Download complete 04:54:07 5eb5b503b376: Pull complete 04:54:07 5c69ac0246d0: Pull complete 04:54:08 ec43610c2a17: Pull complete 04:54:08 3a2ae6a8a46f: Pull complete 04:54:08 33b1e0a273af: Pull complete 04:54:08 5d3b04190fa2: Pull complete 04:54:13 2f39f015ded8: Pull complete 04:54:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:13 prd-ubuntu20.04-docker-8c-8g-15512 does not seem to be running inside a container 04:54:13 $ 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-430 -v /w/workspace/_app-service-configurable_PR-430:/w/workspace/_app-service-configurable_PR-430:rw,z -v /w/workspace/_app-service-configurable_PR-430@tmp:/w/workspace/_app-service-configurable_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:15 $ docker top a8765db6c5b571823993fcf158ac91f8b71206e2c2b0008113258cbff5195924 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:15 ---> job-cost.sh 04:54:15 lf-activate-venv: SKIPPING 04:54:15 INFO: No Stack... 04:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:16 INFO: Archiving Costs [Pipeline] sh 04:54:17 + cat /w/workspace/_app-service-configurable_PR-430/archives/cost.csv 04:54:17 + cut -d, -f6 [Pipeline] lock 04:54:17 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] 04:54:17 Resource [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] did not exist. Created. 04:54:17 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:17 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:17 Stashed 1 file(s) [Pipeline] } 04:54:17 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:17 $ docker stop --time=1 a8765db6c5b571823993fcf158ac91f8b71206e2c2b0008113258cbff5195924 04:54:18 $ docker rm -f a8765db6c5b571823993fcf158ac91f8b71206e2c2b0008113258cbff5195924 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:54:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15513 in /w/workspace/_app-service-configurable_PR-430 [Pipeline] { [Pipeline] ws 04:54:28 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 04:54:28 Selected Git installation does not exist. Using Default 04:54:28 The recommended git tool is: NONE 04:54:34 using credential edgex-jenkins-ssh 04:54:34 Cloning the remote Git repository 04:54:34 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:34 > git init /w/workspace/app-service-configurable/4 # timeout=10 04:54:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:34 > git --version # timeout=10 04:54:34 > git --version # 'git version 2.25.1' 04:54:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/430/head:refs/remotes/origin/PR-430 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:36 Merging remotes/origin/main commit 5ce181da19694a4307a13509148c3e1aea68fdc3 into PR head commit cca3c994759863ce8dfc32ce73e904c728ed8315 04:54:36 Merge succeeded, producing 45d00aa9002dcda3cc40a83068fea7abc531f3fd 04:54:36 Checking out Revision 45d00aa9002dcda3cc40a83068fea7abc531f3fd (PR-430) 04:54:36 > git config core.sparsecheckout # timeout=10 04:54:36 > git checkout -f cca3c994759863ce8dfc32ce73e904c728ed8315 # timeout=10 04:54:36 > git remote # timeout=10 04:54:36 > git config --get remote.origin.url # timeout=10 04:54:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:36 > git merge 5ce181da19694a4307a13509148c3e1aea68fdc3 # timeout=10 04:54:36 > git rev-parse HEAD^{commit} # timeout=10 04:54:36 > git config core.sparsecheckout # timeout=10 04:54:36 > git checkout -f 45d00aa9002dcda3cc40a83068fea7abc531f3fd # timeout=10 04:54:40 Commit message: "Merge commit '5ce181da19694a4307a13509148c3e1aea68fdc3' into HEAD" 04:54:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:40 > git rev-list --no-walk a2be9f29e9643d13f6d40a37ca5959646243d32c # timeout=10 04:54:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:41 Dload Upload Total Spent Left Speed 04:54:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 04:54:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:54:42 + sudo tee /etc/docker/daemon.new 04:54:42 { 04:54:42 "registry-mirrors": [ 04:54:42 "https://nexus3.edgexfoundry.org:10001" 04:54:42 ], 04:54:42 "bip": "10.250.0.254/24", 04:54:42 "hosts": [ 04:54:42 "tcp://0.0.0.0:5555", 04:54:42 "unix:///var/run/docker.sock" 04:54:42 ], 04:54:42 "mtu": 1458, 04:54:42 "selinux-enabled": true, 04:54:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:42 } [Pipeline] sh 04:54:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:01 provisioning config files... 04:55:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config1114751863077015961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:02 ---> docker-login.sh 04:55:02 nexus3.edgexfoundry.org:10001 04:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:02 Configure a credential helper to remove this warning. See 04:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:02 04:55:02 Login Succeeded 04:55:02 nexus3.edgexfoundry.org:10002 04:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:03 Configure a credential helper to remove this warning. See 04:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:03 04:55:03 Login Succeeded 04:55:03 nexus3.edgexfoundry.org:10003 04:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:03 Configure a credential helper to remove this warning. See 04:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:03 04:55:03 Login Succeeded 04:55:03 nexus3.edgexfoundry.org:10004 04:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:04 Configure a credential helper to remove this warning. See 04:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:04 04:55:04 Login Succeeded 04:55:04 docker.io 04:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:04 Configure a credential helper to remove this warning. See 04:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:04 04:55:04 Login Succeeded 04:55:04 ---> docker-login.sh ends [Pipeline] } 04:55:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:05 ========================================================= 04:55:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:55:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:55:05 Sending build context to Docker daemon 204.3kB 04:55:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:55:06 Step 2/13 : FROM ${BASE} AS builder 04:55:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:06 9b3977197b4f: Pulling fs layer 04:55:06 1a89e8eeedd5: Pulling fs layer 04:55:06 94645a83ff95: Pulling fs layer 04:55:06 e6fb740bc735: Pulling fs layer 04:55:06 3a77bd46dcc9: Pulling fs layer 04:55:06 355e64cbe906: Pulling fs layer 04:55:06 63ab81a10011: Pulling fs layer 04:55:06 555d1d1c4555: Pulling fs layer 04:55:06 7d9057610161: Pulling fs layer 04:55:06 555d1d1c4555: Waiting 04:55:06 355e64cbe906: Waiting 04:55:06 63ab81a10011: Waiting 04:55:06 e6fb740bc735: Waiting 04:55:06 3a77bd46dcc9: Waiting 04:55:06 94645a83ff95: Verifying Checksum 04:55:06 94645a83ff95: Download complete 04:55:06 1a89e8eeedd5: Download complete 04:55:06 3a77bd46dcc9: Verifying Checksum 04:55:06 3a77bd46dcc9: Download complete 04:55:06 355e64cbe906: Download complete 04:55:06 9b3977197b4f: Verifying Checksum 04:55:06 63ab81a10011: Verifying Checksum 04:55:06 63ab81a10011: Download complete 04:55:07 9b3977197b4f: Pull complete 04:55:07 7d9057610161: Verifying Checksum 04:55:07 7d9057610161: Download complete 04:55:08 1a89e8eeedd5: Pull complete 04:55:08 94645a83ff95: Pull complete 04:55:08 555d1d1c4555: Verifying Checksum 04:55:08 555d1d1c4555: Download complete 04:55:09 e6fb740bc735: Verifying Checksum 04:55:09 e6fb740bc735: Download complete 04:55:21 e6fb740bc735: Pull complete 04:55:21 3a77bd46dcc9: Pull complete 04:55:21 355e64cbe906: Pull complete 04:55:21 63ab81a10011: Pull complete 04:55:28 555d1d1c4555: Pull complete 04:55:30 7d9057610161: Pull complete 04:55:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:55:30 ---> 819e984ddca1 04:55:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 04:55:31 ---> Running in 7026ba56ef7b 04:55:31 Removing intermediate container 7026ba56ef7b 04:55:31 ---> 4e4ae1ec66e4 04:55:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 04:55:32 ---> Running in 4d58f1213037 04:55:32 Removing intermediate container 4d58f1213037 04:55:32 ---> 087962dbf52d 04:55:32 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 04:55:32 ---> Running in da7fcf02634b 04:55:32 Removing intermediate container da7fcf02634b 04:55:32 ---> 511a8ab284fc 04:55:32 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:32 ---> Running in 99c92ffbd2ee 04:55:36 Removing intermediate container 99c92ffbd2ee 04:55:36 ---> 2ab017ccaf3b 04:55:36 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:36 ---> Running in 54784b9ffb46 04:55:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:55:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:55:38 OK: 220 MiB in 52 packages 04:55:39 Removing intermediate container 54784b9ffb46 04:55:39 ---> fd580e43654c 04:55:39 Step 8/13 : WORKDIR /app 04:55:39 ---> Running in ea83e31c8f98 04:55:39 Removing intermediate container ea83e31c8f98 04:55:39 ---> 90fbf8759b95 04:55:39 Step 9/13 : COPY go.mod vendor* ./ 04:55:40 ---> e5f9fb70c8ee 04:55:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:40 ---> Running in 38c095eb1e6b 04:56:27 Removing intermediate container 38c095eb1e6b 04:56:27 ---> 24819177fc88 04:56:27 Step 11/13 : COPY . . 04:56:27 ---> 2b209376bdaa 04:56:27 Step 12/13 : ARG MAKE="make build" 04:56:27 ---> Running in cdb4ef871a20 04:56:27 Removing intermediate container cdb4ef871a20 04:56:27 ---> efa189809585 04:56:27 Step 13/13 : RUN $MAKE 04:56:27 ---> Running in d2bee25065af 04:56:27 noop 04:56:27 Removing intermediate container d2bee25065af 04:56:27 ---> d4cf9887e626 04:56:27 Successfully built d4cf9887e626 04:56:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:27 + docker inspect -f . ci-base-image-arm64 04:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:27 prd-ubuntu20.04-docker-arm64-4c-16g-15513 does not seem to be running inside a container 04:56:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:29 $ docker top fb46e7e38868297aec9a750bebc5be28eee553f10bfced49166e958a536a7d08 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:29 + go version 04:56:29 go version go1.17.7 linux/arm64 [Pipeline] } 04:56:29 $ docker stop --time=1 fb46e7e38868297aec9a750bebc5be28eee553f10bfced49166e958a536a7d08 04:56:31 $ docker rm -f fb46e7e38868297aec9a750bebc5be28eee553f10bfced49166e958a536a7d08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:32 + docker inspect -f . ci-base-image-arm64 04:56:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:32 prd-ubuntu20.04-docker-arm64-4c-16g-15513 does not seem to be running inside a container 04:56:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:33 $ docker top a1466614e2db5ed179890df008aa4fc3858b72de9f28a1b6947cdccab739f45c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:56:34 + make test 04:56:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 04:57:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:57:56 CGO_ENABLED=1 go vet ./... 04:58:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:58:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:58:14 ./bin/test-attribution-txt.sh [Pipeline] echo 04:58:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:58:15 $ docker stop --time=1 a1466614e2db5ed179890df008aa4fc3858b72de9f28a1b6947cdccab739f45c 04:58:16 $ docker rm -f a1466614e2db5ed179890df008aa4fc3858b72de9f28a1b6947cdccab739f45c [Pipeline] // withDockerContainer [Pipeline] sh 04:58:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:58:17 Warning: overwriting stash ‘coverage-report’ 04:58:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:19 + ls -al . 04:58:19 total 164 04:58:19 drwxrwxr-x 7 jenkins jenkins 4096 Jun 24 04:56 . 04:58:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 04:54 .. 04:58:19 -rw-rw-r-- 1 jenkins jenkins 119 Jun 24 04:54 .dockerignore 04:58:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 04:54 .git 04:58:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 04:54 .github 04:58:19 -rw-rw-r-- 1 jenkins jenkins 104 Jun 24 04:54 .gitignore 04:58:19 -rw-rw-r-- 1 jenkins jenkins 8698 Jun 24 04:54 Attribution.txt 04:58:19 -rw-rw-r-- 1 jenkins jenkins 27269 Jun 24 04:54 CHANGELOG.md 04:58:19 -rw-rw-r-- 1 jenkins jenkins 2087 Jun 24 04:54 Dockerfile 04:58:19 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 04:54 GOVERNANCE.md 04:58:19 -rw-rw-r-- 1 jenkins jenkins 688 Jun 24 04:54 Jenkinsfile 04:58:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 24 04:54 LICENSE 04:58:19 -rw-rw-r-- 1 jenkins jenkins 618 Jun 24 04:54 OWNERS.md 04:58:19 -rw-rw-r-- 1 jenkins jenkins 3718 Jun 24 04:54 README.md 04:58:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 04:52 VERSION 04:58:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 04:54 bin 04:58:19 -rw-r--r-- 1 jenkins jenkins 10 Jun 24 04:56 coverage.out 04:58:19 -rw-rw-r-- 1 jenkins jenkins 3273 Jun 24 04:54 go.mod 04:58:19 -rw-rw-r-- 1 jenkins jenkins 35803 Jun 24 04:54 go.sum 04:58:19 -rw-rw-r-- 1 jenkins jenkins 1949 Jun 24 04:54 main.go 04:58:19 -rw-rw-r-- 1 jenkins jenkins 1972 Jun 24 04:54 makefile 04:58:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 04:54 res 04:58:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:19 + 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=45d00aa9002dcda3cc40a83068fea7abc531f3fd --label arch=arm64 --label version=0.0.0 . 04:58:19 Sending build context to Docker daemon 205.3kB 04:58:19 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 04:58:19 Step 2/27 : FROM ${BASE} AS builder 04:58:19 ---> d4cf9887e626 04:58:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 04:58:19 ---> Running in 7a91dfec06cc 04:58:20 Removing intermediate container 7a91dfec06cc 04:58:20 ---> 9fe47464b02d 04:58:20 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:58:20 ---> Running in 9b0b1a273d43 04:58:20 Removing intermediate container 9b0b1a273d43 04:58:20 ---> 7821935516b9 04:58:20 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 04:58:20 ---> Running in 5df533e4d63d 04:58:20 Removing intermediate container 5df533e4d63d 04:58:20 ---> 0ed616f57569 04:58:20 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:58:20 ---> Running in 16b3f05d8d18 04:58:22 Removing intermediate container 16b3f05d8d18 04:58:22 ---> 4315b55c2918 04:58:22 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:58:22 ---> Running in 958f1d91ed77 04:58:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:58:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:58:25 OK: 220 MiB in 52 packages 04:58:26 Removing intermediate container 958f1d91ed77 04:58:26 ---> aee3134885c0 04:58:26 Step 8/27 : WORKDIR /app 04:58:26 ---> Running in b8305b1e5952 04:58:26 Removing intermediate container b8305b1e5952 04:58:26 ---> 9db6d1ff5c6a 04:58:26 Step 9/27 : COPY go.mod vendor* ./ 04:58:27 ---> 7b744453fbdd 04:58:27 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:27 ---> Running in e628a62747cb 04:58:29 Removing intermediate container e628a62747cb 04:58:29 ---> 73a00998a73f 04:58:29 Step 11/27 : COPY . . 04:58:29 ---> af0c54c116f0 04:58:29 Step 12/27 : ARG MAKE="make build" 04:58:29 ---> Running in 95ce6f103358 04:58:29 Removing intermediate container 95ce6f103358 04:58:29 ---> 36a5778af732 04:58:29 Step 13/27 : RUN $MAKE 04:58:29 ---> Running in d04562e83869 04:58:30 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 05:00:37 Removing intermediate container d04562e83869 05:00:37 ---> bb19d327208f 05:00:37 Step 14/27 : FROM alpine:3.14 05:00:37 3.14: Pulling from library/alpine 05:00:37 455c02918c45: Pulling fs layer 05:00:37 455c02918c45: Verifying Checksum 05:00:37 455c02918c45: Download complete 05:00:37 455c02918c45: Pull complete 05:00:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:00:37 Status: Downloaded newer image for alpine:3.14 05:00:37 ---> ac73e934f311 05:00:37 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 05:00:37 ---> Running in e63f0bb86f55 05:00:37 Removing intermediate container e63f0bb86f55 05:00:37 ---> 406c466d3ae1 05:00:37 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 05:00:37 ---> Running in 2f68932c7261 05:00:37 Removing intermediate container 2f68932c7261 05:00:37 ---> cc9789736cf4 05:00:37 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 05:00:37 ---> Running in 4999c5360019 05:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:00:37 (1/7) Installing ca-certificates (20211220-r0) 05:00:37 (2/7) Installing dumb-init (1.2.5-r1) 05:00:37 (3/7) Installing libgcc (10.3.1_git20210424-r2) 05:00:37 (4/7) Installing libsodium (1.0.18-r0) 05:00:37 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 05:00:37 (6/7) Installing libzmq (4.3.4-r0) 05:00:37 (7/7) Installing zeromq (4.3.4-r0) 05:00:37 Executing busybox-1.33.1-r7.trigger 05:00:37 Executing ca-certificates-20211220-r0.trigger 05:00:37 OK: 9 MiB in 21 packages 05:00:37 Removing intermediate container 4999c5360019 05:00:37 ---> 62e5a53e14d4 05:00:37 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:00:37 ---> 788255a73fd5 05:00:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 05:00:37 ---> 917b2016baa2 05:00:37 Step 20/27 : COPY --from=builder /app/res/ /res/ 05:00:37 ---> 464c2349eb4c 05:00:37 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:00:37 ---> 3e3146138e3a 05:00:37 Step 22/27 : EXPOSE 48095 05:00:37 ---> Running in a6a730ed533a 05:00:37 Removing intermediate container a6a730ed533a 05:00:37 ---> 36a888d1fab0 05:00:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 05:00:37 ---> Running in 596d677b9c69 05:00:37 Removing intermediate container 596d677b9c69 05:00:37 ---> 9bd6be37a86c 05:00:37 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:00:37 ---> Running in 9e5f465df124 05:00:37 Removing intermediate container 9e5f465df124 05:00:37 ---> 42eb1029bb9e 05:00:37 Step 25/27 : LABEL arch=arm64 05:00:37 ---> Running in 9ae2b1468e59 05:00:37 Removing intermediate container 9ae2b1468e59 05:00:37 ---> a9e9c825b0f2 05:00:37 Step 26/27 : LABEL git_sha=45d00aa9002dcda3cc40a83068fea7abc531f3fd 05:00:37 ---> Running in b46a03cde4d9 05:00:37 Removing intermediate container b46a03cde4d9 05:00:37 ---> 2858b6f31e2d 05:00:37 Step 27/27 : LABEL version=0.0.0 05:00:37 ---> Running in c8791d347930 05:00:37 Removing intermediate container c8791d347930 05:00:37 ---> c84d94b2c9a1 05:00:37 [Warning] One or more build-args [ARCH] were not consumed 05:00:37 Successfully built c84d94b2c9a1 05:00:37 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 05:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:38 05:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:38 arm64: Pulling from edgex-lftools-log-publisher 05:00:38 8998bd30e6a1: Pulling fs layer 05:00:38 04944245beec: Pulling fs layer 05:00:38 699f458cf7ca: Pulling fs layer 05:00:38 765212b225bb: Pulling fs layer 05:00:38 f23df028b6ca: Pulling fs layer 05:00:38 d65c8cfc05b1: Pulling fs layer 05:00:38 2437ff75d9bd: Pulling fs layer 05:00:38 f23df028b6ca: Waiting 05:00:38 d65c8cfc05b1: Waiting 05:00:38 765212b225bb: Waiting 05:00:38 2437ff75d9bd: Waiting 05:00:38 04944245beec: Verifying Checksum 05:00:38 04944245beec: Download complete 05:00:38 765212b225bb: Verifying Checksum 05:00:38 765212b225bb: Download complete 05:00:38 f23df028b6ca: Verifying Checksum 05:00:38 f23df028b6ca: Download complete 05:00:38 d65c8cfc05b1: Verifying Checksum 05:00:38 d65c8cfc05b1: Download complete 05:00:38 699f458cf7ca: Verifying Checksum 05:00:38 699f458cf7ca: Download complete 05:00:39 8998bd30e6a1: Verifying Checksum 05:00:39 8998bd30e6a1: Download complete 05:00:41 2437ff75d9bd: Verifying Checksum 05:00:41 2437ff75d9bd: Download complete 05:00:44 8998bd30e6a1: Pull complete 05:00:44 04944245beec: Pull complete 05:00:46 699f458cf7ca: Pull complete 05:00:46 765212b225bb: Pull complete 05:00:46 f23df028b6ca: Pull complete 05:00:46 d65c8cfc05b1: Pull complete 05:01:02 2437ff75d9bd: Pull complete 05:01:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:02 prd-ubuntu20.04-docker-arm64-4c-16g-15513 does not seem to be running inside a container 05:01:02 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:01:04 $ docker top 1f70c8bc40c150d1fc167cb68d6badde03acac6bfb30a85b9468623af214f9fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:05 ---> job-cost.sh 05:01:05 lf-activate-venv: SKIPPING 05:01:05 INFO: No Stack... 05:01:06 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:07 INFO: Archiving Costs [Pipeline] sh 05:01:08 + cat /w/workspace/app-service-configurable/4/archives/cost.csv 05:01:08 + cut -d, -f6 [Pipeline] lock 05:01:08 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] 05:01:08 Resource [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] did not exist. Created. 05:01:08 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:08 /w/workspace/app-service-configurable/4@tmp/durable-9303c2d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:09 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:09 Warning: overwriting stash ‘stack-cost’ 05:01:09 Stashed 1 file(s) [Pipeline] } 05:01:09 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-430-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:09 $ docker stop --time=1 1f70c8bc40c150d1fc167cb68d6badde03acac6bfb30a85b9468623af214f9fc 05:01:11 $ docker rm -f 1f70c8bc40c150d1fc167cb68d6badde03acac6bfb30a85b9468623af214f9fc [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 05:01:11 provisioning config files... 05:01:11 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-430@tmp/config3043555521143835667tmp [Pipeline] { [Pipeline] sh 05:01:11 + set +x 05:01:11 + curl -s https://codecov.io/bash 05:01:11 + bash -s -- 05:01:11 05:01:11 _____ _ 05:01:11 / ____| | | 05:01:11 | | ___ __| | ___ ___ _____ __ 05:01:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:11 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:11 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:11 Bash-1.0.6 05:01:11 05:01:11 05:01:11 ==> git version 2.25.1 found 05:01:11 ==> 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 05:01:11 Release-Date: 2020-01-08 05:01:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:01:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:11 ==> Jenkins CI detected. 05:01:11 current dir:  /w/workspace/_app-service-configurable_PR-430 05:01:11 project root: . 05:01:11 --> token set from env 05:01:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:11 ==> Running gcov in . (disable via -X gcov) 05:01:11 ==> Python coveragepy not found 05:01:11 ==> Searching for coverage reports in: 05:01:11 + . 05:01:11 -> Found 1 reports 05:01:11 ==> Detecting git/mercurial file structure 05:01:11 ==> Reading reports 05:01:11 + ./coverage.out bytes=10 05:01:11 ==> Appending adjustments 05:01:11 https://docs.codecov.io/docs/fixing-reports 05:01:12 + Found adjustments 05:01:12 ==> Gzipping contents 05:01:12 4.0K /tmp/codecov.9xGjbr.gz 05:01:12 ==> Uploading reports 05:01:12 url: https://codecov.io 05:01:12 query: branch=PR-430&commit=3fa159bfb019f4ea4fc95e90173e41cfb623c275&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-430%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=430&job=&cmd_args= 05:01:12 -> Pinging Codecov 05:01:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-430&commit=3fa159bfb019f4ea4fc95e90173e41cfb623c275&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-430%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=430&job=&cmd_args= 05:01:12 -> Uploading to 05:01:12 https://storage.googleapis.com/codecov/v4/raw/2022-06-24/A97CA9966030D2A3747ED39772930CCE/3fa159bfb019f4ea4fc95e90173e41cfb623c275/545412d3-436c-4635-a018-5d8040774698.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220624T050112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12ffbdbc846658142df8683341c40b14256efaff4b41d06a5bd5d98c39b380a4 05:01:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:12 Dload Upload Total Spent Left Speed 05:01:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2497 --:--:-- --:--:-- --:--:-- 2508 05:01:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/3fa159bfb019f4ea4fc95e90173e41cfb623c275 [Pipeline] } 05:01:12 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 05:01:13 + [ -d /w/workspace/_app-service-configurable_PR-430/archives ] 05:01:13 + ls -al /w/workspace/_app-service-configurable_PR-430/archives 05:01:13 total 16 05:01:13 drwxr-xr-x 3 root root 4096 Jun 24 04:54 . 05:01:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 04:54 .. 05:01:13 drwxr-xr-x 2 root root 4096 Jun 24 04:54 cost 05:01:13 -rw-r--r-- 1 root root 95 Jun 24 04:54 cost.csv 05:01:13 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-430/archives 05:01:13 + ls -al /w/workspace/_app-service-configurable_PR-430/archives 05:01:13 total 16 05:01:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 04:54 . 05:01:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 04:54 .. 05:01:13 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 04:54 cost 05:01:13 -rw-r--r-- 1 jenkins jenkins 95 Jun 24 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:01:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:14 ---> package-listing.sh 05:01:14 ++ facter osfamily 05:01:14 ++ tr '[:upper:]' '[:lower:]' 05:01:14 + OS_FAMILY=debian 05:01:14 + workspace=/w/workspace/_app-service-configurable_PR-430 05:01:14 + START_PACKAGES=/tmp/packages_start.txt 05:01:14 + END_PACKAGES=/tmp/packages_end.txt 05:01:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:14 + PACKAGES=/tmp/packages_start.txt 05:01:14 + '[' /w/workspace/_app-service-configurable_PR-430 ']' 05:01:14 + PACKAGES=/tmp/packages_end.txt 05:01:14 + case "${OS_FAMILY}" in 05:01:14 + dpkg -l 05:01:14 + grep '^ii' 05:01:14 + '[' -f /tmp/packages_start.txt ']' 05:01:14 + '[' -f /tmp/packages_end.txt ']' 05:01:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:14 + '[' /w/workspace/_app-service-configurable_PR-430 ']' 05:01:14 + mkdir -p /w/workspace/_app-service-configurable_PR-430/archives/ 05:01:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-430/archives/ [Pipeline] echo 05:01:14 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-430/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:15 prd-ubuntu20.04-docker-8c-8g-15512 does not seem to be running inside a container 05:01:15 $ 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-430/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-430 -v /w/workspace/_app-service-configurable_PR-430:/w/workspace/_app-service-configurable_PR-430:rw,z -v /w/workspace/_app-service-configurable_PR-430@tmp:/w/workspace/_app-service-configurable_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:16 $ docker top b750fd057e3d7e38d5150657864cddb14de9242c9e322943d983defd050cd67d -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:16 + touch /tmp/pre-build-complete [Pipeline] sh 05:01:16 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:17 + ls /var/log/sa-host 05:01:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:17 provisioning config files... 05:01:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-430@tmp/config3233812872343370227tmp [Pipeline] { [Pipeline] echo 05:01:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:17 ---> create-netrc.sh [Pipeline] } 05:01:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:17 ---> python-tools-install.sh [Pipeline] echo 05:01:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:18 ---> sudo-logs.sh 05:01:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:18 ---> job-cost.sh 05:01:18 lf-activate-venv: SKIPPING 05:01:18 DEBUG: total: 0.2199999988079071 05:01:18 INFO: Retrieving Stack Cost... 05:01:18 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:19 INFO: Archiving Costs [Pipeline] echo 05:01:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:19 ---> logs-deploy.sh 05:01:19 lf-activate-venv: SKIPPING 05:01:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-430/4 05:01:19 INFO: archiving workspace using pattern(s): 05:01:20 Archives upload complete. 05:01:20 INFO: archiving logs to Nexus