Pull request #272 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 bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at c03aa7c74cee4c24f0ea21a2b880bc2767aae84f rather than cf30344d637e320ae3285e6339d90396576ac4fc Obtained Jenkinsfile from c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 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-ssh11702641384126153278.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-ssh2872675667042899585.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-272/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-272/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11144653654168459517.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-272/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15658529439086015157.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-ssh5005620039249153532.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-272/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-272/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13286437107146290607.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-10362 in /w/workspace/foundry_device-virtual-go_PR-272 [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-272 # 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 Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit cf30344d637e320ae3285e6339d90396576ac4fc Merge succeeded, producing cf30344d637e320ae3285e6339d90396576ac4fc Checking out Revision cf30344d637e320ae3285e6339d90396576ac4fc (PR-272) > 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/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 Commit message: "fix(security): Dependency version bump for device-sdk and core-contracts" 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 00:54:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:34 ========================================================= 00:54:34 EdgeX Global Pipelines Version Info 00:54:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:34 ------------------- 00:54:34 stable info: 00:54:34 ------------------- 00:54:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:34 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:54:34 Message: update stable to v1.0.221 00:54:35 ------------------- 00:54:35 experimental info: 00:54:35 ------------------- 00:54:35 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:54:35 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf30344 [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:37 provisioning config files... 00:54:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config8298046094430663521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:37 ---> docker-login.sh 00:54:37 nexus3.edgexfoundry.org:10001 00:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:37 Configure a credential helper to remove this warning. See 00:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:37 00:54:37 Login Succeeded 00:54:37 nexus3.edgexfoundry.org:10002 00:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 nexus3.edgexfoundry.org:10003 00:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 nexus3.edgexfoundry.org:10004 00:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 docker.io 00:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 ---> docker-login.sh ends [Pipeline] } 00:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:39 + git rev-list -1 --merges cf30344d637e320ae3285e6339d90396576ac4fc~1..cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo 00:54:39 -----------> git rev-list -1 --merges cf30344d637e320ae3285e6339d90396576ac4fc~1..cf30344d637e320ae3285e6339d90396576ac4fc cf30344d637e320ae3285e6339d90396576ac4fc [false] [Pipeline] sh 00:54:40 + git log --format=format:%s -1 cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo 00:54:40 ========================================================= 00:54:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:40 + git log --format=format:%s -1 cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo 00:54:40 [semverPrep] GIT_COMMIT: cf30344d637e320ae3285e6339d90396576ac4fc, Commit Message: fix(security): Dependency version bump for device-sdk and core-contracts [Pipeline] echo 00:54:40 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:41 + grep -v github /etc/ssh/ssh_known_hosts 00:54:41 + [ -e /tmp/ssh_known_hosts ] 00:54:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:41 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:41 sudo tee -a /etc/ssh/ssh_known_hosts 00:54:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:54:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:54:41 00:54:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:54:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:54:41 latest: Pulling from edgex-devops/git-semver 00:54:41 a0d0a0d46f8b: Pulling fs layer 00:54:41 3e5f54012d9b: Pulling fs layer 00:54:41 4c7163046ea9: Pulling fs layer 00:54:41 0c2d73faf560: Pulling fs layer 00:54:41 0c2d73faf560: Waiting 00:54:41 3e5f54012d9b: Download complete 00:54:41 a0d0a0d46f8b: Verifying Checksum 00:54:41 a0d0a0d46f8b: Download complete 00:54:41 0c2d73faf560: Verifying Checksum 00:54:41 0c2d73faf560: Download complete 00:54:41 4c7163046ea9: Verifying Checksum 00:54:41 4c7163046ea9: Download complete 00:54:42 a0d0a0d46f8b: Pull complete 00:54:42 3e5f54012d9b: Pull complete 00:54:42 4c7163046ea9: Pull complete 00:54:42 0c2d73faf560: Pull complete 00:54:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:54:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:54:42 prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container 00:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:54:43 $ docker top 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:43 [ssh-agent] Looking for ssh-agent implementation... 00:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:43 $ docker exec 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent 00:54:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCeAFfi/agent.14 00:54:43 SSH_AGENT_PID=22 00:54:43 Running ssh-add (command line suppressed) 00:54:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_5911622709678085711.key (/w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_5911622709678085711.key) 00:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:44 + git tag --points-at HEAD [Pipeline] } 00:54:44 $ docker exec --env ******** --env ******** 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent -k 00:54:44 unset SSH_AUTH_SOCK; 00:54:44 unset SSH_AGENT_PID; 00:54:44 echo Agent pid 22 killed; 00:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:44 [ssh-agent] Looking for ssh-agent implementation... 00:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:44 $ docker exec 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent 00:54:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnJKflJ/agent.54 00:54:44 SSH_AGENT_PID=60 00:54:44 Running ssh-add (command line suppressed) 00:54:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_7923858279536521996.key (/w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_7923858279536521996.key) 00:54:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:45 + git semver init 00:54:45 # -> Open(): unable to determine branch for HEAD 00:54:45 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-272/.git 00:54:45 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-272 00:54:45 # $SEMVER_REMOTE_NAME = origin 00:54:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:54:45 # $SEMVER_USER_NAME = edgex-jenkins 00:54:45 # $SEMVER_BRANCH = PR-272 00:54:45 # $SEMVER_TEMP = /tmp/semver-273916928 00:54:45 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:54:46 # '/tmp/semver-273916928' -> '/w/workspace/foundry_device-virtual-go_PR-272/.semver' 00:54:46 # -> Force: false 00:54:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-272/.semver [Pipeline] } 00:54:46 $ docker exec --env ******** --env ******** 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent -k 00:54:46 unset SSH_AUTH_SOCK; 00:54:46 unset SSH_AGENT_PID; 00:54:46 echo Agent pid 60 killed; 00:54:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:47 + git semver [Pipeline] } 00:54:47 $ docker stop --time=1 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d 00:54:48 $ docker rm -f 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d [Pipeline] // withDockerContainer [Pipeline] sh 00:54:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:49 Stashed 1 file(s) [Pipeline] echo 00:54:49 [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 00:54:50 provisioning config files... 00:54:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config5755268524104554918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:50 ---> docker-login.sh 00:54:50 nexus3.edgexfoundry.org:10001 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 nexus3.edgexfoundry.org:10002 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 nexus3.edgexfoundry.org:10003 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 nexus3.edgexfoundry.org:10004 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 docker.io 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:51 Configure a credential helper to remove this warning. See 00:54:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:51 00:54:51 Login Succeeded 00:54:51 ---> docker-login.sh ends [Pipeline] } 00:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:51 ========================================================= 00:54:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:54:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:54:51 + 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 . 00:54:51 Sending build context to Docker daemon 22.89MB 00:54:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:54:51 Step 2/12 : FROM ${BASE} AS builder 00:54:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:52 59bf1c3509f3: Pulling fs layer 00:54:52 666ba61612fd: Pulling fs layer 00:54:52 8ed8ca486205: Pulling fs layer 00:54:52 4fe6c5a15a65: Pulling fs layer 00:54:52 22a0e8bec74d: Pulling fs layer 00:54:52 640e595b4fbd: Pulling fs layer 00:54:52 763cafe07f6e: Pulling fs layer 00:54:52 0c0b528cf693: Pulling fs layer 00:54:52 10935f4eaf8b: Pulling fs layer 00:54:52 640e595b4fbd: Waiting 00:54:52 0c0b528cf693: Waiting 00:54:52 10935f4eaf8b: Waiting 00:54:52 4fe6c5a15a65: Waiting 00:54:52 763cafe07f6e: Waiting 00:54:52 22a0e8bec74d: Waiting 00:54:52 8ed8ca486205: Download complete 00:54:52 666ba61612fd: Download complete 00:54:52 22a0e8bec74d: Verifying Checksum 00:54:52 22a0e8bec74d: Download complete 00:54:52 640e595b4fbd: Verifying Checksum 00:54:52 640e595b4fbd: Download complete 00:54:52 763cafe07f6e: Verifying Checksum 00:54:52 763cafe07f6e: Download complete 00:54:52 59bf1c3509f3: Verifying Checksum 00:54:52 59bf1c3509f3: Download complete 00:54:52 0c0b528cf693: Download complete 00:54:52 59bf1c3509f3: Pull complete 00:54:52 666ba61612fd: Pull complete 00:54:52 8ed8ca486205: Pull complete 00:54:52 10935f4eaf8b: Verifying Checksum 00:54:52 10935f4eaf8b: Download complete 00:54:52 4fe6c5a15a65: Verifying Checksum 00:54:52 4fe6c5a15a65: Download complete 00:54:57 4fe6c5a15a65: Pull complete 00:54:57 22a0e8bec74d: Pull complete 00:54:57 640e595b4fbd: Pull complete 00:54:57 763cafe07f6e: Pull complete 00:54:57 0c0b528cf693: Pull complete 00:54:59 10935f4eaf8b: Pull complete 00:54:59 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:54:59 ---> 99d49a6021b9 00:54:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:55:00 ---> Running in 3bba43294642 00:55:00 Removing intermediate container 3bba43294642 00:55:00 ---> 6469db5147b3 00:55:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:55:00 ---> Running in 00aa84da0139 00:55:01 Removing intermediate container 00aa84da0139 00:55:01 ---> cfe4fd5969df 00:55:01 Step 5/12 : WORKDIR /device-virtual-go 00:55:01 ---> Running in 56a4e356748c 00:55:01 Removing intermediate container 56a4e356748c 00:55:01 ---> 761bcac592cc 00:55:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:55:01 ---> Running in ae454c1da326 00:55:01 Removing intermediate container ae454c1da326 00:55:01 ---> f55b995262d2 00:55:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:01 ---> Running in 868536f1fd3f 00:55:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:55:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:55:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:55:03 (2/4) Installing libedit (20210910.3.1-r0) 00:55:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:55:03 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:55:03 Executing busybox-1.34.1-r3.trigger 00:55:03 OK: 224 MiB in 56 packages 00:55:04 Removing intermediate container 868536f1fd3f 00:55:04 ---> c529c88bc606 00:55:04 Step 8/12 : COPY go.mod vendor* ./ 00:55:04 ---> bbe87f980be1 00:55:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:04 ---> Running in c15169c00c35 00:55:04 Still waiting to schedule task 00:55:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10361’ 00:55:22 Removing intermediate container c15169c00c35 00:55:22 ---> a87b0f7df41b 00:55:22 Step 10/12 : COPY . . 00:55:22 ---> 15ecc7ec3cfb 00:55:22 Step 11/12 : ARG MAKE='make build' 00:55:22 ---> Running in 7cc2e2856da1 00:55:22 Removing intermediate container 7cc2e2856da1 00:55:22 ---> f47d31b06137 00:55:22 Step 12/12 : RUN $MAKE 00:55:22 ---> Running in f69f3f5fcab6 00:55:22 noop 00:55:22 Removing intermediate container f69f3f5fcab6 00:55:22 ---> 3ebe8fa2d62d 00:55:22 Successfully built 3ebe8fa2d62d 00:55:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:55:22 + docker inspect -f . ci-base-image-x86_64 00:55:22 . [Pipeline] withDockerContainer 00:55:22 prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container 00:55:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:23 $ docker top b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:23 + go version 00:55:23 go version go1.17.6 linux/amd64 [Pipeline] } 00:55:23 $ docker stop --time=1 b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 00:55:25 $ docker rm -f b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:55:25 + docker inspect -f . ci-base-image-x86_64 00:55:25 . [Pipeline] withDockerContainer 00:55:25 prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container 00:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:26 $ docker top 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:55:26 + make test 00:55:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:55:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:55:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:55:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 00:55:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:55:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:55:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:55:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:55:41 $ docker stop --time=1 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b 00:55:43 $ docker rm -f 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b [Pipeline] // withDockerContainer [Pipeline] sh 00:55:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:55:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:55:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:55:45 + ls -al . 00:55:45 total 180 00:55:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:55 . 00:55:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:54 .. 00:55:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:54 .git 00:55:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:54 .github 00:55:45 -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 00:54 .gitignore 00:55:45 drwx------ 3 jenkins jenkins 4096 Apr 1 00:54 .semver 00:55:45 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 00:54 Attribution.txt 00:55:45 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 00:54 CHANGELOG.md 00:55:45 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 00:54 Dockerfile 00:55:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:54 GOVERNANCE.md 00:55:45 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 00:54 Jenkinsfile 00:55:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:54 LICENSE 00:55:45 -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 00:54 Makefile 00:55:45 -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 00:54 OWNERS.md 00:55:45 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 00:54 README.md 00:55:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:54 VERSION 00:55:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:54 bin 00:55:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:54 cmd 00:55:45 -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 00:55 coverage.out 00:55:45 -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 00:54 go.mod 00:55:45 -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 00:54 go.sum 00:55:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:54 internal 00:55:45 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 00:54 version.go [Pipeline] isUnix [Pipeline] sh 00:55:45 + 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=cf30344d637e320ae3285e6339d90396576ac4fc --label arch=amd64 --label version=0.0.0 . 00:55:45 Sending build context to Docker daemon 22.93MB 00:55:45 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:55:45 Step 2/26 : FROM ${BASE} AS builder 00:55:45 ---> 3ebe8fa2d62d 00:55:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:55:45 ---> Running in 0a27d10cb8ca 00:55:45 Removing intermediate container 0a27d10cb8ca 00:55:45 ---> 559a863c7efc 00:55:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:55:45 ---> Running in d45dfc9fbf7b 00:55:45 Removing intermediate container d45dfc9fbf7b 00:55:45 ---> f27d5eb5fda6 00:55:45 Step 5/26 : WORKDIR /device-virtual-go 00:55:45 ---> Running in b10ae416d9ff 00:55:45 Removing intermediate container b10ae416d9ff 00:55:45 ---> 9554b4c9a141 00:55:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:55:45 ---> Running in 2a6cf2c70934 00:55:46 Removing intermediate container 2a6cf2c70934 00:55:46 ---> 89b278f65662 00:55:46 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:46 ---> Running in 32ee0b32ae2a 00:55:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:55:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:55:47 OK: 224 MiB in 56 packages 00:55:48 Removing intermediate container 32ee0b32ae2a 00:55:48 ---> 26cf2191c44f 00:55:48 Step 8/26 : COPY go.mod vendor* ./ 00:55:48 ---> 9fec982c3bc1 00:55:48 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:48 ---> Running in 54234dff6f68 00:55:49 Removing intermediate container 54234dff6f68 00:55:49 ---> 6fbe2007cc1c 00:55:49 Step 10/26 : COPY . . 00:55:49 ---> 74bdccb1746e 00:55:49 Step 11/26 : ARG MAKE='make build' 00:55:49 ---> Running in 241bc67237fa 00:55:49 Removing intermediate container 241bc67237fa 00:55:49 ---> 095af2ff5b43 00:55:49 Step 12/26 : RUN $MAKE 00:55:49 ---> Running in 38b3da553c44 00:55:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:56:02 Removing intermediate container 38b3da553c44 00:56:02 ---> a1bd58a6e430 00:56:02 Step 13/26 : FROM alpine:3.14 00:56:02 3.14: Pulling from library/alpine 00:56:02 cfab2db72209: Pulling fs layer 00:56:02 cfab2db72209: Download complete 00:56:02 cfab2db72209: Pull complete 00:56:02 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 00:56:02 Status: Downloaded newer image for alpine:3.14 00:56:02 ---> 84b07dd2d1fd 00:56:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:56:03 ---> Running in 1fe224aa165b 00:56:03 Removing intermediate container 1fe224aa165b 00:56:03 ---> acd02d890fa0 00:56:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:56:03 ---> Running in f34e81d2ba55 00:56:03 Removing intermediate container f34e81d2ba55 00:56:03 ---> 919e69310c6b 00:56:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:56:03 ---> Running in 060c596f4f1e 00:56:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:56:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:56:05 (1/6) Installing dumb-init (1.2.5-r1) 00:56:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:56:05 (3/6) Installing libsodium (1.0.18-r0) 00:56:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:56:05 (5/6) Installing libzmq (4.3.4-r0) 00:56:05 (6/6) Installing zeromq (4.3.4-r0) 00:56:06 Executing busybox-1.33.1-r6.trigger 00:56:06 OK: 8 MiB in 20 packages 00:56:06 Removing intermediate container 060c596f4f1e 00:56:06 ---> 85c24498fb65 00:56:06 Step 17/26 : WORKDIR / 00:56:06 ---> Running in 995e602a660c 00:56:06 Removing intermediate container 995e602a660c 00:56:06 ---> d76d7def8365 00:56:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:56:06 ---> ceab2c00ffd2 00:56:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 00:56:06 ---> aebdef4e7bc6 00:56:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 00:56:07 ---> 4990c8044914 00:56:07 Step 21/26 : EXPOSE 59900 00:56:07 ---> Running in 5ecd6c8b50e2 00:56:07 Removing intermediate container 5ecd6c8b50e2 00:56:07 ---> 47cc387e6c6b 00:56:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 00:56:07 ---> Running in 324283a70807 00:56:07 Removing intermediate container 324283a70807 00:56:07 ---> bcc82c83f68f 00:56:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:56:07 ---> Running in bc792fbdbbf7 00:56:07 Removing intermediate container bc792fbdbbf7 00:56:07 ---> 13038edee6b7 00:56:07 Step 24/26 : LABEL arch=amd64 00:56:07 ---> Running in da5a2d65305d 00:56:07 Removing intermediate container da5a2d65305d 00:56:07 ---> 0eaa9cb3761b 00:56:07 Step 25/26 : LABEL git_sha=cf30344d637e320ae3285e6339d90396576ac4fc 00:56:07 ---> Running in b485a0f9bad6 00:56:07 Removing intermediate container b485a0f9bad6 00:56:07 ---> 2bcc8c7b088c 00:56:07 Step 26/26 : LABEL version=0.0.0 00:56:07 ---> Running in 334fe49dd769 00:56:07 Removing intermediate container 334fe49dd769 00:56:07 ---> 70522483ba75 00:56:07 [Warning] One or more build-args [ARCH] were not consumed 00:56:07 Successfully built 70522483ba75 00:56:07 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 00:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:08 00:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:08 latest: Pulling from edgex-lftools-log-publisher 00:56:08 5eb5b503b376: Pulling fs layer 00:56:08 5c69ac0246d0: Pulling fs layer 00:56:08 ec43610c2a17: Pulling fs layer 00:56:08 3a2ae6a8a46f: Pulling fs layer 00:56:08 33b1e0a273af: Pulling fs layer 00:56:08 5d3b04190fa2: Pulling fs layer 00:56:08 2f39f015ded8: Pulling fs layer 00:56:08 33b1e0a273af: Waiting 00:56:08 5d3b04190fa2: Waiting 00:56:08 3a2ae6a8a46f: Waiting 00:56:08 2f39f015ded8: Waiting 00:56:08 5c69ac0246d0: Download complete 00:56:08 3a2ae6a8a46f: Verifying Checksum 00:56:08 3a2ae6a8a46f: Download complete 00:56:08 33b1e0a273af: Verifying Checksum 00:56:08 33b1e0a273af: Download complete 00:56:08 5d3b04190fa2: Verifying Checksum 00:56:08 5d3b04190fa2: Download complete 00:56:08 ec43610c2a17: Verifying Checksum 00:56:08 ec43610c2a17: Download complete 00:56:09 5eb5b503b376: Verifying Checksum 00:56:09 5eb5b503b376: Download complete 00:56:09 2f39f015ded8: Download complete 00:56:10 5eb5b503b376: Pull complete 00:56:10 5c69ac0246d0: Pull complete 00:56:11 ec43610c2a17: Pull complete 00:56:11 3a2ae6a8a46f: Pull complete 00:56:11 33b1e0a273af: Pull complete 00:56:11 5d3b04190fa2: Pull complete 00:56:16 2f39f015ded8: Pull complete 00:56:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:56:16 prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container 00:56:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:18 $ docker top d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:19 ---> job-cost.sh 00:56:19 lf-activate-venv: SKIPPING 00:56:19 INFO: No Stack... 00:56:19 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:19 INFO: Archiving Costs [Pipeline] sh 00:56:20 + cat /w/workspace/foundry_device-virtual-go_PR-272/archives/cost.csv 00:56:20 + cut -d, -f6 [Pipeline] lock 00:56:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] 00:56:20 Resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] did not exist. Created. 00:56:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:20 + echo total: 0.2199999988079071 [Pipeline] stash 00:56:20 Stashed 1 file(s) [Pipeline] } 00:56:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:20 $ docker stop --time=1 d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 00:56:22 $ docker rm -f d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10363 in /w/workspace/foundry_device-virtual-go_PR-272 [Pipeline] { [Pipeline] ws 00:58:43 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 00:58:43 The recommended git tool is: git 00:58:51 using credential edgex-jenkins-ssh 00:58:51 Cloning the remote Git repository 00:58:51 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:58:51 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:58:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:58:51 > git --version # timeout=10 00:58:51 > git --version # 'git version 2.25.1' 00:58:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:55 Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit cf30344d637e320ae3285e6339d90396576ac4fc 00:58:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:58:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:58:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:58:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:55 > git config core.sparsecheckout # timeout=10 00:58:55 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 00:58:55 > git remote # timeout=10 00:58:55 > git config --get remote.origin.url # timeout=10 00:58:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:55 > git merge c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 00:58:55 Merge succeeded, producing cf30344d637e320ae3285e6339d90396576ac4fc 00:58:55 Checking out Revision cf30344d637e320ae3285e6339d90396576ac4fc (PR-272) 00:58:55 > git rev-parse HEAD^{commit} # timeout=10 00:58:55 > git config core.sparsecheckout # timeout=10 00:58:55 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 00:59:00 Commit message: "fix(security): Dependency version bump for device-sdk and core-contracts" 00:59:00 > git --version # timeout=10 00:59:00 > git --version # 'git version 2.25.1' 00:59:00 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:01 Dload Upload Total Spent Left Speed 00:59:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47947 0 --:--:-- --:--:-- --:--:-- 47947 [Pipeline] sh 00:59:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 00:59:02 /etc/docker/daemon.new 00:59:02 { 00:59:02 "registry-mirrors": [ 00:59:02 "https://nexus3.edgexfoundry.org:10001" 00:59:02 ], 00:59:02 "bip": "10.250.0.254/24", 00:59:02 "hosts": [ 00:59:02 "tcp://0.0.0.0:5555", 00:59:02 "unix:///var/run/docker.sock" 00:59:02 ], 00:59:02 "mtu": 1458, 00:59:02 "selinux-enabled": true, 00:59:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:02 } [Pipeline] sh 00:59:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:21 provisioning config files... 00:59:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7386409649109362904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:22 ---> docker-login.sh 00:59:22 nexus3.edgexfoundry.org:10001 00:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:23 Configure a credential helper to remove this warning. See 00:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:23 00:59:23 Login Succeeded 00:59:23 nexus3.edgexfoundry.org:10002 00:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:23 Configure a credential helper to remove this warning. See 00:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:23 00:59:23 Login Succeeded 00:59:23 nexus3.edgexfoundry.org:10003 00:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:23 Configure a credential helper to remove this warning. See 00:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:23 00:59:23 Login Succeeded 00:59:23 nexus3.edgexfoundry.org:10004 00:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:24 Configure a credential helper to remove this warning. See 00:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:24 00:59:24 Login Succeeded 00:59:24 docker.io 00:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:24 Configure a credential helper to remove this warning. See 00:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:24 00:59:24 Login Succeeded 00:59:24 ---> docker-login.sh ends [Pipeline] } 00:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:25 ========================================================= 00:59:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:59:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:59:25 + 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 . 00:59:26 Sending build context to Docker daemon 11.59MB 00:59:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:59:26 Step 2/12 : FROM ${BASE} AS builder 00:59:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:26 9b3977197b4f: Pulling fs layer 00:59:26 1a89e8eeedd5: Pulling fs layer 00:59:26 94645a83ff95: Pulling fs layer 00:59:26 3f3a8bcf1eab: Pulling fs layer 00:59:26 0c92f367c5e7: Pulling fs layer 00:59:26 f7c0051592d6: Pulling fs layer 00:59:26 a227ed2f7395: Pulling fs layer 00:59:26 7b1c46037f91: Pulling fs layer 00:59:26 3f3a8bcf1eab: Waiting 00:59:26 a227ed2f7395: Waiting 00:59:26 0c92f367c5e7: Waiting 00:59:26 f7c0051592d6: Waiting 00:59:26 7b1c46037f91: Waiting 00:59:26 94645a83ff95: Verifying Checksum 00:59:26 94645a83ff95: Download complete 00:59:26 1a89e8eeedd5: Verifying Checksum 00:59:26 1a89e8eeedd5: Download complete 00:59:26 0c92f367c5e7: Verifying Checksum 00:59:26 0c92f367c5e7: Download complete 00:59:26 f7c0051592d6: Verifying Checksum 00:59:26 f7c0051592d6: Download complete 00:59:26 9b3977197b4f: Verifying Checksum 00:59:26 9b3977197b4f: Download complete 00:59:26 a227ed2f7395: Verifying Checksum 00:59:26 a227ed2f7395: Download complete 00:59:27 9b3977197b4f: Pull complete 00:59:27 1a89e8eeedd5: Pull complete 00:59:28 94645a83ff95: Pull complete 00:59:28 7b1c46037f91: Verifying Checksum 00:59:28 7b1c46037f91: Download complete 00:59:29 3f3a8bcf1eab: Verifying Checksum 00:59:29 3f3a8bcf1eab: Download complete 00:59:41 3f3a8bcf1eab: Pull complete 00:59:41 0c92f367c5e7: Pull complete 00:59:41 f7c0051592d6: Pull complete 00:59:41 a227ed2f7395: Pull complete 00:59:48 7b1c46037f91: Pull complete 00:59:48 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:59:48 ---> f79e39bc4007 00:59:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:59:49 ---> Running in 8ff6bc04a8b7 00:59:49 Removing intermediate container 8ff6bc04a8b7 00:59:49 ---> 2d1792516e65 00:59:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:59:49 ---> Running in 122cb6bc4a61 00:59:50 Removing intermediate container 122cb6bc4a61 00:59:50 ---> 68a95b4e9980 00:59:50 Step 5/12 : WORKDIR /device-virtual-go 00:59:50 ---> Running in ee56e9ff45c5 00:59:50 Removing intermediate container ee56e9ff45c5 00:59:50 ---> f046692836c8 00:59:50 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:59:50 ---> Running in 198aad11a3f9 00:59:52 Removing intermediate container 198aad11a3f9 00:59:52 ---> c8cd0890fce4 00:59:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:52 ---> Running in bda34b51a555 00:59:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:59:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:59:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:59:55 (2/4) Installing libedit (20210910.3.1-r0) 00:59:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:59:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:59:55 Executing busybox-1.34.1-r3.trigger 00:59:55 OK: 224 MiB in 56 packages 00:59:56 Removing intermediate container bda34b51a555 00:59:56 ---> 2a0c76939f77 00:59:56 Step 8/12 : COPY go.mod vendor* ./ 00:59:57 ---> 6d11d529f327 00:59:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:57 ---> Running in 36f7a301f44b 01:00:53 Removing intermediate container 36f7a301f44b 01:00:53 ---> d31db96d01b7 01:00:53 Step 10/12 : COPY . . 01:00:53 ---> 68a8de73d630 01:00:53 Step 11/12 : ARG MAKE='make build' 01:00:53 ---> Running in de0a27aafc59 01:00:53 Removing intermediate container de0a27aafc59 01:00:53 ---> f70d6749e4e4 01:00:53 Step 12/12 : RUN $MAKE 01:00:53 ---> Running in 31c73d68d55f 01:00:53 noop 01:00:53 Removing intermediate container 31c73d68d55f 01:00:53 ---> f8644c2b50fb 01:00:53 Successfully built f8644c2b50fb 01:00:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:00:54 + docker inspect -f . ci-base-image-arm64 01:00:54 . [Pipeline] withDockerContainer 01:00:54 prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container 01:00:54 $ 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 ******** -e ******** ci-base-image-arm64 cat 01:00:55 $ docker top 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:56 + go version 01:00:56 go version go1.17.6 linux/arm64 [Pipeline] } 01:00:56 $ docker stop --time=1 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 01:00:58 $ docker rm -f 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:00:59 + docker inspect -f . ci-base-image-arm64 01:00:59 . [Pipeline] withDockerContainer 01:00:59 prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container 01:00:59 $ 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 ******** -e ******** ci-base-image-arm64 cat 01:01:01 $ docker top 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:01:02 + make test 01:01:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:02:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:02:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 01:02:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:02:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:48 ./bin/test-attribution-txt.sh [Pipeline] echo 01:02:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:50 $ docker stop --time=1 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d 01:02:52 $ docker rm -f 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d [Pipeline] // withDockerContainer [Pipeline] sh 01:02:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:53 Warning: overwriting stash ‘coverage-report’ 01:02:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:55 + ls -al . 01:02:55 total 176 01:02:55 drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 01:02 . 01:02:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:58 .. 01:02:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:58 .git 01:02:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:58 .github 01:02:55 -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 00:58 .gitignore 01:02:55 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 00:58 Attribution.txt 01:02:55 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 00:58 CHANGELOG.md 01:02:55 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 00:58 Dockerfile 01:02:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:58 GOVERNANCE.md 01:02:55 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 00:58 Jenkinsfile 01:02:55 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:58 LICENSE 01:02:55 -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 00:58 Makefile 01:02:55 -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 00:58 OWNERS.md 01:02:55 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 00:58 README.md 01:02:55 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:54 VERSION 01:02:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:58 bin 01:02:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:58 cmd 01:02:55 -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 01:02 coverage.out 01:02:55 -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 00:58 go.mod 01:02:55 -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 00:58 go.sum 01:02:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:58 internal 01:02:55 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 00:58 version.go [Pipeline] isUnix [Pipeline] sh 01:02:55 + 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=cf30344d637e320ae3285e6339d90396576ac4fc --label arch=arm64 --label version=0.0.0 . 01:02:56 Sending build context to Docker daemon 11.63MB 01:02:56 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:02:56 Step 2/26 : FROM ${BASE} AS builder 01:02:56 ---> f8644c2b50fb 01:02:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:02:56 ---> Running in 284d781f216e 01:02:56 Removing intermediate container 284d781f216e 01:02:56 ---> 128ffcaa806b 01:02:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:02:56 ---> Running in 516736a2c2b6 01:02:57 Removing intermediate container 516736a2c2b6 01:02:57 ---> e69e234bdfb6 01:02:57 Step 5/26 : WORKDIR /device-virtual-go 01:02:57 ---> Running in 13b941fc9911 01:02:57 Removing intermediate container 13b941fc9911 01:02:57 ---> d52316b74fbe 01:02:57 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:02:57 ---> Running in c2a19505b1f5 01:02:59 Removing intermediate container c2a19505b1f5 01:02:59 ---> d2914bd587a9 01:02:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:02:59 ---> Running in 126f5f6b335a 01:03:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:03:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:03:02 OK: 224 MiB in 56 packages 01:03:03 Removing intermediate container 126f5f6b335a 01:03:03 ---> 0b17a18c6a9c 01:03:03 Step 8/26 : COPY go.mod vendor* ./ 01:03:03 ---> 585df79c00ea 01:03:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:03 ---> Running in 77ef4fa65b7a 01:03:05 Removing intermediate container 77ef4fa65b7a 01:03:05 ---> 891542e16a78 01:03:05 Step 10/26 : COPY . . 01:03:06 ---> 8c945285010d 01:03:06 Step 11/26 : ARG MAKE='make build' 01:03:06 ---> Running in 5a8dc5c5b555 01:03:07 Removing intermediate container 5a8dc5c5b555 01:03:07 ---> 32b98fa7e600 01:03:07 Step 12/26 : RUN $MAKE 01:03:07 ---> Running in e7739d9b2143 01:03:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:04:30 Removing intermediate container e7739d9b2143 01:04:30 ---> 962453273367 01:04:30 Step 13/26 : FROM alpine:3.14 01:04:30 3.14: Pulling from library/alpine 01:04:30 810d54c7e01b: Pulling fs layer 01:04:30 810d54c7e01b: Pull complete 01:04:30 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 01:04:30 Status: Downloaded newer image for alpine:3.14 01:04:30 ---> cc3d11fa2d52 01:04:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:04:30 ---> Running in 7e1104f5a41a 01:04:30 Removing intermediate container 7e1104f5a41a 01:04:30 ---> 21022a3026eb 01:04:30 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:04:30 ---> Running in 455c5baabbb5 01:04:30 Removing intermediate container 455c5baabbb5 01:04:30 ---> 268f9d7e683b 01:04:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:04:30 ---> Running in 8b8470676e5d 01:04:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:04:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:04:30 (1/6) Installing dumb-init (1.2.5-r1) 01:04:30 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:04:30 (3/6) Installing libsodium (1.0.18-r0) 01:04:30 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:04:30 (5/6) Installing libzmq (4.3.4-r0) 01:04:30 (6/6) Installing zeromq (4.3.4-r0) 01:04:30 Executing busybox-1.33.1-r6.trigger 01:04:30 OK: 8 MiB in 20 packages 01:04:30 Removing intermediate container 8b8470676e5d 01:04:30 ---> e08976cf10f9 01:04:30 Step 17/26 : WORKDIR / 01:04:30 ---> Running in 71721e52162a 01:04:30 Removing intermediate container 71721e52162a 01:04:30 ---> e923fcde0c53 01:04:30 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:04:30 ---> b7f4bdfbd30d 01:04:30 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:04:31 ---> 7360b8e712ff 01:04:31 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:04:32 ---> 6ca8ca2648a5 01:04:32 Step 21/26 : EXPOSE 59900 01:04:32 ---> Running in 628e2e6892e4 01:04:32 Removing intermediate container 628e2e6892e4 01:04:32 ---> 9c8ab55393dd 01:04:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:04:32 ---> Running in 3e26d8fee576 01:04:33 Removing intermediate container 3e26d8fee576 01:04:33 ---> 0508ee2e3845 01:04:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:04:33 ---> Running in 7a53cefbd76c 01:04:33 Removing intermediate container 7a53cefbd76c 01:04:33 ---> 56bf6fd876c9 01:04:33 Step 24/26 : LABEL arch=arm64 01:04:33 ---> Running in 04d415d57b6e 01:04:34 Removing intermediate container 04d415d57b6e 01:04:34 ---> 4b02acb8ed16 01:04:34 Step 25/26 : LABEL git_sha=cf30344d637e320ae3285e6339d90396576ac4fc 01:04:34 ---> Running in f936288fc593 01:04:34 Removing intermediate container f936288fc593 01:04:34 ---> 14b227687b0d 01:04:34 Step 26/26 : LABEL version=0.0.0 01:04:34 ---> Running in f8a842786e63 01:04:34 Removing intermediate container f8a842786e63 01:04:34 ---> 88e4b0efc496 01:04:34 [Warning] One or more build-args [ARCH] were not consumed 01:04:34 Successfully built 88e4b0efc496 01:04:34 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:04:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:35 01:04:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:04:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:36 arm64: Pulling from edgex-lftools-log-publisher 01:04:36 8998bd30e6a1: Pulling fs layer 01:04:36 04944245beec: Pulling fs layer 01:04:36 699f458cf7ca: Pulling fs layer 01:04:36 765212b225bb: Pulling fs layer 01:04:36 f23df028b6ca: Pulling fs layer 01:04:36 d65c8cfc05b1: Pulling fs layer 01:04:36 2437ff75d9bd: Pulling fs layer 01:04:36 765212b225bb: Waiting 01:04:36 f23df028b6ca: Waiting 01:04:36 d65c8cfc05b1: Waiting 01:04:36 2437ff75d9bd: Waiting 01:04:36 04944245beec: Verifying Checksum 01:04:36 04944245beec: Download complete 01:04:36 765212b225bb: Verifying Checksum 01:04:36 765212b225bb: Download complete 01:04:36 f23df028b6ca: Verifying Checksum 01:04:36 f23df028b6ca: Download complete 01:04:36 d65c8cfc05b1: Verifying Checksum 01:04:36 d65c8cfc05b1: Download complete 01:04:36 699f458cf7ca: Verifying Checksum 01:04:36 699f458cf7ca: Download complete 01:04:36 8998bd30e6a1: Verifying Checksum 01:04:36 8998bd30e6a1: Download complete 01:04:39 2437ff75d9bd: Verifying Checksum 01:04:39 2437ff75d9bd: Download complete 01:04:41 8998bd30e6a1: Pull complete 01:04:41 04944245beec: Pull complete 01:04:43 699f458cf7ca: Pull complete 01:04:43 765212b225bb: Pull complete 01:04:44 f23df028b6ca: Pull complete 01:04:44 d65c8cfc05b1: Pull complete 01:04:59 2437ff75d9bd: Pull complete 01:04:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:04:59 prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container 01:04:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:05:02 $ docker top 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:03 ---> job-cost.sh 01:05:03 lf-activate-venv: SKIPPING 01:05:03 INFO: No Stack... 01:05:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:05:04 INFO: Archiving Costs [Pipeline] sh 01:05:05 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 01:05:05 + cut -d, -f6 [Pipeline] lock 01:05:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] 01:05:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] did not exist. Created. 01:05:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:06 /w/workspace/device-virtual-go/1@tmp/durable-344452e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:05:06 + echo total: 0.10999999940395355 [Pipeline] stash 01:05:07 Warning: overwriting stash ‘stack-cost’ 01:05:07 Stashed 1 file(s) [Pipeline] } 01:05:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:07 $ docker stop --time=1 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b 01:05:08 $ docker rm -f 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b [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:05:09 provisioning config files... 01:05:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config1008772321835745883tmp [Pipeline] { [Pipeline] sh 01:05:10 + set +x 01:05:10 + curl -s https://codecov.io/bash 01:05:10 + bash -s -- 01:05:10 01:05:10 _____ _ 01:05:10 / ____| | | 01:05:10 | | ___ __| | ___ ___ _____ __ 01:05:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:05:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:05:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:05:10 Bash-1.0.6 01:05:10 01:05:10 01:05:10 ==> git version 2.25.1 found 01:05:10 ==> 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:05:10 Release-Date: 2020-01-08 01:05:10 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:05:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:05:10 ==> Jenkins CI detected. 01:05:10 current dir:  /w/workspace/foundry_device-virtual-go_PR-272 01:05:10 project root: . 01:05:10 --> token set from env 01:05:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:05:10 ==> Running gcov in . (disable via -X gcov) 01:05:10 ==> Python coveragepy not found 01:05:10 ==> Searching for coverage reports in: 01:05:10 + . 01:05:10 -> Found 1 reports 01:05:10 ==> Detecting git/mercurial file structure 01:05:10 ==> Reading reports 01:05:10 + ./coverage.out bytes=44128 01:05:10 ==> Appending adjustments 01:05:10 https://docs.codecov.io/docs/fixing-reports 01:05:10 + Found adjustments 01:05:10 ==> Gzipping contents 01:05:10 8.0K /tmp/codecov.SgjlDe.gz 01:05:10 ==> Uploading reports 01:05:10 url: https://codecov.io 01:05:10 query: branch=PR-272&commit=cf30344d637e320ae3285e6339d90396576ac4fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=272&job=&cmd_args= 01:05:10 -> Pinging Codecov 01:05:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-272&commit=cf30344d637e320ae3285e6339d90396576ac4fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=272&job=&cmd_args= 01:05:10 -> Uploading to 01:05:10 https://storage.googleapis.com/codecov/v4/raw/2022-04-01/5E52B4B073DB2E39498172D8E973AA87/cf30344d637e320ae3285e6339d90396576ac4fc/7c75cc21-b20b-44a6-8ec0-aa2aa2ee2fcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T010510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfc89132178ca5210a700199c1255951c27b582edcd0f236ed998cab6ad3a597 01:05:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:05:10 Dload Upload Total Spent Left Speed 01:05:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5296 0 0 100 5296 0 22729 --:--:-- --:--:-- --:--:-- 22729 01:05:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] } 01:05:10 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:05:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-272/archives ] 01:05:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-272/archives 01:05:12 total 16 01:05:12 drwxr-xr-x 3 root root 4096 Apr 1 00:56 . 01:05:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 00:56 .. 01:05:12 drwxr-xr-x 2 root root 4096 Apr 1 00:56 cost 01:05:12 -rw-r--r-- 1 root root 88 Apr 1 00:56 cost.csv 01:05:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-272/archives 01:05:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-272/archives 01:05:12 total 16 01:05:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 00:56 . 01:05:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 00:56 .. 01:05:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 00:56 cost 01:05:12 -rw-r--r-- 1 jenkins jenkins 88 Apr 1 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:05:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:05:13 ---> package-listing.sh 01:05:13 ++ facter osfamily 01:05:13 ++ tr '[:upper:]' '[:lower:]' 01:05:14 + OS_FAMILY=debian 01:05:14 + workspace=/w/workspace/foundry_device-virtual-go_PR-272 01:05:14 + START_PACKAGES=/tmp/packages_start.txt 01:05:14 + END_PACKAGES=/tmp/packages_end.txt 01:05:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:05:14 + PACKAGES=/tmp/packages_start.txt 01:05:14 + '[' /w/workspace/foundry_device-virtual-go_PR-272 ']' 01:05:14 + PACKAGES=/tmp/packages_end.txt 01:05:14 + case "${OS_FAMILY}" in 01:05:14 + dpkg -l 01:05:14 + grep '^ii' 01:05:14 + '[' -f /tmp/packages_start.txt ']' 01:05:14 + '[' -f /tmp/packages_end.txt ']' 01:05:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:05:14 + '[' /w/workspace/foundry_device-virtual-go_PR-272 ']' 01:05:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-272/archives/ 01:05:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-272/archives/ [Pipeline] echo 01:05:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:05:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:05:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:15 . [Pipeline] withDockerContainer 01:05:15 prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container 01:05:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-272/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-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@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:05:15 $ docker top 81cfcb80f7c92c2e0fd4cf9faa3db4907f8b299151cfe29875563fbe043bea1b -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:15 + touch /tmp/pre-build-complete [Pipeline] sh 01:05:16 + mkdir -p /var/log/sysstat [Pipeline] sh 01:05:16 + ls /var/log/sa-host 01:05:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:16 provisioning config files... 01:05:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config771677916998377884tmp [Pipeline] { [Pipeline] echo 01:05:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:05:17 ---> create-netrc.sh [Pipeline] } 01:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:05:17 ---> python-tools-install.sh [Pipeline] echo 01:05:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:05:18 ---> sudo-logs.sh 01:05:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:05:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:05:18 ---> job-cost.sh 01:05:18 lf-activate-venv: SKIPPING 01:05:18 DEBUG: total: 0.2199999988079071 01:05:18 INFO: Retrieving Stack Cost... 01:05:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:19 INFO: Archiving Costs [Pipeline] echo 01:05:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:05:19 ---> logs-deploy.sh 01:05:19 lf-activate-venv: SKIPPING 01:05:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-272/1 01:05:19 INFO: archiving workspace using pattern(s): 01:05:20 Archives upload complete. 01:05:20 INFO: archiving logs to Nexus