Pull request #278 updated 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca rather than 01bd024ef05392c038f5d4fcf8d486a489a118ad Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 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-ssh13211027451964775417.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-ssh2808553533121231775.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6923928383132727247.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 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-ssh12833135001621163604.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2133073393273531933.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-21409 in /w/workspace/foundry_device-virtual-go_PR-278 [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-278 # 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit 01bd024ef05392c038f5d4fcf8d486a489a118ad Merge succeeded, producing 01bd024ef05392c038f5d4fcf8d486a489a118ad Checking out Revision 01bd024ef05392c038f5d4fcf8d486a489a118ad (PR-278) > 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/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:57:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:57:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 [Pipeline] echo 21:57:38 ========================================================= 21:57:38 EdgeX Global Pipelines Version Info 21:57:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:57:38 ------------------- 21:57:38 stable info: 21:57:38 ------------------- 21:57:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:57:38 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:57:38 Message: update stable to v1.0.221 21:57:39 ------------------- 21:57:39 experimental info: 21:57:39 ------------------- 21:57:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:57:39 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 21:57:39 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:57:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01bd024 [Pipeline] echo 21:57:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:40 provisioning config files... 21:57:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config6185523140445103215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:40 ---> docker-login.sh 21:57:40 nexus3.edgexfoundry.org:10001 21:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:40 Configure a credential helper to remove this warning. See 21:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:40 21:57:40 Login Succeeded 21:57:40 nexus3.edgexfoundry.org:10002 21:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:41 Configure a credential helper to remove this warning. See 21:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:41 21:57:41 Login Succeeded 21:57:41 nexus3.edgexfoundry.org:10003 21:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:41 Configure a credential helper to remove this warning. See 21:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:41 21:57:41 Login Succeeded 21:57:41 nexus3.edgexfoundry.org:10004 21:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:41 Configure a credential helper to remove this warning. See 21:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:41 21:57:41 Login Succeeded 21:57:41 docker.io 21:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:41 Configure a credential helper to remove this warning. See 21:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:41 21:57:41 Login Succeeded 21:57:41 ---> docker-login.sh ends [Pipeline] } 21:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:57:42 + git rev-list -1 --merges 01bd024ef05392c038f5d4fcf8d486a489a118ad~1..01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo 21:57:42 -----------> git rev-list -1 --merges 01bd024ef05392c038f5d4fcf8d486a489a118ad~1..01bd024ef05392c038f5d4fcf8d486a489a118ad 01bd024ef05392c038f5d4fcf8d486a489a118ad [false] [Pipeline] sh 21:57:42 + git log --format=format:%s -1 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo 21:57:42 ========================================================= 21:57:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:57:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:42 + git log --format=format:%s -1 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo 21:57:42 [semverPrep] GIT_COMMIT: 01bd024ef05392c038f5d4fcf8d486a489a118ad, Commit Message: feat(security): Roll out delayed start configuration.toml scaffolding [Pipeline] echo 21:57:42 [semverPrep] This is not a build commit. [Pipeline] sh 21:57:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:57:43 + grep -v github /etc/ssh/ssh_known_hosts 21:57:43 + [ -e /tmp/ssh_known_hosts ] 21:57:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:57:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:57:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:57:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:57:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:57:43 21:57:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:57:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:57:43 latest: Pulling from edgex-devops/git-semver 21:57:43 a0d0a0d46f8b: Pulling fs layer 21:57:43 3e5f54012d9b: Pulling fs layer 21:57:43 4c7163046ea9: Pulling fs layer 21:57:43 0c2d73faf560: Pulling fs layer 21:57:43 0c2d73faf560: Waiting 21:57:43 3e5f54012d9b: Verifying Checksum 21:57:43 3e5f54012d9b: Download complete 21:57:43 a0d0a0d46f8b: Download complete 21:57:43 0c2d73faf560: Verifying Checksum 21:57:43 0c2d73faf560: Download complete 21:57:43 4c7163046ea9: Verifying Checksum 21:57:43 4c7163046ea9: Download complete 21:57:44 a0d0a0d46f8b: Pull complete 21:57:44 3e5f54012d9b: Pull complete 21:57:44 4c7163046ea9: Pull complete 21:57:44 0c2d73faf560: Pull complete 21:57:44 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:57:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:57:44 prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container 21:57:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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:10004/edgex-devops/git-semver:latest cat 21:57:45 $ docker top 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:57:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:57:45 [ssh-agent] Looking for ssh-agent implementation... 21:57:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:57:45 $ docker exec 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent 21:57:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHEliep/agent.14 21:57:46 SSH_AGENT_PID=20 21:57:46 Running ssh-add (command line suppressed) 21:57:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6389979472719279145.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6389979472719279145.key) 21:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:57:46 + git tag --points-at HEAD [Pipeline] } 21:57:46 $ docker exec --env ******** --env ******** 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent -k 21:57:46 unset SSH_AUTH_SOCK; 21:57:46 unset SSH_AGENT_PID; 21:57:46 echo Agent pid 20 killed; 21:57:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:57:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:57:46 [ssh-agent] Looking for ssh-agent implementation... 21:57:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:57:46 $ docker exec 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent 21:57:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcJdbF/agent.52 21:57:46 SSH_AGENT_PID=59 21:57:47 Running ssh-add (command line suppressed) 21:57:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_4737686898283972220.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_4737686898283972220.key) 21:57:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:57:47 + git semver init 21:57:47 # -> Open(): unable to determine branch for HEAD 21:57:47 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.git 21:57:47 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-278 21:57:47 # $SEMVER_REMOTE_NAME = origin 21:57:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:57:47 # $SEMVER_USER_NAME = edgex-jenkins 21:57:47 # $SEMVER_BRANCH = PR-278 21:57:47 # $SEMVER_TEMP = /tmp/semver-205186815 21:57:47 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 21:57:48 # '/tmp/semver-205186815' -> '/w/workspace/foundry_device-virtual-go_PR-278/.semver' 21:57:48 # -> Force: false 21:57:48 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.semver [Pipeline] } 21:57:48 $ docker exec --env ******** --env ******** 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent -k 21:57:48 unset SSH_AUTH_SOCK; 21:57:48 unset SSH_AGENT_PID; 21:57:48 echo Agent pid 59 killed; 21:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:57:49 + git semver [Pipeline] } 21:57:49 $ docker stop --time=1 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 21:57:50 $ docker rm -f 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:57:51 Stashed 1 file(s) [Pipeline] echo 21:57:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:51 provisioning config files... 21:57:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8890293109948776604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:51 ---> docker-login.sh 21:57:51 nexus3.edgexfoundry.org:10001 21:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:51 Configure a credential helper to remove this warning. See 21:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:51 21:57:51 Login Succeeded 21:57:51 nexus3.edgexfoundry.org:10002 21:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:52 Configure a credential helper to remove this warning. See 21:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:52 21:57:52 Login Succeeded 21:57:52 nexus3.edgexfoundry.org:10003 21:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:52 Configure a credential helper to remove this warning. See 21:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:52 21:57:52 Login Succeeded 21:57:52 nexus3.edgexfoundry.org:10004 21:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:52 Configure a credential helper to remove this warning. See 21:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:52 21:57:52 Login Succeeded 21:57:52 docker.io 21:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:52 Configure a credential helper to remove this warning. See 21:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:52 21:57:52 Login Succeeded 21:57:52 ---> docker-login.sh ends [Pipeline] } 21:57:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:57:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:52 ========================================================= 21:57:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:57:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:57:52 + 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 . 21:57:52 Sending build context to Docker daemon 22.94MB 21:57:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:57:52 Step 2/12 : FROM ${BASE} AS builder 21:57:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:57:53 59bf1c3509f3: Pulling fs layer 21:57:53 666ba61612fd: Pulling fs layer 21:57:53 8ed8ca486205: Pulling fs layer 21:57:53 4fe6c5a15a65: Pulling fs layer 21:57:53 22a0e8bec74d: Pulling fs layer 21:57:53 4fe6c5a15a65: Waiting 21:57:53 22a0e8bec74d: Waiting 21:57:53 640e595b4fbd: Pulling fs layer 21:57:53 763cafe07f6e: Pulling fs layer 21:57:53 0c0b528cf693: Pulling fs layer 21:57:53 10935f4eaf8b: Pulling fs layer 21:57:53 763cafe07f6e: Waiting 21:57:53 0c0b528cf693: Waiting 21:57:53 10935f4eaf8b: Waiting 21:57:53 8ed8ca486205: Download complete 21:57:53 666ba61612fd: Verifying Checksum 21:57:53 666ba61612fd: Download complete 21:57:53 22a0e8bec74d: Verifying Checksum 21:57:53 22a0e8bec74d: Download complete 21:57:53 640e595b4fbd: Verifying Checksum 21:57:53 640e595b4fbd: Download complete 21:57:53 59bf1c3509f3: Verifying Checksum 21:57:53 59bf1c3509f3: Download complete 21:57:53 763cafe07f6e: Verifying Checksum 21:57:53 763cafe07f6e: Download complete 21:57:53 0c0b528cf693: Verifying Checksum 21:57:53 0c0b528cf693: Download complete 21:57:53 59bf1c3509f3: Pull complete 21:57:53 666ba61612fd: Pull complete 21:57:53 8ed8ca486205: Pull complete 21:57:53 10935f4eaf8b: Verifying Checksum 21:57:53 10935f4eaf8b: Download complete 21:57:53 4fe6c5a15a65: Verifying Checksum 21:57:53 4fe6c5a15a65: Download complete 21:57:58 4fe6c5a15a65: Pull complete 21:57:58 22a0e8bec74d: Pull complete 21:57:58 640e595b4fbd: Pull complete 21:57:58 763cafe07f6e: Pull complete 21:57:58 0c0b528cf693: Pull complete 21:58:00 10935f4eaf8b: Pull complete 21:58:00 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 21:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:58:00 ---> 99d49a6021b9 21:58:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:58:02 ---> Running in c09e25e4da9b 21:58:02 Removing intermediate container c09e25e4da9b 21:58:02 ---> c43498d17bba 21:58:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:58:02 ---> Running in ef545e826c9d 21:58:02 Removing intermediate container ef545e826c9d 21:58:02 ---> 573a44ee1f27 21:58:02 Step 5/12 : WORKDIR /device-virtual-go 21:58:02 ---> Running in c313c4b1247e 21:58:02 Removing intermediate container c313c4b1247e 21:58:02 ---> a2e500f31e23 21:58:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:58:02 ---> Running in 24d6e6dd92b3 21:58:02 Removing intermediate container 24d6e6dd92b3 21:58:02 ---> d2731fe21bcd 21:58:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:02 ---> Running in c2d63047badc 21:58:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:58:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:58:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:58:04 (2/4) Installing libedit (20210910.3.1-r0) 21:58:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:58:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:58:04 Executing busybox-1.34.1-r3.trigger 21:58:04 OK: 224 MiB in 56 packages 21:58:04 Removing intermediate container c2d63047badc 21:58:04 ---> 8dfc79a203ab 21:58:04 Step 8/12 : COPY go.mod vendor* ./ 21:58:05 ---> d918394b15ff 21:58:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:05 ---> Running in 71ec0b4905c6 21:58:06 Still waiting to schedule task 21:58:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:58:20 Removing intermediate container 71ec0b4905c6 21:58:20 ---> 5826f832ec9f 21:58:20 Step 10/12 : COPY . . 21:58:20 ---> 422a68acdcd7 21:58:20 Step 11/12 : ARG MAKE='make build' 21:58:20 ---> Running in e1cf02da79a9 21:58:20 Removing intermediate container e1cf02da79a9 21:58:20 ---> 5a0cc9fb565f 21:58:20 Step 12/12 : RUN $MAKE 21:58:20 ---> Running in ce8f0e956a67 21:58:20 noop 21:58:20 Removing intermediate container ce8f0e956a67 21:58:20 ---> ae01df03b567 21:58:20 Successfully built ae01df03b567 21:58:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:58:20 + docker inspect -f . ci-base-image-x86_64 21:58:20 . [Pipeline] withDockerContainer 21:58:20 prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container 21:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:58:20 $ docker top 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:21 + go version 21:58:21 go version go1.17.6 linux/amd64 [Pipeline] } 21:58:21 $ docker stop --time=1 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de 21:58:22 $ docker rm -f 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:58:22 + docker inspect -f . ci-base-image-x86_64 21:58:22 . [Pipeline] withDockerContainer 21:58:22 prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container 21:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:58:23 $ docker top fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:58:23 + make test 21:58:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:58:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:58:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:58:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements 21:58:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:58:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:58:42 ./bin/test-attribution-txt.sh [Pipeline] echo 21:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:58:43 $ docker stop --time=1 fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f 21:58:45 $ docker rm -f fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f [Pipeline] // withDockerContainer [Pipeline] sh 21:58:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:58:46 + ls -al . 21:58:46 total 204 21:58:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:58 . 21:58:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:57 .. 21:58:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:57 .git 21:58:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:57 .github 21:58:46 -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:57 .gitignore 21:58:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:57 .golangci.yml 21:58:46 drwx------ 3 jenkins jenkins 4096 Apr 19 21:57 .semver 21:58:46 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:57 Attribution.txt 21:58:46 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:57 CHANGELOG.md 21:58:46 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:57 Dockerfile 21:58:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:57 GOVERNANCE.md 21:58:46 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:57 Jenkinsfile 21:58:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:57 LICENSE 21:58:46 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:57 Makefile 21:58:46 -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:57 OWNERS.md 21:58:46 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:57 README.md 21:58:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:57 VERSION 21:58:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:57 bin 21:58:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:57 cmd 21:58:46 -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 21:58 coverage.out 21:58:46 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:57 go.mod 21:58:46 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:57 go.sum 21:58:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:57 internal 21:58:46 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:57 version.go [Pipeline] isUnix [Pipeline] sh 21:58:46 + 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=01bd024ef05392c038f5d4fcf8d486a489a118ad --label arch=amd64 --label version=0.0.0 . 21:58:46 Sending build context to Docker daemon 22.98MB 21:58:46 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 21:58:46 Step 2/26 : FROM ${BASE} AS builder 21:58:46 ---> ae01df03b567 21:58:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:58:46 ---> Running in 10cde2208ff8 21:58:46 Removing intermediate container 10cde2208ff8 21:58:46 ---> 319b8bd5aede 21:58:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:58:46 ---> Running in 3807fb8eb355 21:58:47 Removing intermediate container 3807fb8eb355 21:58:47 ---> 9d4c9e9b0c0d 21:58:47 Step 5/26 : WORKDIR /device-virtual-go 21:58:47 ---> Running in 63705d463bd8 21:58:47 Removing intermediate container 63705d463bd8 21:58:47 ---> 0ed95d160ef3 21:58:47 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:58:47 ---> Running in aa25bd91a68c 21:58:47 Removing intermediate container aa25bd91a68c 21:58:47 ---> e6640ba31ffc 21:58:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:48 ---> Running in 123f9c56ddae 21:58:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:58:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:58:49 OK: 224 MiB in 56 packages 21:58:49 Removing intermediate container 123f9c56ddae 21:58:49 ---> 4dd243611e35 21:58:49 Step 8/26 : COPY go.mod vendor* ./ 21:58:49 ---> 1138f2f02c93 21:58:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:49 ---> Running in c2924d15920f 21:58:50 Removing intermediate container c2924d15920f 21:58:50 ---> 666c511ae13e 21:58:50 Step 10/26 : COPY . . 21:58:51 ---> 10c2fcb8a8b6 21:58:51 Step 11/26 : ARG MAKE='make build' 21:58:51 ---> Running in aba92c1ea34b 21:58:51 Removing intermediate container aba92c1ea34b 21:58:51 ---> e68abb4e80af 21:58:51 Step 12/26 : RUN $MAKE 21:58:51 ---> Running in ef0f78d3072d 21:58:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:59:13 Removing intermediate container ef0f78d3072d 21:59:13 ---> 29566de1b4b9 21:59:13 Step 13/26 : FROM alpine:3.14 21:59:13 3.14: Pulling from library/alpine 21:59:13 8663204ce13b: Pulling fs layer 21:59:13 8663204ce13b: Verifying Checksum 21:59:13 8663204ce13b: Download complete 21:59:13 8663204ce13b: Pull complete 21:59:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:59:13 Status: Downloaded newer image for alpine:3.14 21:59:13 ---> e04c818066af 21:59:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:59:13 ---> Running in 1a757531873c 21:59:13 Removing intermediate container 1a757531873c 21:59:13 ---> b8ba38b349be 21:59:13 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:59:13 ---> Running in b8f12a279902 21:59:13 Removing intermediate container b8f12a279902 21:59:13 ---> ae95c83e8923 21:59:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 21:59:13 ---> Running in 9cec5cb99973 21:59:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:59:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:59:13 (1/6) Installing dumb-init (1.2.5-r1) 21:59:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:59:13 (3/6) Installing libsodium (1.0.18-r0) 21:59:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:59:13 (5/6) Installing libzmq (4.3.4-r0) 21:59:14 (6/6) Installing zeromq (4.3.4-r0) 21:59:14 Executing busybox-1.33.1-r7.trigger 21:59:14 OK: 8 MiB in 20 packages 21:59:14 Removing intermediate container 9cec5cb99973 21:59:14 ---> 40705a3c7af8 21:59:14 Step 17/26 : WORKDIR / 21:59:14 ---> Running in a73566517840 21:59:14 Removing intermediate container a73566517840 21:59:14 ---> 3e6420cd759a 21:59:14 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:59:14 ---> 6b04a9806d3a 21:59:14 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 21:59:14 ---> 217110e4e76c 21:59:14 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 21:59:15 ---> 1f5d4c86b6f7 21:59:15 Step 21/26 : EXPOSE 59900 21:59:15 ---> Running in cd2c40feadd9 21:59:15 Removing intermediate container cd2c40feadd9 21:59:15 ---> e9ba0997677b 21:59:15 Step 22/26 : ENTRYPOINT ["/device-virtual"] 21:59:15 ---> Running in c97883a2ceb0 21:59:15 Removing intermediate container c97883a2ceb0 21:59:15 ---> b43b21e23078 21:59:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:59:15 ---> Running in ae2d0b4045e9 21:59:15 Removing intermediate container ae2d0b4045e9 21:59:15 ---> 1ef37efe408d 21:59:15 Step 24/26 : LABEL arch=amd64 21:59:15 ---> Running in a72e7e48bc44 21:59:15 Removing intermediate container a72e7e48bc44 21:59:15 ---> d7dc51ed5118 21:59:15 Step 25/26 : LABEL git_sha=01bd024ef05392c038f5d4fcf8d486a489a118ad 21:59:15 ---> Running in 9b431471f080 21:59:15 Removing intermediate container 9b431471f080 21:59:15 ---> 7e3ac096bc45 21:59:15 Step 26/26 : LABEL version=0.0.0 21:59:16 ---> Running in ef82953bbcc7 21:59:16 Removing intermediate container ef82953bbcc7 21:59:16 ---> 1310bcbfb45d 21:59:16 [Warning] One or more build-args [ARCH] were not consumed 21:59:16 Successfully built 1310bcbfb45d 21:59:16 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 21:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:16 21:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:59:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:16 latest: Pulling from edgex-lftools-log-publisher 21:59:16 5eb5b503b376: Pulling fs layer 21:59:16 5c69ac0246d0: Pulling fs layer 21:59:16 ec43610c2a17: Pulling fs layer 21:59:16 3a2ae6a8a46f: Pulling fs layer 21:59:16 33b1e0a273af: Pulling fs layer 21:59:16 5d3b04190fa2: Pulling fs layer 21:59:16 2f39f015ded8: Pulling fs layer 21:59:16 3a2ae6a8a46f: Waiting 21:59:16 33b1e0a273af: Waiting 21:59:16 5d3b04190fa2: Waiting 21:59:16 5c69ac0246d0: Verifying Checksum 21:59:16 5c69ac0246d0: Download complete 21:59:16 3a2ae6a8a46f: Verifying Checksum 21:59:16 3a2ae6a8a46f: Download complete 21:59:16 33b1e0a273af: Verifying Checksum 21:59:16 33b1e0a273af: Download complete 21:59:16 ec43610c2a17: Verifying Checksum 21:59:16 ec43610c2a17: Download complete 21:59:16 5d3b04190fa2: Verifying Checksum 21:59:16 5d3b04190fa2: Download complete 21:59:17 5eb5b503b376: Download complete 21:59:17 2f39f015ded8: Download complete 21:59:18 5eb5b503b376: Pull complete 21:59:18 5c69ac0246d0: Pull complete 21:59:18 ec43610c2a17: Pull complete 21:59:18 3a2ae6a8a46f: Pull complete 21:59:19 33b1e0a273af: Pull complete 21:59:19 5d3b04190fa2: Pull complete 21:59:23 2f39f015ded8: Pull complete 21:59:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:59:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:59:23 prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container 21:59:23 $ 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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:59:25 $ docker top df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:25 ---> job-cost.sh 21:59:25 lf-activate-venv: SKIPPING 21:59:25 INFO: No Stack... 21:59:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:59:26 INFO: Archiving Costs [Pipeline] sh 21:59:26 + cut -d, -f6 21:59:26 + cat /w/workspace/foundry_device-virtual-go_PR-278/archives/cost.csv [Pipeline] lock 21:59:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] 21:59:26 Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] did not exist. Created. 21:59:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:27 + echo total: 0.2199999988079071 [Pipeline] stash 21:59:27 Stashed 1 file(s) [Pipeline] } 21:59:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:27 $ docker stop --time=1 df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 21:59:28 $ docker rm -f df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:59:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21410 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] ws 21:59:40 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 21:59:41 The recommended git tool is: git 21:59:48 using credential edgex-jenkins-ssh 21:59:48 Cloning the remote Git repository 21:59:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:59:48 > git init /w/workspace/device-virtual-go/3 # timeout=10 21:59:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:59:48 > git --version # timeout=10 21:59:48 > git --version # 'git version 2.25.1' 21:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:51 Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit 01bd024ef05392c038f5d4fcf8d486a489a118ad 21:59:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:59:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:59:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:59:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:59:52 Merge succeeded, producing 01bd024ef05392c038f5d4fcf8d486a489a118ad 21:59:52 Checking out Revision 01bd024ef05392c038f5d4fcf8d486a489a118ad (PR-278) 21:59:51 > git config core.sparsecheckout # timeout=10 21:59:51 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 21:59:52 > git remote # timeout=10 21:59:52 > git config --get remote.origin.url # timeout=10 21:59:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:52 > git merge 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 21:59:52 > git rev-parse HEAD^{commit} # timeout=10 21:59:52 > git config core.sparsecheckout # timeout=10 21:59:52 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 21:59:56 Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:59:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:59:57 Dload Upload Total Spent Left Speed 21:59:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48938 0 --:--:-- --:--:-- --:--:-- 48736 [Pipeline] sh 21:59:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:59:58 + sudo tee /etc/docker/daemon.new 21:59:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:59:58 { 21:59:58 "registry-mirrors": [ 21:59:58 "https://nexus3.edgexfoundry.org:10001" 21:59:58 ], 21:59:58 "bip": "10.250.0.254/24", 21:59:58 "hosts": [ 21:59:58 "tcp://0.0.0.0:5555", 21:59:58 "unix:///var/run/docker.sock" 21:59:58 ], 21:59:58 "mtu": 1458, 21:59:58 "selinux-enabled": true, 21:59:58 "seccomp-profile": "/etc/docker/seccomp.json" 21:59:58 } [Pipeline] sh 21:59:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:59:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:00:17 provisioning config files... 22:00:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config5342309583569361564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:17 ---> docker-login.sh 22:00:17 nexus3.edgexfoundry.org:10001 22:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:18 Configure a credential helper to remove this warning. See 22:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:18 22:00:18 Login Succeeded 22:00:18 nexus3.edgexfoundry.org:10002 22:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:18 Configure a credential helper to remove this warning. See 22:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:18 22:00:18 Login Succeeded 22:00:18 nexus3.edgexfoundry.org:10003 22:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:19 Configure a credential helper to remove this warning. See 22:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:19 22:00:19 Login Succeeded 22:00:19 nexus3.edgexfoundry.org:10004 22:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:19 Configure a credential helper to remove this warning. See 22:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:19 22:00:19 Login Succeeded 22:00:19 docker.io 22:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:20 Configure a credential helper to remove this warning. See 22:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:20 22:00:20 Login Succeeded 22:00:20 ---> docker-login.sh ends [Pipeline] } 22:00:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:00:21 ========================================================= 22:00:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:00:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:00:21 + 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 . 22:00:21 Sending build context to Docker daemon 11.61MB 22:00:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:00:22 Step 2/12 : FROM ${BASE} AS builder 22:00:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:00:22 9b3977197b4f: Pulling fs layer 22:00:22 1a89e8eeedd5: Pulling fs layer 22:00:22 94645a83ff95: Pulling fs layer 22:00:22 3f3a8bcf1eab: Pulling fs layer 22:00:22 0c92f367c5e7: Pulling fs layer 22:00:22 f7c0051592d6: Pulling fs layer 22:00:22 a227ed2f7395: Pulling fs layer 22:00:22 7b1c46037f91: Pulling fs layer 22:00:22 3f3a8bcf1eab: Waiting 22:00:22 0c92f367c5e7: Waiting 22:00:22 f7c0051592d6: Waiting 22:00:22 a227ed2f7395: Waiting 22:00:22 7b1c46037f91: Waiting 22:00:22 94645a83ff95: Verifying Checksum 22:00:22 94645a83ff95: Download complete 22:00:22 1a89e8eeedd5: Verifying Checksum 22:00:22 1a89e8eeedd5: Download complete 22:00:22 0c92f367c5e7: Download complete 22:00:22 f7c0051592d6: Verifying Checksum 22:00:22 f7c0051592d6: Download complete 22:00:22 9b3977197b4f: Download complete 22:00:22 a227ed2f7395: Verifying Checksum 22:00:22 a227ed2f7395: Download complete 22:00:22 9b3977197b4f: Pull complete 22:00:23 1a89e8eeedd5: Pull complete 22:00:23 94645a83ff95: Pull complete 22:00:24 7b1c46037f91: Verifying Checksum 22:00:24 7b1c46037f91: Download complete 22:00:24 3f3a8bcf1eab: Verifying Checksum 22:00:24 3f3a8bcf1eab: Download complete 22:00:37 3f3a8bcf1eab: Pull complete 22:00:37 0c92f367c5e7: Pull complete 22:00:37 f7c0051592d6: Pull complete 22:00:37 a227ed2f7395: Pull complete 22:00:44 7b1c46037f91: Pull complete 22:00:44 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:00:44 ---> f79e39bc4007 22:00:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:00:44 ---> Running in 2feb1176a350 22:00:44 Removing intermediate container 2feb1176a350 22:00:44 ---> 075211d6c7e0 22:00:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:00:45 ---> Running in 47540981b061 22:00:45 Removing intermediate container 47540981b061 22:00:45 ---> af6c982a85ff 22:00:45 Step 5/12 : WORKDIR /device-virtual-go 22:00:45 ---> Running in 925e27a9a8c5 22:00:45 Removing intermediate container 925e27a9a8c5 22:00:45 ---> ccbf849ac02c 22:00:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:00:45 ---> Running in 3db0ee62effd 22:00:47 Removing intermediate container 3db0ee62effd 22:00:47 ---> 0d221ccfcdaa 22:00:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:47 ---> Running in e5fe6d8f1589 22:00:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:00:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:00:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:00:50 (2/4) Installing libedit (20210910.3.1-r0) 22:00:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:00:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:00:50 Executing busybox-1.34.1-r3.trigger 22:00:50 OK: 224 MiB in 56 packages 22:00:51 Removing intermediate container e5fe6d8f1589 22:00:51 ---> 50836ddcbd3d 22:00:51 Step 8/12 : COPY go.mod vendor* ./ 22:00:51 ---> 9e499a9e527c 22:00:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:52 ---> Running in cee90f1b8e9c 22:01:39 Removing intermediate container cee90f1b8e9c 22:01:39 ---> 8f883ade2137 22:01:39 Step 10/12 : COPY . . 22:01:39 ---> 2aca73e5bc96 22:01:39 Step 11/12 : ARG MAKE='make build' 22:01:39 ---> Running in de3bc9d7a9cb 22:01:39 Removing intermediate container de3bc9d7a9cb 22:01:39 ---> 8a972b06f6ac 22:01:39 Step 12/12 : RUN $MAKE 22:01:39 ---> Running in db02e08e8c43 22:01:39 noop 22:01:39 Removing intermediate container db02e08e8c43 22:01:39 ---> 3f14c84f7832 22:01:39 Successfully built 3f14c84f7832 22:01:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:01:40 + docker inspect -f . ci-base-image-arm64 22:01:40 . [Pipeline] withDockerContainer 22:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container 22:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:01:41 $ docker top e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:42 + go version 22:01:42 go version go1.17.6 linux/arm64 [Pipeline] } 22:01:42 $ docker stop --time=1 e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 22:01:44 $ docker rm -f e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:01:44 + docker inspect -f . ci-base-image-arm64 22:01:44 . [Pipeline] withDockerContainer 22:01:45 prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container 22:01:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:01:46 $ docker top 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:01:47 + make test 22:01:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:01:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:03:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:03:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 22:03:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:03:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:03:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:03:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:31 $ docker stop --time=1 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 22:03:33 $ docker rm -f 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:34 Warning: overwriting stash ‘coverage-report’ 22:03:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:35 + ls -al . 22:03:35 total 200 22:03:35 drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 22:03 . 22:03:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:59 .. 22:03:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:59 .git 22:03:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:59 .github 22:03:35 -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:59 .gitignore 22:03:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:59 .golangci.yml 22:03:35 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:59 Attribution.txt 22:03:35 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:59 CHANGELOG.md 22:03:35 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:59 Dockerfile 22:03:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:59 GOVERNANCE.md 22:03:35 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:59 Jenkinsfile 22:03:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:59 LICENSE 22:03:35 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:59 Makefile 22:03:35 -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:59 OWNERS.md 22:03:35 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:59 README.md 22:03:35 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:57 VERSION 22:03:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:59 bin 22:03:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:59 cmd 22:03:35 -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 22:03 coverage.out 22:03:35 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:59 go.mod 22:03:35 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:59 go.sum 22:03:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:59 internal 22:03:35 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:59 version.go [Pipeline] isUnix [Pipeline] sh 22:03:36 + 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=01bd024ef05392c038f5d4fcf8d486a489a118ad --label arch=arm64 --label version=0.0.0 . 22:03:36 Sending build context to Docker daemon 11.66MB 22:03:36 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:03:36 Step 2/26 : FROM ${BASE} AS builder 22:03:36 ---> 3f14c84f7832 22:03:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:03:36 ---> Running in ed60b20c107c 22:03:37 Removing intermediate container ed60b20c107c 22:03:37 ---> d653984455da 22:03:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:03:37 ---> Running in ce706b104312 22:03:37 Removing intermediate container ce706b104312 22:03:37 ---> 41df869637d5 22:03:37 Step 5/26 : WORKDIR /device-virtual-go 22:03:37 ---> Running in 6f257de33ded 22:03:37 Removing intermediate container 6f257de33ded 22:03:37 ---> 59c02cf26faf 22:03:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:03:37 ---> Running in d49fd2a5b4d4 22:03:39 Removing intermediate container d49fd2a5b4d4 22:03:39 ---> 384cc9b667a8 22:03:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:39 ---> Running in fc5dfef5710b 22:03:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:03:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:03:42 OK: 224 MiB in 56 packages 22:03:42 Removing intermediate container fc5dfef5710b 22:03:42 ---> d91e3a8596f5 22:03:42 Step 8/26 : COPY go.mod vendor* ./ 22:03:43 ---> 504824bae940 22:03:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:43 ---> Running in fadf35e333a1 22:03:45 Removing intermediate container fadf35e333a1 22:03:45 ---> 7f239f5a0f80 22:03:45 Step 10/26 : COPY . . 22:03:46 ---> a22c283ccb71 22:03:46 Step 11/26 : ARG MAKE='make build' 22:03:46 ---> Running in 4c30623f8ac4 22:03:46 Removing intermediate container 4c30623f8ac4 22:03:46 ---> 8dafef8b377f 22:03:46 Step 12/26 : RUN $MAKE 22:03:47 ---> Running in 7d532bd2f1de 22:03:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:05:55 Removing intermediate container 7d532bd2f1de 22:05:55 ---> 167a1dba1a43 22:05:55 Step 13/26 : FROM alpine:3.14 22:05:55 3.14: Pulling from library/alpine 22:05:55 455c02918c45: Pulling fs layer 22:05:55 455c02918c45: Verifying Checksum 22:05:55 455c02918c45: Download complete 22:05:55 455c02918c45: Pull complete 22:05:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:05:55 Status: Downloaded newer image for alpine:3.14 22:05:55 ---> ac73e934f311 22:05:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:05:55 ---> Running in 578156af528a 22:05:55 Removing intermediate container 578156af528a 22:05:55 ---> a39198e64641 22:05:55 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:05:55 ---> Running in 37916cb82edf 22:05:55 Removing intermediate container 37916cb82edf 22:05:55 ---> cc8c4c767570 22:05:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:05:55 ---> Running in cc8a12c77f18 22:05:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:05:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:05:55 (1/6) Installing dumb-init (1.2.5-r1) 22:05:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:05:55 (3/6) Installing libsodium (1.0.18-r0) 22:05:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:05:55 (5/6) Installing libzmq (4.3.4-r0) 22:05:55 (6/6) Installing zeromq (4.3.4-r0) 22:05:55 Executing busybox-1.33.1-r7.trigger 22:05:55 OK: 8 MiB in 20 packages 22:05:55 Removing intermediate container cc8a12c77f18 22:05:55 ---> 01dd6bf76dc5 22:05:55 Step 17/26 : WORKDIR / 22:05:55 ---> Running in 56392cb6d7e5 22:05:55 Removing intermediate container 56392cb6d7e5 22:05:55 ---> 87645cb086ea 22:05:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:05:55 ---> b85a2762cbc9 22:05:55 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:05:55 ---> 1450b10a67b4 22:05:55 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:05:55 ---> 015e20880579 22:05:55 Step 21/26 : EXPOSE 59900 22:05:55 ---> Running in 9f5b5586110f 22:05:55 Removing intermediate container 9f5b5586110f 22:05:55 ---> c4bc6e8451b5 22:05:55 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:05:55 ---> Running in 682df591648d 22:05:55 Removing intermediate container 682df591648d 22:05:55 ---> b6e0d93a33aa 22:05:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:05:55 ---> Running in cc19f3c67a07 22:05:55 Removing intermediate container cc19f3c67a07 22:05:55 ---> ebbc7772aed7 22:05:55 Step 24/26 : LABEL arch=arm64 22:05:55 ---> Running in a36989a740ab 22:05:55 Removing intermediate container a36989a740ab 22:05:55 ---> 2004434e9cb7 22:05:55 Step 25/26 : LABEL git_sha=01bd024ef05392c038f5d4fcf8d486a489a118ad 22:05:55 ---> Running in ec3df849ad02 22:05:55 Removing intermediate container ec3df849ad02 22:05:55 ---> 004ea48b8dcb 22:05:55 Step 26/26 : LABEL version=0.0.0 22:05:55 ---> Running in 5b4bb0eeef90 22:05:55 Removing intermediate container 5b4bb0eeef90 22:05:55 ---> 52e17050b5d4 22:05:55 [Warning] One or more build-args [ARCH] were not consumed 22:05:55 Successfully built 52e17050b5d4 22:05:55 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 22:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:55 22:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:05:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:56 arm64: Pulling from edgex-lftools-log-publisher 22:05:56 8998bd30e6a1: Pulling fs layer 22:05:56 04944245beec: Pulling fs layer 22:05:56 699f458cf7ca: Pulling fs layer 22:05:56 765212b225bb: Pulling fs layer 22:05:56 f23df028b6ca: Pulling fs layer 22:05:56 d65c8cfc05b1: Pulling fs layer 22:05:56 2437ff75d9bd: Pulling fs layer 22:05:56 f23df028b6ca: Waiting 22:05:56 d65c8cfc05b1: Waiting 22:05:56 2437ff75d9bd: Waiting 22:05:56 765212b225bb: Waiting 22:05:56 04944245beec: Verifying Checksum 22:05:56 04944245beec: Download complete 22:05:56 765212b225bb: Verifying Checksum 22:05:56 765212b225bb: Download complete 22:05:56 f23df028b6ca: Verifying Checksum 22:05:56 f23df028b6ca: Download complete 22:05:56 d65c8cfc05b1: Download complete 22:05:56 699f458cf7ca: Verifying Checksum 22:05:56 699f458cf7ca: Download complete 22:05:56 8998bd30e6a1: Verifying Checksum 22:05:56 8998bd30e6a1: Download complete 22:05:59 2437ff75d9bd: Verifying Checksum 22:05:59 2437ff75d9bd: Download complete 22:06:01 8998bd30e6a1: Pull complete 22:06:01 04944245beec: Pull complete 22:06:03 699f458cf7ca: Pull complete 22:06:03 765212b225bb: Pull complete 22:06:04 f23df028b6ca: Pull complete 22:06:04 d65c8cfc05b1: Pull complete 22:06:19 2437ff75d9bd: Pull complete 22:06:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:06:19 prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container 22:06:19 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:06:22 $ docker top 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:23 ---> job-cost.sh 22:06:23 lf-activate-venv: SKIPPING 22:06:23 INFO: No Stack... 22:06:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:06:24 INFO: Archiving Costs [Pipeline] sh 22:06:24 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 22:06:24 + cut -d, -f6 [Pipeline] lock 22:06:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] 22:06:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] did not exist. Created. 22:06:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:25 /w/workspace/device-virtual-go/3@tmp/durable-baacd9b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:06:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:06:26 Warning: overwriting stash ‘stack-cost’ 22:06:26 Stashed 1 file(s) [Pipeline] } 22:06:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:26 $ docker stop --time=1 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb 22:06:28 $ docker rm -f 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb [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 22:06:28 provisioning config files... 22:06:28 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8678876997934869958tmp [Pipeline] { [Pipeline] sh 22:06:28 + set +x 22:06:28 + curl -s https://codecov.io/bash 22:06:28 + bash -s -- 22:06:28 22:06:28 _____ _ 22:06:28 / ____| | | 22:06:28 | | ___ __| | ___ ___ _____ __ 22:06:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:06:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:06:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:06:28 Bash-1.0.6 22:06:28 22:06:28 22:06:28 ==> git version 2.25.1 found 22:06:28 ==> 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 22:06:28 Release-Date: 2020-01-08 22:06:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:06:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:06:28 ==> Jenkins CI detected. 22:06:28 current dir:  /w/workspace/foundry_device-virtual-go_PR-278 22:06:28 project root: . 22:06:28 --> token set from env 22:06:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:06:28 ==> Running gcov in . (disable via -X gcov) 22:06:28 ==> Python coveragepy not found 22:06:28 ==> Searching for coverage reports in: 22:06:28 + . 22:06:28 -> Found 1 reports 22:06:28 ==> Detecting git/mercurial file structure 22:06:28 ==> Reading reports 22:06:28 + ./coverage.out bytes=44128 22:06:28 ==> Appending adjustments 22:06:28 https://docs.codecov.io/docs/fixing-reports 22:06:29 + Found adjustments 22:06:29 ==> Gzipping contents 22:06:29 8.0K /tmp/codecov.fmYtVt.gz 22:06:29 ==> Uploading reports 22:06:29 url: https://codecov.io 22:06:29 query: branch=PR-278&commit=01bd024ef05392c038f5d4fcf8d486a489a118ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-278%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=278&job=&cmd_args= 22:06:29 -> Pinging Codecov 22:06:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-278&commit=01bd024ef05392c038f5d4fcf8d486a489a118ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-278%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=278&job=&cmd_args= 22:06:29 -> Uploading to 22:06:29 https://storage.googleapis.com/codecov/v4/raw/2022-04-19/5E52B4B073DB2E39498172D8E973AA87/01bd024ef05392c038f5d4fcf8d486a489a118ad/7376abeb-0306-45d3-b303-9347e145d855.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T220629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57b9ebab00446bf2fe2d2c86b6a65081841967a3fe3bfe5967980d30fa3cfd77 22:06:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:06:29 Dload Upload Total Spent Left Speed 22:06:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5272 0 0 100 5272 0 23747 --:--:-- --:--:-- --:--:-- 23641 100 5272 0 0 100 5272 0 22244 --:--:-- --:--:-- --:--:-- 22151 22:06:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] } 22:06:29 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 22:06:30 + [ -d /w/workspace/foundry_device-virtual-go_PR-278/archives ] 22:06:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives 22:06:30 total 16 22:06:30 drwxr-xr-x 3 root root 4096 Apr 19 21:59 . 22:06:30 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:59 .. 22:06:30 drwxr-xr-x 2 root root 4096 Apr 19 21:59 cost 22:06:30 -rw-r--r-- 1 root root 88 Apr 19 21:59 cost.csv 22:06:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-278/archives 22:06:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives 22:06:30 total 16 22:06:30 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:59 . 22:06:30 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:59 .. 22:06:30 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:59 cost 22:06:30 -rw-r--r-- 1 jenkins jenkins 88 Apr 19 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:06:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:06:31 ---> package-listing.sh 22:06:31 ++ facter osfamily 22:06:31 ++ tr '[:upper:]' '[:lower:]' 22:06:31 + OS_FAMILY=debian 22:06:31 + workspace=/w/workspace/foundry_device-virtual-go_PR-278 22:06:31 + START_PACKAGES=/tmp/packages_start.txt 22:06:31 + END_PACKAGES=/tmp/packages_end.txt 22:06:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:06:31 + PACKAGES=/tmp/packages_start.txt 22:06:31 + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' 22:06:31 + PACKAGES=/tmp/packages_end.txt 22:06:31 + case "${OS_FAMILY}" in 22:06:31 + dpkg -l 22:06:31 + grep '^ii' 22:06:31 + '[' -f /tmp/packages_start.txt ']' 22:06:31 + '[' -f /tmp/packages_end.txt ']' 22:06:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:06:31 + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' 22:06:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-278/archives/ 22:06:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-278/archives/ [Pipeline] echo 22:06:31 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-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:06:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:32 . [Pipeline] withDockerContainer 22:06:32 prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container 22:06:32 $ 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-278/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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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:latest cat 22:06:32 $ docker top 40512e40ce9c4100d23208b545a514c4a65646232e0554896814c2ef800ba416 -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:33 + touch /tmp/pre-build-complete [Pipeline] sh 22:06:33 + mkdir -p /var/log/sysstat [Pipeline] sh 22:06:33 + ls /var/log/sa-host 22:06:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:34 provisioning config files... 22:06:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config3902209852975872218tmp [Pipeline] { [Pipeline] echo 22:06:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:06:34 ---> create-netrc.sh [Pipeline] } 22:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:06:34 ---> python-tools-install.sh [Pipeline] echo 22:06:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:06:35 ---> sudo-logs.sh 22:06:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:06:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:06:35 ---> job-cost.sh 22:06:35 lf-activate-venv: SKIPPING 22:06:35 DEBUG: total: 0.2199999988079071 22:06:35 INFO: Retrieving Stack Cost... 22:06:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:36 INFO: Archiving Costs [Pipeline] echo 22:06:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:06:36 ---> logs-deploy.sh 22:06:36 lf-activate-venv: SKIPPING 22:06:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-278/3 22:06:36 INFO: archiving workspace using pattern(s): 22:06:37 Archives upload complete. 22:06:37 INFO: archiving logs to Nexus