Pull request #595 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a8414f4863ad20901cc1a653ef4b675841ba4df+759f161ccdd1991ea406a7cb9b3094479a703e86 (2aa367cbff6d5fe349abe451c50a90ae8a01e861) 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-ssh16446204843913084616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11914731830358499626.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-595/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-595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7458835685321833199.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17455072140482061965.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-595/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-595/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15069314551212887453.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.21 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-6143 in /w/workspace/_app-service-configurable_PR-595 [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-595 # 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 > 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/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 759f161ccdd1991ea406a7cb9b3094479a703e86 into PR head commit 7a8414f4863ad20901cc1a653ef4b675841ba4df Merge succeeded, producing 7a8414f4863ad20901cc1a653ef4b675841ba4df Checking out Revision 7a8414f4863ad20901cc1a653ef4b675841ba4df (PR-595) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:53:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:53:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:53:16 ========================================================= 21:53:16 EdgeX Global Pipelines Version Info 21:53:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # 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 759f161ccdd1991ea406a7cb9b3094479a703e86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 > git rev-list --no-walk 08306e5b1182b837e405b350739cb781dc177e42 # timeout=10 21:53:17 ------------------- 21:53:17 stable info: 21:53:17 ------------------- 21:53:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:53:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:53:17 Message: update stable to v1.0.254 21:53:17 ------------------- 21:53:17 experimental info: 21:53:17 ------------------- 21:53:17 Commited By: **** collab-it+edgex@linuxfoundation.org 21:53:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:53:17 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:53:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:53:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a8414f [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:18 provisioning config files... 21:53:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config4148457279188033954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:18 ---> docker-login.sh 21:53:18 nexus3.edgexfoundry.org:10001 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10002 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10003 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10004 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 docker.io 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 ---> docker-login.sh ends [Pipeline] } 21:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:53:20 + git rev-list -1 --merges 7a8414f4863ad20901cc1a653ef4b675841ba4df~1..7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo 21:53:20 -----------> git rev-list -1 --merges 7a8414f4863ad20901cc1a653ef4b675841ba4df~1..7a8414f4863ad20901cc1a653ef4b675841ba4df 7a8414f4863ad20901cc1a653ef4b675841ba4df [false] [Pipeline] sh 21:53:20 + git log --format=format:%s -1 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo 21:53:20 ========================================================= 21:53:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:53:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:21 + git log --format=format:%s -1 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo 21:53:21 [semverPrep] GIT_COMMIT: 7a8414f4863ad20901cc1a653ef4b675841ba4df, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 21:53:21 [semverPrep] This is not a build commit. [Pipeline] sh 21:53:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:53:21 + grep -v github /etc/ssh/ssh_known_hosts 21:53:21 + [ -e /tmp/ssh_known_hosts ] 21:53:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:53:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:53:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:21 21:53:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:22 0.1.4: Pulling from edgex-devops/py-git-semver 21:53:22 b85a868b505f: Pulling fs layer 21:53:22 e2be974225ed: Pulling fs layer 21:53:22 339a4e72a1f5: Pulling fs layer 21:53:22 988bab9f4d93: Pulling fs layer 21:53:22 1469e6f7b9e6: Pulling fs layer 21:53:22 eaf3925da568: Pulling fs layer 21:53:22 bab4dde63d76: Pulling fs layer 21:53:22 bde34c3a00c8: Pulling fs layer 21:53:22 b352a97aabf1: Pulling fs layer 21:53:22 4872d77fe225: Pulling fs layer 21:53:22 5851b861e8e6: Pulling fs layer 21:53:22 1469e6f7b9e6: Waiting 21:53:22 4872d77fe225: Waiting 21:53:22 eaf3925da568: Waiting 21:53:22 bab4dde63d76: Waiting 21:53:22 5851b861e8e6: Waiting 21:53:22 bde34c3a00c8: Waiting 21:53:22 b352a97aabf1: Waiting 21:53:22 988bab9f4d93: Waiting 21:53:22 e2be974225ed: Download complete 21:53:22 988bab9f4d93: Verifying Checksum 21:53:22 988bab9f4d93: Download complete 21:53:22 1469e6f7b9e6: Verifying Checksum 21:53:22 1469e6f7b9e6: Download complete 21:53:22 eaf3925da568: Download complete 21:53:22 339a4e72a1f5: Verifying Checksum 21:53:22 339a4e72a1f5: Download complete 21:53:22 bde34c3a00c8: Verifying Checksum 21:53:22 bde34c3a00c8: Download complete 21:53:22 b352a97aabf1: Verifying Checksum 21:53:22 b352a97aabf1: Download complete 21:53:22 4872d77fe225: Verifying Checksum 21:53:22 4872d77fe225: Download complete 21:53:22 5851b861e8e6: Verifying Checksum 21:53:22 5851b861e8e6: Download complete 21:53:22 b85a868b505f: Verifying Checksum 21:53:22 b85a868b505f: Download complete 21:53:22 bab4dde63d76: Verifying Checksum 21:53:23 b85a868b505f: Pull complete 21:53:23 e2be974225ed: Pull complete 21:53:24 339a4e72a1f5: Pull complete 21:53:24 988bab9f4d93: Pull complete 21:53:24 1469e6f7b9e6: Pull complete 21:53:24 eaf3925da568: Pull complete 21:53:26 bab4dde63d76: Pull complete 21:53:26 bde34c3a00c8: Pull complete 21:53:26 b352a97aabf1: Pull complete 21:53:26 4872d77fe225: Pull complete 21:53:27 5851b861e8e6: Pull complete 21:53:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:53:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:27 prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container 21:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:53:29 $ docker top 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 -eo pid,comm 21:53:29 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). 21:53:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:53:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:29 [ssh-agent] Looking for ssh-agent implementation... 21:53:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:29 $ docker exec 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent 21:53:30 SSH_AUTH_SOCK=/tmp/ssh-XFANHpMFXZz6/agent.31 21:53:30 SSH_AGENT_PID=38 21:53:30 Running ssh-add (command line suppressed) 21:53:30 Identity added: /w/workspace/_app-service-configurable_PR-595@tmp/private_key_614988734189768475.key (/w/workspace/_app-service-configurable_PR-595@tmp/private_key_614988734189768475.key) 21:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:30 + git tag --points-at HEAD [Pipeline] } 21:53:30 $ docker exec --env ******** --env ******** 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent -k 21:53:30 unset SSH_AUTH_SOCK; 21:53:30 unset SSH_AGENT_PID; 21:53:30 echo Agent pid 38 killed; 21:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:53:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:30 [ssh-agent] Looking for ssh-agent implementation... 21:53:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:30 $ docker exec 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent 21:53:30 SSH_AUTH_SOCK=/tmp/ssh-jFYNujC28e7p/agent.70 21:53:30 SSH_AGENT_PID=76 21:53:30 Running ssh-add (command line suppressed) 21:53:30 Identity added: /w/workspace/_app-service-configurable_PR-595@tmp/private_key_1725559979413429030.key (/w/workspace/_app-service-configurable_PR-595@tmp/private_key_1725559979413429030.key) 21:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:31 + git semver init 21:53:31 2023-09-13 21:53:31,394 [run_init] DEBUG init version:0.0.0 force:False 21:53:31 2023-09-13 21:53:31,395 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-595/.semver 21:53:31 2023-09-13 21:53:31,395 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-595/.semver 21:53:31 2023-09-13 21:53:31,396 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-595/.semver'], cwd=/w/workspace/_app-service-configurable_PR-595, universal_newlines=False, shell=None, istream=None) 21:53:32 2023-09-13 21:53:32,168 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-595/.git/info/exclude 21:53:32 2023-09-13 21:53:32,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-595/.semver/PR-595 with force:False 21:53:32 2023-09-13 21:53:32,169 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-595/.semver/PR-595 21:53:32 2023-09-13 21:53:32,173 [execute] INFO git cat-file --batch-check 21:53:32 2023-09-13 21:53:32,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-595/.semver, universal_newlines=False, shell=None, istream=) 21:53:32 2023-09-13 21:53:32,181 [execute] INFO git cat-file --batch 21:53:32 2023-09-13 21:53:32,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-595/.semver, universal_newlines=False, shell=None, istream=) 21:53:32 2023-09-13 21:53:32,187 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-595/.semver/PR-595 21:53:32 0.0.0 [Pipeline] } 21:53:32 $ docker exec --env ******** --env ******** 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent -k 21:53:32 unset SSH_AUTH_SOCK; 21:53:32 unset SSH_AGENT_PID; 21:53:32 echo Agent pid 76 killed; 21:53:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:53:32 + git semver [Pipeline] } 21:53:33 $ docker stop --time=1 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 21:53:34 $ docker rm -f --volumes 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:53:34 Stashed 1 file(s) [Pipeline] echo 21:53:34 [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 21:53:35 provisioning config files... 21:53:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config9263677184498790721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:35 ---> docker-login.sh 21:53:35 nexus3.edgexfoundry.org:10001 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 nexus3.edgexfoundry.org:10002 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 nexus3.edgexfoundry.org:10003 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 nexus3.edgexfoundry.org:10004 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 docker.io 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:36 ---> docker-login.sh ends [Pipeline] } 21:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:36 ========================================================= 21:53:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:53:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:53:36 Sending build context to Docker daemon 3.348MB 21:53:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:53:36 Step 2/12 : FROM ${BASE} AS builder 21:53:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:53:36 7264a8db6415: Pulling fs layer 21:53:36 c4d48a809fc2: Pulling fs layer 21:53:36 4f1c88b9dad5: Pulling fs layer 21:53:36 ad3a456e5733: Pulling fs layer 21:53:36 9e4f439ed901: Pulling fs layer 21:53:36 feaf6a47b606: Pulling fs layer 21:53:36 5e8b037d7d82: Pulling fs layer 21:53:36 8ac70367396e: Pulling fs layer 21:53:36 6db16350a2e2: Pulling fs layer 21:53:36 9250d5d63582: Pulling fs layer 21:53:36 5e8b037d7d82: Waiting 21:53:36 8ac70367396e: Waiting 21:53:36 ad3a456e5733: Waiting 21:53:36 6db16350a2e2: Waiting 21:53:36 9e4f439ed901: Waiting 21:53:36 feaf6a47b606: Waiting 21:53:36 9250d5d63582: Waiting 21:53:36 c4d48a809fc2: Download complete 21:53:36 ad3a456e5733: Download complete 21:53:36 9e4f439ed901: Verifying Checksum 21:53:36 9e4f439ed901: Download complete 21:53:36 7264a8db6415: Verifying Checksum 21:53:36 7264a8db6415: Download complete 21:53:36 feaf6a47b606: Verifying Checksum 21:53:36 feaf6a47b606: Download complete 21:53:36 7264a8db6415: Pull complete 21:53:36 8ac70367396e: Verifying Checksum 21:53:36 8ac70367396e: Download complete 21:53:37 c4d48a809fc2: Pull complete 21:53:37 4f1c88b9dad5: Verifying Checksum 21:53:37 4f1c88b9dad5: Download complete 21:53:37 6db16350a2e2: Verifying Checksum 21:53:37 6db16350a2e2: Download complete 21:53:37 5e8b037d7d82: Verifying Checksum 21:53:37 9250d5d63582: Verifying Checksum 21:53:37 9250d5d63582: Download complete 21:53:40 4f1c88b9dad5: Pull complete 21:53:40 ad3a456e5733: Pull complete 21:53:40 9e4f439ed901: Pull complete 21:53:40 feaf6a47b606: Pull complete 21:53:43 5e8b037d7d82: Pull complete 21:53:44 8ac70367396e: Pull complete 21:53:44 6db16350a2e2: Pull complete 21:53:45 9250d5d63582: Pull complete 21:53:45 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:53:45 ---> fa269f55d9b9 21:53:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:53:50 Still waiting to schedule task 21:53:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:53:50 ---> Running in 8687bc077d13 21:53:50 Removing intermediate container 8687bc077d13 21:53:50 ---> 8c67a3b1b583 21:53:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:53:50 ---> Running in 17afbeb20353 21:53:50 Removing intermediate container 17afbeb20353 21:53:50 ---> 71bc8893546b 21:53:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:53:50 ---> Running in 98abcd27bbdd 21:53:50 Removing intermediate container 98abcd27bbdd 21:53:50 ---> dc5f8c0fb5ae 21:53:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:50 ---> Running in 07b9e028f1a1 21:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:53:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:53:51 OK: 265 MiB in 56 packages 21:53:51 Removing intermediate container 07b9e028f1a1 21:53:51 ---> 6a03e0f4cdd3 21:53:51 Step 7/12 : WORKDIR /app 21:53:51 ---> Running in 61bf11af3fbb 21:53:51 Removing intermediate container 61bf11af3fbb 21:53:51 ---> 7091074995bc 21:53:51 Step 8/12 : COPY go.mod vendor* ./ 21:53:51 ---> 52e4ba1d4a1a 21:53:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:51 ---> Running in e89c7a503c64 21:54:30 Removing intermediate container e89c7a503c64 21:54:30 ---> c8201a926494 21:54:30 Step 10/12 : COPY . . 21:54:30 ---> 793b9b487268 21:54:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:30 ---> Running in 4f130ef84cc7 21:54:30 Removing intermediate container 4f130ef84cc7 21:54:30 ---> 23ed4f07eb69 21:54:30 Step 12/12 : RUN $MAKE 21:54:30 ---> Running in b308543223fb 21:54:31 noop 21:54:31 Removing intermediate container b308543223fb 21:54:31 ---> 87c833f3b0eb 21:54:31 Successfully built 87c833f3b0eb 21:54:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:31 + docker inspect -f . ci-base-image-x86_64 21:54:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:31 prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container 21:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@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 ******** ci-base-image-x86_64 cat 21:54:32 $ docker top 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:32 + go version 21:54:32 go version go1.21.0 linux/amd64 [Pipeline] } 21:54:32 $ docker stop --time=1 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed 21:54:33 $ docker rm -f --volumes 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:34 + docker inspect -f . ci-base-image-x86_64 21:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:34 prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container 21:54:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@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 ******** ci-base-image-x86_64 cat 21:54:34 $ docker top 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:34 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-595 [Pipeline] fileExists [Pipeline] sh 21:54:35 + make test 21:54:35 go test -race -coverprofile=coverage.out ./... 21:54:35 go: updates to go.mod needed; to update it: 21:54:35 go mod tidy 21:54:35 make: *** [makefile:53: unittest] Error 1 [Pipeline] } 21:54:35 $ docker stop --time=1 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a 21:54:36 $ docker rm -f --volumes 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:37 21:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:37 latest: Pulling from edgex-lftools-log-publisher 21:54:37 5eb5b503b376: Pulling fs layer 21:54:37 5c69ac0246d0: Pulling fs layer 21:54:37 ec43610c2a17: Pulling fs layer 21:54:37 3a2ae6a8a46f: Pulling fs layer 21:54:37 33b1e0a273af: Pulling fs layer 21:54:37 5d3b04190fa2: Pulling fs layer 21:54:37 2f39f015ded8: Pulling fs layer 21:54:37 3a2ae6a8a46f: Waiting 21:54:37 33b1e0a273af: Waiting 21:54:37 5d3b04190fa2: Waiting 21:54:37 2f39f015ded8: Waiting 21:54:37 5c69ac0246d0: Download complete 21:54:37 3a2ae6a8a46f: Download complete 21:54:37 33b1e0a273af: Verifying Checksum 21:54:37 33b1e0a273af: Download complete 21:54:37 ec43610c2a17: Verifying Checksum 21:54:37 5d3b04190fa2: Verifying Checksum 21:54:37 5d3b04190fa2: Download complete 21:54:37 5eb5b503b376: Verifying Checksum 21:54:37 5eb5b503b376: Download complete 21:54:38 2f39f015ded8: Download complete 21:54:39 5eb5b503b376: Pull complete 21:54:39 5c69ac0246d0: Pull complete 21:54:39 ec43610c2a17: Pull complete 21:54:39 3a2ae6a8a46f: Pull complete 21:54:39 33b1e0a273af: Pull complete 21:54:39 5d3b04190fa2: Pull complete 21:54:44 2f39f015ded8: Pull complete 21:54:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:44 prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container 21:54:44 $ 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-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:47 $ docker top aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:48 ---> job-cost.sh 21:54:48 lf-activate-venv: SKIPPING 21:54:48 INFO: No Stack... 21:54:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:48 INFO: Archiving Costs [Pipeline] sh 21:54:49 + cat /w/workspace/_app-service-configurable_PR-595/archives/cost.csv 21:54:49 + cut -d, -f6 [Pipeline] lock 21:54:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] 21:54:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] did not exist. Created. 21:54:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:49 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:49 Stashed 1 file(s) [Pipeline] } 21:54:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:49 $ docker stop --time=1 aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd 21:54:50 $ docker rm -f --volumes aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:50 Failed in branch amd64 21:55:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6144 in /w/workspace/_app-service-configurable_PR-595 [Pipeline] { [Pipeline] ws 21:55:23 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 21:55:23 Selected Git installation does not exist. Using Default 21:55:23 The recommended git tool is: NONE 21:55:27 using credential edgex-jenkins-ssh 21:55:27 Cloning the remote Git repository 21:55:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:55:28 > git init /w/workspace/app-service-configurable/2 # timeout=10 21:55:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:55:28 > git --version # timeout=10 21:55:28 > git --version # 'git version 2.25.1' 21:55:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:55:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:55:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:55:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:30 Merging remotes/origin/main commit 759f161ccdd1991ea406a7cb9b3094479a703e86 into PR head commit 7a8414f4863ad20901cc1a653ef4b675841ba4df 21:55:31 Merge succeeded, producing 7a8414f4863ad20901cc1a653ef4b675841ba4df 21:55:31 Checking out Revision 7a8414f4863ad20901cc1a653ef4b675841ba4df (PR-595) 21:55:31 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 21:55:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:55:30 > git config core.sparsecheckout # timeout=10 21:55:30 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 21:55:31 > git remote # timeout=10 21:55:31 > git config --get remote.origin.url # timeout=10 21:55:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:31 > git merge 759f161ccdd1991ea406a7cb9b3094479a703e86 # timeout=10 21:55:31 > git rev-parse HEAD^{commit} # timeout=10 21:55:31 > git config core.sparsecheckout # timeout=10 21:55:31 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:55:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:32 Dload Upload Total Spent Left Speed 21:55:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:55:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:55:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:55:33 + sudo tee /etc/docker/daemon.new 21:55:33 { 21:55:33 "registry-mirrors": [ 21:55:33 "https://nexus3.edgexfoundry.org:10001" 21:55:33 ], 21:55:33 "bip": "10.250.0.254/24", 21:55:33 "hosts": [ 21:55:33 "tcp://0.0.0.0:5555", 21:55:33 "unix:///var/run/docker.sock" 21:55:33 ], 21:55:33 "mtu": 1458, 21:55:33 "selinux-enabled": true, 21:55:33 "seccomp-profile": "/etc/docker/seccomp.json" 21:55:33 } [Pipeline] sh 21:55:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:55:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:52 provisioning config files... 21:55:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config498725366488806904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:52 ---> docker-login.sh 21:55:52 nexus3.edgexfoundry.org:10001 21:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:53 Configure a credential helper to remove this warning. See 21:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:53 21:55:53 Login Succeeded 21:55:53 nexus3.edgexfoundry.org:10002 21:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:53 Configure a credential helper to remove this warning. See 21:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:53 21:55:53 Login Succeeded 21:55:53 nexus3.edgexfoundry.org:10003 21:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:54 Configure a credential helper to remove this warning. See 21:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:54 21:55:54 Login Succeeded 21:55:54 nexus3.edgexfoundry.org:10004 21:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:54 Configure a credential helper to remove this warning. See 21:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:54 21:55:54 Login Succeeded 21:55:54 docker.io 21:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:54 Configure a credential helper to remove this warning. See 21:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:54 21:55:54 Login Succeeded 21:55:54 ---> docker-login.sh ends [Pipeline] } 21:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:55 ========================================================= 21:55:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:55:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:55:55 Sending build context to Docker daemon 179.2kB 21:55:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:55:55 Step 2/12 : FROM ${BASE} AS builder 21:55:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:55:55 9fda8d8052c6: Pulling fs layer 21:55:55 5d54e960e981: Pulling fs layer 21:55:55 c4a7e357bf2a: Pulling fs layer 21:55:55 f0e02332f6b5: Pulling fs layer 21:55:55 66412af1f25a: Pulling fs layer 21:55:55 1baf3a5c0e64: Pulling fs layer 21:55:55 9a37bb91b891: Pulling fs layer 21:55:55 a29adfc67d43: Pulling fs layer 21:55:55 d5de9f91c1a4: Pulling fs layer 21:55:55 1baf3a5c0e64: Waiting 21:55:55 9a37bb91b891: Waiting 21:55:55 a29adfc67d43: Waiting 21:55:55 d5de9f91c1a4: Waiting 21:55:55 f0e02332f6b5: Waiting 21:55:55 66412af1f25a: Waiting 21:55:55 5d54e960e981: Download complete 21:55:55 f0e02332f6b5: Verifying Checksum 21:55:55 f0e02332f6b5: Download complete 21:55:55 66412af1f25a: Verifying Checksum 21:55:55 66412af1f25a: Download complete 21:55:55 9fda8d8052c6: Verifying Checksum 21:55:55 9fda8d8052c6: Download complete 21:55:56 9a37bb91b891: Verifying Checksum 21:55:56 9a37bb91b891: Download complete 21:55:56 9fda8d8052c6: Pull complete 21:55:56 a29adfc67d43: Verifying Checksum 21:55:56 a29adfc67d43: Download complete 21:55:57 5d54e960e981: Pull complete 21:55:57 d5de9f91c1a4: Verifying Checksum 21:55:57 d5de9f91c1a4: Download complete 21:55:57 c4a7e357bf2a: Verifying Checksum 21:55:57 c4a7e357bf2a: Download complete 21:55:58 1baf3a5c0e64: Verifying Checksum 21:55:58 1baf3a5c0e64: Download complete 21:56:08 c4a7e357bf2a: Pull complete 21:56:08 f0e02332f6b5: Pull complete 21:56:08 66412af1f25a: Pull complete 21:56:17 1baf3a5c0e64: Pull complete 21:56:17 9a37bb91b891: Pull complete 21:56:18 a29adfc67d43: Pull complete 21:56:20 d5de9f91c1a4: Pull complete 21:56:20 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:56:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:56:20 ---> 746ca1b523b5 21:56:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:56:21 ---> Running in 7e678297b0ee 21:56:22 Removing intermediate container 7e678297b0ee 21:56:22 ---> 4e6a97722ac5 21:56:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:56:22 ---> Running in 49b43a4b9b4a 21:56:22 Removing intermediate container 49b43a4b9b4a 21:56:22 ---> 89883ed161ec 21:56:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:56:22 ---> Running in 0a5a232ae2e2 21:56:23 Removing intermediate container 0a5a232ae2e2 21:56:23 ---> aacd7bcf2776 21:56:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:23 ---> Running in e6d709abfe8f 21:56:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:56:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:56:25 OK: 267 MiB in 56 packages 21:56:26 Removing intermediate container e6d709abfe8f 21:56:26 ---> 522ff7a91cd7 21:56:26 Step 7/12 : WORKDIR /app 21:56:26 ---> Running in e8c5ef7da258 21:56:26 Removing intermediate container e8c5ef7da258 21:56:26 ---> 47da51ced100 21:56:26 Step 8/12 : COPY go.mod vendor* ./ 21:56:28 ---> 3aae7da22e2f 21:56:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:28 ---> Running in 893a0591fc61 21:57:36 Removing intermediate container 893a0591fc61 21:57:36 ---> 7d05c21fd890 21:57:36 Step 10/12 : COPY . . 21:57:37 ---> 9d193a3b6c19 21:57:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:37 ---> Running in bfb93f1d64d4 21:57:37 Removing intermediate container bfb93f1d64d4 21:57:37 ---> ada62c4e86de 21:57:37 Step 12/12 : RUN $MAKE 21:57:37 ---> Running in fd7da772da1f 21:57:38 noop 21:57:39 Removing intermediate container fd7da772da1f 21:57:39 ---> 8094ffd67125 21:57:39 Successfully built 8094ffd67125 21:57:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:39 + docker inspect -f . ci-base-image-arm64 21:57:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:39 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 21:57:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:41 $ docker top dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:41 + go version 21:57:41 go version go1.21.0 linux/arm64 [Pipeline] } 21:57:41 $ docker stop --time=1 dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 21:57:43 $ docker rm -f --volumes dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:44 + docker inspect -f . ci-base-image-arm64 21:57:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:44 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 21:57:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:45 $ docker top ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:45 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 21:57:46 + make test 21:57:46 go test -race -coverprofile=coverage.out ./... 21:57:51 go: updates to go.mod needed; to update it: 21:57:51 go mod tidy 21:57:51 make: *** [makefile:53: unittest] Error 1 [Pipeline] } 21:57:51 $ docker stop --time=1 ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd 21:57:53 $ docker rm -f --volumes ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:54 21:57:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:54 arm64: Pulling from edgex-lftools-log-publisher 21:57:54 8998bd30e6a1: Pulling fs layer 21:57:54 04944245beec: Pulling fs layer 21:57:54 699f458cf7ca: Pulling fs layer 21:57:54 765212b225bb: Pulling fs layer 21:57:54 f23df028b6ca: Pulling fs layer 21:57:54 d65c8cfc05b1: Pulling fs layer 21:57:54 2437ff75d9bd: Pulling fs layer 21:57:54 f23df028b6ca: Waiting 21:57:54 d65c8cfc05b1: Waiting 21:57:54 2437ff75d9bd: Waiting 21:57:54 765212b225bb: Waiting 21:57:54 04944245beec: Verifying Checksum 21:57:54 04944245beec: Download complete 21:57:54 765212b225bb: Verifying Checksum 21:57:54 765212b225bb: Download complete 21:57:54 f23df028b6ca: Download complete 21:57:54 d65c8cfc05b1: Verifying Checksum 21:57:54 d65c8cfc05b1: Download complete 21:57:54 699f458cf7ca: Verifying Checksum 21:57:54 699f458cf7ca: Download complete 21:57:55 8998bd30e6a1: Verifying Checksum 21:57:55 8998bd30e6a1: Download complete 21:57:57 2437ff75d9bd: Verifying Checksum 21:57:57 2437ff75d9bd: Download complete 21:57:59 8998bd30e6a1: Pull complete 21:57:59 04944245beec: Pull complete 21:58:00 699f458cf7ca: Pull complete 21:58:01 765212b225bb: Pull complete 21:58:01 f23df028b6ca: Pull complete 21:58:02 d65c8cfc05b1: Pull complete 21:58:17 2437ff75d9bd: Pull complete 21:58:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:17 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 21:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:58:19 $ docker top 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:20 ---> job-cost.sh 21:58:20 lf-activate-venv: SKIPPING 21:58:20 INFO: No Stack... 21:58:20 INFO: Retrieving Pricing Info for: v3-standard-4 21:58:21 INFO: Archiving Costs [Pipeline] sh 21:58:21 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 21:58:21 + cut -d, -f6 [Pipeline] lock 21:58:22 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] 21:58:22 Resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] did not exist. Created. 21:58:22 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:58:22 /w/workspace/app-service-configurable/2@tmp/durable-cebe1b3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:58:23 + echo total: 0.10999999940395355 [Pipeline] stash 21:58:23 Warning: overwriting stash ‘stack-cost’ 21:58:23 Stashed 1 file(s) [Pipeline] } 21:58:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:58:23 $ docker stop --time=1 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b 21:58:25 $ docker rm -f --volumes 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:58:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:58:25 + [ -d /w/workspace/_app-service-configurable_PR-595/archives ] 21:58:25 + ls -al /w/workspace/_app-service-configurable_PR-595/archives 21:58:25 total 16 21:58:25 drwxr-xr-x 3 root root 4096 Sep 13 21:54 . 21:58:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 21:54 .. 21:58:25 drwxr-xr-x 2 root root 4096 Sep 13 21:54 cost 21:58:25 -rw-r--r-- 1 root root 96 Sep 13 21:54 cost.csv 21:58:25 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-595/archives 21:58:25 + ls -al /w/workspace/_app-service-configurable_PR-595/archives 21:58:25 total 16 21:58:25 drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 21:54 . 21:58:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 21:54 .. 21:58:25 drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 21:54 cost 21:58:25 -rw-r--r-- 1 jenkins jenkins 96 Sep 13 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:58:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:58:27 ---> package-listing.sh 21:58:27 ++ facter osfamily 21:58:27 ++ tr '[:upper:]' '[:lower:]' 21:58:27 + OS_FAMILY=debian 21:58:27 + workspace=/w/workspace/_app-service-configurable_PR-595 21:58:27 + START_PACKAGES=/tmp/packages_start.txt 21:58:27 + END_PACKAGES=/tmp/packages_end.txt 21:58:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:58:27 + PACKAGES=/tmp/packages_start.txt 21:58:27 + '[' /w/workspace/_app-service-configurable_PR-595 ']' 21:58:27 + PACKAGES=/tmp/packages_end.txt 21:58:27 + case "${OS_FAMILY}" in 21:58:27 + dpkg -l 21:58:27 + grep '^ii' 21:58:27 + '[' -f /tmp/packages_start.txt ']' 21:58:27 + '[' -f /tmp/packages_end.txt ']' 21:58:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:58:27 + '[' /w/workspace/_app-service-configurable_PR-595 ']' 21:58:27 + mkdir -p /w/workspace/_app-service-configurable_PR-595/archives/ 21:58:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-595/archives/ [Pipeline] echo 21:58:27 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-595/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:58:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:58:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:28 prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container 21:58:28 $ 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-595/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-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:58:28 $ docker top 5fea5fb7cd151ec190f43508b708c03dcfd20c4ff1e7654fba9cc3407cfe01d9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:28 + touch /tmp/pre-build-complete [Pipeline] sh 21:58:29 + mkdir -p /var/log/sysstat [Pipeline] sh 21:58:29 + ls /var/log/sa-host 21:58:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:29 provisioning config files... 21:58:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config15420003107343074259tmp [Pipeline] { [Pipeline] echo 21:58:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:58:29 ---> create-netrc.sh [Pipeline] } 21:58:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:58:30 ---> python-tools-install.sh [Pipeline] echo 21:58:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:58:30 ---> sudo-logs.sh 21:58:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:58:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:58:30 ---> job-cost.sh 21:58:30 lf-activate-venv: SKIPPING 21:58:30 DEBUG: total: 0.2199999988079071 21:58:30 INFO: Retrieving Stack Cost... 21:58:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:58:31 INFO: Archiving Costs [Pipeline] echo 21:58:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:58:31 ---> logs-deploy.sh 21:58:31 lf-activate-venv: SKIPPING 21:58:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-595/2 21:58:31 INFO: archiving workspace using pattern(s): 21:58:32 Archives upload complete. 21:58:32 INFO: archiving logs to Nexus