Pull request #3923 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57a95723878025fcd96c6eace5eb9c2ef54941d3+6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d (cc7336bd3184b58997a88e68a969db555a8d0aab) 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-ssh17485616538385945010.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5781230927662007317.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3923/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3923/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8090653883837030037.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3923/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16774593786568183125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5440566955280395640.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3923/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3923/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh338021001897381516.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-8692 in /w/workspace/edgexfoundry_edgex-go_PR-3923 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.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/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3923/head:refs/remotes/origin/PR-3923 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit 57a95723878025fcd96c6eace5eb9c2ef54941d3 Merge succeeded, producing 57a95723878025fcd96c6eace5eb9c2ef54941d3 Checking out Revision 57a95723878025fcd96c6eace5eb9c2ef54941d3 (PR-3923) > git config core.sparsecheckout # timeout=10 > git checkout -f 57a95723878025fcd96c6eace5eb9c2ef54941d3 # 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 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57a95723878025fcd96c6eace5eb9c2ef54941d3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:09:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:09:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:09:34 ========================================================= 21:09:34 EdgeX Global Pipelines Version Info 21:09:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:09:34 ------------------- 21:09:34 stable info: 21:09:34 ------------------- 21:09:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:09:34 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:09:34 Message: update stable to v1.0.221 21:09:35 ------------------- 21:09:35 experimental info: 21:09:35 ------------------- 21:09:35 Commited By: **** collab-it+edgex@linuxfoundation.org 21:09:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:09:35 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 21:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3923 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3923 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3923 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57a95723878025fcd96c6eace5eb9c2ef54941d3 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57a9572 [Pipeline] echo 21:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:36 provisioning config files... 21:09:36 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1452268208169020693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> docker-login.sh 21:09:37 nexus3.edgexfoundry.org:10001 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 nexus3.edgexfoundry.org:10002 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 nexus3.edgexfoundry.org:10003 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 nexus3.edgexfoundry.org:10004 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 docker.io 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:38 Configure a credential helper to remove this warning. See 21:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:38 21:09:38 Login Succeeded 21:09:38 ---> docker-login.sh ends [Pipeline] } 21:09:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:38 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 21:09:38 + dirname cmd/core-command/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo core-command,cmd/core-command/Dockerfile 21:09:38 + dirname cmd/core-data/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo core-data,cmd/core-data/Dockerfile 21:09:38 + dirname cmd/core-metadata/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo core-metadata,cmd/core-metadata/Dockerfile 21:09:38 + dirname cmd/security-bootstrapper/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:09:38 + dirname cmd/security-proxy-setup/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:09:38 + dirname cmd/security-secretstore-setup/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:09:38 + + dirname cmd/support-notifications/Dockerfile 21:09:38 cut -d/ -f2 21:09:38 + echo support-notifications,cmd/support-notifications/Dockerfile 21:09:38 + dirname cmd/support-scheduler/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:09:38 + dirname cmd/sys-mgmt-agent/Dockerfile 21:09:38 + cut -d/ -f2 21:09:38 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:09:38 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:09:39 + git rev-list -1 --merges 57a95723878025fcd96c6eace5eb9c2ef54941d3~1..57a95723878025fcd96c6eace5eb9c2ef54941d3 [Pipeline] echo 21:09:39 -----------> git rev-list -1 --merges 57a95723878025fcd96c6eace5eb9c2ef54941d3~1..57a95723878025fcd96c6eace5eb9c2ef54941d3 57a95723878025fcd96c6eace5eb9c2ef54941d3 [false] [Pipeline] sh 21:09:39 + git log --format=format:%s -1 57a95723878025fcd96c6eace5eb9c2ef54941d3 [Pipeline] echo 21:09:39 ========================================================= 21:09:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:09:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 21:09:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:40 + grep -v github /etc/ssh/ssh_known_hosts 21:09:40 + [ -e /tmp/ssh_known_hosts ] 21:09:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:09:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:09:40 + sudo tee -a /etc/ssh/ssh_known_hosts 21:09:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:09:40 21:09:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:09:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:09:41 latest: Pulling from edgex-devops/git-semver 21:09:41 a0d0a0d46f8b: Pulling fs layer 21:09:41 3e5f54012d9b: Pulling fs layer 21:09:41 4c7163046ea9: Pulling fs layer 21:09:41 0c2d73faf560: Pulling fs layer 21:09:41 0c2d73faf560: Waiting 21:09:41 3e5f54012d9b: Verifying Checksum 21:09:41 3e5f54012d9b: Download complete 21:09:41 a0d0a0d46f8b: Download complete 21:09:41 0c2d73faf560: Verifying Checksum 21:09:41 0c2d73faf560: Download complete 21:09:41 4c7163046ea9: Verifying Checksum 21:09:41 4c7163046ea9: Download complete 21:09:41 a0d0a0d46f8b: Pull complete 21:09:41 3e5f54012d9b: Pull complete 21:09:41 4c7163046ea9: Pull complete 21:09:42 0c2d73faf560: Pull complete 21:09:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:09:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:09:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:09:42 prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container 21:09:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:09:42 $ docker top e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:43 [ssh-agent] Looking for ssh-agent implementation... 21:09:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:43 $ docker exec e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d ssh-agent 21:09:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcoljcG/agent.13 21:09:43 SSH_AGENT_PID=19 21:09:43 Running ssh-add (command line suppressed) 21:09:43 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6946499399266305311.key (/w/workspace/edgex-go/1@tmp/private_key_6946499399266305311.key) 21:09:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:43 + git tag --points-at HEAD [Pipeline] } 21:09:43 $ docker exec --env ******** --env ******** e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d ssh-agent -k 21:09:43 unset SSH_AUTH_SOCK; 21:09:43 unset SSH_AGENT_PID; 21:09:43 echo Agent pid 19 killed; 21:09:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:09:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:44 [ssh-agent] Looking for ssh-agent implementation... 21:09:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:44 $ docker exec e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d ssh-agent 21:09:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCLLKBC/agent.51 21:09:44 SSH_AGENT_PID=57 21:09:44 Running ssh-add (command line suppressed) 21:09:44 Identity added: /w/workspace/edgex-go/1@tmp/private_key_9002285234489193625.key (/w/workspace/edgex-go/1@tmp/private_key_9002285234489193625.key) 21:09:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:44 + git semver init 21:09:44 # -> Open(): unable to determine branch for HEAD 21:09:44 # $GIT_DIR = /w/workspace/edgex-go/1/.git 21:09:44 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 21:09:44 # $SEMVER_REMOTE_NAME = origin 21:09:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:09:44 # $SEMVER_USER_NAME = edgex-jenkins 21:09:44 # $SEMVER_BRANCH = PR-3923 21:09:44 # $SEMVER_TEMP = /tmp/semver-979839084 21:09:44 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:09:56 # '/tmp/semver-979839084' -> '/w/workspace/edgex-go/1/.semver' 21:09:56 # -> Force: false 21:09:56 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 21:09:56 $ docker exec --env ******** --env ******** e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d ssh-agent -k 21:09:57 unset SSH_AUTH_SOCK; 21:09:57 unset SSH_AGENT_PID; 21:09:57 echo Agent pid 57 killed; 21:09:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:57 + git semver [Pipeline] } 21:09:57 $ docker stop --time=1 e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d 21:09:59 $ docker rm -f e3b42dabb86e2233f49745a93eb9445ff5983bc5093e89769716f76c42bfd69d [Pipeline] // withDockerContainer [Pipeline] sh 21:10:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:10:00 Stashed 1 file(s) [Pipeline] echo 21:10:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 21:10:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8700 in /w/workspace/edgexfoundry_edgex-go_PR-3923 [Pipeline] { [Pipeline] echo 21:10:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:00 ========================================================= 21:10:00 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:10:00 ========================================================= [Pipeline] fileExists [Pipeline] ws 21:10:00 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] sh [Pipeline] checkout 21:10:01 The recommended git tool is: git 21:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:10:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:10:01 59bf1c3509f3: Pulling fs layer 21:10:01 666ba61612fd: Pulling fs layer 21:10:01 8ed8ca486205: Pulling fs layer 21:10:01 4fe6c5a15a65: Pulling fs layer 21:10:01 22a0e8bec74d: Pulling fs layer 21:10:01 640e595b4fbd: Pulling fs layer 21:10:01 763cafe07f6e: Pulling fs layer 21:10:01 0c0b528cf693: Pulling fs layer 21:10:01 10935f4eaf8b: Pulling fs layer 21:10:01 4fe6c5a15a65: Waiting 21:10:01 22a0e8bec74d: Waiting 21:10:01 763cafe07f6e: Waiting 21:10:01 10935f4eaf8b: Waiting 21:10:01 640e595b4fbd: Waiting 21:10:01 0c0b528cf693: Waiting 21:10:01 8ed8ca486205: Download complete 21:10:01 666ba61612fd: Download complete 21:10:01 22a0e8bec74d: Verifying Checksum 21:10:01 22a0e8bec74d: Download complete 21:10:01 640e595b4fbd: Download complete 21:10:01 59bf1c3509f3: Verifying Checksum 21:10:01 59bf1c3509f3: Download complete 21:10:01 763cafe07f6e: Download complete 21:10:01 0c0b528cf693: Verifying Checksum 21:10:01 0c0b528cf693: Download complete 21:10:01 59bf1c3509f3: Pull complete 21:10:01 666ba61612fd: Pull complete 21:10:01 8ed8ca486205: Pull complete 21:10:02 10935f4eaf8b: Verifying Checksum 21:10:02 10935f4eaf8b: Download complete 21:10:02 4fe6c5a15a65: Verifying Checksum 21:10:02 4fe6c5a15a65: Download complete 21:10:05 using credential edgex-jenkins-ssh 21:10:05 Cloning the remote Git repository 21:10:05 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:10:05 > git init /w/workspace/edgex-go/1 # timeout=10 21:10:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:10:05 > git --version # timeout=10 21:10:05 > git --version # 'git version 2.25.1' 21:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:06 4fe6c5a15a65: Pull complete 21:10:06 22a0e8bec74d: Pull complete 21:10:06 640e595b4fbd: Pull complete 21:10:06 763cafe07f6e: Pull complete 21:10:06 0c0b528cf693: Pull complete 21:10:08 10935f4eaf8b: Pull complete 21:10:08 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 21:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:10:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 21:10:08 + + docker build -t ci-base-image-x86_64 -f - . 21:10:08 echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:10:08 WORKDIR /edgex 21:10:08 COPY go.mod . 21:10:08 RUN go mod download 21:10:09 Sending build context to Docker daemon 334.2MB 21:10:09 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:10:09 ---> 99d49a6021b9 21:10:09 Step 2/4 : WORKDIR /edgex 21:10:12 ---> Running in 5b394489d0a1 21:10:12 Removing intermediate container 5b394489d0a1 21:10:12 ---> 13bbc73b3e31 21:10:12 Step 3/4 : COPY go.mod . 21:10:12 ---> 728172ddcf6d 21:10:12 Step 4/4 : RUN go mod download 21:10:12 ---> Running in 602dcb9a5cfc 21:10:20 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:10:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:20 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:10:20 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:10:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3923/head:refs/remotes/origin/PR-3923 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:21 Merging remotes/origin/main commit 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit 57a95723878025fcd96c6eace5eb9c2ef54941d3 21:10:21 Merge succeeded, producing 57a95723878025fcd96c6eace5eb9c2ef54941d3 21:10:21 Checking out Revision 57a95723878025fcd96c6eace5eb9c2ef54941d3 (PR-3923) 21:10:21 > git config core.sparsecheckout # timeout=10 21:10:21 > git checkout -f 57a95723878025fcd96c6eace5eb9c2ef54941d3 # timeout=10 21:10:21 > git remote # timeout=10 21:10:21 > git config --get remote.origin.url # timeout=10 21:10:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:21 > git merge 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 21:10:21 > git rev-parse HEAD^{commit} # timeout=10 21:10:21 > git config core.sparsecheckout # timeout=10 21:10:21 > git checkout -f 57a95723878025fcd96c6eace5eb9c2ef54941d3 # timeout=10 21:10:26 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 21:10:26 > git --version # timeout=10 21:10:26 > git --version # 'git version 2.25.1' 21:10:26 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:27 Removing intermediate container 602dcb9a5cfc 21:10:27 ---> 3635f2aa2041 21:10:27 Successfully built 3635f2aa2041 21:10:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:10:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:27 Dload Upload Total Spent Left Speed 21:10:27 + docker inspect -f . ci-base-image-x86_64 21:10:27 . [Pipeline] withDockerContainer 21:10:27 prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container 21:10:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 38702 0 --:--:-- --:--:-- --:--:-- 38702 21:10:28 $ docker top 62d5bc4503f182baac5691c4ef928887e7bb4881a662441d989d4a2d78771b4e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 21:10:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:28 + go version 21:10:28 go version go1.17.6 linux/amd64 [Pipeline] } 21:10:28 $ docker stop --time=1 62d5bc4503f182baac5691c4ef928887e7bb4881a662441d989d4a2d78771b4e 21:10:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:29 + sudo tee /etc/docker/daemon.new 21:10:29 { 21:10:29 "registry-mirrors": [ 21:10:29 "https://nexus3.edgexfoundry.org:10001" 21:10:29 ], 21:10:29 "bip": "10.250.0.254/24", 21:10:29 "hosts": [ 21:10:29 "tcp://0.0.0.0:5555", 21:10:29 "unix:///var/run/docker.sock" 21:10:29 ], 21:10:29 "mtu": 1458, 21:10:29 "selinux-enabled": true, 21:10:29 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:29 } 21:10:30 $ docker rm -f 62d5bc4503f182baac5691c4ef928887e7bb4881a662441d989d4a2d78771b4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:10:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:30 + docker inspect -f . ci-base-image-x86_64 21:10:30 . [Pipeline] withDockerContainer 21:10:30 prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container 21:10:30 + sudo service docker restart 21:10:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:31 $ docker top 5c77a444f862b4a21f3a57167ee3032140843060a528315270a85d8bd73841e9 -eo pid,comm [Pipeline] { [Pipeline] echo 21:10:31 ========================================================= 21:10:31 [edgeXBuildGoParallel] Running Tests and Build... 21:10:31 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:10:31 + make test 21:10:31 go mod tidy 21:10:32 go: downloading github.com/pkg/errors v0.9.1 21:10:32 go: downloading gopkg.in/yaml.v2 v2.3.0 21:10:32 github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct imports 21:10:32 github.com/edgexfoundry/go-mod-registry/v2/registry imports 21:10:32 github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul imports 21:10:32 github.com/hashicorp/consul/api tested by 21:10:32 github.com/hashicorp/consul/api.test imports 21:10:32 github.com/hashicorp/consul/sdk/testutil imports 21:10:32 github.com/pkg/errors loaded from github.com/pkg/errors@v0.8.1, 21:10:32 but go 1.16 would select v0.9.1 21:10:32 github.com/edgexfoundry/edgex-go/internal/core/data/container imports 21:10:32 github.com/edgexfoundry/go-mod-messaging/v2/messaging imports 21:10:32 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis imports 21:10:32 github.com/go-redis/redis/v7 tested by 21:10:32 github.com/go-redis/redis/v7.test imports 21:10:32 github.com/onsi/gomega imports 21:10:32 github.com/onsi/gomega/matchers imports 21:10:32 gopkg.in/yaml.v2 loaded from gopkg.in/yaml.v2@v2.2.8, 21:10:32 but go 1.16 would select v2.3.0 21:10:32 21:10:32 To upgrade to the versions selected by go 1.16: 21:10:32 go mod tidy -go=1.16 && go mod tidy -go=1.17 21:10:32 If reproducibility with go 1.16 is not needed: 21:10:32 go mod tidy -compat=1.17 21:10:32 For other options, see: 21:10:32 https://golang.org/doc/modules/pruning 21:10:32 make: *** [Makefile:97: unittest] Error 1 [Pipeline] } 21:10:32 $ docker stop --time=1 5c77a444f862b4a21f3a57167ee3032140843060a528315270a85d8bd73841e9 21:10:33 $ docker rm -f 5c77a444f862b4a21f3a57167ee3032140843060a528315270a85d8bd73841e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:34 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:49 provisioning config files... 21:10:49 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config874763032191546557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:49 ---> docker-login.sh 21:10:49 nexus3.edgexfoundry.org:10001 21:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:50 Configure a credential helper to remove this warning. See 21:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:50 21:10:50 Login Succeeded 21:10:50 nexus3.edgexfoundry.org:10002 21:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:51 Configure a credential helper to remove this warning. See 21:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:51 21:10:51 Login Succeeded 21:10:51 nexus3.edgexfoundry.org:10003 21:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:51 Configure a credential helper to remove this warning. See 21:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:51 21:10:51 Login Succeeded 21:10:51 nexus3.edgexfoundry.org:10004 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 docker.io 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 ---> docker-login.sh ends [Pipeline] } 21:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 ========================================================= 21:10:53 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:10:53 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:10:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:54 9b3977197b4f: Pulling fs layer 21:10:54 1a89e8eeedd5: Pulling fs layer 21:10:54 94645a83ff95: Pulling fs layer 21:10:54 3f3a8bcf1eab: Pulling fs layer 21:10:54 0c92f367c5e7: Pulling fs layer 21:10:54 f7c0051592d6: Pulling fs layer 21:10:54 a227ed2f7395: Pulling fs layer 21:10:54 7b1c46037f91: Pulling fs layer 21:10:54 3f3a8bcf1eab: Waiting 21:10:54 f7c0051592d6: Waiting 21:10:54 0c92f367c5e7: Waiting 21:10:54 a227ed2f7395: Waiting 21:10:54 7b1c46037f91: Waiting 21:10:54 94645a83ff95: Verifying Checksum 21:10:54 94645a83ff95: Download complete 21:10:54 1a89e8eeedd5: Verifying Checksum 21:10:54 1a89e8eeedd5: Download complete 21:10:54 0c92f367c5e7: Verifying Checksum 21:10:54 0c92f367c5e7: Download complete 21:10:54 9b3977197b4f: Verifying Checksum 21:10:54 9b3977197b4f: Download complete 21:10:54 f7c0051592d6: Verifying Checksum 21:10:54 f7c0051592d6: Download complete 21:10:54 a227ed2f7395: Verifying Checksum 21:10:54 a227ed2f7395: Download complete 21:10:55 9b3977197b4f: Pull complete 21:10:55 1a89e8eeedd5: Pull complete 21:10:56 94645a83ff95: Pull complete 21:10:56 7b1c46037f91: Verifying Checksum 21:10:56 7b1c46037f91: Download complete 21:10:56 3f3a8bcf1eab: Verifying Checksum 21:10:56 3f3a8bcf1eab: Download complete 21:11:09 3f3a8bcf1eab: Pull complete 21:11:09 0c92f367c5e7: Pull complete 21:11:09 f7c0051592d6: Pull complete 21:11:09 a227ed2f7395: Pull complete 21:11:16 7b1c46037f91: Pull complete 21:11:16 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 21:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:11:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 21:11:16 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:11:16 WORKDIR /edgex 21:11:16 COPY go.mod . 21:11:16 RUN go mod download 21:11:16 + docker build -t ci-base-image-arm64 -f - . 21:11:19 Sending build context to Docker daemon 168.8MB 21:11:19 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:11:19 ---> f79e39bc4007 21:11:19 Step 2/4 : WORKDIR /edgex 21:11:20 ---> Running in 0a4271c0f42f 21:11:21 Removing intermediate container 0a4271c0f42f 21:11:21 ---> fbeb6398a5c6 21:11:21 Step 3/4 : COPY go.mod . 21:11:21 ---> 555985ae94ab 21:11:21 Step 4/4 : RUN go mod download 21:11:21 ---> Running in 3670fdcf31ed 21:12:08 Removing intermediate container 3670fdcf31ed 21:12:08 ---> 8d079e295a66 21:12:08 Successfully built 8d079e295a66 21:12:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:12:09 + docker inspect -f . ci-base-image-arm64 21:12:09 . [Pipeline] withDockerContainer 21:12:09 prd-ubuntu20.04-docker-arm64-4c-16g-8700 does not seem to be running inside a container 21:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:10 $ docker top 1ee8327a052891d0675894bbafc3ca55d3d0d3881987a97a7519b3a13a9fd373 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:11 + go version 21:12:11 go version go1.17.6 linux/arm64 [Pipeline] } 21:12:11 $ docker stop --time=1 1ee8327a052891d0675894bbafc3ca55d3d0d3881987a97a7519b3a13a9fd373 21:12:13 $ docker rm -f 1ee8327a052891d0675894bbafc3ca55d3d0d3881987a97a7519b3a13a9fd373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:12:14 + docker inspect -f . ci-base-image-arm64 21:12:14 . [Pipeline] withDockerContainer 21:12:14 prd-ubuntu20.04-docker-arm64-4c-16g-8700 does not seem to be running inside a container 21:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:15 $ docker top 555c2536b433a95ce4a64b1667168e82144eab554d30fc620c17deea3c99652c -eo pid,comm [Pipeline] { [Pipeline] echo 21:12:16 ========================================================= 21:12:16 [edgeXBuildGoParallel] Running Tests and Build... 21:12:16 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:12:16 + make test 21:12:16 go mod tidy 21:12:18 go: downloading github.com/pkg/errors v0.9.1 21:12:18 go: downloading gopkg.in/yaml.v2 v2.3.0 21:12:18 github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct imports 21:12:18 github.com/edgexfoundry/go-mod-registry/v2/registry imports 21:12:18 github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul imports 21:12:18 github.com/hashicorp/consul/api tested by 21:12:18 github.com/hashicorp/consul/api.test imports 21:12:18 github.com/hashicorp/consul/sdk/testutil imports 21:12:18 github.com/pkg/errors loaded from github.com/pkg/errors@v0.8.1, 21:12:18 but go 1.16 would select v0.9.1 21:12:18 github.com/edgexfoundry/edgex-go/internal/core/data/container imports 21:12:18 github.com/edgexfoundry/go-mod-messaging/v2/messaging imports 21:12:18 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis imports 21:12:18 github.com/go-redis/redis/v7 tested by 21:12:18 github.com/go-redis/redis/v7.test imports 21:12:18 github.com/onsi/gomega imports 21:12:18 github.com/onsi/gomega/matchers imports 21:12:18 gopkg.in/yaml.v2 loaded from gopkg.in/yaml.v2@v2.2.8, 21:12:18 but go 1.16 would select v2.3.0 21:12:18 21:12:18 To upgrade to the versions selected by go 1.16: 21:12:18 go mod tidy -go=1.16 && go mod tidy -go=1.17 21:12:18 If reproducibility with go 1.16 is not needed: 21:12:18 go mod tidy -compat=1.17 21:12:18 For other options, see: 21:12:18 https://golang.org/doc/modules/pruning 21:12:18 make: *** [Makefile:97: unittest] Error 1 [Pipeline] } 21:12:18 $ docker stop --time=1 555c2536b433a95ce4a64b1667168e82144eab554d30fc620c17deea3c99652c 21:12:20 $ docker rm -f 555c2536b433a95ce4a64b1667168e82144eab554d30fc620c17deea3c99652c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] sh 21:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:21 21:12:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:12:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:21 arm64: Pulling from edgex-lftools-log-publisher 21:12:21 8998bd30e6a1: Pulling fs layer 21:12:21 04944245beec: Pulling fs layer 21:12:21 699f458cf7ca: Pulling fs layer 21:12:21 765212b225bb: Pulling fs layer 21:12:21 f23df028b6ca: Pulling fs layer 21:12:21 d65c8cfc05b1: Pulling fs layer 21:12:21 2437ff75d9bd: Pulling fs layer 21:12:21 f23df028b6ca: Waiting 21:12:21 d65c8cfc05b1: Waiting 21:12:21 765212b225bb: Waiting 21:12:21 2437ff75d9bd: Waiting 21:12:21 04944245beec: Verifying Checksum 21:12:21 04944245beec: Download complete 21:12:21 765212b225bb: Verifying Checksum 21:12:21 765212b225bb: Download complete 21:12:21 f23df028b6ca: Verifying Checksum 21:12:21 f23df028b6ca: Download complete 21:12:21 d65c8cfc05b1: Verifying Checksum 21:12:21 d65c8cfc05b1: Download complete 21:12:22 699f458cf7ca: Verifying Checksum 21:12:22 699f458cf7ca: Download complete 21:12:22 8998bd30e6a1: Download complete 21:12:25 2437ff75d9bd: Verifying Checksum 21:12:25 2437ff75d9bd: Download complete 21:12:27 8998bd30e6a1: Pull complete 21:12:27 04944245beec: Pull complete 21:12:28 699f458cf7ca: Pull complete 21:12:29 765212b225bb: Pull complete 21:12:30 f23df028b6ca: Pull complete 21:12:30 d65c8cfc05b1: Pull complete 21:12:45 2437ff75d9bd: Pull complete 21:12:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:12:45 prd-ubuntu20.04-docker-arm64-4c-16g-8700 does not seem to be running inside a container 21:12:45 $ 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/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:12:47 $ docker top c3daa904df620140238356d04ae4c48afbf8943a0d4081f1c6406b6c23818770 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:48 ---> job-cost.sh 21:12:48 lf-activate-venv: SKIPPING 21:12:48 INFO: No Stack... 21:12:49 INFO: Retrieving Pricing Info for: v3-standard-4 21:12:50 INFO: Archiving Costs [Pipeline] sh 21:12:50 + cat /w/workspace/edgex-go/1/archives/cost.csv 21:12:50 + cut -d, -f6 [Pipeline] lock 21:12:51 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3923-1-stack-cost] 21:12:51 Resource [jenkins-edgexfoundry-edgex-go-PR-3923-1-stack-cost] did not exist. Created. 21:12:51 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3923-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:51 + echo total: 0.10999999940395355 [Pipeline] stash 21:12:52 Stashed 1 file(s) [Pipeline] } 21:12:52 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3923-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:52 $ docker stop --time=1 c3daa904df620140238356d04ae4c48afbf8943a0d4081f1c6406b6c23818770 21:12:53 $ docker rm -f c3daa904df620140238356d04ae4c48afbf8943a0d4081f1c6406b6c23818770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:54 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 Scan) Stage "Snyk Scan" 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] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:12:56 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 21:12:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:57 ---> package-listing.sh 21:12:57 ++ facter osfamily 21:12:57 ++ tr '[:upper:]' '[:lower:]' 21:12:57 + OS_FAMILY=debian 21:12:57 + workspace=/w/workspace/edgex-go/1 21:12:57 + START_PACKAGES=/tmp/packages_start.txt 21:12:57 + END_PACKAGES=/tmp/packages_end.txt 21:12:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:57 + PACKAGES=/tmp/packages_start.txt 21:12:57 + '[' /w/workspace/edgex-go/1 ']' 21:12:57 + PACKAGES=/tmp/packages_end.txt 21:12:57 + case "${OS_FAMILY}" in 21:12:57 + dpkg -l 21:12:57 + grep '^ii' 21:12:57 + '[' -f /tmp/packages_start.txt ']' 21:12:57 + '[' -f /tmp/packages_end.txt ']' 21:12:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:57 + '[' /w/workspace/edgex-go/1 ']' 21:12:57 + mkdir -p /w/workspace/edgex-go/1/archives/ 21:12:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 21:12:57 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:58 21:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:58 latest: Pulling from edgex-lftools-log-publisher 21:12:58 5eb5b503b376: Pulling fs layer 21:12:58 5c69ac0246d0: Pulling fs layer 21:12:58 ec43610c2a17: Pulling fs layer 21:12:58 3a2ae6a8a46f: Pulling fs layer 21:12:58 33b1e0a273af: Pulling fs layer 21:12:58 3a2ae6a8a46f: Waiting 21:12:58 33b1e0a273af: Waiting 21:12:58 5d3b04190fa2: Pulling fs layer 21:12:58 2f39f015ded8: Pulling fs layer 21:12:58 5d3b04190fa2: Waiting 21:12:58 2f39f015ded8: Waiting 21:12:58 5c69ac0246d0: Verifying Checksum 21:12:58 5c69ac0246d0: Download complete 21:12:58 3a2ae6a8a46f: Download complete 21:12:58 ec43610c2a17: Verifying Checksum 21:12:58 ec43610c2a17: Download complete 21:12:58 33b1e0a273af: Verifying Checksum 21:12:58 33b1e0a273af: Download complete 21:12:58 5d3b04190fa2: Download complete 21:12:59 5eb5b503b376: Verifying Checksum 21:12:59 5eb5b503b376: Download complete 21:12:59 2f39f015ded8: Download complete 21:13:00 5eb5b503b376: Pull complete 21:13:00 5c69ac0246d0: Pull complete 21:13:00 ec43610c2a17: Pull complete 21:13:01 3a2ae6a8a46f: Pull complete 21:13:01 33b1e0a273af: Pull complete 21:13:01 5d3b04190fa2: Pull complete 21:13:05 2f39f015ded8: Pull complete 21:13:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:13:05 prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container 21:13:05 $ 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:13:07 $ docker top d9b9dad9b289fdc562110f7a9871194eb46636ae2182546bedd1b74f66886a25 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:08 + touch /tmp/pre-build-complete [Pipeline] sh 21:13:08 + mkdir -p /var/log/sysstat [Pipeline] sh 21:13:08 + ls /var/log/sa-host 21:13:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:08 provisioning config files... 21:13:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2014307427378754847tmp [Pipeline] { [Pipeline] echo 21:13:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:13:09 ---> create-netrc.sh [Pipeline] } 21:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:13:09 ---> python-tools-install.sh [Pipeline] echo 21:13:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:13:10 ---> sudo-logs.sh 21:13:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:13:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:13:10 ---> job-cost.sh 21:13:10 lf-activate-venv: SKIPPING 21:13:10 DEBUG: total: 0.10999999940395355 21:13:10 INFO: Retrieving Stack Cost... 21:13:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:11 INFO: Archiving Costs [Pipeline] echo 21:13:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:13:11 ---> logs-deploy.sh 21:13:11 lf-activate-venv: SKIPPING 21:13:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3923/1 21:13:11 INFO: archiving workspace using pattern(s): 21:13:12 Archives upload complete. 21:13:12 INFO: archiving logs to Nexus