Pull request #281 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 rather than 1d794d65e3bd122987564178f6b84a24dab9faf6 Obtained Jenkinsfile from 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 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-ssh6736313504392278173.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-ssh12067346630967936784.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/device-virtual-go/branches/PR-281/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/device-virtual-go/branches/PR-281/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17656750915074955544.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/device-virtual-go/branches/PR-281/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh393136957429150805.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-ssh12539774445617870144.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/device-virtual-go/branches/PR-281/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/device-virtual-go/branches/PR-281/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6671291337934650621.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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [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: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23550 in /w/workspace/foundry_device-virtual-go_PR-281 [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/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-281 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 into PR head commit 1d794d65e3bd122987564178f6b84a24dab9faf6 Merge succeeded, producing 1d794d65e3bd122987564178f6b84a24dab9faf6 Checking out Revision 1d794d65e3bd122987564178f6b84a24dab9faf6 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # 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 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 Commit message: "feat: Add MaxEventSize and ReadingUnits to configuration" 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 01:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:39:56 ========================================================= 01:39:56 EdgeX Global Pipelines Version Info 01:39:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:39:57 ------------------- 01:39:57 stable info: 01:39:57 ------------------- 01:39:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:39:57 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:39:57 Message: update stable to v1.0.221 01:39:58 ------------------- 01:39:58 experimental info: 01:39:58 ------------------- 01:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:39:58 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 01:39:58 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d794d6 [Pipeline] echo 01:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:59 provisioning config files... 01:39:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config2151371603511905726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:00 ---> docker-login.sh 01:40:00 nexus3.edgexfoundry.org:10001 01:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:00 Configure a credential helper to remove this warning. See 01:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:00 01:40:00 Login Succeeded 01:40:00 nexus3.edgexfoundry.org:10002 01:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:00 Configure a credential helper to remove this warning. See 01:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:00 01:40:00 Login Succeeded 01:40:00 nexus3.edgexfoundry.org:10003 01:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:00 Configure a credential helper to remove this warning. See 01:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:00 01:40:00 Login Succeeded 01:40:00 nexus3.edgexfoundry.org:10004 01:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:01 Configure a credential helper to remove this warning. See 01:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:01 01:40:01 Login Succeeded 01:40:01 docker.io 01:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:01 Configure a credential helper to remove this warning. See 01:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:01 01:40:01 Login Succeeded 01:40:01 ---> docker-login.sh ends [Pipeline] } 01:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:02 + git rev-list -1 --merges 1d794d65e3bd122987564178f6b84a24dab9faf6~1..1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo 01:40:02 -----------> git rev-list -1 --merges 1d794d65e3bd122987564178f6b84a24dab9faf6~1..1d794d65e3bd122987564178f6b84a24dab9faf6 1d794d65e3bd122987564178f6b84a24dab9faf6 [false] [Pipeline] sh 01:40:02 + git log --format=format:%s -1 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo 01:40:02 ========================================================= 01:40:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:03 + git log --format=format:%s -1 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo 01:40:03 [semverPrep] GIT_COMMIT: 1d794d65e3bd122987564178f6b84a24dab9faf6, Commit Message: feat: Add MaxEventSize and ReadingUnits to configuration [Pipeline] echo 01:40:03 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:03 + grep -v github /etc/ssh/ssh_known_hosts 01:40:03 + [ -e /tmp/ssh_known_hosts ] 01:40:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:40:03 + sudo tee -a /etc/ssh/ssh_known_hosts 01:40:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:40:04 01:40:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:40:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:40:04 latest: Pulling from edgex-devops/git-semver 01:40:04 a0d0a0d46f8b: Pulling fs layer 01:40:04 3e5f54012d9b: Pulling fs layer 01:40:04 4c7163046ea9: Pulling fs layer 01:40:04 0c2d73faf560: Pulling fs layer 01:40:04 0c2d73faf560: Waiting 01:40:04 3e5f54012d9b: Verifying Checksum 01:40:04 3e5f54012d9b: Download complete 01:40:04 a0d0a0d46f8b: Download complete 01:40:04 0c2d73faf560: Verifying Checksum 01:40:04 0c2d73faf560: Download complete 01:40:04 4c7163046ea9: Verifying Checksum 01:40:04 4c7163046ea9: Download complete 01:40:04 a0d0a0d46f8b: Pull complete 01:40:04 3e5f54012d9b: Pull complete 01:40:05 4c7163046ea9: Pull complete 01:40:05 0c2d73faf560: Pull complete 01:40:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:40:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:40:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:40:05 prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container 01:40:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:40:06 $ docker top 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:06 [ssh-agent] Looking for ssh-agent implementation... 01:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:06 $ docker exec 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent 01:40:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLbDOck/agent.14 01:40:06 SSH_AGENT_PID=20 01:40:06 Running ssh-add (command line suppressed) 01:40:07 Identity added: /w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_249237680420734730.key (/w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_249237680420734730.key) 01:40:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:07 + git tag --points-at HEAD [Pipeline] } 01:40:07 $ docker exec --env ******** --env ******** 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent -k 01:40:07 unset SSH_AUTH_SOCK; 01:40:07 unset SSH_AGENT_PID; 01:40:07 echo Agent pid 20 killed; 01:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:07 [ssh-agent] Looking for ssh-agent implementation... 01:40:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:07 $ docker exec 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent 01:40:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfoiCpL/agent.54 01:40:08 SSH_AGENT_PID=60 01:40:08 Running ssh-add (command line suppressed) 01:40:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_8670308199850382105.key (/w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_8670308199850382105.key) 01:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:08 + git semver init 01:40:08 # -> Open(): unable to determine branch for HEAD 01:40:08 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-281/.git 01:40:08 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-281 01:40:08 # $SEMVER_REMOTE_NAME = origin 01:40:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:40:08 # $SEMVER_USER_NAME = edgex-jenkins 01:40:08 # $SEMVER_BRANCH = PR-281 01:40:08 # $SEMVER_TEMP = /tmp/semver-217513261 01:40:08 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:40:09 # '/tmp/semver-217513261' -> '/w/workspace/foundry_device-virtual-go_PR-281/.semver' 01:40:09 # -> Force: false 01:40:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-281/.semver [Pipeline] } 01:40:09 $ docker exec --env ******** --env ******** 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent -k 01:40:10 unset SSH_AUTH_SOCK; 01:40:10 unset SSH_AGENT_PID; 01:40:10 echo Agent pid 60 killed; 01:40:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:10 + git semver [Pipeline] } 01:40:10 $ docker stop --time=1 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 01:40:12 $ docker rm -f 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:12 Stashed 1 file(s) [Pipeline] echo 01:40:12 [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 01:40:13 provisioning config files... 01:40:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config4802187251059130768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:13 ---> docker-login.sh 01:40:13 nexus3.edgexfoundry.org:10001 01:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:13 Configure a credential helper to remove this warning. See 01:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:13 01:40:13 Login Succeeded 01:40:13 nexus3.edgexfoundry.org:10002 01:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:13 Configure a credential helper to remove this warning. See 01:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:13 01:40:13 Login Succeeded 01:40:13 nexus3.edgexfoundry.org:10003 01:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:13 Configure a credential helper to remove this warning. See 01:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:13 01:40:13 Login Succeeded 01:40:13 nexus3.edgexfoundry.org:10004 01:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:14 Configure a credential helper to remove this warning. See 01:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:14 01:40:14 Login Succeeded 01:40:14 docker.io 01:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:14 Configure a credential helper to remove this warning. See 01:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:14 01:40:14 Login Succeeded 01:40:14 ---> docker-login.sh ends [Pipeline] } 01:40:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:14 ========================================================= 01:40:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:40:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:40:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:40:15 Sending build context to Docker daemon 22.92MB 01:40:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:40:15 Step 2/12 : FROM ${BASE} AS builder 01:40:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:15 59bf1c3509f3: Pulling fs layer 01:40:15 666ba61612fd: Pulling fs layer 01:40:15 8ed8ca486205: Pulling fs layer 01:40:15 4fe6c5a15a65: Pulling fs layer 01:40:15 22a0e8bec74d: Pulling fs layer 01:40:15 ca2b28591e48: Pulling fs layer 01:40:15 a51346096db8: Pulling fs layer 01:40:15 daebc70d1ce1: Pulling fs layer 01:40:15 0e18a0eac166: Pulling fs layer 01:40:15 ca2b28591e48: Waiting 01:40:15 4fe6c5a15a65: Waiting 01:40:15 a51346096db8: Waiting 01:40:15 22a0e8bec74d: Waiting 01:40:15 daebc70d1ce1: Waiting 01:40:15 0e18a0eac166: Waiting 01:40:15 8ed8ca486205: Verifying Checksum 01:40:15 8ed8ca486205: Download complete 01:40:15 666ba61612fd: Download complete 01:40:15 22a0e8bec74d: Verifying Checksum 01:40:15 22a0e8bec74d: Download complete 01:40:15 ca2b28591e48: Download complete 01:40:15 59bf1c3509f3: Verifying Checksum 01:40:15 59bf1c3509f3: Download complete 01:40:15 a51346096db8: Verifying Checksum 01:40:15 a51346096db8: Download complete 01:40:15 daebc70d1ce1: Verifying Checksum 01:40:15 daebc70d1ce1: Download complete 01:40:15 59bf1c3509f3: Pull complete 01:40:15 666ba61612fd: Pull complete 01:40:15 8ed8ca486205: Pull complete 01:40:15 0e18a0eac166: Verifying Checksum 01:40:15 0e18a0eac166: Download complete 01:40:16 4fe6c5a15a65: Verifying Checksum 01:40:16 4fe6c5a15a65: Download complete 01:40:20 4fe6c5a15a65: Pull complete 01:40:20 22a0e8bec74d: Pull complete 01:40:20 ca2b28591e48: Pull complete 01:40:20 a51346096db8: Pull complete 01:40:20 daebc70d1ce1: Pull complete 01:40:23 0e18a0eac166: Pull complete 01:40:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:40:23 ---> f018257e8ee9 01:40:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:26 ---> Running in 1c1b0a61cc7d 01:40:26 Removing intermediate container 1c1b0a61cc7d 01:40:26 ---> a67d8e640a1e 01:40:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:40:26 ---> Running in 6aa60741c43f 01:40:26 Removing intermediate container 6aa60741c43f 01:40:26 ---> cbc1d1e6f564 01:40:26 Step 5/12 : WORKDIR /device-virtual-go 01:40:26 ---> Running in 1e90b3a112c7 01:40:26 Removing intermediate container 1e90b3a112c7 01:40:26 ---> 54bc3275e859 01:40:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:26 ---> Running in fb84548f7986 01:40:26 Removing intermediate container fb84548f7986 01:40:26 ---> 44f90923abac 01:40:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:26 ---> Running in 401a757413ce 01:40:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:40:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:40:28 Still waiting to schedule task 01:40:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:40:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:40:28 (2/4) Installing libedit (20210910.3.1-r0) 01:40:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:40:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:40:28 Executing busybox-1.34.1-r3.trigger 01:40:28 OK: 224 MiB in 56 packages 01:40:29 Removing intermediate container 401a757413ce 01:40:29 ---> 5e7d6f062903 01:40:29 Step 8/12 : COPY go.mod vendor* ./ 01:40:29 ---> 7256f5082a2e 01:40:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:29 ---> Running in b3abd878ab86 01:40:47 Removing intermediate container b3abd878ab86 01:40:47 ---> ec7f81593b4e 01:40:47 Step 10/12 : COPY . . 01:40:47 ---> 491bfa48040c 01:40:47 Step 11/12 : ARG MAKE='make build' 01:40:47 ---> Running in 34dedeabe751 01:40:47 Removing intermediate container 34dedeabe751 01:40:47 ---> 35312a6353ef 01:40:47 Step 12/12 : RUN $MAKE 01:40:47 ---> Running in d8c7cbba4b7b 01:40:47 noop 01:40:47 Removing intermediate container d8c7cbba4b7b 01:40:47 ---> 02bc37cb3dae 01:40:47 Successfully built 02bc37cb3dae 01:40:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:40:48 + docker inspect -f . ci-base-image-x86_64 01:40:48 . [Pipeline] withDockerContainer 01:40:48 prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container 01:40:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:40:48 $ docker top ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:49 + go version 01:40:49 go version go1.17.6 linux/amd64 [Pipeline] } 01:40:49 $ docker stop --time=1 ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a 01:40:50 $ docker rm -f ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:40:51 + docker inspect -f . ci-base-image-x86_64 01:40:51 . [Pipeline] withDockerContainer 01:40:51 prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container 01:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:40:51 $ docker top b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:40:52 + make test 01:40:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:40:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:41:02 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:41:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 01:41:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:41:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:14 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:15 $ docker stop --time=1 b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c 01:41:17 $ docker rm -f b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c [Pipeline] // withDockerContainer [Pipeline] sh 01:41:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:41:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:19 + ls -al . 01:41:19 total 184 01:41:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:41 . 01:41:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:39 .. 01:41:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:39 .git 01:41:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:39 .github 01:41:19 -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 01:39 .gitignore 01:41:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 01:39 .golangci.yml 01:41:19 drwx------ 3 jenkins jenkins 4096 Apr 26 01:40 .semver 01:41:19 -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 01:39 Attribution.txt 01:41:19 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 01:39 CHANGELOG.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 01:39 Dockerfile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 01:39 GOVERNANCE.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 01:39 Jenkinsfile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:39 LICENSE 01:41:19 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 01:39 Makefile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 01:39 OWNERS.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 01:39 README.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:40 VERSION 01:41:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:39 bin 01:41:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:39 cmd 01:41:19 -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 01:41 coverage.out 01:41:19 -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 01:39 go.mod 01:41:19 -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 01:39 go.sum 01:41:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:39 internal 01:41:19 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 01:39 version.go [Pipeline] isUnix [Pipeline] sh 01:41:19 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 --label arch=amd64 --label version=0.0.0 . 01:41:19 Sending build context to Docker daemon 22.96MB 01:41:19 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:41:19 Step 2/26 : FROM ${BASE} AS builder 01:41:19 ---> 02bc37cb3dae 01:41:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:41:20 ---> Running in ee08b6811699 01:41:20 Removing intermediate container ee08b6811699 01:41:20 ---> da1cc77f5f2e 01:41:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:41:20 ---> Running in db7e87108de4 01:41:20 Removing intermediate container db7e87108de4 01:41:20 ---> 593e50c55f24 01:41:20 Step 5/26 : WORKDIR /device-virtual-go 01:41:20 ---> Running in 19c27585bed8 01:41:21 Removing intermediate container 19c27585bed8 01:41:21 ---> 0427dd8dfe9a 01:41:21 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:21 ---> Running in b5086883a788 01:41:22 Removing intermediate container b5086883a788 01:41:22 ---> 712b5013776e 01:41:22 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:22 ---> Running in dd8c83aae145 01:41:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:41:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:41:24 OK: 224 MiB in 56 packages 01:41:24 Removing intermediate container dd8c83aae145 01:41:24 ---> 1c26c358ce36 01:41:24 Step 8/26 : COPY go.mod vendor* ./ 01:41:25 ---> 6782a36abe24 01:41:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:25 ---> Running in 5adea30cda1d 01:41:26 Removing intermediate container 5adea30cda1d 01:41:26 ---> 1d9e7d728d86 01:41:26 Step 10/26 : COPY . . 01:41:26 ---> 47ce4a4a6f03 01:41:26 Step 11/26 : ARG MAKE='make build' 01:41:26 ---> Running in f7ab3bb8449e 01:41:26 Removing intermediate container f7ab3bb8449e 01:41:26 ---> 1695c4580cc9 01:41:26 Step 12/26 : RUN $MAKE 01:41:26 ---> Running in a5ce66e302d5 01:41:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 01:41:49 Removing intermediate container a5ce66e302d5 01:41:49 ---> cd304efed062 01:41:49 Step 13/26 : FROM alpine:3.14 01:41:49 3.14: Pulling from library/alpine 01:41:49 8663204ce13b: Pulling fs layer 01:41:49 8663204ce13b: Verifying Checksum 01:41:49 8663204ce13b: Download complete 01:41:49 8663204ce13b: Pull complete 01:41:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:41:49 Status: Downloaded newer image for alpine:3.14 01:41:49 ---> e04c818066af 01:41:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:41:49 ---> Running in bf4808f5620d 01:41:49 Removing intermediate container bf4808f5620d 01:41:49 ---> cc717a2dd231 01:41:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:49 ---> Running in 587b68742dbf 01:41:49 Removing intermediate container 587b68742dbf 01:41:49 ---> 43905b655024 01:41:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:41:49 ---> Running in 15ac50bf6f9f 01:41:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:41:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:41:50 (1/6) Installing dumb-init (1.2.5-r1) 01:41:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:41:51 (3/6) Installing libsodium (1.0.18-r0) 01:41:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:41:51 (5/6) Installing libzmq (4.3.4-r0) 01:41:51 (6/6) Installing zeromq (4.3.4-r0) 01:41:51 Executing busybox-1.33.1-r7.trigger 01:41:51 OK: 8 MiB in 20 packages 01:41:51 Removing intermediate container 15ac50bf6f9f 01:41:51 ---> 8254284d10d4 01:41:51 Step 17/26 : WORKDIR / 01:41:51 ---> Running in 71a954c9ac72 01:41:51 Removing intermediate container 71a954c9ac72 01:41:51 ---> e82715908727 01:41:51 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:41:52 ---> 1cb797b5bcfe 01:41:52 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:41:52 ---> de4d08553ac4 01:41:52 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:41:53 ---> 36aedc00b530 01:41:53 Step 21/26 : EXPOSE 59900 01:41:53 ---> Running in 3483c463483a 01:41:53 Removing intermediate container 3483c463483a 01:41:53 ---> e0e88b0e0774 01:41:53 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:41:53 ---> Running in 76ae9c2b7c84 01:41:53 Removing intermediate container 76ae9c2b7c84 01:41:53 ---> 455c089987d0 01:41:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:41:53 ---> Running in b5723ae1dd1e 01:41:53 Removing intermediate container b5723ae1dd1e 01:41:53 ---> 718731d4270c 01:41:53 Step 24/26 : LABEL arch=amd64 01:41:53 ---> Running in 56dea2015dd4 01:41:53 Removing intermediate container 56dea2015dd4 01:41:53 ---> 83da1e1124f5 01:41:53 Step 25/26 : LABEL git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 01:41:53 ---> Running in f112d9f8a29a 01:41:53 Removing intermediate container f112d9f8a29a 01:41:53 ---> fafbab889f3a 01:41:53 Step 26/26 : LABEL version=0.0.0 01:41:53 ---> Running in c4263c9a3deb 01:41:54 Removing intermediate container c4263c9a3deb 01:41:54 ---> 1ce2f6fe6b92 01:41:54 [Warning] One or more build-args [ARCH] were not consumed 01:41:54 Successfully built 1ce2f6fe6b92 01:41:54 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:54 01:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:55 latest: Pulling from edgex-lftools-log-publisher 01:41:55 5eb5b503b376: Pulling fs layer 01:41:55 5c69ac0246d0: Pulling fs layer 01:41:55 ec43610c2a17: Pulling fs layer 01:41:55 3a2ae6a8a46f: Pulling fs layer 01:41:55 33b1e0a273af: Pulling fs layer 01:41:55 5d3b04190fa2: Pulling fs layer 01:41:55 2f39f015ded8: Pulling fs layer 01:41:55 33b1e0a273af: Waiting 01:41:55 3a2ae6a8a46f: Waiting 01:41:55 5d3b04190fa2: Waiting 01:41:55 5c69ac0246d0: Verifying Checksum 01:41:55 5c69ac0246d0: Download complete 01:41:55 3a2ae6a8a46f: Download complete 01:41:55 33b1e0a273af: Verifying Checksum 01:41:55 33b1e0a273af: Download complete 01:41:55 5d3b04190fa2: Verifying Checksum 01:41:55 5d3b04190fa2: Download complete 01:41:55 ec43610c2a17: Verifying Checksum 01:41:55 ec43610c2a17: Download complete 01:41:55 5eb5b503b376: Download complete 01:41:55 2f39f015ded8: Download complete 01:41:56 5eb5b503b376: Pull complete 01:41:56 5c69ac0246d0: Pull complete 01:41:57 ec43610c2a17: Pull complete 01:41:57 3a2ae6a8a46f: Pull complete 01:41:57 33b1e0a273af: Pull complete 01:41:57 5d3b04190fa2: Pull complete 01:42:02 2f39f015ded8: Pull complete 01:42:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:42:03 prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container 01:42:03 $ 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/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@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 01:42:05 $ docker top dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:05 ---> job-cost.sh 01:42:05 lf-activate-venv: SKIPPING 01:42:05 INFO: No Stack... 01:42:06 INFO: Retrieving Pricing Info for: v3-standard-8 01:42:06 INFO: Archiving Costs [Pipeline] sh 01:42:07 + cat /w/workspace/foundry_device-virtual-go_PR-281/archives/cost.csv 01:42:07 + cut -d, -f6 [Pipeline] lock 01:42:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] 01:42:07 Resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] did not exist. Created. 01:42:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:42:07 + echo total: 0.2199999988079071 [Pipeline] stash 01:42:07 Stashed 1 file(s) [Pipeline] } 01:42:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:42:07 $ docker stop --time=1 dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 01:42:08 $ docker rm -f dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:44:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23552 in /w/workspace/foundry_device-virtual-go_PR-281 [Pipeline] { [Pipeline] ws 01:44:14 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 01:44:15 The recommended git tool is: git 01:44:21 using credential edgex-jenkins-ssh 01:44:21 Cloning the remote Git repository 01:44:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:44:21 > git init /w/workspace/device-virtual-go/1 # timeout=10 01:44:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:44:21 > git --version # timeout=10 01:44:21 > git --version # 'git version 2.25.1' 01:44:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:44:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:44:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:44:24 Merging remotes/origin/main commit 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 into PR head commit 1d794d65e3bd122987564178f6b84a24dab9faf6 01:44:25 Merge succeeded, producing 1d794d65e3bd122987564178f6b84a24dab9faf6 01:44:25 Checking out Revision 1d794d65e3bd122987564178f6b84a24dab9faf6 (PR-281) 01:44:24 > git config core.sparsecheckout # timeout=10 01:44:24 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 01:44:24 > git remote # timeout=10 01:44:24 > git config --get remote.origin.url # timeout=10 01:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:25 > git merge 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 01:44:25 > git rev-parse HEAD^{commit} # timeout=10 01:44:25 > git config core.sparsecheckout # timeout=10 01:44:25 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 01:44:29 Commit message: "feat: Add MaxEventSize and ReadingUnits to configuration" 01:44:29 > git --version # timeout=10 01:44:29 > git --version # 'git version 2.25.1' 01:44:29 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:30 Dload Upload Total Spent Left Speed 01:44:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 01:44:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:44:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:44:31 + sudo tee /etc/docker/daemon.new 01:44:31 { 01:44:31 "registry-mirrors": [ 01:44:31 "https://nexus3.edgexfoundry.org:10001" 01:44:31 ], 01:44:31 "bip": "10.250.0.254/24", 01:44:31 "hosts": [ 01:44:31 "tcp://0.0.0.0:5555", 01:44:31 "unix:///var/run/docker.sock" 01:44:31 ], 01:44:31 "mtu": 1458, 01:44:31 "selinux-enabled": true, 01:44:31 "seccomp-profile": "/etc/docker/seccomp.json" 01:44:31 } [Pipeline] sh 01:44:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:44:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:50 provisioning config files... 01:44:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3082204001312084614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:51 ---> docker-login.sh 01:44:51 nexus3.edgexfoundry.org:10001 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 nexus3.edgexfoundry.org:10002 01:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:52 Configure a credential helper to remove this warning. See 01:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:52 01:44:52 Login Succeeded 01:44:52 nexus3.edgexfoundry.org:10003 01:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:52 Configure a credential helper to remove this warning. See 01:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:52 01:44:52 Login Succeeded 01:44:52 nexus3.edgexfoundry.org:10004 01:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:53 Configure a credential helper to remove this warning. See 01:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:53 01:44:53 Login Succeeded 01:44:53 docker.io 01:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:54 Configure a credential helper to remove this warning. See 01:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:54 01:44:54 Login Succeeded 01:44:54 ---> docker-login.sh ends [Pipeline] } 01:44:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:44:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:54 ========================================================= 01:44:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:44:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:44:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:44:55 Sending build context to Docker daemon 11.61MB 01:44:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:44:55 Step 2/12 : FROM ${BASE} AS builder 01:44:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:44:55 9b3977197b4f: Pulling fs layer 01:44:55 1a89e8eeedd5: Pulling fs layer 01:44:55 94645a83ff95: Pulling fs layer 01:44:55 3f3a8bcf1eab: Pulling fs layer 01:44:55 0c92f367c5e7: Pulling fs layer 01:44:55 3096ccb668a1: Pulling fs layer 01:44:55 e8cf19c19ddd: Pulling fs layer 01:44:55 a4caa8a26152: Pulling fs layer 01:44:55 3f3a8bcf1eab: Waiting 01:44:55 0c92f367c5e7: Waiting 01:44:55 3096ccb668a1: Waiting 01:44:55 e8cf19c19ddd: Waiting 01:44:55 a4caa8a26152: Waiting 01:44:55 94645a83ff95: Download complete 01:44:55 1a89e8eeedd5: Verifying Checksum 01:44:55 1a89e8eeedd5: Download complete 01:44:55 0c92f367c5e7: Verifying Checksum 01:44:55 0c92f367c5e7: Download complete 01:44:55 3096ccb668a1: Verifying Checksum 01:44:55 3096ccb668a1: Download complete 01:44:55 9b3977197b4f: Verifying Checksum 01:44:55 9b3977197b4f: Download complete 01:44:56 e8cf19c19ddd: Verifying Checksum 01:44:56 e8cf19c19ddd: Download complete 01:44:56 9b3977197b4f: Pull complete 01:44:57 1a89e8eeedd5: Pull complete 01:44:57 94645a83ff95: Pull complete 01:44:57 a4caa8a26152: Verifying Checksum 01:44:58 3f3a8bcf1eab: Verifying Checksum 01:44:58 3f3a8bcf1eab: Download complete 01:45:10 3f3a8bcf1eab: Pull complete 01:45:10 0c92f367c5e7: Pull complete 01:45:11 3096ccb668a1: Pull complete 01:45:11 e8cf19c19ddd: Pull complete 01:45:18 a4caa8a26152: Pull complete 01:45:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:45:18 ---> 725f1c02e7f9 01:45:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:45:18 ---> Running in 521650094db8 01:45:18 Removing intermediate container 521650094db8 01:45:18 ---> 2797797c1a3d 01:45:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:45:18 ---> Running in 4598c0971809 01:45:19 Removing intermediate container 4598c0971809 01:45:19 ---> 5f013bdee47e 01:45:19 Step 5/12 : WORKDIR /device-virtual-go 01:45:19 ---> Running in 1b48dd18106f 01:45:19 Removing intermediate container 1b48dd18106f 01:45:19 ---> f2d0a96648ea 01:45:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:19 ---> Running in f23cf48dcf87 01:45:22 Removing intermediate container f23cf48dcf87 01:45:22 ---> 1d218e46c4fe 01:45:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:22 ---> Running in 84ac05c241c3 01:45:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:45:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:45:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:45:25 (2/4) Installing libedit (20210910.3.1-r0) 01:45:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:45:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:45:25 Executing busybox-1.34.1-r3.trigger 01:45:25 OK: 224 MiB in 56 packages 01:45:26 Removing intermediate container 84ac05c241c3 01:45:26 ---> 4ec9ba143063 01:45:26 Step 8/12 : COPY go.mod vendor* ./ 01:45:27 ---> 34f23bb0b07c 01:45:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:27 ---> Running in 7e916ccb1a00 01:46:14 Removing intermediate container 7e916ccb1a00 01:46:14 ---> 03f82a3ee423 01:46:14 Step 10/12 : COPY . . 01:46:14 ---> 8220093f0416 01:46:14 Step 11/12 : ARG MAKE='make build' 01:46:14 ---> Running in 20a303e20884 01:46:14 Removing intermediate container 20a303e20884 01:46:14 ---> 5544c7882343 01:46:14 Step 12/12 : RUN $MAKE 01:46:14 ---> Running in 0b85c3b06b59 01:46:15 noop 01:46:15 Removing intermediate container 0b85c3b06b59 01:46:15 ---> 5abc64df541f 01:46:15 Successfully built 5abc64df541f 01:46:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:46:16 + docker inspect -f . ci-base-image-arm64 01:46:16 . [Pipeline] withDockerContainer 01:46:16 prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container 01:46:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:46:17 $ docker top f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:18 + go version 01:46:18 go version go1.17.6 linux/arm64 [Pipeline] } 01:46:18 $ docker stop --time=1 f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 01:46:20 $ docker rm -f f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:46:21 + docker inspect -f . ci-base-image-arm64 01:46:21 . [Pipeline] withDockerContainer 01:46:21 prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container 01:46:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:46:23 $ docker top 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:46:24 + make test 01:46:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:46:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:47:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:47:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements 01:47:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:47:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:48:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:14 ./bin/test-attribution-txt.sh [Pipeline] echo 01:48:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:48:14 $ docker stop --time=1 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 01:48:16 $ docker rm -f 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:48:17 Warning: overwriting stash ‘coverage-report’ 01:48:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:19 + ls -al . 01:48:19 total 180 01:48:19 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 01:48 . 01:48:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:44 .. 01:48:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:44 .git 01:48:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:44 .github 01:48:19 -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 01:44 .gitignore 01:48:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 01:44 .golangci.yml 01:48:19 -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 01:44 Attribution.txt 01:48:19 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 01:44 CHANGELOG.md 01:48:19 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 01:44 Dockerfile 01:48:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 01:44 GOVERNANCE.md 01:48:19 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 01:44 Jenkinsfile 01:48:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:44 LICENSE 01:48:19 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 01:44 Makefile 01:48:19 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 01:44 OWNERS.md 01:48:19 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 01:44 README.md 01:48:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:40 VERSION 01:48:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:44 bin 01:48:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:44 cmd 01:48:19 -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 01:47 coverage.out 01:48:19 -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 01:44 go.mod 01:48:19 -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 01:44 go.sum 01:48:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:44 internal 01:48:19 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 01:44 version.go [Pipeline] isUnix [Pipeline] sh 01:48:19 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 --label arch=arm64 --label version=0.0.0 . 01:48:20 Sending build context to Docker daemon 11.65MB 01:48:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:48:20 Step 2/26 : FROM ${BASE} AS builder 01:48:20 ---> 5abc64df541f 01:48:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:48:20 ---> Running in 2e0668c4f9fb 01:48:20 Removing intermediate container 2e0668c4f9fb 01:48:20 ---> 371ca5975b7b 01:48:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:48:20 ---> Running in ec982bf0d2c1 01:48:21 Removing intermediate container ec982bf0d2c1 01:48:21 ---> 76d1c24c24eb 01:48:21 Step 5/26 : WORKDIR /device-virtual-go 01:48:21 ---> Running in 4c6f239314e7 01:48:21 Removing intermediate container 4c6f239314e7 01:48:21 ---> 0fa04d3193d4 01:48:21 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:21 ---> Running in adb66bcfd06a 01:48:23 Removing intermediate container adb66bcfd06a 01:48:23 ---> 14008ace6ad6 01:48:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:23 ---> Running in edd81396a159 01:48:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:48:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:48:26 OK: 224 MiB in 56 packages 01:48:26 Removing intermediate container edd81396a159 01:48:26 ---> e90abdc549a4 01:48:26 Step 8/26 : COPY go.mod vendor* ./ 01:48:27 ---> 867a94ce67f3 01:48:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:27 ---> Running in 2f14046781fc 01:48:29 Removing intermediate container 2f14046781fc 01:48:29 ---> ee6eff4547a7 01:48:29 Step 10/26 : COPY . . 01:48:30 ---> 157dfa74a5d7 01:48:30 Step 11/26 : ARG MAKE='make build' 01:48:30 ---> Running in dc18c198cbf8 01:48:30 Removing intermediate container dc18c198cbf8 01:48:30 ---> 47bb830b29d5 01:48:30 Step 12/26 : RUN $MAKE 01:48:30 ---> Running in 1ce70998e506 01:48:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 01:50:38 Removing intermediate container 1ce70998e506 01:50:38 ---> 00bd36086dff 01:50:38 Step 13/26 : FROM alpine:3.14 01:50:38 3.14: Pulling from library/alpine 01:50:38 455c02918c45: Pulling fs layer 01:50:38 455c02918c45: Verifying Checksum 01:50:38 455c02918c45: Download complete 01:50:38 455c02918c45: Pull complete 01:50:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:50:38 Status: Downloaded newer image for alpine:3.14 01:50:38 ---> ac73e934f311 01:50:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:50:38 ---> Running in c09075517078 01:50:38 Removing intermediate container c09075517078 01:50:38 ---> 65322cb92f87 01:50:38 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:38 ---> Running in 576e3b1aba5f 01:50:38 Removing intermediate container 576e3b1aba5f 01:50:38 ---> f47b7b5850b4 01:50:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:50:38 ---> Running in 39b174bc91ae 01:50:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:50:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:50:38 (1/6) Installing dumb-init (1.2.5-r1) 01:50:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:50:38 (3/6) Installing libsodium (1.0.18-r0) 01:50:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:50:38 (5/6) Installing libzmq (4.3.4-r0) 01:50:38 (6/6) Installing zeromq (4.3.4-r0) 01:50:38 Executing busybox-1.33.1-r7.trigger 01:50:38 OK: 8 MiB in 20 packages 01:50:38 Removing intermediate container 39b174bc91ae 01:50:38 ---> adf8e17f68d7 01:50:38 Step 17/26 : WORKDIR / 01:50:38 ---> Running in f2c886de0302 01:50:38 Removing intermediate container f2c886de0302 01:50:38 ---> ebadc823c3f9 01:50:38 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:50:38 ---> a34c0caf03b1 01:50:38 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:50:38 ---> c74477577d9a 01:50:38 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:50:39 ---> a6ad91e6a8a8 01:50:39 Step 21/26 : EXPOSE 59900 01:50:39 ---> Running in 464df60c660f 01:50:39 Removing intermediate container 464df60c660f 01:50:39 ---> 657293a062d9 01:50:39 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:50:39 ---> Running in 8bb980b70e8b 01:50:40 Removing intermediate container 8bb980b70e8b 01:50:40 ---> 78c2487db4c8 01:50:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:50:40 ---> Running in 1d6203eef97f 01:50:40 Removing intermediate container 1d6203eef97f 01:50:40 ---> 20af87652869 01:50:40 Step 24/26 : LABEL arch=arm64 01:50:40 ---> Running in c87645b5c4b9 01:50:40 Removing intermediate container c87645b5c4b9 01:50:40 ---> 51f638c868a3 01:50:40 Step 25/26 : LABEL git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 01:50:41 ---> Running in 8bfef2892928 01:50:41 Removing intermediate container 8bfef2892928 01:50:41 ---> 3a34bb6d0f86 01:50:41 Step 26/26 : LABEL version=0.0.0 01:50:41 ---> Running in 8b71317b3a48 01:50:41 Removing intermediate container 8b71317b3a48 01:50:41 ---> ecabf408ec80 01:50:41 [Warning] One or more build-args [ARCH] were not consumed 01:50:41 Successfully built ecabf408ec80 01:50:41 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:50:42 01:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:50:42 arm64: Pulling from edgex-lftools-log-publisher 01:50:42 8998bd30e6a1: Pulling fs layer 01:50:42 04944245beec: Pulling fs layer 01:50:42 699f458cf7ca: Pulling fs layer 01:50:42 765212b225bb: Pulling fs layer 01:50:42 f23df028b6ca: Pulling fs layer 01:50:42 d65c8cfc05b1: Pulling fs layer 01:50:42 2437ff75d9bd: Pulling fs layer 01:50:42 f23df028b6ca: Waiting 01:50:42 d65c8cfc05b1: Waiting 01:50:42 2437ff75d9bd: Waiting 01:50:42 765212b225bb: Waiting 01:50:42 04944245beec: Download complete 01:50:42 765212b225bb: Download complete 01:50:42 f23df028b6ca: Download complete 01:50:42 d65c8cfc05b1: Download complete 01:50:42 699f458cf7ca: Verifying Checksum 01:50:42 699f458cf7ca: Download complete 01:50:43 8998bd30e6a1: Verifying Checksum 01:50:43 8998bd30e6a1: Download complete 01:50:45 2437ff75d9bd: Verifying Checksum 01:50:45 2437ff75d9bd: Download complete 01:50:48 8998bd30e6a1: Pull complete 01:50:48 04944245beec: Pull complete 01:50:49 699f458cf7ca: Pull complete 01:50:50 765212b225bb: Pull complete 01:50:50 f23df028b6ca: Pull complete 01:50:51 d65c8cfc05b1: Pull complete 01:51:06 2437ff75d9bd: Pull complete 01:51:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:51:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:51:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:51:06 prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container 01:51:06 $ 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/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:51:09 $ docker top 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:10 ---> job-cost.sh 01:51:10 lf-activate-venv: SKIPPING 01:51:10 INFO: No Stack... 01:51:10 INFO: Retrieving Pricing Info for: v3-standard-4 01:51:11 INFO: Archiving Costs [Pipeline] sh 01:51:12 + cut -d, -f6 01:51:12 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 01:51:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] 01:51:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] did not exist. Created. 01:51:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:12 /w/workspace/device-virtual-go/1@tmp/durable-b00ac797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:51:13 + echo total: 0.10999999940395355 [Pipeline] stash 01:51:13 Warning: overwriting stash ‘stack-cost’ 01:51:13 Stashed 1 file(s) [Pipeline] } 01:51:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:13 $ docker stop --time=1 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 01:51:15 $ docker rm -f 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:51:16 provisioning config files... 01:51:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config2841445664544912813tmp [Pipeline] { [Pipeline] sh 01:51:16 + set +x 01:51:16 + curl -s https://codecov.io/bash 01:51:16 + bash -s -- 01:51:16 01:51:16 _____ _ 01:51:16 / ____| | | 01:51:16 | | ___ __| | ___ ___ _____ __ 01:51:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:51:16 | |___| (_) | (_| | __/ (_| (_) \ V / 01:51:16 \_____\___/ \__,_|\___|\___\___/ \_/ 01:51:16 Bash-1.0.6 01:51:16 01:51:16 01:51:16 ==> git version 2.25.1 found 01:51:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:51:16 Release-Date: 2020-01-08 01:51:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:51:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:51:16 ==> Jenkins CI detected. 01:51:16 current dir:  /w/workspace/foundry_device-virtual-go_PR-281 01:51:16 project root: . 01:51:16 --> token set from env 01:51:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:51:16 ==> Running gcov in . (disable via -X gcov) 01:51:16 ==> Python coveragepy not found 01:51:16 ==> Searching for coverage reports in: 01:51:16 + . 01:51:16 -> Found 1 reports 01:51:16 ==> Detecting git/mercurial file structure 01:51:16 ==> Reading reports 01:51:16 + ./coverage.out bytes=44128 01:51:16 ==> Appending adjustments 01:51:16 https://docs.codecov.io/docs/fixing-reports 01:51:16 + Found adjustments 01:51:16 ==> Gzipping contents 01:51:16 8.0K /tmp/codecov.Yz4fch.gz 01:51:16 ==> Uploading reports 01:51:16 url: https://codecov.io 01:51:16 query: branch=PR-281&commit=1d794d65e3bd122987564178f6b84a24dab9faf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=281&job=&cmd_args= 01:51:16 -> Pinging Codecov 01:51:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-281&commit=1d794d65e3bd122987564178f6b84a24dab9faf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=281&job=&cmd_args= 01:51:17 -> Uploading to 01:51:17 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/5E52B4B073DB2E39498172D8E973AA87/1d794d65e3bd122987564178f6b84a24dab9faf6/732311ed-3790-4011-927e-50ab96b2aa4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T015117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c45ce26b9c18710cd2b81a29d2420e84e444b3e97ac4ce975c8535ebf17f2c87 01:51:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:51:17 Dload Upload Total Spent Left Speed 01:51:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5300 0 0 100 5300 0 19850 --:--:-- --:--:-- --:--:-- 19850 01:51:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] } 01:51:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:51:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-281/archives ] 01:51:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-281/archives 01:51:19 total 16 01:51:19 drwxr-xr-x 3 root root 4096 Apr 26 01:42 . 01:51:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 01:42 .. 01:51:19 drwxr-xr-x 2 root root 4096 Apr 26 01:42 cost 01:51:19 -rw-r--r-- 1 root root 88 Apr 26 01:42 cost.csv 01:51:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-281/archives 01:51:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-281/archives 01:51:19 total 16 01:51:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 01:42 . 01:51:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 01:42 .. 01:51:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 01:42 cost 01:51:19 -rw-r--r-- 1 jenkins jenkins 88 Apr 26 01:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:51:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:51:20 ---> package-listing.sh 01:51:20 ++ facter osfamily 01:51:20 ++ tr '[:upper:]' '[:lower:]' 01:51:20 + OS_FAMILY=debian 01:51:20 + workspace=/w/workspace/foundry_device-virtual-go_PR-281 01:51:20 + START_PACKAGES=/tmp/packages_start.txt 01:51:20 + END_PACKAGES=/tmp/packages_end.txt 01:51:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:51:20 + PACKAGES=/tmp/packages_start.txt 01:51:20 + '[' /w/workspace/foundry_device-virtual-go_PR-281 ']' 01:51:20 + PACKAGES=/tmp/packages_end.txt 01:51:20 + case "${OS_FAMILY}" in 01:51:20 + dpkg -l 01:51:20 + grep '^ii' 01:51:20 + '[' -f /tmp/packages_start.txt ']' 01:51:20 + '[' -f /tmp/packages_end.txt ']' 01:51:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:51:20 + '[' /w/workspace/foundry_device-virtual-go_PR-281 ']' 01:51:20 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-281/archives/ 01:51:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-281/archives/ [Pipeline] echo 01:51:20 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/foundry_device-virtual-go_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:51:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:21 . [Pipeline] withDockerContainer 01:51:21 prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container 01:51:21 $ 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/foundry_device-virtual-go_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:21 $ docker top c542d6592cd23321d47d64267e14e5d74eba1a3399d6155b87b9b2ba2159a085 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:22 + touch /tmp/pre-build-complete [Pipeline] sh 01:51:22 + mkdir -p /var/log/sysstat [Pipeline] sh 01:51:22 + ls /var/log/sa-host 01:51:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:23 provisioning config files... 01:51:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config1020994294602486957tmp [Pipeline] { [Pipeline] echo 01:51:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:51:23 ---> create-netrc.sh [Pipeline] } 01:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:51:23 ---> python-tools-install.sh [Pipeline] echo 01:51:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:51:24 ---> sudo-logs.sh 01:51:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:51:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:51:24 ---> job-cost.sh 01:51:24 lf-activate-venv: SKIPPING 01:51:24 DEBUG: total: 0.2199999988079071 01:51:24 INFO: Retrieving Stack Cost... 01:51:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:25 INFO: Archiving Costs [Pipeline] echo 01:51:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:51:25 ---> logs-deploy.sh 01:51:25 lf-activate-venv: SKIPPING 01:51:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-281/1 01:51:25 INFO: archiving workspace using pattern(s): 01:51:26 Archives upload complete. 01:51:27 INFO: archiving logs to Nexus