Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f34201dff3c9d418dc6545b7c257665b66b00a63+bb07e7e09273fde4df233cc08be8d273e9c828cd (535b76fe86db77f0228b909625e55ac3a8ec6c8e) 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-ssh1017140881632078417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16859094220381228900.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11541157190016983043.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3576238621709368871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3056929982051844846.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1205084514059303004.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22772 in /w/workspace/xfoundry_device-modbus-go_PR-368 [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-368 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bb07e7e09273fde4df233cc08be8d273e9c828cd into PR head commit f34201dff3c9d418dc6545b7c257665b66b00a63 Merge succeeded, producing f34201dff3c9d418dc6545b7c257665b66b00a63 Checking out Revision f34201dff3c9d418dc6545b7c257665b66b00a63 (PR-368) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T05:03:47.769Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T05:03:47.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T05:03:48.032Z] ========================================================= [2022-08-15T05:03:48.032Z] EdgeX Global Pipelines Version Info [2022-08-15T05:03:48.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:03:48.830Z] ------------------- [2022-08-15T05:03:48.830Z] stable info: [2022-08-15T05:03:48.830Z] ------------------- [2022-08-15T05:03:48.830Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:03:48.830Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:03:48.830Z] Message: update stable to v1.0.238 [2022-08-15T05:03:49.402Z] ------------------- [2022-08-15T05:03:49.402Z] experimental info: [2022-08-15T05:03:49.402Z] ------------------- [2022-08-15T05:03:49.402Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:03:49.402Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:03:49.402Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T05:03:49.771Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-08-15T05:03:49.811Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-08-15T05:03:49.851Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T05:03:49.890Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T05:03:49.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T05:03:49.971Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T05:03:50.009Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T05:03:50.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T05:03:50.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T05:03:50.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T05:03:50.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T05:03:50.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-08-15T05:03:50.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T05:03:50.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T05:03:50.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:03:50.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:03:50.416Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:03:50.456Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:03:50.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T05:03:50.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T05:03:50.578Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T05:03:50.621Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T05:03:50.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T05:03:50.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T05:03:50.743Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T05:03:50.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T05:03:50.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T05:03:50.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo [2022-08-15T05:03:50.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo [2022-08-15T05:03:50.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo [2022-08-15T05:03:50.976Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo [2022-08-15T05:03:51.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f34201d [Pipeline] echo [2022-08-15T05:03:51.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:03:51.168Z] provisioning config files... [2022-08-15T05:03:51.179Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config4797533494648196704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:03:51.533Z] ---> docker-login.sh [2022-08-15T05:03:51.533Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:03:51.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:03:52.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:03:52.055Z] Configure a credential helper to remove this warning. See [2022-08-15T05:03:52.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:03:52.055Z] [2022-08-15T05:03:52.055Z] Login Succeeded [2022-08-15T05:03:52.055Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:03:52.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:03:52.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:03:52.318Z] Configure a credential helper to remove this warning. See [2022-08-15T05:03:52.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:03:52.318Z] [2022-08-15T05:03:52.318Z] Login Succeeded [2022-08-15T05:03:52.318Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:03:52.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:03:52.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:03:52.318Z] Configure a credential helper to remove this warning. See [2022-08-15T05:03:52.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:03:52.318Z] [2022-08-15T05:03:52.318Z] Login Succeeded [2022-08-15T05:03:52.318Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:03:52.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:03:52.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:03:52.579Z] Configure a credential helper to remove this warning. See [2022-08-15T05:03:52.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:03:52.579Z] [2022-08-15T05:03:52.579Z] Login Succeeded [2022-08-15T05:03:52.579Z] docker.io [2022-08-15T05:03:52.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:03:52.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:03:52.841Z] Configure a credential helper to remove this warning. See [2022-08-15T05:03:52.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:03:52.841Z] [2022-08-15T05:03:52.841Z] Login Succeeded [2022-08-15T05:03:52.841Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:03:52.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T05:03:53.498Z] + git rev-list -1 --merges f34201dff3c9d418dc6545b7c257665b66b00a63~1..f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo [2022-08-15T05:03:53.546Z] -----------> git rev-list -1 --merges f34201dff3c9d418dc6545b7c257665b66b00a63~1..f34201dff3c9d418dc6545b7c257665b66b00a63 f34201dff3c9d418dc6545b7c257665b66b00a63 [false] [Pipeline] sh [2022-08-15T05:03:53.858Z] + git log --format=format:%s -1 f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo [2022-08-15T05:03:53.893Z] ========================================================= [2022-08-15T05:03:53.893Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T05:03:53.893Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:03:54.324Z] + git log --format=format:%s -1 f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo [2022-08-15T05:03:54.352Z] [semverPrep] GIT_COMMIT: f34201dff3c9d418dc6545b7c257665b66b00a63, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T05:03:54.381Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T05:03:54.771Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:03:54.771Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T05:03:54.771Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T05:03:54.771Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T05:03:54.771Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T05:03:54.771Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T05:03:54.771Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:03:55.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:03:55.254Z] [2022-08-15T05:03:55.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:03:55.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:03:55.629Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T05:03:55.629Z] b85a868b505f: Pulling fs layer [2022-08-15T05:03:55.629Z] e2be974225ed: Pulling fs layer [2022-08-15T05:03:55.629Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T05:03:55.629Z] 988bab9f4d93: Pulling fs layer [2022-08-15T05:03:55.629Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T05:03:55.629Z] eaf3925da568: Pulling fs layer [2022-08-15T05:03:55.629Z] bab4dde63d76: Pulling fs layer [2022-08-15T05:03:55.629Z] bde34c3a00c8: Pulling fs layer [2022-08-15T05:03:55.629Z] b352a97aabf1: Pulling fs layer [2022-08-15T05:03:55.629Z] 4872d77fe225: Pulling fs layer [2022-08-15T05:03:55.629Z] 988bab9f4d93: Waiting [2022-08-15T05:03:55.629Z] 5851b861e8e6: Pulling fs layer [2022-08-15T05:03:55.629Z] bab4dde63d76: Waiting [2022-08-15T05:03:55.629Z] b352a97aabf1: Waiting [2022-08-15T05:03:55.629Z] bde34c3a00c8: Waiting [2022-08-15T05:03:55.629Z] 5851b861e8e6: Waiting [2022-08-15T05:03:55.629Z] 4872d77fe225: Waiting [2022-08-15T05:03:55.629Z] 1469e6f7b9e6: Waiting [2022-08-15T05:03:55.629Z] eaf3925da568: Waiting [2022-08-15T05:03:55.629Z] e2be974225ed: Download complete [2022-08-15T05:03:55.629Z] 988bab9f4d93: Verifying Checksum [2022-08-15T05:03:55.629Z] 988bab9f4d93: Download complete [2022-08-15T05:03:55.629Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T05:03:55.629Z] 1469e6f7b9e6: Download complete [2022-08-15T05:03:55.890Z] eaf3925da568: Verifying Checksum [2022-08-15T05:03:55.890Z] eaf3925da568: Download complete [2022-08-15T05:03:55.890Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T05:03:55.890Z] 339a4e72a1f5: Download complete [2022-08-15T05:03:55.890Z] bde34c3a00c8: Verifying Checksum [2022-08-15T05:03:55.890Z] bde34c3a00c8: Download complete [2022-08-15T05:03:55.890Z] b352a97aabf1: Verifying Checksum [2022-08-15T05:03:55.890Z] b352a97aabf1: Download complete [2022-08-15T05:03:55.890Z] 4872d77fe225: Verifying Checksum [2022-08-15T05:03:55.890Z] 4872d77fe225: Download complete [2022-08-15T05:03:55.890Z] 5851b861e8e6: Download complete [2022-08-15T05:03:55.890Z] b85a868b505f: Download complete [2022-08-15T05:03:56.149Z] bab4dde63d76: Verifying Checksum [2022-08-15T05:03:56.149Z] bab4dde63d76: Download complete [2022-08-15T05:03:57.533Z] b85a868b505f: Pull complete [2022-08-15T05:03:57.533Z] e2be974225ed: Pull complete [2022-08-15T05:03:58.106Z] 339a4e72a1f5: Pull complete [2022-08-15T05:03:58.106Z] 988bab9f4d93: Pull complete [2022-08-15T05:03:58.368Z] 1469e6f7b9e6: Pull complete [2022-08-15T05:03:58.630Z] eaf3925da568: Pull complete [2022-08-15T05:04:00.548Z] bab4dde63d76: Pull complete [2022-08-15T05:04:00.548Z] bde34c3a00c8: Pull complete [2022-08-15T05:04:00.548Z] b352a97aabf1: Pull complete [2022-08-15T05:04:00.548Z] 4872d77fe225: Pull complete [2022-08-15T05:04:00.809Z] 5851b861e8e6: Pull complete [2022-08-15T05:04:00.810Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T05:04:00.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:04:00.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:04:01.048Z] prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container [2022-08-15T05:04:01.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-08-15T05:04:02.290Z] $ docker top ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db -eo pid,comm [2022-08-15T05:04:02.365Z] 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-08-15T05:04:02.365Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:04:02.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:04:02.490Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:04:02.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:04:02.641Z] $ docker exec ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent [2022-08-15T05:04:02.786Z] SSH_AUTH_SOCK=/tmp/ssh-CCHA0U30jELo/agent.33 [2022-08-15T05:04:02.786Z] SSH_AGENT_PID=40 [2022-08-15T05:04:02.793Z] Running ssh-add (command line suppressed) [2022-08-15T05:04:02.918Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_7370701035112941572.key (/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_7370701035112941572.key) [2022-08-15T05:04:02.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:04:03.271Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T05:04:03.295Z] $ docker exec --env ******** --env ******** ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent -k [2022-08-15T05:04:03.411Z] unset SSH_AUTH_SOCK; [2022-08-15T05:04:03.412Z] unset SSH_AGENT_PID; [2022-08-15T05:04:03.412Z] echo Agent pid 40 killed; [2022-08-15T05:04:03.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T05:04:03.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:04:03.504Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:04:03.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:04:03.642Z] $ docker exec ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent [2022-08-15T05:04:03.784Z] SSH_AUTH_SOCK=/tmp/ssh-vu0ClwREm5Pz/agent.74 [2022-08-15T05:04:03.784Z] SSH_AGENT_PID=81 [2022-08-15T05:04:03.790Z] Running ssh-add (command line suppressed) [2022-08-15T05:04:03.914Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_3036897443516091597.key (/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_3036897443516091597.key) [2022-08-15T05:04:03.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:04:04.270Z] + git semver init [2022-08-15T05:04:04.534Z] 2022-08-15 05:04:04,494 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T05:04:04.534Z] 2022-08-15 05:04:04,495 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver [2022-08-15T05:04:04.534Z] 2022-08-15 05:04:04,495 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-368/.semver [2022-08-15T05:04:04.534Z] 2022-08-15 05:04:04,495 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-368/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368, universal_newlines=False, shell=None, istream=None) [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,211 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-368/.git/info/exclude [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 with force:False [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,212 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,216 [execute] INFO git cat-file --batch-check [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,223 [execute] INFO git cat-file --batch [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:04:05.476Z] 2022-08-15 05:04:05,228 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 [2022-08-15T05:04:05.476Z] 0.0.0 [Pipeline] } [2022-08-15T05:04:05.504Z] $ docker exec --env ******** --env ******** ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent -k [2022-08-15T05:04:05.631Z] unset SSH_AUTH_SOCK; [2022-08-15T05:04:05.631Z] unset SSH_AGENT_PID; [2022-08-15T05:04:05.631Z] echo Agent pid 81 killed; [2022-08-15T05:04:05.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:04:06.119Z] + git semver [Pipeline] } [2022-08-15T05:04:06.406Z] $ docker stop --time=1 ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db [2022-08-15T05:04:07.727Z] $ docker rm -f ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:04:08.160Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T05:04:08.461Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T05:04:08.477Z] [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-08-15T05:04:09.013Z] provisioning config files... [2022-08-15T05:04:09.031Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config4612398861818312468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:04:09.376Z] ---> docker-login.sh [2022-08-15T05:04:09.376Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:04:09.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:09.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:09.376Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:09.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:09.376Z] [2022-08-15T05:04:09.376Z] Login Succeeded [2022-08-15T05:04:09.376Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:04:09.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:09.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:09.640Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:09.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:09.640Z] [2022-08-15T05:04:09.640Z] Login Succeeded [2022-08-15T05:04:09.640Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:04:09.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:09.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:09.640Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:09.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:09.640Z] [2022-08-15T05:04:09.640Z] Login Succeeded [2022-08-15T05:04:09.640Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:04:09.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:09.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:09.901Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:09.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:09.901Z] [2022-08-15T05:04:09.901Z] Login Succeeded [2022-08-15T05:04:09.901Z] docker.io [2022-08-15T05:04:09.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:10.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:10.162Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:10.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:10.162Z] [2022-08-15T05:04:10.162Z] Login Succeeded [2022-08-15T05:04:10.162Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:04:10.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:04:10.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:04:10.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:04:10.455Z] ========================================================= [2022-08-15T05:04:10.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T05:04:10.455Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:04:10.929Z] + 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-08-15T05:04:10.929Z] Sending build context to Docker daemon 6.118MB [2022-08-15T05:04:10.929Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:04:10.929Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-15T05:04:10.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T05:04:10.929Z] 2408cc74d12b: Pulling fs layer [2022-08-15T05:04:10.929Z] ea60b727a1ce: Pulling fs layer [2022-08-15T05:04:10.929Z] 30c4a7721957: Pulling fs layer [2022-08-15T05:04:10.929Z] 370296b7ddb6: Pulling fs layer [2022-08-15T05:04:10.929Z] 7c6cee850709: Pulling fs layer [2022-08-15T05:04:10.929Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T05:04:10.929Z] d94ebbe4e438: Pulling fs layer [2022-08-15T05:04:10.929Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T05:04:10.929Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T05:04:10.929Z] 7c6cee850709: Waiting [2022-08-15T05:04:10.929Z] 39a5fcdaea64: Waiting [2022-08-15T05:04:10.929Z] bcfd1f05c69d: Waiting [2022-08-15T05:04:10.929Z] d94ebbe4e438: Waiting [2022-08-15T05:04:10.929Z] 59ccb84bbe0f: Waiting [2022-08-15T05:04:10.929Z] 370296b7ddb6: Waiting [2022-08-15T05:04:11.190Z] 30c4a7721957: Download complete [2022-08-15T05:04:11.190Z] ea60b727a1ce: Verifying Checksum [2022-08-15T05:04:11.190Z] ea60b727a1ce: Download complete [2022-08-15T05:04:11.190Z] 7c6cee850709: Verifying Checksum [2022-08-15T05:04:11.190Z] 7c6cee850709: Download complete [2022-08-15T05:04:11.190Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T05:04:11.190Z] 39a5fcdaea64: Download complete [2022-08-15T05:04:11.190Z] 2408cc74d12b: Verifying Checksum [2022-08-15T05:04:11.190Z] d94ebbe4e438: Download complete [2022-08-15T05:04:11.190Z] 2408cc74d12b: Pull complete [2022-08-15T05:04:11.455Z] ea60b727a1ce: Pull complete [2022-08-15T05:04:11.455Z] 30c4a7721957: Pull complete [2022-08-15T05:04:11.718Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T05:04:11.718Z] 59ccb84bbe0f: Download complete [2022-08-15T05:04:11.979Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T05:04:11.979Z] bcfd1f05c69d: Download complete [2022-08-15T05:04:11.979Z] 370296b7ddb6: Verifying Checksum [2022-08-15T05:04:11.979Z] 370296b7ddb6: Download complete [2022-08-15T05:04:16.177Z] 370296b7ddb6: Pull complete [2022-08-15T05:04:16.177Z] 7c6cee850709: Pull complete [2022-08-15T05:04:16.177Z] 39a5fcdaea64: Pull complete [2022-08-15T05:04:16.437Z] d94ebbe4e438: Pull complete [2022-08-15T05:04:18.980Z] bcfd1f05c69d: Pull complete [2022-08-15T05:04:19.242Z] 59ccb84bbe0f: Pull complete [2022-08-15T05:04:19.242Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T05:04:19.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T05:04:19.242Z] ---> a4fb48ad2a94 [2022-08-15T05:04:19.242Z] Step 3/10 : ARG MAKE='make build' [2022-08-15T05:04:20.632Z] ---> Running in b9f03da34e62 [2022-08-15T05:04:20.893Z] Removing intermediate container b9f03da34e62 [2022-08-15T05:04:20.893Z] ---> 29a47ffcdd4d [2022-08-15T05:04:20.893Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:04:20.893Z] ---> Running in fec22fd4d138 [2022-08-15T05:04:21.464Z] Removing intermediate container fec22fd4d138 [2022-08-15T05:04:21.464Z] ---> 488fd53d89b3 [2022-08-15T05:04:21.464Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:04:21.464Z] ---> Running in 5d4515128394 [2022-08-15T05:04:21.727Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:04:22.670Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:04:22.930Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:04:23.191Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-15T05:04:23.191Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:04:23.191Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:04:23.452Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-15T05:04:23.452Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-15T05:04:23.452Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-15T05:04:23.714Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-15T05:04:23.714Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:04:23.714Z] OK: 217 MiB in 59 packages [2022-08-15T05:04:23.862Z] Still waiting to schedule task [2022-08-15T05:04:23.863Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T05:04:24.285Z] Removing intermediate container 5d4515128394 [2022-08-15T05:04:24.285Z] ---> b1e0a4e0652d [2022-08-15T05:04:24.285Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-15T05:04:24.285Z] ---> Running in 892c2ca156b2 [2022-08-15T05:04:24.285Z] Removing intermediate container 892c2ca156b2 [2022-08-15T05:04:24.285Z] ---> b58c3a840983 [2022-08-15T05:04:24.285Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-15T05:04:24.285Z] ---> ca56d08e3b61 [2022-08-15T05:04:24.285Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:04:24.285Z] ---> Running in 317032e18f12 [2022-08-15T05:04:46.267Z] Removing intermediate container 317032e18f12 [2022-08-15T05:04:46.267Z] ---> 5bc549837d14 [2022-08-15T05:04:46.267Z] Step 9/10 : COPY . . [2022-08-15T05:04:46.267Z] ---> b70701440747 [2022-08-15T05:04:46.267Z] Step 10/10 : RUN ${MAKE} [2022-08-15T05:04:46.267Z] ---> Running in 24f1af89e2db [2022-08-15T05:04:46.267Z] noop [2022-08-15T05:04:46.267Z] Removing intermediate container 24f1af89e2db [2022-08-15T05:04:46.267Z] ---> d0e4e1ac58c0 [2022-08-15T05:04:46.267Z] Successfully built d0e4e1ac58c0 [2022-08-15T05:04:46.267Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:04:46.714Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:04:46.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:04:46.880Z] prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container [2022-08-15T05:04:46.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-08-15T05:04:47.312Z] $ docker top f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:04:47.713Z] + go version [2022-08-15T05:04:47.713Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T05:04:47.747Z] $ docker stop --time=1 f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 [2022-08-15T05:04:49.007Z] $ docker rm -f f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:04:49.795Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:04:49.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:04:49.984Z] prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container [2022-08-15T05:04:50.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-08-15T05:04:50.385Z] $ docker top 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:04:50.796Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-368 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:04:51.155Z] + make test [2022-08-15T05:04:51.155Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:04:51.414Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-15T05:05:01.407Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-15T05:05:01.407Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2022-08-15T05:05:07.972Z] 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-08-15T05:05:07.972Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:05:11.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:05:11.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:05:11.270Z] ./bin/test-attribution-txt.sh [2022-08-15T05:05:11.270Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:05:11.270Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:05:11.270Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:05:11.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:05:11.342Z] $ docker stop --time=1 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f [2022-08-15T05:05:13.452Z] $ docker rm -f 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:05:13.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:05:14.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T05:05:14.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:05:15.018Z] + ls -al . [2022-08-15T05:05:15.018Z] total 188 [2022-08-15T05:05:15.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:04 . [2022-08-15T05:05:15.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:03 .. [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:03 .dockerignore [2022-08-15T05:05:15.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:05 .git [2022-08-15T05:05:15.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 .github [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:03 .gitignore [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:03 .golangci.yml [2022-08-15T05:05:15.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:04 .semver [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:03 Attribution.txt [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:03 CHANGELOG.md [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:03 Dockerfile [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:03 GOVERNANCE.md [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:03 Jenkinsfile [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:03 LICENSE [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:03 Makefile [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:03 OWNERS.md [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:03 README.md [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:04 VERSION [2022-08-15T05:05:15.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:03 bin [2022-08-15T05:05:15.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 cmd [2022-08-15T05:05:15.018Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:05 coverage.out [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:03 go.mod [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:03 go.sum [2022-08-15T05:05:15.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 internal [2022-08-15T05:05:15.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:03 simulator [2022-08-15T05:05:15.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:03 snap [2022-08-15T05:05:15.018Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:05:15.418Z] + 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=f34201dff3c9d418dc6545b7c257665b66b00a63 --label arch=amd64 --label version=0.0.0 . [2022-08-15T05:05:15.418Z] Sending build context to Docker daemon 6.142MB [2022-08-15T05:05:15.418Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:05:15.418Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-15T05:05:15.418Z] ---> d0e4e1ac58c0 [2022-08-15T05:05:15.418Z] Step 3/23 : ARG MAKE='make build' [2022-08-15T05:05:15.418Z] ---> Running in e046a3a99525 [2022-08-15T05:05:15.679Z] Removing intermediate container e046a3a99525 [2022-08-15T05:05:15.679Z] ---> 9fb7d0c87641 [2022-08-15T05:05:15.679Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:05:15.679Z] ---> Running in 85b8e629c907 [2022-08-15T05:05:16.252Z] Removing intermediate container 85b8e629c907 [2022-08-15T05:05:16.252Z] ---> 20dffc9b6236 [2022-08-15T05:05:16.252Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:05:16.252Z] ---> Running in 6b7ae1bfbf69 [2022-08-15T05:05:16.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:17.451Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:17.712Z] OK: 217 MiB in 59 packages [2022-08-15T05:05:18.284Z] Removing intermediate container 6b7ae1bfbf69 [2022-08-15T05:05:18.284Z] ---> b6d8023895ad [2022-08-15T05:05:18.284Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-15T05:05:18.284Z] ---> Running in 36c9c5b1d236 [2022-08-15T05:05:18.554Z] Removing intermediate container 36c9c5b1d236 [2022-08-15T05:05:18.554Z] ---> d6bd0cb53394 [2022-08-15T05:05:18.554Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-15T05:05:18.554Z] ---> 7b8684d1fb77 [2022-08-15T05:05:18.554Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:05:18.815Z] ---> Running in 163dab0f4803 [2022-08-15T05:05:19.386Z] Removing intermediate container 163dab0f4803 [2022-08-15T05:05:19.386Z] ---> 6f901925ee8f [2022-08-15T05:05:19.386Z] Step 9/23 : COPY . . [2022-08-15T05:05:19.646Z] ---> 1672512d2501 [2022-08-15T05:05:19.646Z] Step 10/23 : RUN ${MAKE} [2022-08-15T05:05:19.646Z] ---> Running in 6c323116094e [2022-08-15T05:05:19.904Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-15T05:05:41.868Z] Removing intermediate container 6c323116094e [2022-08-15T05:05:41.868Z] ---> 4a0d00183969 [2022-08-15T05:05:41.868Z] Step 11/23 : FROM alpine:3.14 [2022-08-15T05:05:41.868Z] 3.14: Pulling from library/alpine [2022-08-15T05:05:41.868Z] c7ed990a2339: Pulling fs layer [2022-08-15T05:05:41.868Z] c7ed990a2339: Download complete [2022-08-15T05:05:41.868Z] c7ed990a2339: Pull complete [2022-08-15T05:05:41.868Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-08-15T05:05:41.868Z] Status: Downloaded newer image for alpine:3.14 [2022-08-15T05:05:41.868Z] ---> dd53f409bf0b [2022-08-15T05:05:41.868Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-15T05:05:41.868Z] ---> Running in 0660af43e0ac [2022-08-15T05:05:41.868Z] Removing intermediate container 0660af43e0ac [2022-08-15T05:05:41.868Z] ---> b9be6802d16c [2022-08-15T05:05:41.868Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:05:41.868Z] ---> Running in df6d1be9fdae [2022-08-15T05:05:42.130Z] Removing intermediate container df6d1be9fdae [2022-08-15T05:05:42.130Z] ---> b76935c5af8e [2022-08-15T05:05:42.130Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:05:42.130Z] ---> Running in 337f7564835e [2022-08-15T05:05:42.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:43.331Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:43.592Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:05:43.592Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-15T05:05:43.853Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:05:43.854Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-15T05:05:44.117Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:05:44.117Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:05:44.117Z] Executing busybox-1.33.1-r8.trigger [2022-08-15T05:05:44.117Z] OK: 8 MiB in 20 packages [2022-08-15T05:05:44.686Z] Removing intermediate container 337f7564835e [2022-08-15T05:05:44.686Z] ---> 4be4c1b42187 [2022-08-15T05:05:44.686Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-15T05:05:45.257Z] ---> f7cd534370c5 [2022-08-15T05:05:45.257Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-15T05:05:45.257Z] ---> 7ccbfc595454 [2022-08-15T05:05:45.257Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-15T05:05:45.530Z] ---> 7c6ff84eceba [2022-08-15T05:05:45.530Z] Step 18/23 : EXPOSE 59901 [2022-08-15T05:05:45.530Z] ---> Running in 2987f1824e53 [2022-08-15T05:05:45.530Z] Removing intermediate container 2987f1824e53 [2022-08-15T05:05:45.530Z] ---> 18fe3e86cec0 [2022-08-15T05:05:45.530Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-15T05:05:45.530Z] ---> Running in 48af060fa73e [2022-08-15T05:05:45.530Z] Removing intermediate container 48af060fa73e [2022-08-15T05:05:45.530Z] ---> 8886a0855549 [2022-08-15T05:05:45.530Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T05:05:45.793Z] ---> Running in 032eeb5a08ae [2022-08-15T05:05:45.793Z] Removing intermediate container 032eeb5a08ae [2022-08-15T05:05:45.793Z] ---> cbf540f497f8 [2022-08-15T05:05:45.793Z] Step 21/23 : LABEL arch=amd64 [2022-08-15T05:05:45.793Z] ---> Running in c1b2b319f67c [2022-08-15T05:05:45.793Z] Removing intermediate container c1b2b319f67c [2022-08-15T05:05:45.793Z] ---> e383ff88806b [2022-08-15T05:05:45.793Z] Step 22/23 : LABEL git_sha=f34201dff3c9d418dc6545b7c257665b66b00a63 [2022-08-15T05:05:45.793Z] ---> Running in 5c2d5f021b76 [2022-08-15T05:05:46.054Z] Removing intermediate container 5c2d5f021b76 [2022-08-15T05:05:46.054Z] ---> 477cad4109bb [2022-08-15T05:05:46.054Z] Step 23/23 : LABEL version=0.0.0 [2022-08-15T05:05:46.054Z] ---> Running in 38408e3f753c [2022-08-15T05:05:46.054Z] Removing intermediate container 38408e3f753c [2022-08-15T05:05:46.054Z] ---> 5c8a3c3b9026 [2022-08-15T05:05:46.054Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:05:46.054Z] Successfully built 5c8a3c3b9026 [2022-08-15T05:05:46.054Z] 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-08-15T05:05:46.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:05:46.907Z] [2022-08-15T05:05:46.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:05:47.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:05:47.291Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T05:05:47.291Z] 5eb5b503b376: Pulling fs layer [2022-08-15T05:05:47.291Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T05:05:47.291Z] ec43610c2a17: Pulling fs layer [2022-08-15T05:05:47.291Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T05:05:47.291Z] 33b1e0a273af: Pulling fs layer [2022-08-15T05:05:47.291Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T05:05:47.291Z] 2f39f015ded8: Pulling fs layer [2022-08-15T05:05:47.291Z] 33b1e0a273af: Waiting [2022-08-15T05:05:47.291Z] 5d3b04190fa2: Waiting [2022-08-15T05:05:47.291Z] 3a2ae6a8a46f: Waiting [2022-08-15T05:05:47.291Z] 5c69ac0246d0: Verifying Checksum [2022-08-15T05:05:47.291Z] 5c69ac0246d0: Download complete [2022-08-15T05:05:47.291Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T05:05:47.291Z] 3a2ae6a8a46f: Download complete [2022-08-15T05:05:47.291Z] 33b1e0a273af: Verifying Checksum [2022-08-15T05:05:47.291Z] 33b1e0a273af: Download complete [2022-08-15T05:05:47.554Z] ec43610c2a17: Verifying Checksum [2022-08-15T05:05:47.554Z] ec43610c2a17: Download complete [2022-08-15T05:05:47.554Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T05:05:47.554Z] 5d3b04190fa2: Download complete [2022-08-15T05:05:47.554Z] 5eb5b503b376: Verifying Checksum [2022-08-15T05:05:47.554Z] 5eb5b503b376: Download complete [2022-08-15T05:05:48.124Z] 2f39f015ded8: Download complete [2022-08-15T05:05:48.694Z] 5eb5b503b376: Pull complete [2022-08-15T05:05:48.955Z] 5c69ac0246d0: Pull complete [2022-08-15T05:05:49.524Z] ec43610c2a17: Pull complete [2022-08-15T05:05:49.524Z] 3a2ae6a8a46f: Pull complete [2022-08-15T05:05:49.783Z] 33b1e0a273af: Pull complete [2022-08-15T05:05:49.783Z] 5d3b04190fa2: Pull complete [2022-08-15T05:05:55.058Z] 2f39f015ded8: Pull complete [2022-08-15T05:05:55.058Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T05:05:55.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:05:55.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:05:55.287Z] prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container [2022-08-15T05:05:55.326Z] $ 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-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-08-15T05:05:57.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22775 in /w/workspace/xfoundry_device-modbus-go_PR-368 [2022-08-15T05:05:57.159Z] $ docker top c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-08-15T05:05:57.465Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-08-15T05:05:57.549Z] Selected Git installation does not exist. Using Default [2022-08-15T05:05:57.549Z] The recommended git tool is: NONE [2022-08-15T05:05:57.732Z] ---> job-cost.sh [2022-08-15T05:05:57.732Z] lf-activate-venv: SKIPPING [2022-08-15T05:05:57.732Z] INFO: No Stack... [2022-08-15T05:05:58.007Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:05:58.575Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:05:58.888Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-368/archives/cost.csv [2022-08-15T05:05:58.888Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:05:58.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [2022-08-15T05:05:58.937Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] did not exist. Created. [2022-08-15T05:05:58.937Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:05:59.329Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T05:05:59.378Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:05:59.413Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:05:59.494Z] $ docker stop --time=1 c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda [2022-08-15T05:06:00.655Z] $ docker rm -f c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T05:06:04.434Z] using credential edgex-jenkins-ssh [2022-08-15T05:06:04.451Z] Cloning the remote Git repository [2022-08-15T05:06:04.503Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-08-15T05:06:04.579Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-08-15T05:06:04.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-15T05:06:04.649Z] > git --version # timeout=10 [2022-08-15T05:06:04.671Z] > git --version # 'git version 2.25.1' [2022-08-15T05:06:04.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:06:04.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:06:06.380Z] Merging remotes/origin/main commit bb07e7e09273fde4df233cc08be8d273e9c828cd into PR head commit f34201dff3c9d418dc6545b7c257665b66b00a63 [2022-08-15T05:06:05.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-15T05:06:05.831Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:06:05.864Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-15T05:06:05.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-15T05:06:05.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:06:05.916Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T05:06:06.639Z] Merge succeeded, producing f34201dff3c9d418dc6545b7c257665b66b00a63 [2022-08-15T05:06:06.640Z] Checking out Revision f34201dff3c9d418dc6545b7c257665b66b00a63 (PR-368) [2022-08-15T05:06:06.406Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:06:06.428Z] > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 [2022-08-15T05:06:06.533Z] > git remote # timeout=10 [2022-08-15T05:06:06.558Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T05:06:06.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:06:06.592Z] > git merge bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 [2022-08-15T05:06:06.620Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T05:06:06.649Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:06:06.664Z] > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 [2022-08-15T05:06:10.999Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T05:06:11.061Z] > git --version # timeout=10 [2022-08-15T05:06:11.073Z] > git --version # 'git version 2.25.1' [2022-08-15T05:06:11.087Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:06:12.127Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T05:06:12.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:06:12.127Z] Dload Upload Total Spent Left Speed [2022-08-15T05:06:12.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82213 0 --:--:-- --:--:-- --:--:-- 82213 [Pipeline] sh [2022-08-15T05:06:12.831Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T05:06:13.186Z] + + sudo tee /etc/docker/daemon.new [2022-08-15T05:06:13.187Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T05:06:13.187Z] { [2022-08-15T05:06:13.187Z] "registry-mirrors": [ [2022-08-15T05:06:13.187Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T05:06:13.187Z] ], [2022-08-15T05:06:13.187Z] "bip": "10.250.0.254/24", [2022-08-15T05:06:13.187Z] "hosts": [ [2022-08-15T05:06:13.187Z] "tcp://0.0.0.0:5555", [2022-08-15T05:06:13.187Z] "unix:///var/run/docker.sock" [2022-08-15T05:06:13.187Z] ], [2022-08-15T05:06:13.187Z] "mtu": 1458, [2022-08-15T05:06:13.187Z] "selinux-enabled": true, [2022-08-15T05:06:13.187Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T05:06:13.187Z] } [Pipeline] sh [2022-08-15T05:06:13.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T05:06:14.115Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:06:32.522Z] provisioning config files... [2022-08-15T05:06:32.547Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6901249464437006616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:06:32.964Z] ---> docker-login.sh [2022-08-15T05:06:32.964Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:06:33.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:06:34.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:06:34.182Z] Configure a credential helper to remove this warning. See [2022-08-15T05:06:34.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:06:34.182Z] [2022-08-15T05:06:34.182Z] Login Succeeded [2022-08-15T05:06:34.182Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:06:34.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:06:34.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:06:34.464Z] Configure a credential helper to remove this warning. See [2022-08-15T05:06:34.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:06:34.464Z] [2022-08-15T05:06:34.464Z] Login Succeeded [2022-08-15T05:06:34.464Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:06:35.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:06:35.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:06:35.070Z] Configure a credential helper to remove this warning. See [2022-08-15T05:06:35.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:06:35.070Z] [2022-08-15T05:06:35.070Z] Login Succeeded [2022-08-15T05:06:35.070Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:06:35.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:06:35.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:06:35.624Z] Configure a credential helper to remove this warning. See [2022-08-15T05:06:35.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:06:35.624Z] [2022-08-15T05:06:35.624Z] Login Succeeded [2022-08-15T05:06:35.624Z] docker.io [2022-08-15T05:06:35.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:06:36.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:06:36.504Z] Configure a credential helper to remove this warning. See [2022-08-15T05:06:36.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:06:36.504Z] [2022-08-15T05:06:36.504Z] Login Succeeded [2022-08-15T05:06:36.504Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:06:36.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:06:36.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:06:36.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:06:37.011Z] ========================================================= [2022-08-15T05:06:37.011Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T05:06:37.011Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:06:37.528Z] + 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-08-15T05:06:37.802Z] Sending build context to Docker daemon 3.179MB [2022-08-15T05:06:37.802Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:06:37.802Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-15T05:06:38.080Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T05:06:38.080Z] b3c136eddcbf: Pulling fs layer [2022-08-15T05:06:38.080Z] c0a3192eca97: Pulling fs layer [2022-08-15T05:06:38.080Z] a050256f5b6f: Pulling fs layer [2022-08-15T05:06:38.080Z] 656be50a0ddc: Pulling fs layer [2022-08-15T05:06:38.080Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T05:06:38.080Z] 46d945488cbd: Pulling fs layer [2022-08-15T05:06:38.080Z] 8a5474983e97: Pulling fs layer [2022-08-15T05:06:38.080Z] 329c88fbcd65: Pulling fs layer [2022-08-15T05:06:38.080Z] 656be50a0ddc: Waiting [2022-08-15T05:06:38.080Z] 2bbca73fdf42: Waiting [2022-08-15T05:06:38.080Z] 46d945488cbd: Waiting [2022-08-15T05:06:38.080Z] 8a5474983e97: Waiting [2022-08-15T05:06:38.080Z] 329c88fbcd65: Waiting [2022-08-15T05:06:38.080Z] a050256f5b6f: Verifying Checksum [2022-08-15T05:06:38.080Z] a050256f5b6f: Download complete [2022-08-15T05:06:38.080Z] c0a3192eca97: Download complete [2022-08-15T05:06:38.080Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T05:06:38.080Z] 2bbca73fdf42: Download complete [2022-08-15T05:06:38.080Z] 46d945488cbd: Verifying Checksum [2022-08-15T05:06:38.080Z] 46d945488cbd: Download complete [2022-08-15T05:06:38.080Z] b3c136eddcbf: Verifying Checksum [2022-08-15T05:06:38.080Z] b3c136eddcbf: Download complete [2022-08-15T05:06:39.081Z] b3c136eddcbf: Pull complete [2022-08-15T05:06:39.081Z] 329c88fbcd65: Verifying Checksum [2022-08-15T05:06:39.081Z] 329c88fbcd65: Download complete [2022-08-15T05:06:39.686Z] c0a3192eca97: Pull complete [2022-08-15T05:06:39.963Z] a050256f5b6f: Pull complete [2022-08-15T05:06:40.565Z] 8a5474983e97: Verifying Checksum [2022-08-15T05:06:40.565Z] 8a5474983e97: Download complete [2022-08-15T05:06:41.168Z] 656be50a0ddc: Verifying Checksum [2022-08-15T05:06:41.168Z] 656be50a0ddc: Download complete [2022-08-15T05:06:56.294Z] 656be50a0ddc: Pull complete [2022-08-15T05:06:56.294Z] 2bbca73fdf42: Pull complete [2022-08-15T05:06:56.294Z] 46d945488cbd: Pull complete [2022-08-15T05:07:01.722Z] 8a5474983e97: Pull complete [2022-08-15T05:07:03.161Z] 329c88fbcd65: Pull complete [2022-08-15T05:07:03.161Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T05:07:03.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T05:07:03.161Z] ---> ff4287adb874 [2022-08-15T05:07:03.161Z] Step 3/10 : ARG MAKE='make build' [2022-08-15T05:07:04.144Z] ---> Running in e4ecf6ce6bea [2022-08-15T05:07:04.424Z] Removing intermediate container e4ecf6ce6bea [2022-08-15T05:07:04.424Z] ---> 80c93ec36c76 [2022-08-15T05:07:04.424Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:07:04.424Z] ---> Running in f605f21d0625 [2022-08-15T05:07:07.826Z] Removing intermediate container f605f21d0625 [2022-08-15T05:07:07.826Z] ---> b9800678ee42 [2022-08-15T05:07:07.826Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:07:07.826Z] ---> Running in 5cfaea19267b [2022-08-15T05:07:08.097Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:07:09.073Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:07:10.050Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:07:10.325Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-15T05:07:10.325Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:07:10.597Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:07:10.597Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-15T05:07:10.597Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-15T05:07:10.870Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-15T05:07:10.870Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-15T05:07:11.142Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:07:11.142Z] OK: 228 MiB in 59 packages [2022-08-15T05:07:12.127Z] Removing intermediate container 5cfaea19267b [2022-08-15T05:07:12.127Z] ---> 23e875dbd569 [2022-08-15T05:07:12.127Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-15T05:07:12.127Z] ---> Running in 40f4798a6c66 [2022-08-15T05:07:12.397Z] Removing intermediate container 40f4798a6c66 [2022-08-15T05:07:12.397Z] ---> 7fdfafab8678 [2022-08-15T05:07:12.397Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-15T05:07:12.993Z] ---> 07fc5568b4a7 [2022-08-15T05:07:12.993Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:07:12.993Z] ---> Running in 009eaccd69d3 [2022-08-15T05:07:59.953Z] Removing intermediate container 009eaccd69d3 [2022-08-15T05:07:59.953Z] ---> f9f8f923175e [2022-08-15T05:07:59.953Z] Step 9/10 : COPY . . [2022-08-15T05:07:59.953Z] ---> 2a224ed6a904 [2022-08-15T05:07:59.953Z] Step 10/10 : RUN ${MAKE} [2022-08-15T05:07:59.953Z] ---> Running in e974c27f8faa [2022-08-15T05:07:59.953Z] noop [2022-08-15T05:08:00.549Z] Removing intermediate container e974c27f8faa [2022-08-15T05:08:00.549Z] ---> 6a849d8b2536 [2022-08-15T05:08:00.549Z] Successfully built 6a849d8b2536 [2022-08-15T05:08:00.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:08:01.056Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:08:01.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:08:01.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container [2022-08-15T05:08:01.441Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-08-15T05:08:02.627Z] $ docker top c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:08:03.568Z] + go version [2022-08-15T05:08:03.568Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T05:08:03.603Z] $ docker stop --time=1 c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e [2022-08-15T05:08:05.202Z] $ docker rm -f c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:08:06.103Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:08:06.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:08:06.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container [2022-08-15T05:08:06.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-arm64 cat [2022-08-15T05:08:07.747Z] $ docker top 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:08:08.681Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:08:09.412Z] + make test [2022-08-15T05:08:09.412Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:08:10.854Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-15T05:09:32.720Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-15T05:09:32.720Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements [2022-08-15T05:09:32.720Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T05:09:32.720Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:09:54.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:09:54.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:09:54.955Z] ./bin/test-attribution-txt.sh [2022-08-15T05:09:54.955Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:09:54.955Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:09:54.955Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:09:55.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:09:55.038Z] $ docker stop --time=1 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 [2022-08-15T05:09:56.816Z] $ docker rm -f 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:09:57.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:09:57.914Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T05:09:58.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:09:59.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:09:59.419Z] + ls -al . [2022-08-15T05:09:59.419Z] total 184 [2022-08-15T05:09:59.419Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:08 . [2022-08-15T05:09:59.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:06 .. [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:06 .dockerignore [2022-08-15T05:09:59.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:06 .git [2022-08-15T05:09:59.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 .github [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:06 .gitignore [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:06 .golangci.yml [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:06 Attribution.txt [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:06 CHANGELOG.md [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:06 Dockerfile [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:06 GOVERNANCE.md [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:06 Jenkinsfile [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:06 LICENSE [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:06 Makefile [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:06 OWNERS.md [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:06 README.md [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:04 VERSION [2022-08-15T05:09:59.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:06 bin [2022-08-15T05:09:59.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 cmd [2022-08-15T05:09:59.419Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:09 coverage.out [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:06 go.mod [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:06 go.sum [2022-08-15T05:09:59.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 internal [2022-08-15T05:09:59.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:06 simulator [2022-08-15T05:09:59.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:06 snap [2022-08-15T05:09:59.419Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:09:59.898Z] + 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=f34201dff3c9d418dc6545b7c257665b66b00a63 --label arch=arm64 --label version=0.0.0 . [2022-08-15T05:10:00.539Z] Sending build context to Docker daemon 3.203MB [2022-08-15T05:10:00.539Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:10:00.539Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-15T05:10:00.539Z] ---> 6a849d8b2536 [2022-08-15T05:10:00.539Z] Step 3/23 : ARG MAKE='make build' [2022-08-15T05:10:00.539Z] ---> Running in b438116d8ed9 [2022-08-15T05:10:00.848Z] Removing intermediate container b438116d8ed9 [2022-08-15T05:10:00.848Z] ---> 633a74f1e6e7 [2022-08-15T05:10:00.848Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:10:01.149Z] ---> Running in cb5162e878ff [2022-08-15T05:10:03.170Z] Removing intermediate container cb5162e878ff [2022-08-15T05:10:03.170Z] ---> 9deedd7f6a3f [2022-08-15T05:10:03.170Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:10:03.170Z] ---> Running in 76031211aaec [2022-08-15T05:10:04.147Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:10:05.128Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:10:06.108Z] OK: 228 MiB in 59 packages [2022-08-15T05:10:06.713Z] Removing intermediate container 76031211aaec [2022-08-15T05:10:06.714Z] ---> 04bdc7ba7846 [2022-08-15T05:10:06.714Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-15T05:10:06.714Z] ---> Running in 7fe54366524b [2022-08-15T05:10:07.065Z] Removing intermediate container 7fe54366524b [2022-08-15T05:10:07.065Z] ---> 26f8dcee9d4e [2022-08-15T05:10:07.065Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-15T05:10:07.673Z] ---> 61f873d39343 [2022-08-15T05:10:07.673Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:10:07.673Z] ---> Running in de1d37486536 [2022-08-15T05:10:09.658Z] Removing intermediate container de1d37486536 [2022-08-15T05:10:09.658Z] ---> e37fdc95f292 [2022-08-15T05:10:09.658Z] Step 9/23 : COPY . . [2022-08-15T05:10:10.643Z] ---> b53d1a0f0363 [2022-08-15T05:10:10.643Z] Step 10/23 : RUN ${MAKE} [2022-08-15T05:10:10.643Z] ---> Running in 0aa05829a137 [2022-08-15T05:10:11.627Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-15T05:12:33.554Z] Removing intermediate container 0aa05829a137 [2022-08-15T05:12:33.554Z] ---> 5732e57c5857 [2022-08-15T05:12:33.554Z] Step 11/23 : FROM alpine:3.14 [2022-08-15T05:12:33.554Z] 3.14: Pulling from library/alpine [2022-08-15T05:12:33.554Z] 90cda3b7c325: Pulling fs layer [2022-08-15T05:12:33.554Z] 90cda3b7c325: Verifying Checksum [2022-08-15T05:12:33.554Z] 90cda3b7c325: Download complete [2022-08-15T05:12:33.554Z] 90cda3b7c325: Pull complete [2022-08-15T05:12:33.554Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-08-15T05:12:33.554Z] Status: Downloaded newer image for alpine:3.14 [2022-08-15T05:12:33.555Z] ---> 376ba31ae3da [2022-08-15T05:12:33.555Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-15T05:12:33.555Z] ---> Running in 1a55765648ba [2022-08-15T05:12:33.555Z] Removing intermediate container 1a55765648ba [2022-08-15T05:12:33.555Z] ---> 73c658690f00 [2022-08-15T05:12:33.555Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:12:33.555Z] ---> Running in d68999ce00c3 [2022-08-15T05:12:33.555Z] Removing intermediate container d68999ce00c3 [2022-08-15T05:12:33.555Z] ---> 0a795a72dab1 [2022-08-15T05:12:33.555Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:12:33.555Z] ---> Running in 3688b0e2de58 [2022-08-15T05:12:33.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:12:33.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:12:33.555Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:12:33.555Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-15T05:12:33.555Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:12:33.555Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-15T05:12:33.555Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:12:33.555Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:12:33.555Z] Executing busybox-1.33.1-r8.trigger [2022-08-15T05:12:33.555Z] OK: 8 MiB in 20 packages [2022-08-15T05:12:33.555Z] Removing intermediate container 3688b0e2de58 [2022-08-15T05:12:33.555Z] ---> 575b734c857b [2022-08-15T05:12:33.555Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-15T05:12:34.549Z] ---> a213f23ab287 [2022-08-15T05:12:34.549Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-15T05:12:35.157Z] ---> b6129b77ffb5 [2022-08-15T05:12:35.157Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-15T05:12:35.435Z] ---> 4962537abfb5 [2022-08-15T05:12:35.435Z] Step 18/23 : EXPOSE 59901 [2022-08-15T05:12:35.714Z] ---> Running in 3161ba5b189a [2022-08-15T05:12:35.992Z] Removing intermediate container 3161ba5b189a [2022-08-15T05:12:35.992Z] ---> f9852231a7f7 [2022-08-15T05:12:35.992Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-15T05:12:35.992Z] ---> Running in ec8d16f97cfd [2022-08-15T05:12:36.265Z] Removing intermediate container ec8d16f97cfd [2022-08-15T05:12:36.265Z] ---> 972fcd5f2003 [2022-08-15T05:12:36.265Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T05:12:36.546Z] ---> Running in c3cb2b747e88 [2022-08-15T05:12:36.825Z] Removing intermediate container c3cb2b747e88 [2022-08-15T05:12:36.825Z] ---> e02bd704ea53 [2022-08-15T05:12:36.825Z] Step 21/23 : LABEL arch=arm64 [2022-08-15T05:12:36.825Z] ---> Running in 304ed2529ef9 [2022-08-15T05:12:37.104Z] Removing intermediate container 304ed2529ef9 [2022-08-15T05:12:37.104Z] ---> 3c1793f50cdd [2022-08-15T05:12:37.104Z] Step 22/23 : LABEL git_sha=f34201dff3c9d418dc6545b7c257665b66b00a63 [2022-08-15T05:12:37.378Z] ---> Running in 9e276ab93100 [2022-08-15T05:12:37.652Z] Removing intermediate container 9e276ab93100 [2022-08-15T05:12:37.652Z] ---> 4313014d1af8 [2022-08-15T05:12:37.652Z] Step 23/23 : LABEL version=0.0.0 [2022-08-15T05:12:37.652Z] ---> Running in 90e97252f9b3 [2022-08-15T05:12:37.926Z] Removing intermediate container 90e97252f9b3 [2022-08-15T05:12:37.926Z] ---> 6e00a0588a2e [2022-08-15T05:12:37.926Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:12:37.926Z] Successfully built 6e00a0588a2e [2022-08-15T05:12:37.926Z] 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-08-15T05:12:38.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:12:38.773Z] [2022-08-15T05:12:38.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:12:39.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:12:39.473Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T05:12:39.473Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T05:12:39.473Z] 04944245beec: Pulling fs layer [2022-08-15T05:12:39.473Z] 699f458cf7ca: Pulling fs layer [2022-08-15T05:12:39.473Z] 765212b225bb: Pulling fs layer [2022-08-15T05:12:39.473Z] f23df028b6ca: Pulling fs layer [2022-08-15T05:12:39.473Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T05:12:39.473Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T05:12:39.473Z] 765212b225bb: Waiting [2022-08-15T05:12:39.473Z] f23df028b6ca: Waiting [2022-08-15T05:12:39.473Z] d65c8cfc05b1: Waiting [2022-08-15T05:12:39.473Z] 2437ff75d9bd: Waiting [2022-08-15T05:12:39.473Z] 04944245beec: Verifying Checksum [2022-08-15T05:12:39.473Z] 04944245beec: Download complete [2022-08-15T05:12:39.473Z] 765212b225bb: Verifying Checksum [2022-08-15T05:12:39.473Z] 765212b225bb: Download complete [2022-08-15T05:12:39.473Z] f23df028b6ca: Verifying Checksum [2022-08-15T05:12:39.473Z] f23df028b6ca: Download complete [2022-08-15T05:12:39.473Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T05:12:39.473Z] d65c8cfc05b1: Download complete [2022-08-15T05:12:39.750Z] 699f458cf7ca: Verifying Checksum [2022-08-15T05:12:39.750Z] 699f458cf7ca: Download complete [2022-08-15T05:12:40.028Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T05:12:40.028Z] 8998bd30e6a1: Download complete [2022-08-15T05:12:42.662Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T05:12:42.662Z] 2437ff75d9bd: Download complete [2022-08-15T05:12:44.648Z] 8998bd30e6a1: Pull complete [2022-08-15T05:12:44.924Z] 04944245beec: Pull complete [2022-08-15T05:12:46.364Z] 699f458cf7ca: Pull complete [2022-08-15T05:12:46.639Z] 765212b225bb: Pull complete [2022-08-15T05:12:47.621Z] f23df028b6ca: Pull complete [2022-08-15T05:12:47.897Z] d65c8cfc05b1: Pull complete [2022-08-15T05:13:03.000Z] 2437ff75d9bd: Pull complete [2022-08-15T05:13:03.000Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T05:13:03.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:13:03.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:13:03.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container [2022-08-15T05:13:03.472Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-15T05:13:06.281Z] $ docker top 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:07.268Z] ---> job-cost.sh [2022-08-15T05:13:07.269Z] lf-activate-venv: SKIPPING [2022-08-15T05:13:07.269Z] INFO: No Stack... [2022-08-15T05:13:07.867Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T05:13:08.463Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:13:09.141Z] + cut -d, -f6 [2022-08-15T05:13:09.141Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-08-15T05:13:09.227Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [2022-08-15T05:13:09.232Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] did not exist. Created. [2022-08-15T05:13:09.232Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:13:09.981Z] /w/workspace/device-modbus-go/1@tmp/durable-836e95c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T05:13:10.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T05:13:10.719Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T05:13:10.783Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:13:10.797Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:13:10.878Z] $ docker stop --time=1 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 [2022-08-15T05:13:12.396Z] $ docker rm -f 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 [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-08-15T05:13:13.432Z] provisioning config files... [2022-08-15T05:13:13.440Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config5039167961110425431tmp [Pipeline] { [Pipeline] sh [2022-08-15T05:13:13.781Z] + set +x [2022-08-15T05:13:13.781Z] + curl -s https://codecov.io/bash [2022-08-15T05:13:13.781Z] + bash -s -- [2022-08-15T05:13:13.781Z] [2022-08-15T05:13:13.781Z] _____ _ [2022-08-15T05:13:13.781Z] / ____| | | [2022-08-15T05:13:13.781Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T05:13:13.781Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T05:13:13.781Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T05:13:13.781Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T05:13:13.781Z] Bash-1.0.6 [2022-08-15T05:13:13.781Z] [2022-08-15T05:13:13.781Z] [2022-08-15T05:13:13.781Z] ==> git version 2.25.1 found [2022-08-15T05:13:13.781Z] ==> 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-08-15T05:13:13.781Z] Release-Date: 2020-01-08 [2022-08-15T05:13:13.781Z] 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-08-15T05:13:13.781Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T05:13:13.781Z] ==> Jenkins CI detected. [2022-08-15T05:13:13.781Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-368 [2022-08-15T05:13:13.781Z] project root: . [2022-08-15T05:13:13.781Z] --> token set from env [2022-08-15T05:13:13.781Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T05:13:13.781Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T05:13:13.781Z] ==> Python coveragepy not found [2022-08-15T05:13:13.781Z] ==> Searching for coverage reports in: [2022-08-15T05:13:13.781Z] + . [2022-08-15T05:13:14.041Z] -> Found 1 reports [2022-08-15T05:13:14.042Z] ==> Detecting git/mercurial file structure [2022-08-15T05:13:14.042Z] ==> Reading reports [2022-08-15T05:13:14.042Z] + ./coverage.out bytes=23241 [2022-08-15T05:13:14.042Z] ==> Appending adjustments [2022-08-15T05:13:14.042Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T05:13:14.042Z] + Found adjustments [2022-08-15T05:13:14.042Z] ==> Gzipping contents [2022-08-15T05:13:14.042Z] 4.0K /tmp/codecov.ZGNOqS.gz [2022-08-15T05:13:14.042Z] ==> Uploading reports [2022-08-15T05:13:14.042Z] url: https://codecov.io [2022-08-15T05:13:14.042Z] query: branch=PR-368&commit=f34201dff3c9d418dc6545b7c257665b66b00a63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2022-08-15T05:13:14.042Z] -> Pinging Codecov [2022-08-15T05:13:14.042Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-368&commit=f34201dff3c9d418dc6545b7c257665b66b00a63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2022-08-15T05:13:14.303Z] -> Uploading to [2022-08-15T05:13:14.303Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/55DBCA73C666E3227836607328DD7E49/f34201dff3c9d418dc6545b7c257665b66b00a63/7fdc2bd4-64dc-4a17-bb7a-5e634eb427aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T051314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcdebccccbbaea08c4d0b98bf37a70a8b4ff539a0e9afa6059e571d1ddc21f53 [2022-08-15T05:13:14.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:13:14.303Z] Dload Upload Total Spent Left Speed [2022-08-15T05:13:14.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16404 --:--:-- --:--:-- --:--:-- 16404 [2022-08-15T05:13:14.564Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] } [2022-08-15T05:13:14.588Z] 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-08-15T05:13:16.280Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-368/archives ] [2022-08-15T05:13:16.280Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-368/archives [2022-08-15T05:13:16.280Z] total 16 [2022-08-15T05:13:16.280Z] drwxr-xr-x 3 root root 4096 Aug 15 05:05 . [2022-08-15T05:13:16.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:05 .. [2022-08-15T05:13:16.280Z] drwxr-xr-x 2 root root 4096 Aug 15 05:05 cost [2022-08-15T05:13:16.280Z] -rw-r--r-- 1 root root 88 Aug 15 05:05 cost.csv [2022-08-15T05:13:16.280Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-368/archives [2022-08-15T05:13:16.280Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-368/archives [2022-08-15T05:13:16.280Z] total 16 [2022-08-15T05:13:16.280Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:05 . [2022-08-15T05:13:16.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:05 .. [2022-08-15T05:13:16.281Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:05 cost [2022-08-15T05:13:16.281Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 15 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:16.606Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:17.498Z] ---> package-listing.sh [2022-08-15T05:13:17.498Z] ++ facter osfamily [2022-08-15T05:13:17.498Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T05:13:17.764Z] + OS_FAMILY=debian [2022-08-15T05:13:17.764Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-368 [2022-08-15T05:13:17.764Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T05:13:17.764Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T05:13:17.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T05:13:17.764Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T05:13:17.764Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-368 ']' [2022-08-15T05:13:17.764Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T05:13:17.764Z] + case "${OS_FAMILY}" in [2022-08-15T05:13:17.764Z] + dpkg -l [2022-08-15T05:13:17.764Z] + grep '^ii' [2022-08-15T05:13:17.764Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T05:13:17.764Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T05:13:17.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T05:13:17.764Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-368 ']' [2022-08-15T05:13:17.764Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-368/archives/ [2022-08-15T05:13:17.764Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-368/archives/ [Pipeline] echo [2022-08-15T05:13:17.799Z] 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T05:13:18.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:13:18.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:13:18.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:13:18.894Z] prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container [2022-08-15T05:13:18.932Z] $ 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-368/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-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-08-15T05:13:19.147Z] $ docker top 9c6a5eda81f03518eeb783592d24047062cdb21e37e7de41edde194f58f9c0b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:13:19.545Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T05:13:19.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T05:13:20.180Z] + ls /var/log/sa-host [2022-08-15T05:13:20.180Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:13:20.385Z] provisioning config files... [2022-08-15T05:13:20.395Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config2269237125313839716tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:13:20.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:20.761Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T05:13:20.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:21.196Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T05:13:21.229Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:21.545Z] ---> sudo-logs.sh [2022-08-15T05:13:21.545Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T05:13:21.632Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:21.946Z] ---> job-cost.sh [2022-08-15T05:13:21.946Z] lf-activate-venv: SKIPPING [2022-08-15T05:13:21.946Z] DEBUG: total: 0.2199999988079071 [2022-08-15T05:13:21.946Z] INFO: Retrieving Stack Cost... [2022-08-15T05:13:22.517Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:13:22.776Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T05:13:40.367Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:13:40.692Z] ---> logs-deploy.sh [2022-08-15T05:13:40.692Z] lf-activate-venv: SKIPPING [2022-08-15T05:13:40.692Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-368/1 [2022-08-15T05:13:40.692Z] INFO: archiving workspace using pattern(s): [2022-08-15T05:13:41.630Z] Archives upload complete. [2022-08-15T05:13:41.630Z] INFO: archiving logs to Nexus