Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8e33207e731f24c7f3ad998c4e7d15003778369+89c845d2fde685b2112bd4b33853dabf0a8ef293 (4216e462bda6707406c8da861ef1752536a5026a) 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-ssh180220447125929742.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2663941957039303040.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-modbus-go/branches/PR-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-modbus-go/branches/PR-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12312580911149442587.key Verifying host key using known hosts file > 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-modbus-go/branches/PR-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12506676983806713214.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh15318690062969344423.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-modbus-go/branches/PR-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-modbus-go/branches/PR-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16992530026252157872.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6820 in /w/workspace/xfoundry_device-modbus-go_PR-379 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit c8e33207e731f24c7f3ad998c4e7d15003778369 Merge succeeded, producing c8e33207e731f24c7f3ad998c4e7d15003778369 Checking out Revision c8e33207e731f24c7f3ad998c4e7d15003778369 (PR-379) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T05:03:08.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T05:03:09.014Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T05:03:09.116Z] ========================================================= [2022-10-03T05:03:09.116Z] EdgeX Global Pipelines Version Info [2022-10-03T05:03:09.116Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:03:09.839Z] ------------------- [2022-10-03T05:03:09.839Z] stable info: [2022-10-03T05:03:09.839Z] ------------------- [2022-10-03T05:03:09.839Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T05:03:09.839Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:03:09.839Z] Message: update stable to v1.0.239 [2022-10-03T05:03:10.407Z] ------------------- [2022-10-03T05:03:10.407Z] experimental info: [2022-10-03T05:03:10.407Z] ------------------- [2022-10-03T05:03:10.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T05:03:10.407Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:03:10.407Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T05:03:10.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-03T05:03:10.722Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-03T05:03:10.762Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T05:03:10.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T05:03:10.843Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T05:03:10.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T05:03:10.924Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T05:03:10.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T05:03:11.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T05:03:11.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T05:03:11.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T05:03:11.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-03T05:03:11.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T05:03:11.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T05:03:11.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:03:11.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:03:11.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:03:11.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:03:11.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T05:03:11.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T05:03:11.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T05:03:11.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T05:03:11.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T05:03:11.588Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T05:03:11.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T05:03:11.674Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T05:03:11.718Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T05:03:11.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo [2022-10-03T05:03:11.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo [2022-10-03T05:03:11.834Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo [2022-10-03T05:03:11.873Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo [2022-10-03T05:03:11.909Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8e3320 [Pipeline] echo [2022-10-03T05:03:11.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:03:12.048Z] provisioning config files... [2022-10-03T05:03:12.065Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config11573321527045467301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:03:12.405Z] ---> docker-login.sh [2022-10-03T05:03:12.405Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:03:12.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:12.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:12.930Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:12.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:12.930Z] [2022-10-03T05:03:12.930Z] Login Succeeded [2022-10-03T05:03:12.930Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:03:12.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:12.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:12.930Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:12.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:12.930Z] [2022-10-03T05:03:12.930Z] Login Succeeded [2022-10-03T05:03:12.930Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:03:12.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:13.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:13.191Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:13.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:13.191Z] [2022-10-03T05:03:13.191Z] Login Succeeded [2022-10-03T05:03:13.191Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:03:13.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:13.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:13.191Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:13.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:13.191Z] [2022-10-03T05:03:13.191Z] Login Succeeded [2022-10-03T05:03:13.191Z] docker.io [2022-10-03T05:03:13.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:13.451Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:13.451Z] [2022-10-03T05:03:13.451Z] Login Succeeded [2022-10-03T05:03:13.451Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:03:13.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T05:03:14.118Z] + git rev-list -1 --merges c8e33207e731f24c7f3ad998c4e7d15003778369~1..c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo [2022-10-03T05:03:14.168Z] -----------> git rev-list -1 --merges c8e33207e731f24c7f3ad998c4e7d15003778369~1..c8e33207e731f24c7f3ad998c4e7d15003778369 c8e33207e731f24c7f3ad998c4e7d15003778369 [false] [Pipeline] sh [2022-10-03T05:03:14.481Z] + git log --format=format:%s -1 c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo [2022-10-03T05:03:14.515Z] ========================================================= [2022-10-03T05:03:14.515Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T05:03:14.515Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:03:14.954Z] + git log --format=format:%s -1 c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo [2022-10-03T05:03:14.987Z] [semverPrep] GIT_COMMIT: c8e33207e731f24c7f3ad998c4e7d15003778369, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T05:03:15.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T05:03:15.404Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T05:03:15.404Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T05:03:15.404Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T05:03:15.404Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T05:03:15.404Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T05:03:15.404Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T05:03:15.404Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:03:15.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:03:15.894Z] [2022-10-03T05:03:15.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:03:16.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:03:16.274Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T05:03:16.274Z] b85a868b505f: Pulling fs layer [2022-10-03T05:03:16.274Z] e2be974225ed: Pulling fs layer [2022-10-03T05:03:16.274Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T05:03:16.274Z] 988bab9f4d93: Pulling fs layer [2022-10-03T05:03:16.274Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T05:03:16.274Z] eaf3925da568: Pulling fs layer [2022-10-03T05:03:16.274Z] bab4dde63d76: Pulling fs layer [2022-10-03T05:03:16.274Z] bde34c3a00c8: Pulling fs layer [2022-10-03T05:03:16.274Z] b352a97aabf1: Pulling fs layer [2022-10-03T05:03:16.274Z] 4872d77fe225: Pulling fs layer [2022-10-03T05:03:16.274Z] 5851b861e8e6: Pulling fs layer [2022-10-03T05:03:16.274Z] bab4dde63d76: Waiting [2022-10-03T05:03:16.274Z] bde34c3a00c8: Waiting [2022-10-03T05:03:16.274Z] b352a97aabf1: Waiting [2022-10-03T05:03:16.274Z] 4872d77fe225: Waiting [2022-10-03T05:03:16.274Z] 5851b861e8e6: Waiting [2022-10-03T05:03:16.274Z] 1469e6f7b9e6: Waiting [2022-10-03T05:03:16.274Z] eaf3925da568: Waiting [2022-10-03T05:03:16.274Z] 988bab9f4d93: Waiting [2022-10-03T05:03:16.274Z] e2be974225ed: Download complete [2022-10-03T05:03:16.274Z] 988bab9f4d93: Download complete [2022-10-03T05:03:16.535Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T05:03:16.535Z] 339a4e72a1f5: Download complete [2022-10-03T05:03:16.535Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T05:03:16.535Z] 1469e6f7b9e6: Download complete [2022-10-03T05:03:16.535Z] eaf3925da568: Download complete [2022-10-03T05:03:16.535Z] bde34c3a00c8: Download complete [2022-10-03T05:03:16.535Z] b352a97aabf1: Download complete [2022-10-03T05:03:16.535Z] 4872d77fe225: Verifying Checksum [2022-10-03T05:03:16.535Z] 4872d77fe225: Download complete [2022-10-03T05:03:16.535Z] 5851b861e8e6: Download complete [2022-10-03T05:03:16.535Z] b85a868b505f: Verifying Checksum [2022-10-03T05:03:16.535Z] b85a868b505f: Download complete [2022-10-03T05:03:16.797Z] bab4dde63d76: Verifying Checksum [2022-10-03T05:03:16.797Z] bab4dde63d76: Download complete [2022-10-03T05:03:17.735Z] b85a868b505f: Pull complete [2022-10-03T05:03:17.735Z] e2be974225ed: Pull complete [2022-10-03T05:03:18.302Z] 339a4e72a1f5: Pull complete [2022-10-03T05:03:18.303Z] 988bab9f4d93: Pull complete [2022-10-03T05:03:18.563Z] 1469e6f7b9e6: Pull complete [2022-10-03T05:03:18.822Z] eaf3925da568: Pull complete [2022-10-03T05:03:20.742Z] bab4dde63d76: Pull complete [2022-10-03T05:03:20.742Z] bde34c3a00c8: Pull complete [2022-10-03T05:03:20.742Z] b352a97aabf1: Pull complete [2022-10-03T05:03:20.742Z] 4872d77fe225: Pull complete [2022-10-03T05:03:20.742Z] 5851b861e8e6: Pull complete [2022-10-03T05:03:20.742Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T05:03:20.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:03:20.742Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:03:20.951Z] prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container [2022-10-03T05:03:20.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T05:03:22.195Z] $ docker top 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc -eo pid,comm [2022-10-03T05:03:22.265Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-03T05:03:22.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T05:03:22.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:03:22.396Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:03:22.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:03:22.516Z] $ docker exec 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent [2022-10-03T05:03:22.643Z] SSH_AUTH_SOCK=/tmp/ssh-YbeDdyqb8CAJ/agent.31 [2022-10-03T05:03:22.643Z] SSH_AGENT_PID=37 [2022-10-03T05:03:22.650Z] Running ssh-add (command line suppressed) [2022-10-03T05:03:22.738Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_6788721784902547694.key (/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_6788721784902547694.key) [2022-10-03T05:03:22.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:03:23.094Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T05:03:23.108Z] $ docker exec --env ******** --env ******** 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent -k [2022-10-03T05:03:23.203Z] unset SSH_AUTH_SOCK; [2022-10-03T05:03:23.203Z] unset SSH_AGENT_PID; [2022-10-03T05:03:23.204Z] echo Agent pid 37 killed; [2022-10-03T05:03:23.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T05:03:23.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:03:23.313Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:03:23.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:03:23.416Z] $ docker exec 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent [2022-10-03T05:03:23.536Z] SSH_AUTH_SOCK=/tmp/ssh-9onlXy6u1ACB/agent.69 [2022-10-03T05:03:23.536Z] SSH_AGENT_PID=75 [2022-10-03T05:03:23.541Z] Running ssh-add (command line suppressed) [2022-10-03T05:03:23.635Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_11847526802805150189.key (/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_11847526802805150189.key) [2022-10-03T05:03:23.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:03:24.002Z] + git semver init [2022-10-03T05:03:24.261Z] 2022-10-03 05:03:24,175 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T05:03:24.261Z] 2022-10-03 05:03:24,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver [2022-10-03T05:03:24.261Z] 2022-10-03 05:03:24,177 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-379/.semver [2022-10-03T05:03:24.261Z] 2022-10-03 05:03:24,177 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-379/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379, universal_newlines=False, shell=None, istream=None) [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,058 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-379/.git/info/exclude [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 with force:False [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,059 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,064 [execute] INFO git cat-file --batch-check [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,070 [execute] INFO git cat-file --batch [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:03:25.202Z] 2022-10-03 05:03:25,075 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 [2022-10-03T05:03:25.202Z] 0.0.0 [Pipeline] } [2022-10-03T05:03:25.219Z] $ docker exec --env ******** --env ******** 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent -k [2022-10-03T05:03:25.332Z] unset SSH_AUTH_SOCK; [2022-10-03T05:03:25.333Z] unset SSH_AGENT_PID; [2022-10-03T05:03:25.333Z] echo Agent pid 75 killed; [2022-10-03T05:03:25.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T05:03:25.785Z] + git semver [Pipeline] } [2022-10-03T05:03:26.056Z] $ docker stop --time=1 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc [2022-10-03T05:03:27.341Z] $ docker rm -f 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:03:27.737Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T05:03:27.955Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T05:03:27.970Z] [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 [2022-10-03T05:03:28.537Z] provisioning config files... [2022-10-03T05:03:28.546Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config11451268724304315588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:03:28.894Z] ---> docker-login.sh [2022-10-03T05:03:28.894Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:03:28.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:28.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:28.894Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:28.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:28.894Z] [2022-10-03T05:03:28.894Z] Login Succeeded [2022-10-03T05:03:28.894Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:03:28.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:28.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:28.894Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:28.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:28.894Z] [2022-10-03T05:03:28.894Z] Login Succeeded [2022-10-03T05:03:28.894Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:03:29.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:29.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:29.152Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:29.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:29.152Z] [2022-10-03T05:03:29.152Z] Login Succeeded [2022-10-03T05:03:29.152Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:03:29.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:29.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:29.152Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:29.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:29.152Z] [2022-10-03T05:03:29.152Z] Login Succeeded [2022-10-03T05:03:29.152Z] docker.io [2022-10-03T05:03:29.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:03:29.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:03:29.671Z] Configure a credential helper to remove this warning. See [2022-10-03T05:03:29.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:03:29.671Z] [2022-10-03T05:03:29.671Z] Login Succeeded [2022-10-03T05:03:29.671Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:03:29.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:03:29.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:03:29.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:03:29.948Z] ========================================================= [2022-10-03T05:03:29.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T05:03:29.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:03:30.405Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T05:03:30.405Z] Sending build context to Docker daemon 6.173MB [2022-10-03T05:03:30.405Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:03:30.405Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-03T05:03:30.405Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T05:03:30.405Z] 2408cc74d12b: Pulling fs layer [2022-10-03T05:03:30.405Z] ea60b727a1ce: Pulling fs layer [2022-10-03T05:03:30.405Z] 30c4a7721957: Pulling fs layer [2022-10-03T05:03:30.405Z] 370296b7ddb6: Pulling fs layer [2022-10-03T05:03:30.405Z] 7c6cee850709: Pulling fs layer [2022-10-03T05:03:30.405Z] aa9baa53a306: Pulling fs layer [2022-10-03T05:03:30.405Z] 8b309c321861: Pulling fs layer [2022-10-03T05:03:30.405Z] d8d76fd02f46: Pulling fs layer [2022-10-03T05:03:30.405Z] fa31f396de31: Pulling fs layer [2022-10-03T05:03:30.405Z] d8d76fd02f46: Waiting [2022-10-03T05:03:30.405Z] aa9baa53a306: Waiting [2022-10-03T05:03:30.405Z] 8b309c321861: Waiting [2022-10-03T05:03:30.405Z] 370296b7ddb6: Waiting [2022-10-03T05:03:30.405Z] 7c6cee850709: Waiting [2022-10-03T05:03:30.405Z] 30c4a7721957: Verifying Checksum [2022-10-03T05:03:30.405Z] 30c4a7721957: Download complete [2022-10-03T05:03:30.405Z] ea60b727a1ce: Verifying Checksum [2022-10-03T05:03:30.405Z] ea60b727a1ce: Download complete [2022-10-03T05:03:30.405Z] 7c6cee850709: Download complete [2022-10-03T05:03:30.405Z] aa9baa53a306: Verifying Checksum [2022-10-03T05:03:30.405Z] aa9baa53a306: Download complete [2022-10-03T05:03:30.672Z] 2408cc74d12b: Download complete [2022-10-03T05:03:30.672Z] 8b309c321861: Verifying Checksum [2022-10-03T05:03:30.672Z] 2408cc74d12b: Pull complete [2022-10-03T05:03:30.946Z] ea60b727a1ce: Pull complete [2022-10-03T05:03:30.946Z] 30c4a7721957: Pull complete [2022-10-03T05:03:31.214Z] 370296b7ddb6: Verifying Checksum [2022-10-03T05:03:31.214Z] 370296b7ddb6: Download complete [2022-10-03T05:03:31.473Z] fa31f396de31: Verifying Checksum [2022-10-03T05:03:31.473Z] fa31f396de31: Download complete [2022-10-03T05:03:31.473Z] d8d76fd02f46: Download complete [2022-10-03T05:03:34.752Z] 370296b7ddb6: Pull complete [2022-10-03T05:03:34.752Z] 7c6cee850709: Pull complete [2022-10-03T05:03:34.752Z] aa9baa53a306: Pull complete [2022-10-03T05:03:35.010Z] 8b309c321861: Pull complete [2022-10-03T05:03:36.911Z] d8d76fd02f46: Pull complete [2022-10-03T05:03:37.477Z] fa31f396de31: Pull complete [2022-10-03T05:03:37.477Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T05:03:37.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T05:03:37.477Z] ---> cef68f9685f8 [2022-10-03T05:03:37.477Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:03:38.855Z] ---> Running in 37f100bd8e0a [2022-10-03T05:03:38.855Z] Removing intermediate container 37f100bd8e0a [2022-10-03T05:03:38.855Z] ---> ea6dfb45b293 [2022-10-03T05:03:38.855Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:03:38.855Z] ---> Running in 340984e58edf [2022-10-03T05:03:38.855Z] Removing intermediate container 340984e58edf [2022-10-03T05:03:38.855Z] ---> d7cfabf85ef9 [2022-10-03T05:03:38.855Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:03:39.112Z] ---> Running in 0fca618d403d [2022-10-03T05:03:39.681Z] Removing intermediate container 0fca618d403d [2022-10-03T05:03:39.681Z] ---> db98a1b81d6d [2022-10-03T05:03:39.681Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T05:03:39.681Z] ---> Running in 99f926ff94d7 [2022-10-03T05:03:39.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:03:40.882Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:03:41.143Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:03:41.143Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-03T05:03:41.406Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:03:41.406Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:03:41.665Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-03T05:03:41.665Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-03T05:03:41.665Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-03T05:03:41.925Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-03T05:03:41.925Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:03:41.925Z] OK: 217 MiB in 59 packages [2022-10-03T05:03:42.498Z] Removing intermediate container 99f926ff94d7 [2022-10-03T05:03:42.498Z] ---> 394933c344a0 [2022-10-03T05:03:42.498Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-03T05:03:42.498Z] ---> Running in e725bf2aa33b [2022-10-03T05:03:42.498Z] Removing intermediate container e725bf2aa33b [2022-10-03T05:03:42.498Z] ---> 8c8ab319fdfe [2022-10-03T05:03:42.498Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-03T05:03:42.498Z] ---> b43a0de53617 [2022-10-03T05:03:42.498Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:03:42.498Z] ---> Running in 8737521d6d28 [2022-10-03T05:03:43.356Z] Still waiting to schedule task [2022-10-03T05:03:43.357Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-03T05:04:04.428Z] Removing intermediate container 8737521d6d28 [2022-10-03T05:04:04.428Z] ---> 89e107737bac [2022-10-03T05:04:04.428Z] Step 10/11 : COPY . . [2022-10-03T05:04:04.428Z] ---> 94969e70f9b0 [2022-10-03T05:04:04.428Z] Step 11/11 : RUN ${MAKE} [2022-10-03T05:04:04.428Z] ---> Running in 65d162dca151 [2022-10-03T05:04:04.428Z] noop [2022-10-03T05:04:04.428Z] Removing intermediate container 65d162dca151 [2022-10-03T05:04:04.428Z] ---> c1ba0c378f58 [2022-10-03T05:04:04.428Z] Successfully built c1ba0c378f58 [2022-10-03T05:04:04.428Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:04.879Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:04:04.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:04:05.023Z] prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container [2022-10-03T05:04:05.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T05:04:05.428Z] $ docker top 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:04:05.813Z] + go version [2022-10-03T05:04:05.813Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T05:04:05.850Z] $ docker stop --time=1 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c [2022-10-03T05:04:07.109Z] $ docker rm -f 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:07.817Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:04:07.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:04:07.981Z] prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container [2022-10-03T05:04:08.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T05:04:08.362Z] $ docker top 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:04:08.745Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-379 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:04:09.158Z] + make test [2022-10-03T05:04:09.158Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:04:09.421Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-03T05:04:19.386Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-03T05:04:19.386Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements [2022-10-03T05:04:23.568Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-03T05:04:23.568Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:04:26.845Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:04:26.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:04:26.845Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:04:26.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:04:26.921Z] $ docker stop --time=1 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 [2022-10-03T05:04:28.558Z] $ docker rm -f 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:04:29.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:04:29.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T05:04:29.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:04:30.186Z] + ls -al . [2022-10-03T05:04:30.186Z] total 188 [2022-10-03T05:04:30.186Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:04 . [2022-10-03T05:04:30.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:03 .. [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:03 .dockerignore [2022-10-03T05:04:30.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:04 .git [2022-10-03T05:04:30.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 .github [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:03 .gitignore [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:03 .golangci.yml [2022-10-03T05:04:30.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:03 .semver [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:03 Attribution.txt [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:03 CHANGELOG.md [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:03 Dockerfile [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:03 GOVERNANCE.md [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:03 Jenkinsfile [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:03 LICENSE [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:03 Makefile [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:03 OWNERS.md [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:03 README.md [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:03 VERSION [2022-10-03T05:04:30.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:03 bin [2022-10-03T05:04:30.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 cmd [2022-10-03T05:04:30.186Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:04 coverage.out [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:03 go.mod [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:03 go.sum [2022-10-03T05:04:30.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 internal [2022-10-03T05:04:30.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:03 simulator [2022-10-03T05:04:30.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:03 snap [2022-10-03T05:04:30.186Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:30.577Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 --label arch=amd64 --label version=0.0.0 . [2022-10-03T05:04:30.577Z] Sending build context to Docker daemon 6.197MB [2022-10-03T05:04:30.577Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:04:30.577Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-03T05:04:30.577Z] ---> c1ba0c378f58 [2022-10-03T05:04:30.577Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:04:30.577Z] ---> Running in 106733781ab2 [2022-10-03T05:04:30.577Z] Removing intermediate container 106733781ab2 [2022-10-03T05:04:30.577Z] ---> 3e09af5d6147 [2022-10-03T05:04:30.577Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:04:30.837Z] ---> Running in 5f40a75fd391 [2022-10-03T05:04:30.837Z] Removing intermediate container 5f40a75fd391 [2022-10-03T05:04:30.837Z] ---> dee7357022ab [2022-10-03T05:04:30.837Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:04:30.837Z] ---> Running in e996e4021fda [2022-10-03T05:04:31.403Z] Removing intermediate container e996e4021fda [2022-10-03T05:04:31.403Z] ---> f21397fde6d4 [2022-10-03T05:04:31.403Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T05:04:31.403Z] ---> Running in 4117a27a573d [2022-10-03T05:04:31.662Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:32.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:32.857Z] OK: 217 MiB in 59 packages [2022-10-03T05:04:33.115Z] Removing intermediate container 4117a27a573d [2022-10-03T05:04:33.115Z] ---> 544e89dd43a1 [2022-10-03T05:04:33.115Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-03T05:04:33.115Z] ---> Running in 4b7eec1bf709 [2022-10-03T05:04:33.382Z] Removing intermediate container 4b7eec1bf709 [2022-10-03T05:04:33.382Z] ---> 47513bba11fe [2022-10-03T05:04:33.382Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-03T05:04:33.382Z] ---> ec0b40fcee0f [2022-10-03T05:04:33.382Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:04:33.382Z] ---> Running in 36a7b70c677b [2022-10-03T05:04:34.319Z] Removing intermediate container 36a7b70c677b [2022-10-03T05:04:34.319Z] ---> fc4fe35c6bc9 [2022-10-03T05:04:34.319Z] Step 10/24 : COPY . . [2022-10-03T05:04:34.319Z] ---> e3b56d127d09 [2022-10-03T05:04:34.319Z] Step 11/24 : RUN ${MAKE} [2022-10-03T05:04:34.578Z] ---> Running in 1cb9a65e7736 [2022-10-03T05:04:34.837Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-03T05:04:52.948Z] Removing intermediate container 1cb9a65e7736 [2022-10-03T05:04:52.948Z] ---> d15c84e2e973 [2022-10-03T05:04:52.948Z] Step 12/24 : FROM alpine:3.14 [2022-10-03T05:04:53.207Z] 3.14: Pulling from library/alpine [2022-10-03T05:04:53.207Z] c7ed990a2339: Pulling fs layer [2022-10-03T05:04:53.466Z] c7ed990a2339: Verifying Checksum [2022-10-03T05:04:53.466Z] c7ed990a2339: Download complete [2022-10-03T05:04:53.725Z] c7ed990a2339: Pull complete [2022-10-03T05:04:53.725Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-03T05:04:53.725Z] Status: Downloaded newer image for alpine:3.14 [2022-10-03T05:04:53.725Z] ---> dd53f409bf0b [2022-10-03T05:04:53.725Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-03T05:04:53.725Z] ---> Running in b2331ec1d0a3 [2022-10-03T05:04:53.725Z] Removing intermediate container b2331ec1d0a3 [2022-10-03T05:04:53.725Z] ---> 8940bf2aed5b [2022-10-03T05:04:53.725Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:04:53.725Z] ---> Running in 0f8854b47c0b [2022-10-03T05:04:54.293Z] Removing intermediate container 0f8854b47c0b [2022-10-03T05:04:54.293Z] ---> 2644cd038cfc [2022-10-03T05:04:54.293Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:04:54.553Z] ---> Running in 81d13e444621 [2022-10-03T05:04:54.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:55.393Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:55.961Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:04:55.961Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-03T05:04:55.961Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:04:55.961Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-03T05:04:56.220Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:04:56.220Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:04:56.479Z] Executing busybox-1.33.1-r8.trigger [2022-10-03T05:04:56.479Z] OK: 8 MiB in 20 packages [2022-10-03T05:04:56.739Z] Removing intermediate container 81d13e444621 [2022-10-03T05:04:56.739Z] ---> 22c97ba097b0 [2022-10-03T05:04:56.739Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-03T05:04:57.307Z] ---> ebed495c923a [2022-10-03T05:04:57.307Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-03T05:04:57.307Z] ---> 1c3279e2edfc [2022-10-03T05:04:57.307Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-03T05:04:57.307Z] ---> 856372ec3911 [2022-10-03T05:04:57.307Z] Step 19/24 : EXPOSE 59901 [2022-10-03T05:04:57.573Z] ---> Running in f21713027700 [2022-10-03T05:04:57.573Z] Removing intermediate container f21713027700 [2022-10-03T05:04:57.573Z] ---> 3b87b2f6fffc [2022-10-03T05:04:57.573Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-03T05:04:57.573Z] ---> Running in 003c707d7db1 [2022-10-03T05:04:57.573Z] Removing intermediate container 003c707d7db1 [2022-10-03T05:04:57.573Z] ---> bdad1d538750 [2022-10-03T05:04:57.573Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T05:04:57.573Z] ---> Running in 2d67050970cc [2022-10-03T05:04:57.836Z] Removing intermediate container 2d67050970cc [2022-10-03T05:04:57.836Z] ---> 73bf0f509f30 [2022-10-03T05:04:57.836Z] Step 22/24 : LABEL arch=amd64 [2022-10-03T05:04:57.836Z] ---> Running in 89c0be35610f [2022-10-03T05:04:57.836Z] Removing intermediate container 89c0be35610f [2022-10-03T05:04:57.836Z] ---> 785b26e795a0 [2022-10-03T05:04:57.836Z] Step 23/24 : LABEL git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 [2022-10-03T05:04:57.836Z] ---> Running in f4ab3e31d664 [2022-10-03T05:04:58.100Z] Removing intermediate container f4ab3e31d664 [2022-10-03T05:04:58.100Z] ---> ea21f6d204fb [2022-10-03T05:04:58.100Z] Step 24/24 : LABEL version=0.0.0 [2022-10-03T05:04:58.100Z] ---> Running in 7e4f16e38993 [2022-10-03T05:04:58.100Z] Removing intermediate container 7e4f16e38993 [2022-10-03T05:04:58.100Z] ---> 0783de18b54b [2022-10-03T05:04:58.100Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:04:58.100Z] Successfully built 0783de18b54b [2022-10-03T05:04:58.100Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:59.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:04:59.004Z] [2022-10-03T05:04:59.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:59.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:04:59.386Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T05:04:59.386Z] 5eb5b503b376: Pulling fs layer [2022-10-03T05:04:59.386Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T05:04:59.386Z] ec43610c2a17: Pulling fs layer [2022-10-03T05:04:59.386Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T05:04:59.386Z] 33b1e0a273af: Pulling fs layer [2022-10-03T05:04:59.386Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T05:04:59.386Z] 2f39f015ded8: Pulling fs layer [2022-10-03T05:04:59.386Z] 3a2ae6a8a46f: Waiting [2022-10-03T05:04:59.386Z] 5d3b04190fa2: Waiting [2022-10-03T05:04:59.386Z] 2f39f015ded8: Waiting [2022-10-03T05:04:59.386Z] 33b1e0a273af: Waiting [2022-10-03T05:04:59.386Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T05:04:59.386Z] 5c69ac0246d0: Download complete [2022-10-03T05:04:59.386Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T05:04:59.386Z] 3a2ae6a8a46f: Download complete [2022-10-03T05:04:59.386Z] 33b1e0a273af: Verifying Checksum [2022-10-03T05:04:59.386Z] 33b1e0a273af: Download complete [2022-10-03T05:04:59.386Z] ec43610c2a17: Verifying Checksum [2022-10-03T05:04:59.386Z] ec43610c2a17: Download complete [2022-10-03T05:04:59.386Z] 5d3b04190fa2: Download complete [2022-10-03T05:04:59.644Z] 5eb5b503b376: Verifying Checksum [2022-10-03T05:04:59.644Z] 5eb5b503b376: Download complete [2022-10-03T05:05:00.209Z] 2f39f015ded8: Download complete [2022-10-03T05:05:00.785Z] 5eb5b503b376: Pull complete [2022-10-03T05:05:00.785Z] 5c69ac0246d0: Pull complete [2022-10-03T05:05:01.050Z] ec43610c2a17: Pull complete [2022-10-03T05:05:01.310Z] 3a2ae6a8a46f: Pull complete [2022-10-03T05:05:01.310Z] 33b1e0a273af: Pull complete [2022-10-03T05:05:01.310Z] 5d3b04190fa2: Pull complete [2022-10-03T05:05:05.493Z] 2f39f015ded8: Pull complete [2022-10-03T05:05:05.493Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T05:05:05.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:05:05.493Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:05:05.714Z] prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container [2022-10-03T05:05:05.750Z] $ 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/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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 [2022-10-03T05:05:07.086Z] $ docker top 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:05:07.541Z] ---> job-cost.sh [2022-10-03T05:05:07.541Z] lf-activate-venv: SKIPPING [2022-10-03T05:05:07.541Z] INFO: No Stack... [2022-10-03T05:05:08.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:05:08.365Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:05:08.673Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-379/archives/cost.csv [2022-10-03T05:05:08.673Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T05:05:08.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [2022-10-03T05:05:08.720Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] did not exist. Created. [2022-10-03T05:05:08.720Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:05:09.110Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T05:05:09.157Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:05:09.183Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:05:09.261Z] $ docker stop --time=1 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a [2022-10-03T05:05:10.429Z] $ docker rm -f 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T05:05:24.428Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6824 in /w/workspace/xfoundry_device-modbus-go_PR-379 [Pipeline] { [Pipeline] ws [2022-10-03T05:05:24.472Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T05:05:24.587Z] Selected Git installation does not exist. Using Default [2022-10-03T05:05:24.587Z] The recommended git tool is: NONE [2022-10-03T05:05:30.073Z] using credential edgex-jenkins-ssh [2022-10-03T05:05:30.087Z] Cloning the remote Git repository [2022-10-03T05:05:30.139Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-03T05:05:30.213Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-03T05:05:30.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-03T05:05:30.373Z] > git --version # timeout=10 [2022-10-03T05:05:30.401Z] > git --version # 'git version 2.25.1' [2022-10-03T05:05:30.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:05:30.455Z] Verifying host key using known hosts file [2022-10-03T05:05:30.662Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T05:05:30.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:05:31.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-03T05:05:31.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:05:33.395Z] Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit c8e33207e731f24c7f3ad998c4e7d15003778369 [2022-10-03T05:05:32.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-03T05:05:32.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-03T05:05:32.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:05:32.853Z] Verifying host key using known hosts file [2022-10-03T05:05:32.860Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T05:05:32.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T05:05:33.602Z] Merge succeeded, producing c8e33207e731f24c7f3ad998c4e7d15003778369 [2022-10-03T05:05:33.603Z] Checking out Revision c8e33207e731f24c7f3ad998c4e7d15003778369 (PR-379) [2022-10-03T05:05:34.057Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-03T05:05:34.108Z] > git --version # timeout=10 [2022-10-03T05:05:34.118Z] > git --version # 'git version 2.25.1' [2022-10-03T05:05:34.140Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:05:33.413Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:05:33.429Z] > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 [2022-10-03T05:05:33.515Z] > git remote # timeout=10 [2022-10-03T05:05:33.532Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T05:05:33.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:05:33.552Z] Verifying host key using known hosts file [2022-10-03T05:05:33.555Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T05:05:33.564Z] > git merge 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 [2022-10-03T05:05:33.588Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T05:05:33.610Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:05:33.625Z] > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 [2022-10-03T05:05:35.145Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T05:05:35.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:05:35.145Z] Dload Upload Total Spent Left Speed [2022-10-03T05:05:35.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh [2022-10-03T05:05:35.735Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T05:05:36.081Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T05:05:36.081Z] + sudo tee /etc/docker/daemon.new [2022-10-03T05:05:36.081Z] { [2022-10-03T05:05:36.081Z] "registry-mirrors": [ [2022-10-03T05:05:36.081Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T05:05:36.081Z] ], [2022-10-03T05:05:36.081Z] "bip": "10.250.0.254/24", [2022-10-03T05:05:36.081Z] "hosts": [ [2022-10-03T05:05:36.081Z] "tcp://0.0.0.0:5555", [2022-10-03T05:05:36.081Z] "unix:///var/run/docker.sock" [2022-10-03T05:05:36.081Z] ], [2022-10-03T05:05:36.081Z] "mtu": 1458, [2022-10-03T05:05:36.081Z] "selinux-enabled": true, [2022-10-03T05:05:36.081Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T05:05:36.081Z] } [Pipeline] sh [2022-10-03T05:05:36.428Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T05:05:36.772Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:05:55.091Z] provisioning config files... [2022-10-03T05:05:55.119Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14935380126815022361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:05:55.505Z] ---> docker-login.sh [2022-10-03T05:05:55.505Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:05:56.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:05:56.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:05:56.094Z] Configure a credential helper to remove this warning. See [2022-10-03T05:05:56.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:05:56.094Z] [2022-10-03T05:05:56.094Z] Login Succeeded [2022-10-03T05:05:56.094Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:05:56.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:05:56.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:05:56.362Z] Configure a credential helper to remove this warning. See [2022-10-03T05:05:56.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:05:56.362Z] [2022-10-03T05:05:56.362Z] Login Succeeded [2022-10-03T05:05:56.362Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:05:56.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:05:56.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:05:56.908Z] Configure a credential helper to remove this warning. See [2022-10-03T05:05:56.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:05:56.908Z] [2022-10-03T05:05:56.908Z] Login Succeeded [2022-10-03T05:05:56.908Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:05:56.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:05:57.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:05:57.178Z] Configure a credential helper to remove this warning. See [2022-10-03T05:05:57.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:05:57.178Z] [2022-10-03T05:05:57.178Z] Login Succeeded [2022-10-03T05:05:57.178Z] docker.io [2022-10-03T05:05:57.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:05:57.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:05:57.720Z] Configure a credential helper to remove this warning. See [2022-10-03T05:05:57.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:05:57.720Z] [2022-10-03T05:05:57.720Z] Login Succeeded [2022-10-03T05:05:57.720Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:05:57.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:05:58.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:05:58.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:05:58.094Z] ========================================================= [2022-10-03T05:05:58.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T05:05:58.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:58.583Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T05:05:58.852Z] Sending build context to Docker daemon 3.213MB [2022-10-03T05:05:59.441Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:05:59.441Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-03T05:05:59.714Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T05:05:59.714Z] b3c136eddcbf: Pulling fs layer [2022-10-03T05:05:59.714Z] c0a3192eca97: Pulling fs layer [2022-10-03T05:05:59.714Z] a050256f5b6f: Pulling fs layer [2022-10-03T05:05:59.714Z] 656be50a0ddc: Pulling fs layer [2022-10-03T05:05:59.714Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T05:05:59.714Z] f607e4fc86c3: Pulling fs layer [2022-10-03T05:05:59.714Z] 4d572c569a2c: Pulling fs layer [2022-10-03T05:05:59.714Z] fcf976331f73: Pulling fs layer [2022-10-03T05:05:59.714Z] 656be50a0ddc: Waiting [2022-10-03T05:05:59.714Z] 2bbca73fdf42: Waiting [2022-10-03T05:05:59.714Z] f607e4fc86c3: Waiting [2022-10-03T05:05:59.714Z] 4d572c569a2c: Waiting [2022-10-03T05:05:59.714Z] fcf976331f73: Waiting [2022-10-03T05:05:59.714Z] a050256f5b6f: Verifying Checksum [2022-10-03T05:05:59.714Z] a050256f5b6f: Download complete [2022-10-03T05:05:59.714Z] c0a3192eca97: Verifying Checksum [2022-10-03T05:05:59.714Z] c0a3192eca97: Download complete [2022-10-03T05:05:59.714Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T05:05:59.714Z] 2bbca73fdf42: Download complete [2022-10-03T05:05:59.714Z] f607e4fc86c3: Verifying Checksum [2022-10-03T05:05:59.714Z] f607e4fc86c3: Download complete [2022-10-03T05:05:59.714Z] b3c136eddcbf: Verifying Checksum [2022-10-03T05:05:59.714Z] b3c136eddcbf: Download complete [2022-10-03T05:06:00.691Z] b3c136eddcbf: Pull complete [2022-10-03T05:06:00.964Z] fcf976331f73: Verifying Checksum [2022-10-03T05:06:00.964Z] fcf976331f73: Download complete [2022-10-03T05:06:01.243Z] c0a3192eca97: Pull complete [2022-10-03T05:06:01.542Z] a050256f5b6f: Pull complete [2022-10-03T05:06:01.826Z] 4d572c569a2c: Verifying Checksum [2022-10-03T05:06:01.826Z] 4d572c569a2c: Download complete [2022-10-03T05:06:02.410Z] 656be50a0ddc: Verifying Checksum [2022-10-03T05:06:02.410Z] 656be50a0ddc: Download complete [2022-10-03T05:06:14.841Z] 656be50a0ddc: Pull complete [2022-10-03T05:06:14.841Z] 2bbca73fdf42: Pull complete [2022-10-03T05:06:14.841Z] f607e4fc86c3: Pull complete [2022-10-03T05:06:20.224Z] 4d572c569a2c: Pull complete [2022-10-03T05:06:22.843Z] fcf976331f73: Pull complete [2022-10-03T05:06:22.843Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T05:06:22.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T05:06:22.843Z] ---> 3970a7415f9e [2022-10-03T05:06:22.843Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:06:25.449Z] ---> Running in cad436fa00b9 [2022-10-03T05:06:26.035Z] Removing intermediate container cad436fa00b9 [2022-10-03T05:06:26.035Z] ---> 4fd02c5bde43 [2022-10-03T05:06:26.035Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:06:26.035Z] ---> Running in c1be6171722f [2022-10-03T05:06:26.314Z] Removing intermediate container c1be6171722f [2022-10-03T05:06:26.314Z] ---> 86f9f7830a92 [2022-10-03T05:06:26.314Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:06:26.314Z] ---> Running in cbe95c0eec85 [2022-10-03T05:06:28.262Z] Removing intermediate container cbe95c0eec85 [2022-10-03T05:06:28.262Z] ---> aa3674a587c3 [2022-10-03T05:06:28.262Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T05:06:28.262Z] ---> Running in 28c117710d4d [2022-10-03T05:06:29.223Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:06:30.202Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:06:31.171Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:06:31.444Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-03T05:06:31.444Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:06:31.715Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:06:31.715Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-03T05:06:31.985Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-03T05:06:31.985Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-03T05:06:31.985Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-03T05:06:32.257Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:06:32.257Z] OK: 228 MiB in 59 packages [2022-10-03T05:06:33.675Z] Removing intermediate container 28c117710d4d [2022-10-03T05:06:33.675Z] ---> 8d68deb11745 [2022-10-03T05:06:33.675Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-03T05:06:33.675Z] ---> Running in e09160a26978 [2022-10-03T05:06:33.957Z] Removing intermediate container e09160a26978 [2022-10-03T05:06:33.957Z] ---> f7e51bc8b57a [2022-10-03T05:06:33.957Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-03T05:06:34.551Z] ---> 5f82887310ab [2022-10-03T05:06:34.551Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:06:34.551Z] ---> Running in 855cace3a365 [2022-10-03T05:07:31.015Z] Removing intermediate container 855cace3a365 [2022-10-03T05:07:31.015Z] ---> 6f9b6ddb840d [2022-10-03T05:07:31.015Z] Step 10/11 : COPY . . [2022-10-03T05:07:31.015Z] ---> 13218d2658e9 [2022-10-03T05:07:31.015Z] Step 11/11 : RUN ${MAKE} [2022-10-03T05:07:31.015Z] ---> Running in 5133ceb678f0 [2022-10-03T05:07:31.015Z] noop [2022-10-03T05:07:31.015Z] Removing intermediate container 5133ceb678f0 [2022-10-03T05:07:31.015Z] ---> 4563dab513c3 [2022-10-03T05:07:31.015Z] Successfully built 4563dab513c3 [2022-10-03T05:07:31.015Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:07:31.517Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:07:31.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:07:31.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container [2022-10-03T05:07:31.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 ******** ci-base-image-arm64 cat [2022-10-03T05:07:33.906Z] $ docker top db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:07:34.856Z] + go version [2022-10-03T05:07:34.856Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T05:07:34.892Z] $ docker stop --time=1 db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 [2022-10-03T05:07:36.626Z] $ docker rm -f db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:07:37.531Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:07:37.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:07:37.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container [2022-10-03T05:07:37.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 ******** ci-base-image-arm64 cat [2022-10-03T05:07:39.235Z] $ docker top 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:07:40.174Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:07:40.898Z] + make test [2022-10-03T05:07:40.898Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:07:42.848Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-03T05:09:19.567Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-03T05:09:19.567Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements [2022-10-03T05:09:19.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T05:09:19.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:09:51.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:09:51.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:09:51.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:09:51.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:09:51.924Z] $ docker stop --time=1 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 [2022-10-03T05:09:53.927Z] $ docker rm -f 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:09:55.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:09:55.120Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T05:09:55.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:09:56.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:09:56.721Z] + ls -al . [2022-10-03T05:09:56.721Z] total 184 [2022-10-03T05:09:56.721Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:07 . [2022-10-03T05:09:56.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:05 .. [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:05 .dockerignore [2022-10-03T05:09:56.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git [2022-10-03T05:09:56.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 .github [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:05 .gitignore [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:05 .golangci.yml [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:05 Attribution.txt [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:05 CHANGELOG.md [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:05 Dockerfile [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:05 GOVERNANCE.md [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:05 Jenkinsfile [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:05 LICENSE [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:05 Makefile [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:05 OWNERS.md [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:05 README.md [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:03 VERSION [2022-10-03T05:09:56.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:05 bin [2022-10-03T05:09:56.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 cmd [2022-10-03T05:09:56.721Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:09 coverage.out [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:05 go.mod [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:05 go.sum [2022-10-03T05:09:56.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 internal [2022-10-03T05:09:56.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:05 simulator [2022-10-03T05:09:56.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:05 snap [2022-10-03T05:09:56.721Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:09:57.176Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 --label arch=arm64 --label version=0.0.0 . [2022-10-03T05:09:57.762Z] Sending build context to Docker daemon 3.237MB [2022-10-03T05:09:57.762Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:09:57.762Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-03T05:09:57.762Z] ---> 4563dab513c3 [2022-10-03T05:09:57.762Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:09:57.762Z] ---> Running in b8dc6d45c6c8 [2022-10-03T05:09:58.035Z] Removing intermediate container b8dc6d45c6c8 [2022-10-03T05:09:58.035Z] ---> e25ccee9e343 [2022-10-03T05:09:58.035Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:09:58.304Z] ---> Running in 26dac363adbf [2022-10-03T05:09:58.893Z] Removing intermediate container 26dac363adbf [2022-10-03T05:09:58.893Z] ---> f1b0adcad260 [2022-10-03T05:09:58.893Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:09:58.893Z] ---> Running in e590dbb779a2 [2022-10-03T05:10:02.276Z] Removing intermediate container e590dbb779a2 [2022-10-03T05:10:02.276Z] ---> 0baaf9bd955d [2022-10-03T05:10:02.276Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T05:10:02.276Z] ---> Running in 3fbdc2289613 [2022-10-03T05:10:02.868Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:10:03.833Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:10:05.260Z] OK: 228 MiB in 59 packages [2022-10-03T05:10:06.728Z] Removing intermediate container 3fbdc2289613 [2022-10-03T05:10:06.728Z] ---> 3d60c7e27dc7 [2022-10-03T05:10:06.728Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-03T05:10:06.728Z] ---> Running in 44980bb07918 [2022-10-03T05:10:06.998Z] Removing intermediate container 44980bb07918 [2022-10-03T05:10:06.998Z] ---> dd8199a5eafa [2022-10-03T05:10:06.998Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-03T05:10:07.974Z] ---> 5d6986fc4118 [2022-10-03T05:10:07.974Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:10:07.974Z] ---> Running in 6ce4d7aaccec [2022-10-03T05:10:10.570Z] Removing intermediate container 6ce4d7aaccec [2022-10-03T05:10:10.570Z] ---> 6af867837ecb [2022-10-03T05:10:10.570Z] Step 10/24 : COPY . . [2022-10-03T05:10:11.541Z] ---> 0a120dbb89ea [2022-10-03T05:10:11.541Z] Step 11/24 : RUN ${MAKE} [2022-10-03T05:10:11.541Z] ---> Running in e6303fe8a5d5 [2022-10-03T05:10:12.962Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-03T05:13:04.763Z] Removing intermediate container e6303fe8a5d5 [2022-10-03T05:13:04.763Z] ---> 1c94c6419fa2 [2022-10-03T05:13:04.763Z] Step 12/24 : FROM alpine:3.14 [2022-10-03T05:13:04.763Z] 3.14: Pulling from library/alpine [2022-10-03T05:13:04.763Z] 90cda3b7c325: Pulling fs layer [2022-10-03T05:13:04.763Z] 90cda3b7c325: Verifying Checksum [2022-10-03T05:13:04.763Z] 90cda3b7c325: Download complete [2022-10-03T05:13:04.763Z] 90cda3b7c325: Pull complete [2022-10-03T05:13:04.763Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-03T05:13:04.763Z] Status: Downloaded newer image for alpine:3.14 [2022-10-03T05:13:04.763Z] ---> 376ba31ae3da [2022-10-03T05:13:04.763Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-03T05:13:04.763Z] ---> Running in 2f4a806f02a1 [2022-10-03T05:13:04.763Z] Removing intermediate container 2f4a806f02a1 [2022-10-03T05:13:04.763Z] ---> 77d69d09b0b1 [2022-10-03T05:13:04.763Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:13:04.763Z] ---> Running in 8910415a5971 [2022-10-03T05:13:04.763Z] Removing intermediate container 8910415a5971 [2022-10-03T05:13:04.763Z] ---> b831441f120d [2022-10-03T05:13:04.763Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:13:04.763Z] ---> Running in dfc0de04d0aa [2022-10-03T05:13:05.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:13:06.316Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:13:07.280Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:13:07.548Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-03T05:13:07.548Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:13:07.548Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-03T05:13:07.815Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:13:07.815Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:13:08.082Z] Executing busybox-1.33.1-r8.trigger [2022-10-03T05:13:08.082Z] OK: 8 MiB in 20 packages [2022-10-03T05:13:09.044Z] Removing intermediate container dfc0de04d0aa [2022-10-03T05:13:09.044Z] ---> faeb2b7397c1 [2022-10-03T05:13:09.044Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-03T05:13:10.452Z] ---> aa2364154504 [2022-10-03T05:13:10.452Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-03T05:13:10.719Z] ---> ddb60e50787c [2022-10-03T05:13:10.719Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-03T05:13:11.305Z] ---> f11f3e8598e3 [2022-10-03T05:13:11.305Z] Step 19/24 : EXPOSE 59901 [2022-10-03T05:13:11.305Z] ---> Running in a9d959f5a032 [2022-10-03T05:13:11.888Z] Removing intermediate container a9d959f5a032 [2022-10-03T05:13:11.888Z] ---> 7e0a95d8188a [2022-10-03T05:13:11.888Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-03T05:13:11.888Z] ---> Running in f1d863b0fa11 [2022-10-03T05:13:13.300Z] Removing intermediate container f1d863b0fa11 [2022-10-03T05:13:13.300Z] ---> 45fef4ae1faf [2022-10-03T05:13:13.300Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T05:13:13.301Z] ---> Running in 2b1367bd3e70 [2022-10-03T05:13:13.568Z] Removing intermediate container 2b1367bd3e70 [2022-10-03T05:13:13.568Z] ---> 070486e239e9 [2022-10-03T05:13:13.568Z] Step 22/24 : LABEL arch=arm64 [2022-10-03T05:13:13.568Z] ---> Running in f451731a26b3 [2022-10-03T05:13:13.835Z] Removing intermediate container f451731a26b3 [2022-10-03T05:13:13.835Z] ---> cfe86f549eec [2022-10-03T05:13:13.835Z] Step 23/24 : LABEL git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 [2022-10-03T05:13:13.835Z] ---> Running in 96c85b4a4626 [2022-10-03T05:13:14.104Z] Removing intermediate container 96c85b4a4626 [2022-10-03T05:13:14.104Z] ---> 58f996f840e0 [2022-10-03T05:13:14.104Z] Step 24/24 : LABEL version=0.0.0 [2022-10-03T05:13:14.378Z] ---> Running in fbf244b78f50 [2022-10-03T05:13:14.646Z] Removing intermediate container fbf244b78f50 [2022-10-03T05:13:14.646Z] ---> be9b03733066 [2022-10-03T05:13:14.646Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:13:14.646Z] Successfully built be9b03733066 [2022-10-03T05:13:14.646Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:13:16.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:13:16.310Z] [2022-10-03T05:13:16.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:13:16.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:13:16.867Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T05:13:16.867Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T05:13:16.867Z] 04944245beec: Pulling fs layer [2022-10-03T05:13:16.867Z] 699f458cf7ca: Pulling fs layer [2022-10-03T05:13:16.867Z] 765212b225bb: Pulling fs layer [2022-10-03T05:13:16.867Z] f23df028b6ca: Pulling fs layer [2022-10-03T05:13:16.867Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T05:13:16.867Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T05:13:16.867Z] f23df028b6ca: Waiting [2022-10-03T05:13:16.867Z] 765212b225bb: Waiting [2022-10-03T05:13:16.867Z] d65c8cfc05b1: Waiting [2022-10-03T05:13:16.867Z] 2437ff75d9bd: Waiting [2022-10-03T05:13:17.150Z] 04944245beec: Verifying Checksum [2022-10-03T05:13:17.150Z] 04944245beec: Download complete [2022-10-03T05:13:17.150Z] 765212b225bb: Verifying Checksum [2022-10-03T05:13:17.150Z] 765212b225bb: Download complete [2022-10-03T05:13:17.150Z] f23df028b6ca: Verifying Checksum [2022-10-03T05:13:17.150Z] f23df028b6ca: Download complete [2022-10-03T05:13:17.150Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T05:13:17.151Z] d65c8cfc05b1: Download complete [2022-10-03T05:13:17.419Z] 699f458cf7ca: Verifying Checksum [2022-10-03T05:13:17.419Z] 699f458cf7ca: Download complete [2022-10-03T05:13:17.703Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T05:13:17.703Z] 8998bd30e6a1: Download complete [2022-10-03T05:13:20.355Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T05:13:20.355Z] 2437ff75d9bd: Download complete [2022-10-03T05:13:22.300Z] 8998bd30e6a1: Pull complete [2022-10-03T05:13:22.567Z] 04944245beec: Pull complete [2022-10-03T05:13:23.981Z] 699f458cf7ca: Pull complete [2022-10-03T05:13:24.250Z] 765212b225bb: Pull complete [2022-10-03T05:13:25.218Z] f23df028b6ca: Pull complete [2022-10-03T05:13:25.218Z] d65c8cfc05b1: Pull complete [2022-10-03T05:13:40.231Z] 2437ff75d9bd: Pull complete [2022-10-03T05:13:40.231Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T05:13:40.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:13:40.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:13:40.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container [2022-10-03T05:13:41.027Z] $ 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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T05:13:43.827Z] $ docker top 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:44.436Z] ---> job-cost.sh [2022-10-03T05:13:44.704Z] lf-activate-venv: SKIPPING [2022-10-03T05:13:44.705Z] INFO: No Stack... [2022-10-03T05:13:44.974Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T05:13:45.936Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:13:46.638Z] + cut -d, -f6 [2022-10-03T05:13:46.639Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-10-03T05:13:46.731Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [2022-10-03T05:13:46.738Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] did not exist. Created. [2022-10-03T05:13:46.739Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:13:47.471Z] /w/workspace/device-modbus-go/1@tmp/durable-b779e2d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T05:13:48.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T05:13:48.193Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T05:13:48.239Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:13:48.253Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:13:48.333Z] $ docker stop --time=1 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c [2022-10-03T05:13:49.814Z] $ docker rm -f 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c [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 [2022-10-03T05:13:50.784Z] provisioning config files... [2022-10-03T05:13:50.791Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config12556751083728246566tmp [Pipeline] { [Pipeline] sh [2022-10-03T05:13:51.126Z] + set +x [2022-10-03T05:13:51.126Z] + bash -s -- [2022-10-03T05:13:51.126Z] + curl -s https://codecov.io/bash [2022-10-03T05:13:51.126Z] [2022-10-03T05:13:51.126Z] _____ _ [2022-10-03T05:13:51.126Z] / ____| | | [2022-10-03T05:13:51.126Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T05:13:51.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T05:13:51.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T05:13:51.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T05:13:51.126Z] Bash-1.0.6 [2022-10-03T05:13:51.126Z] [2022-10-03T05:13:51.126Z] [2022-10-03T05:13:51.126Z] ==> git version 2.25.1 found [2022-10-03T05:13:51.126Z] ==> 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 [2022-10-03T05:13:51.126Z] Release-Date: 2020-01-08 [2022-10-03T05:13:51.126Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-03T05:13:51.126Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T05:13:51.126Z] ==> Jenkins CI detected. [2022-10-03T05:13:51.126Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-379 [2022-10-03T05:13:51.126Z] project root: . [2022-10-03T05:13:51.126Z] --> token set from env [2022-10-03T05:13:51.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T05:13:51.126Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T05:13:51.126Z] ==> Python coveragepy not found [2022-10-03T05:13:51.126Z] ==> Searching for coverage reports in: [2022-10-03T05:13:51.126Z] + . [2022-10-03T05:13:51.126Z] -> Found 1 reports [2022-10-03T05:13:51.126Z] ==> Detecting git/mercurial file structure [2022-10-03T05:13:51.126Z] ==> Reading reports [2022-10-03T05:13:51.126Z] + ./coverage.out bytes=23241 [2022-10-03T05:13:51.126Z] ==> Appending adjustments [2022-10-03T05:13:51.126Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T05:13:51.386Z] + Found adjustments [2022-10-03T05:13:51.386Z] ==> Gzipping contents [2022-10-03T05:13:51.386Z] 4.0K /tmp/codecov.Xl2whL.gz [2022-10-03T05:13:51.386Z] ==> Uploading reports [2022-10-03T05:13:51.386Z] url: https://codecov.io [2022-10-03T05:13:51.386Z] query: branch=PR-379&commit=c8e33207e731f24c7f3ad998c4e7d15003778369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2022-10-03T05:13:51.386Z] -> Pinging Codecov [2022-10-03T05:13:51.386Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-379&commit=c8e33207e731f24c7f3ad998c4e7d15003778369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2022-10-03T05:13:51.646Z] -> Uploading to [2022-10-03T05:13:51.646Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/55DBCA73C666E3227836607328DD7E49/c8e33207e731f24c7f3ad998c4e7d15003778369/7563fe0a-d9fa-4542-8fde-373a3cded98a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45614fffba47e13dba8377784444b674a5da27e7e63f924acacaff78016d1f1b [2022-10-03T05:13:51.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:13:51.646Z] Dload Upload Total Spent Left Speed [2022-10-03T05:13:51.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 16239 --:--:-- --:--:-- --:--:-- 16239 [2022-10-03T05:13:51.905Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] } [2022-10-03T05:13:51.933Z] 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 [2022-10-03T05:13:53.725Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-379/archives ] [2022-10-03T05:13:53.725Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-379/archives [2022-10-03T05:13:53.725Z] total 16 [2022-10-03T05:13:53.725Z] drwxr-xr-x 3 root root 4096 Oct 3 05:05 . [2022-10-03T05:13:53.725Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:05 .. [2022-10-03T05:13:53.725Z] drwxr-xr-x 2 root root 4096 Oct 3 05:05 cost [2022-10-03T05:13:53.725Z] -rw-r--r-- 1 root root 88 Oct 3 05:05 cost.csv [2022-10-03T05:13:53.725Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-379/archives [2022-10-03T05:13:53.725Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-379/archives [2022-10-03T05:13:53.725Z] total 16 [2022-10-03T05:13:53.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:05 . [2022-10-03T05:13:53.725Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:05 .. [2022-10-03T05:13:53.725Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:05 cost [2022-10-03T05:13:53.725Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 3 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:54.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:54.943Z] ---> package-listing.sh [2022-10-03T05:13:54.943Z] ++ facter osfamily [2022-10-03T05:13:54.943Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T05:13:55.203Z] + OS_FAMILY=debian [2022-10-03T05:13:55.203Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-379 [2022-10-03T05:13:55.203Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T05:13:55.203Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T05:13:55.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T05:13:55.203Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T05:13:55.203Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-379 ']' [2022-10-03T05:13:55.203Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T05:13:55.203Z] + case "${OS_FAMILY}" in [2022-10-03T05:13:55.203Z] + dpkg -l [2022-10-03T05:13:55.203Z] + grep '^ii' [2022-10-03T05:13:55.203Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T05:13:55.203Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T05:13:55.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T05:13:55.203Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-379 ']' [2022-10-03T05:13:55.203Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-379/archives/ [2022-10-03T05:13:55.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-379/archives/ [Pipeline] echo [2022-10-03T05:13:55.234Z] 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/xfoundry_device-modbus-go_PR-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T05:13:55.524Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:13:56.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:13:56.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:13:56.289Z] prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container [2022-10-03T05:13:56.332Z] $ 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/xfoundry_device-modbus-go_PR-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T05:13:56.526Z] $ docker top 4d8e4271133cb6d5970bdbbe7461ea85271c01c30479d8d933b28e44ff34ab73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:13:56.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T05:13:57.206Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T05:13:57.511Z] + ls /var/log/sa-host [2022-10-03T05:13:57.511Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:13:57.711Z] provisioning config files... [2022-10-03T05:13:57.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config5029629721697079513tmp [Pipeline] { [Pipeline] echo [2022-10-03T05:13:57.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:58.070Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T05:13:58.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:58.489Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T05:13:58.523Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:58.831Z] ---> sudo-logs.sh [2022-10-03T05:13:58.831Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T05:13:58.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:13:59.216Z] ---> job-cost.sh [2022-10-03T05:13:59.216Z] lf-activate-venv: SKIPPING [2022-10-03T05:13:59.216Z] DEBUG: total: 0.2199999988079071 [2022-10-03T05:13:59.216Z] INFO: Retrieving Stack Cost... [2022-10-03T05:13:59.474Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:14:00.041Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T05:14:00.082Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:14:00.394Z] ---> logs-deploy.sh [2022-10-03T05:14:00.394Z] lf-activate-venv: SKIPPING [2022-10-03T05:14:00.394Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-379/1 [2022-10-03T05:14:00.394Z] INFO: archiving workspace using pattern(s): [2022-10-03T05:14:01.332Z] Archives upload complete. [2022-10-03T05:14:01.591Z] INFO: archiving logs to Nexus [2022-10-03T05:14:02.160Z] ---> uname -a: [2022-10-03T05:14:02.160Z] Linux prd-ubuntu20-04-docker-8c-8g-6820 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-03T05:14:02.160Z] [2022-10-03T05:14:02.160Z]