Pull request #384 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9+9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (cc08fd061a50b26d20ce64ce098051bd9dbdc71c) 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-ssh11408941987959559858.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh16758749687482817942.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-384/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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12414227542868780422.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17677803110618400726.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh10459999000357877033.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-384/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-384/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh382961136703509323.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9181 in /w/workspace/xfoundry_device-modbus-go_PR-384 [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-384 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 Merge succeeded, producing 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 Checking out Revision 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 (PR-384) 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 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T05:04:44.185Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T05:04:44.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T05:04:44.461Z] ========================================================= [2022-10-24T05:04:44.461Z] EdgeX Global Pipelines Version Info [2022-10-24T05:04:44.461Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:45.202Z] ------------------- [2022-10-24T05:04:45.202Z] stable info: [2022-10-24T05:04:45.202Z] ------------------- [2022-10-24T05:04:45.202Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T05:04:45.202Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:45.202Z] Message: update stable to v1.0.243 [2022-10-24T05:04:45.773Z] ------------------- [2022-10-24T05:04:45.773Z] experimental info: [2022-10-24T05:04:45.773Z] ------------------- [2022-10-24T05:04:45.773Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T05:04:45.773Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:45.773Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T05:04:46.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-24T05:04:46.122Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-24T05:04:46.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T05:04:46.199Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T05:04:46.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T05:04:46.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T05:04:46.325Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T05:04:46.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T05:04:46.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T05:04:46.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T05:04:46.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T05:04:46.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-24T05:04:46.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T05:04:46.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T05:04:46.673Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:46.716Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:46.755Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:46.795Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:46.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T05:04:46.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T05:04:46.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T05:04:46.963Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T05:04:47.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T05:04:47.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T05:04:47.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T05:04:47.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T05:04:47.174Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T05:04:47.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo [2022-10-24T05:04:47.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo [2022-10-24T05:04:47.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo [2022-10-24T05:04:47.338Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo [2022-10-24T05:04:47.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b9c4bb [Pipeline] echo [2022-10-24T05:04:47.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:04:47.521Z] provisioning config files... [2022-10-24T05:04:47.539Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config4914025072484014985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:47.890Z] ---> docker-login.sh [2022-10-24T05:04:47.890Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:04:48.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:48.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:48.151Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:48.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:48.151Z] [2022-10-24T05:04:48.151Z] Login Succeeded [2022-10-24T05:04:48.151Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:04:48.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:48.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:48.411Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:48.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:48.411Z] [2022-10-24T05:04:48.411Z] Login Succeeded [2022-10-24T05:04:48.411Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:04:48.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:48.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:48.411Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:48.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:48.411Z] [2022-10-24T05:04:48.411Z] Login Succeeded [2022-10-24T05:04:48.411Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:04:48.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:48.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:48.670Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:48.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:48.670Z] [2022-10-24T05:04:48.670Z] Login Succeeded [2022-10-24T05:04:48.670Z] docker.io [2022-10-24T05:04:48.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:48.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:48.930Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:48.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:48.930Z] [2022-10-24T05:04:48.930Z] Login Succeeded [2022-10-24T05:04:48.930Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:04:48.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T05:04:49.622Z] + git rev-list -1 --merges 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9~1..2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo [2022-10-24T05:04:49.697Z] -----------> git rev-list -1 --merges 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9~1..2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [false] [Pipeline] sh [2022-10-24T05:04:50.009Z] + git log --format=format:%s -1 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo [2022-10-24T05:04:50.045Z] ========================================================= [2022-10-24T05:04:50.045Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T05:04:50.045Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:04:50.486Z] + git log --format=format:%s -1 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo [2022-10-24T05:04:50.517Z] [semverPrep] GIT_COMMIT: 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-24T05:04:50.550Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T05:04:50.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T05:04:50.925Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T05:04:50.925Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T05:04:50.925Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T05:04:50.925Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T05:04:50.925Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T05:04:50.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:51.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:51.352Z] [2022-10-24T05:04:51.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:51.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:51.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T05:04:51.731Z] b85a868b505f: Pulling fs layer [2022-10-24T05:04:51.731Z] e2be974225ed: Pulling fs layer [2022-10-24T05:04:51.731Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T05:04:51.731Z] 988bab9f4d93: Pulling fs layer [2022-10-24T05:04:51.731Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T05:04:51.731Z] eaf3925da568: Pulling fs layer [2022-10-24T05:04:51.731Z] bab4dde63d76: Pulling fs layer [2022-10-24T05:04:51.731Z] bde34c3a00c8: Pulling fs layer [2022-10-24T05:04:51.731Z] b352a97aabf1: Pulling fs layer [2022-10-24T05:04:51.731Z] 4872d77fe225: Pulling fs layer [2022-10-24T05:04:51.731Z] 5851b861e8e6: Pulling fs layer [2022-10-24T05:04:51.731Z] 988bab9f4d93: Waiting [2022-10-24T05:04:51.731Z] 1469e6f7b9e6: Waiting [2022-10-24T05:04:51.731Z] eaf3925da568: Waiting [2022-10-24T05:04:51.731Z] bab4dde63d76: Waiting [2022-10-24T05:04:51.731Z] bde34c3a00c8: Waiting [2022-10-24T05:04:51.731Z] b352a97aabf1: Waiting [2022-10-24T05:04:51.731Z] 4872d77fe225: Waiting [2022-10-24T05:04:51.731Z] 5851b861e8e6: Waiting [2022-10-24T05:04:51.731Z] e2be974225ed: Verifying Checksum [2022-10-24T05:04:51.731Z] e2be974225ed: Download complete [2022-10-24T05:04:51.731Z] 988bab9f4d93: Verifying Checksum [2022-10-24T05:04:51.731Z] 988bab9f4d93: Download complete [2022-10-24T05:04:51.993Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T05:04:51.993Z] 1469e6f7b9e6: Download complete [2022-10-24T05:04:51.993Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T05:04:51.993Z] 339a4e72a1f5: Download complete [2022-10-24T05:04:51.993Z] eaf3925da568: Verifying Checksum [2022-10-24T05:04:51.993Z] eaf3925da568: Download complete [2022-10-24T05:04:51.993Z] bde34c3a00c8: Verifying Checksum [2022-10-24T05:04:51.993Z] bde34c3a00c8: Download complete [2022-10-24T05:04:51.993Z] b352a97aabf1: Verifying Checksum [2022-10-24T05:04:51.993Z] b352a97aabf1: Download complete [2022-10-24T05:04:51.993Z] 4872d77fe225: Verifying Checksum [2022-10-24T05:04:51.993Z] 4872d77fe225: Download complete [2022-10-24T05:04:51.993Z] 5851b861e8e6: Verifying Checksum [2022-10-24T05:04:51.993Z] 5851b861e8e6: Download complete [2022-10-24T05:04:51.993Z] b85a868b505f: Verifying Checksum [2022-10-24T05:04:51.993Z] b85a868b505f: Download complete [2022-10-24T05:04:52.252Z] bab4dde63d76: Verifying Checksum [2022-10-24T05:04:52.252Z] bab4dde63d76: Download complete [2022-10-24T05:04:53.635Z] b85a868b505f: Pull complete [2022-10-24T05:04:53.635Z] e2be974225ed: Pull complete [2022-10-24T05:04:53.894Z] 339a4e72a1f5: Pull complete [2022-10-24T05:04:53.894Z] 988bab9f4d93: Pull complete [2022-10-24T05:04:54.485Z] 1469e6f7b9e6: Pull complete [2022-10-24T05:04:54.485Z] eaf3925da568: Pull complete [2022-10-24T05:04:56.398Z] bab4dde63d76: Pull complete [2022-10-24T05:04:56.398Z] bde34c3a00c8: Pull complete [2022-10-24T05:04:56.398Z] b352a97aabf1: Pull complete [2022-10-24T05:04:56.398Z] 4872d77fe225: Pull complete [2022-10-24T05:04:56.658Z] 5851b861e8e6: Pull complete [2022-10-24T05:04:56.658Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T05:04:56.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:56.658Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:04:56.937Z] prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container [2022-10-24T05:04:56.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T05:04:59.638Z] $ docker top 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 -eo pid,comm [2022-10-24T05:04:59.693Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-24T05:04:59.693Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T05:04:59.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:04:59.825Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:04:59.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:04:59.957Z] $ docker exec 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent [2022-10-24T05:05:00.071Z] SSH_AUTH_SOCK=/tmp/ssh-BQ70p4hrbazT/agent.32 [2022-10-24T05:05:00.071Z] SSH_AGENT_PID=38 [2022-10-24T05:05:00.078Z] Running ssh-add (command line suppressed) [2022-10-24T05:05:00.204Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_4627092328399605870.key (/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_4627092328399605870.key) [2022-10-24T05:05:00.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:05:00.536Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T05:05:00.564Z] $ docker exec --env ******** --env ******** 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent -k [2022-10-24T05:05:00.665Z] unset SSH_AUTH_SOCK; [2022-10-24T05:05:00.666Z] unset SSH_AGENT_PID; [2022-10-24T05:05:00.666Z] echo Agent pid 38 killed; [2022-10-24T05:05:00.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T05:05:00.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:05:00.765Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:05:00.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:05:00.882Z] $ docker exec 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent [2022-10-24T05:05:00.992Z] SSH_AUTH_SOCK=/tmp/ssh-BpsUIt7LMtGJ/agent.70 [2022-10-24T05:05:00.992Z] SSH_AGENT_PID=76 [2022-10-24T05:05:00.997Z] Running ssh-add (command line suppressed) [2022-10-24T05:05:01.102Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_11439598819397870052.key (/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_11439598819397870052.key) [2022-10-24T05:05:01.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:05:01.446Z] + git semver init [2022-10-24T05:05:01.707Z] 2022-10-24 05:05:01,631 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T05:05:01.707Z] 2022-10-24 05:05:01,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver [2022-10-24T05:05:01.707Z] 2022-10-24 05:05:01,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-384/.semver [2022-10-24T05:05:01.707Z] 2022-10-24 05:05:01,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-384/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384, universal_newlines=False, shell=None, istream=None) [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,575 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-384/.git/info/exclude [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 with force:False [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,576 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,580 [execute] INFO git cat-file --batch-check [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,586 [execute] INFO git cat-file --batch [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:05:02.644Z] 2022-10-24 05:05:02,591 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 [2022-10-24T05:05:02.644Z] 0.0.0 [Pipeline] } [2022-10-24T05:05:02.674Z] $ docker exec --env ******** --env ******** 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent -k [2022-10-24T05:05:02.769Z] unset SSH_AUTH_SOCK; [2022-10-24T05:05:02.770Z] unset SSH_AGENT_PID; [2022-10-24T05:05:02.770Z] echo Agent pid 76 killed; [2022-10-24T05:05:02.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T05:05:03.201Z] + git semver [Pipeline] } [2022-10-24T05:05:03.486Z] $ docker stop --time=1 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 [2022-10-24T05:05:04.773Z] $ docker rm -f 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:05:05.177Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T05:05:05.399Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T05:05:05.415Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:05:06.017Z] provisioning config files... [2022-10-24T05:05:06.026Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config9281779257016817557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:05:06.367Z] ---> docker-login.sh [2022-10-24T05:05:06.367Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:05:06.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:06.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:06.367Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:06.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:06.367Z] [2022-10-24T05:05:06.367Z] Login Succeeded [2022-10-24T05:05:06.367Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:05:06.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:06.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:06.367Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:06.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:06.367Z] [2022-10-24T05:05:06.367Z] Login Succeeded [2022-10-24T05:05:06.367Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:05:06.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:06.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:06.626Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:06.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:06.626Z] [2022-10-24T05:05:06.626Z] Login Succeeded [2022-10-24T05:05:06.626Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:05:06.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:06.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:06.626Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:06.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:06.626Z] [2022-10-24T05:05:06.626Z] Login Succeeded [2022-10-24T05:05:06.626Z] docker.io [2022-10-24T05:05:06.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:07.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:07.146Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:07.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:07.146Z] [2022-10-24T05:05:07.146Z] Login Succeeded [2022-10-24T05:05:07.146Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:05:07.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:05:07.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:05:07.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:05:07.465Z] ========================================================= [2022-10-24T05:05:07.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T05:05:07.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:07.935Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:05:07.935Z] Sending build context to Docker daemon 6.199MB [2022-10-24T05:05:07.935Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:05:07.935Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T05:05:07.936Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T05:05:07.936Z] 213ec9aee27d: Pulling fs layer [2022-10-24T05:05:07.936Z] 4583459ba037: Pulling fs layer [2022-10-24T05:05:07.936Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T05:05:07.936Z] 53926ce57604: Pulling fs layer [2022-10-24T05:05:07.936Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T05:05:07.936Z] 30f14e443154: Pulling fs layer [2022-10-24T05:05:07.936Z] 801331c1e519: Pulling fs layer [2022-10-24T05:05:07.936Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T05:05:07.936Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T05:05:07.936Z] 53926ce57604: Waiting [2022-10-24T05:05:07.936Z] 21b2b0c7a3f4: Waiting [2022-10-24T05:05:07.936Z] 99cc6dd402b0: Waiting [2022-10-24T05:05:07.936Z] 30f14e443154: Waiting [2022-10-24T05:05:07.936Z] 801331c1e519: Waiting [2022-10-24T05:05:07.936Z] 7d9ed39f4882: Waiting [2022-10-24T05:05:07.936Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T05:05:07.936Z] 93c1e223e6f2: Download complete [2022-10-24T05:05:07.936Z] 4583459ba037: Verifying Checksum [2022-10-24T05:05:07.936Z] 4583459ba037: Download complete [2022-10-24T05:05:07.936Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T05:05:07.936Z] 21b2b0c7a3f4: Download complete [2022-10-24T05:05:08.198Z] 30f14e443154: Verifying Checksum [2022-10-24T05:05:08.198Z] 30f14e443154: Download complete [2022-10-24T05:05:08.198Z] 213ec9aee27d: Verifying Checksum [2022-10-24T05:05:08.198Z] 213ec9aee27d: Download complete [2022-10-24T05:05:08.198Z] 801331c1e519: Verifying Checksum [2022-10-24T05:05:08.198Z] 801331c1e519: Download complete [2022-10-24T05:05:08.198Z] 213ec9aee27d: Pull complete [2022-10-24T05:05:08.471Z] 4583459ba037: Pull complete [2022-10-24T05:05:08.471Z] 93c1e223e6f2: Pull complete [2022-10-24T05:05:09.054Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T05:05:09.054Z] 7d9ed39f4882: Download complete [2022-10-24T05:05:09.054Z] 53926ce57604: Verifying Checksum [2022-10-24T05:05:09.054Z] 53926ce57604: Download complete [2022-10-24T05:05:09.054Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T05:05:09.054Z] 99cc6dd402b0: Download complete [2022-10-24T05:05:13.296Z] 53926ce57604: Pull complete [2022-10-24T05:05:13.296Z] 21b2b0c7a3f4: Pull complete [2022-10-24T05:05:13.296Z] 30f14e443154: Pull complete [2022-10-24T05:05:13.296Z] 801331c1e519: Pull complete [2022-10-24T05:05:15.208Z] 99cc6dd402b0: Pull complete [2022-10-24T05:05:15.789Z] 7d9ed39f4882: Pull complete [2022-10-24T05:05:15.789Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T05:05:15.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T05:05:15.789Z] ---> 1dedd983c030 [2022-10-24T05:05:15.789Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:05:19.984Z] ---> Running in ed74767317af [2022-10-24T05:05:19.984Z] Removing intermediate container ed74767317af [2022-10-24T05:05:19.984Z] ---> 4467fc2ff3f4 [2022-10-24T05:05:19.984Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:05:19.984Z] ---> Running in e34eca164476 [2022-10-24T05:05:19.984Z] Removing intermediate container e34eca164476 [2022-10-24T05:05:19.984Z] ---> 634dba74083a [2022-10-24T05:05:19.984Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:05:19.984Z] ---> Running in f337bbd93570 [2022-10-24T05:05:20.550Z] Removing intermediate container f337bbd93570 [2022-10-24T05:05:20.550Z] ---> b5f011aee083 [2022-10-24T05:05:20.550Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:05:20.550Z] ---> Running in e05461e48436 [2022-10-24T05:05:20.836Z] Still waiting to schedule task [2022-10-24T05:05:20.836Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9183’ is offline [2022-10-24T05:05:21.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:21.680Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:21.939Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:05:22.199Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T05:05:22.199Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:05:22.457Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:05:22.457Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T05:05:22.457Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T05:05:22.715Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T05:05:22.715Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T05:05:22.715Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:05:22.715Z] OK: 217 MiB in 59 packages [2022-10-24T05:05:23.282Z] Removing intermediate container e05461e48436 [2022-10-24T05:05:23.282Z] ---> 0e951e62557d [2022-10-24T05:05:23.282Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T05:05:23.282Z] ---> Running in 557a04008a4c [2022-10-24T05:05:23.282Z] Removing intermediate container 557a04008a4c [2022-10-24T05:05:23.282Z] ---> 23c7179fd3e2 [2022-10-24T05:05:23.282Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T05:05:23.541Z] ---> b420d2a69bd7 [2022-10-24T05:05:23.541Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:05:23.541Z] ---> Running in 6259edf13982 [2022-10-24T05:05:50.301Z] Removing intermediate container 6259edf13982 [2022-10-24T05:05:50.301Z] ---> d802f1e6f9fe [2022-10-24T05:05:50.301Z] Step 10/11 : COPY . . [2022-10-24T05:05:50.301Z] ---> a7604baf3300 [2022-10-24T05:05:50.301Z] Step 11/11 : RUN ${MAKE} [2022-10-24T05:05:50.301Z] ---> Running in 6060d6e9f2d0 [2022-10-24T05:05:50.301Z] noop [2022-10-24T05:05:50.301Z] Removing intermediate container 6060d6e9f2d0 [2022-10-24T05:05:50.301Z] ---> 9daaccffd208 [2022-10-24T05:05:50.301Z] Successfully built 9daaccffd208 [2022-10-24T05:05:50.301Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:50.752Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:50.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:50.906Z] prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container [2022-10-24T05:05:50.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:51.266Z] $ docker top d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:51.649Z] + go version [2022-10-24T05:05:51.649Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T05:05:51.690Z] $ docker stop --time=1 d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 [2022-10-24T05:05:52.947Z] $ docker rm -f d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:53.654Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:53.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:53.795Z] prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container [2022-10-24T05:05:53.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:54.166Z] $ docker top 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:54.558Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-384 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:05:54.912Z] + make test [2022-10-24T05:05:54.912Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:05:55.169Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T05:06:05.131Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T05:06:05.131Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements [2022-10-24T05:06:10.391Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-24T05:06:10.391Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:06:13.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:06:13.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:06:13.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:06:13.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:06:13.736Z] $ docker stop --time=1 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 [2022-10-24T05:06:16.488Z] $ docker rm -f 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:06:17.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:06:17.142Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T05:06:17.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:06:18.078Z] + ls -al . [2022-10-24T05:06:18.078Z] total 188 [2022-10-24T05:06:18.078Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:05 . [2022-10-24T05:06:18.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:04 .dockerignore [2022-10-24T05:06:18.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:06 .git [2022-10-24T05:06:18.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:04 .gitignore [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml [2022-10-24T05:06:18.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:05 .semver [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:04 Attribution.txt [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:04 CHANGELOG.md [2022-10-24T05:06:18.078Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:04 Dockerfile [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:04 Jenkinsfile [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:04 Makefile [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:04 OWNERS.md [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:04 README.md [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION [2022-10-24T05:06:18.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin [2022-10-24T05:06:18.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd [2022-10-24T05:06:18.079Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:06 coverage.out [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:04 go.mod [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 05:04 go.sum [2022-10-24T05:06:18.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal [2022-10-24T05:06:18.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 simulator [2022-10-24T05:06:18.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap [2022-10-24T05:06:18.079Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:18.468Z] + 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=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 --label arch=amd64 --label version=0.0.0 . [2022-10-24T05:06:18.468Z] Sending build context to Docker daemon 6.223MB [2022-10-24T05:06:18.468Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:06:18.468Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T05:06:18.468Z] ---> 9daaccffd208 [2022-10-24T05:06:18.468Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:06:18.726Z] ---> Running in e472a408c28f [2022-10-24T05:06:18.726Z] Removing intermediate container e472a408c28f [2022-10-24T05:06:18.726Z] ---> 770282ca5e79 [2022-10-24T05:06:18.726Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:06:18.726Z] ---> Running in aba4396a8f2d [2022-10-24T05:06:18.985Z] Removing intermediate container aba4396a8f2d [2022-10-24T05:06:18.985Z] ---> e3f1d1e7d1f6 [2022-10-24T05:06:18.985Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:06:18.985Z] ---> Running in 8de1000a30fd [2022-10-24T05:06:19.554Z] Removing intermediate container 8de1000a30fd [2022-10-24T05:06:19.554Z] ---> 9171481f5806 [2022-10-24T05:06:19.554Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:06:19.554Z] ---> Running in 6de1ed8687f6 [2022-10-24T05:06:19.813Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:20.768Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:21.029Z] OK: 217 MiB in 59 packages [2022-10-24T05:06:21.286Z] Removing intermediate container 6de1ed8687f6 [2022-10-24T05:06:21.286Z] ---> 1d8c64609d0f [2022-10-24T05:06:21.286Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T05:06:21.286Z] ---> Running in 7a9683040db4 [2022-10-24T05:06:21.286Z] Removing intermediate container 7a9683040db4 [2022-10-24T05:06:21.286Z] ---> 8b246e8573ea [2022-10-24T05:06:21.286Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T05:06:21.544Z] ---> f746a1741eb3 [2022-10-24T05:06:21.545Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:06:21.545Z] ---> Running in a5507cde8e27 [2022-10-24T05:06:22.114Z] Removing intermediate container a5507cde8e27 [2022-10-24T05:06:22.114Z] ---> 214f6d3fb3a7 [2022-10-24T05:06:22.114Z] Step 10/24 : COPY . . [2022-10-24T05:06:22.684Z] ---> 451822c2278f [2022-10-24T05:06:22.684Z] Step 11/24 : RUN ${MAKE} [2022-10-24T05:06:22.684Z] ---> Running in 8fc24c9cf316 [2022-10-24T05:06:22.945Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-24T05:06:49.468Z] Removing intermediate container 8fc24c9cf316 [2022-10-24T05:06:49.468Z] ---> bd92be37a919 [2022-10-24T05:06:49.468Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T05:06:49.468Z] 3.14: Pulling from library/alpine [2022-10-24T05:06:49.468Z] c7ed990a2339: Pulling fs layer [2022-10-24T05:06:49.468Z] c7ed990a2339: Download complete [2022-10-24T05:06:49.468Z] c7ed990a2339: Pull complete [2022-10-24T05:06:49.468Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T05:06:49.468Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T05:06:49.468Z] ---> dd53f409bf0b [2022-10-24T05:06:49.468Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T05:06:49.468Z] ---> Running in f626347e0053 [2022-10-24T05:06:49.468Z] Removing intermediate container f626347e0053 [2022-10-24T05:06:49.468Z] ---> 3301b3ec8b33 [2022-10-24T05:06:49.468Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:06:49.468Z] ---> Running in d913019c1fe4 [2022-10-24T05:06:50.411Z] Removing intermediate container d913019c1fe4 [2022-10-24T05:06:50.411Z] ---> dcedc6e4d9d5 [2022-10-24T05:06:50.411Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:06:50.983Z] ---> Running in 7303dad5dc62 [2022-10-24T05:06:51.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:52.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:52.487Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:06:52.745Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T05:06:52.745Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:06:52.745Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T05:06:53.006Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:06:53.006Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:06:53.006Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T05:06:53.264Z] OK: 8 MiB in 20 packages [2022-10-24T05:06:54.198Z] Removing intermediate container 7303dad5dc62 [2022-10-24T05:06:54.198Z] ---> 5696e22f6d1b [2022-10-24T05:06:54.198Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T05:06:55.287Z] ---> 1b8849b0d3da [2022-10-24T05:06:55.287Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T05:06:55.287Z] ---> ac0c087e360b [2022-10-24T05:06:55.287Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T05:06:55.852Z] ---> 2d31f3452801 [2022-10-24T05:06:55.852Z] Step 19/24 : EXPOSE 59901 [2022-10-24T05:06:55.852Z] ---> Running in b195778b024a [2022-10-24T05:06:56.109Z] Removing intermediate container b195778b024a [2022-10-24T05:06:56.109Z] ---> 601816390cba [2022-10-24T05:06:56.109Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T05:06:56.109Z] ---> Running in be2de3d3eb99 [2022-10-24T05:06:56.366Z] Removing intermediate container be2de3d3eb99 [2022-10-24T05:06:56.366Z] ---> 447ccff9246c [2022-10-24T05:06:56.366Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T05:06:56.624Z] ---> Running in be0358eb43ae [2022-10-24T05:06:56.624Z] Removing intermediate container be0358eb43ae [2022-10-24T05:06:56.624Z] ---> 55c1d9ae9940 [2022-10-24T05:06:56.624Z] Step 22/24 : LABEL arch=amd64 [2022-10-24T05:06:56.624Z] ---> Running in 55fd516142fc [2022-10-24T05:06:56.883Z] Removing intermediate container 55fd516142fc [2022-10-24T05:06:56.883Z] ---> f08b56e62618 [2022-10-24T05:06:56.883Z] Step 23/24 : LABEL git_sha=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [2022-10-24T05:06:56.883Z] ---> Running in 566f16d285b8 [2022-10-24T05:06:56.883Z] Removing intermediate container 566f16d285b8 [2022-10-24T05:06:56.883Z] ---> 2ebb791848ca [2022-10-24T05:06:56.883Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T05:06:56.883Z] ---> Running in d491d37c36b2 [2022-10-24T05:06:56.883Z] Removing intermediate container d491d37c36b2 [2022-10-24T05:06:56.883Z] ---> 198414f01135 [2022-10-24T05:06:56.883Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:06:57.141Z] Successfully built 198414f01135 [2022-10-24T05:06:57.141Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:57.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:57.981Z] [2022-10-24T05:06:57.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:58.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:58.344Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T05:06:58.344Z] 5eb5b503b376: Pulling fs layer [2022-10-24T05:06:58.344Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T05:06:58.344Z] ec43610c2a17: Pulling fs layer [2022-10-24T05:06:58.344Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T05:06:58.344Z] 33b1e0a273af: Pulling fs layer [2022-10-24T05:06:58.344Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T05:06:58.344Z] 2f39f015ded8: Pulling fs layer [2022-10-24T05:06:58.344Z] 33b1e0a273af: Waiting [2022-10-24T05:06:58.344Z] 3a2ae6a8a46f: Waiting [2022-10-24T05:06:58.344Z] 5d3b04190fa2: Waiting [2022-10-24T05:06:58.344Z] 2f39f015ded8: Waiting [2022-10-24T05:06:58.344Z] 5c69ac0246d0: Download complete [2022-10-24T05:06:58.344Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T05:06:58.344Z] 3a2ae6a8a46f: Download complete [2022-10-24T05:06:58.344Z] 33b1e0a273af: Verifying Checksum [2022-10-24T05:06:58.344Z] 33b1e0a273af: Download complete [2022-10-24T05:06:58.344Z] ec43610c2a17: Verifying Checksum [2022-10-24T05:06:58.344Z] ec43610c2a17: Download complete [2022-10-24T05:06:58.344Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T05:06:58.344Z] 5d3b04190fa2: Download complete [2022-10-24T05:06:58.601Z] 5eb5b503b376: Verifying Checksum [2022-10-24T05:06:58.601Z] 5eb5b503b376: Download complete [2022-10-24T05:06:59.166Z] 2f39f015ded8: Download complete [2022-10-24T05:06:59.731Z] 5eb5b503b376: Pull complete [2022-10-24T05:06:59.989Z] 5c69ac0246d0: Pull complete [2022-10-24T05:07:00.556Z] ec43610c2a17: Pull complete [2022-10-24T05:07:00.556Z] 3a2ae6a8a46f: Pull complete [2022-10-24T05:07:00.817Z] 33b1e0a273af: Pull complete [2022-10-24T05:07:00.817Z] 5d3b04190fa2: Pull complete [2022-10-24T05:07:05.000Z] 2f39f015ded8: Pull complete [2022-10-24T05:07:05.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T05:07:05.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:07:05.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:07:05.213Z] prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container [2022-10-24T05:07:05.243Z] $ 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-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:07:08.963Z] $ docker top 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:07:09.397Z] ---> job-cost.sh [2022-10-24T05:07:09.397Z] lf-activate-venv: SKIPPING [2022-10-24T05:07:09.397Z] INFO: No Stack... [2022-10-24T05:07:09.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:07:10.224Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:07:10.531Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-384/archives/cost.csv [2022-10-24T05:07:10.531Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:07:10.572Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [2022-10-24T05:07:10.577Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] did not exist. Created. [2022-10-24T05:07:10.577Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:07:10.959Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T05:07:11.007Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:07:11.038Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:07:11.109Z] $ docker stop --time=1 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 [2022-10-24T05:07:12.278Z] $ docker rm -f 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T05:07:45.202Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9186 in /w/workspace/xfoundry_device-modbus-go_PR-384 [Pipeline] { [Pipeline] ws [2022-10-24T05:07:45.242Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T05:07:45.315Z] Selected Git installation does not exist. Using Default [2022-10-24T05:07:45.315Z] The recommended git tool is: NONE [2022-10-24T05:07:50.894Z] using credential edgex-jenkins-ssh [2022-10-24T05:07:50.917Z] Cloning the remote Git repository [2022-10-24T05:07:50.972Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:07:51.059Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-24T05:07:51.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:07:51.240Z] > git --version # timeout=10 [2022-10-24T05:07:51.264Z] > git --version # 'git version 2.25.1' [2022-10-24T05:07:51.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:51.321Z] Verifying host key using known hosts file [2022-10-24T05:07:51.569Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:51.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:07:52.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T05:07:52.913Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:07:54.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T05:07:54.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:07:54.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:54.065Z] Verifying host key using known hosts file [2022-10-24T05:07:54.074Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:54.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T05:07:54.681Z] Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [2022-10-24T05:07:54.922Z] Merge succeeded, producing 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [2022-10-24T05:07:54.922Z] Checking out Revision 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 (PR-384) [2022-10-24T05:07:55.486Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-24T05:07:55.552Z] > git --version # timeout=10 [2022-10-24T05:07:55.567Z] > git --version # 'git version 2.25.1' [2022-10-24T05:07:55.598Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:07:54.704Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:07:54.721Z] > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 [2022-10-24T05:07:54.818Z] > git remote # timeout=10 [2022-10-24T05:07:54.837Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T05:07:54.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:54.861Z] Verifying host key using known hosts file [2022-10-24T05:07:54.865Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:54.875Z] > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 [2022-10-24T05:07:54.902Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T05:07:54.931Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:07:54.947Z] > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:07:56.773Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T05:07:56.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:07:56.773Z] Dload Upload Total Spent Left Speed [2022-10-24T05:07:56.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh [2022-10-24T05:07:57.562Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T05:07:58.005Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T05:07:58.005Z] + sudo tee /etc/docker/daemon.new [2022-10-24T05:07:58.005Z] { [2022-10-24T05:07:58.005Z] "registry-mirrors": [ [2022-10-24T05:07:58.005Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T05:07:58.005Z] ], [2022-10-24T05:07:58.005Z] "bip": "10.250.0.254/24", [2022-10-24T05:07:58.005Z] "hosts": [ [2022-10-24T05:07:58.005Z] "tcp://0.0.0.0:5555", [2022-10-24T05:07:58.005Z] "unix:///var/run/docker.sock" [2022-10-24T05:07:58.005Z] ], [2022-10-24T05:07:58.005Z] "mtu": 1458, [2022-10-24T05:07:58.005Z] "selinux-enabled": true, [2022-10-24T05:07:58.005Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T05:07:58.005Z] } [Pipeline] sh [2022-10-24T05:07:58.360Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T05:07:58.712Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:08:17.057Z] provisioning config files... [2022-10-24T05:08:17.086Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config918852939396999358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:08:17.481Z] ---> docker-login.sh [2022-10-24T05:08:17.481Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:08:18.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:18.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:18.068Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:18.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:18.068Z] [2022-10-24T05:08:18.068Z] Login Succeeded [2022-10-24T05:08:18.068Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:08:18.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:18.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:18.609Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:18.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:18.609Z] [2022-10-24T05:08:18.609Z] Login Succeeded [2022-10-24T05:08:18.609Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:08:18.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:18.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:18.879Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:18.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:18.879Z] [2022-10-24T05:08:18.879Z] Login Succeeded [2022-10-24T05:08:18.879Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:08:19.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:19.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:19.423Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:19.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:19.423Z] [2022-10-24T05:08:19.423Z] Login Succeeded [2022-10-24T05:08:19.423Z] docker.io [2022-10-24T05:08:19.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:19.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:19.961Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:19.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:19.961Z] [2022-10-24T05:08:19.961Z] Login Succeeded [2022-10-24T05:08:19.961Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:08:19.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:08:20.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:08:20.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:08:20.324Z] ========================================================= [2022-10-24T05:08:20.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T05:08:20.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:08:20.826Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:08:21.099Z] Sending build context to Docker daemon 3.228MB [2022-10-24T05:08:21.099Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:08:21.099Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T05:08:21.372Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T05:08:21.372Z] 9b18e9b68314: Pulling fs layer [2022-10-24T05:08:21.372Z] d32db5db7311: Pulling fs layer [2022-10-24T05:08:21.372Z] d0c4b47475fc: Pulling fs layer [2022-10-24T05:08:21.372Z] 5831b945b038: Pulling fs layer [2022-10-24T05:08:21.372Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T05:08:21.372Z] e10730c5d714: Pulling fs layer [2022-10-24T05:08:21.372Z] 5dd5c2283517: Pulling fs layer [2022-10-24T05:08:21.372Z] d5ac0230b979: Pulling fs layer [2022-10-24T05:08:21.372Z] e10730c5d714: Waiting [2022-10-24T05:08:21.372Z] 5dd5c2283517: Waiting [2022-10-24T05:08:21.372Z] d5ac0230b979: Waiting [2022-10-24T05:08:21.372Z] 5831b945b038: Waiting [2022-10-24T05:08:21.372Z] 86bbec2aaacd: Waiting [2022-10-24T05:08:21.372Z] d0c4b47475fc: Download complete [2022-10-24T05:08:21.372Z] d32db5db7311: Verifying Checksum [2022-10-24T05:08:21.372Z] d32db5db7311: Download complete [2022-10-24T05:08:21.372Z] 86bbec2aaacd: Download complete [2022-10-24T05:08:21.372Z] e10730c5d714: Verifying Checksum [2022-10-24T05:08:21.372Z] e10730c5d714: Download complete [2022-10-24T05:08:21.372Z] 9b18e9b68314: Download complete [2022-10-24T05:08:22.351Z] 9b18e9b68314: Pull complete [2022-10-24T05:08:22.623Z] d5ac0230b979: Verifying Checksum [2022-10-24T05:08:22.623Z] d5ac0230b979: Download complete [2022-10-24T05:08:22.894Z] d32db5db7311: Pull complete [2022-10-24T05:08:23.166Z] d0c4b47475fc: Pull complete [2022-10-24T05:08:23.759Z] 5dd5c2283517: Verifying Checksum [2022-10-24T05:08:23.759Z] 5dd5c2283517: Download complete [2022-10-24T05:08:24.349Z] 5831b945b038: Verifying Checksum [2022-10-24T05:08:24.349Z] 5831b945b038: Download complete [2022-10-24T05:08:39.453Z] 5831b945b038: Pull complete [2022-10-24T05:08:39.453Z] 86bbec2aaacd: Pull complete [2022-10-24T05:08:39.453Z] e10730c5d714: Pull complete [2022-10-24T05:08:43.748Z] 5dd5c2283517: Pull complete [2022-10-24T05:08:46.368Z] d5ac0230b979: Pull complete [2022-10-24T05:08:46.368Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T05:08:46.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T05:08:46.368Z] ---> 59b3b1a385d4 [2022-10-24T05:08:46.368Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:08:48.330Z] ---> Running in 879420819c7f [2022-10-24T05:08:48.597Z] Removing intermediate container 879420819c7f [2022-10-24T05:08:48.597Z] ---> d45879ea5048 [2022-10-24T05:08:48.597Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:08:48.597Z] ---> Running in 08a1f5fc9415 [2022-10-24T05:08:48.865Z] Removing intermediate container 08a1f5fc9415 [2022-10-24T05:08:48.865Z] ---> ea003897bcba [2022-10-24T05:08:48.865Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:08:49.134Z] ---> Running in 8b5a96f555cb [2022-10-24T05:08:51.090Z] Removing intermediate container 8b5a96f555cb [2022-10-24T05:08:51.090Z] ---> 6d15c3351e08 [2022-10-24T05:08:51.090Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:08:51.373Z] ---> Running in c0cfdff1090b [2022-10-24T05:08:52.341Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:08:53.311Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:08:54.277Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:08:54.277Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T05:08:54.546Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:08:54.814Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:08:54.814Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T05:08:54.814Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T05:08:55.083Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T05:08:55.083Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T05:08:55.083Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:08:55.351Z] OK: 228 MiB in 59 packages [2022-10-24T05:08:56.320Z] Removing intermediate container c0cfdff1090b [2022-10-24T05:08:56.320Z] ---> 48849a0e5512 [2022-10-24T05:08:56.320Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T05:08:56.320Z] ---> Running in 46fe6dfd3812 [2022-10-24T05:08:56.910Z] Removing intermediate container 46fe6dfd3812 [2022-10-24T05:08:56.910Z] ---> b6b7993d33c2 [2022-10-24T05:08:56.910Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T05:08:57.177Z] ---> d0e594bbab6e [2022-10-24T05:08:57.177Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:08:57.444Z] ---> Running in 8fec3a0bc20b [2022-10-24T05:09:53.873Z] Removing intermediate container 8fec3a0bc20b [2022-10-24T05:09:53.873Z] ---> 3fabcabf023d [2022-10-24T05:09:53.873Z] Step 10/11 : COPY . . [2022-10-24T05:09:53.873Z] ---> 538f66142b29 [2022-10-24T05:09:53.873Z] Step 11/11 : RUN ${MAKE} [2022-10-24T05:09:53.873Z] ---> Running in 435f81a5a0d8 [2022-10-24T05:09:53.873Z] noop [2022-10-24T05:09:53.873Z] Removing intermediate container 435f81a5a0d8 [2022-10-24T05:09:53.873Z] ---> 170469ccf0c3 [2022-10-24T05:09:53.873Z] Successfully built 170469ccf0c3 [2022-10-24T05:09:53.873Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:09:54.375Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:09:54.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:09:54.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container [2022-10-24T05:09:54.737Z] $ 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-10-24T05:09:56.059Z] $ docker top 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:09:56.969Z] + go version [2022-10-24T05:09:56.969Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T05:09:57.006Z] $ docker stop --time=1 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 [2022-10-24T05:09:58.700Z] $ docker rm -f 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:09:59.600Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:09:59.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:09:59.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container [2022-10-24T05:09:59.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T05:10:01.252Z] $ docker top 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:10:02.161Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:10:02.879Z] + make test [2022-10-24T05:10:02.879Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:10:04.295Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T05:11:41.029Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T05:11:41.029Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.7% of statements [2022-10-24T05:11:41.029Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T05:11:41.029Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:12:07.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:12:07.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:12:07.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:12:07.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:12:07.831Z] $ docker stop --time=1 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 [2022-10-24T05:12:09.615Z] $ docker rm -f 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:12:10.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:12:10.713Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T05:12:11.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:12:11.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:12:12.203Z] + ls -al . [2022-10-24T05:12:12.203Z] total 184 [2022-10-24T05:12:12.203Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:10 . [2022-10-24T05:12:12.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:07 .dockerignore [2022-10-24T05:12:12.203Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:07 .git [2022-10-24T05:12:12.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 .github [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:07 .gitignore [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:07 .golangci.yml [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:07 Attribution.txt [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:07 CHANGELOG.md [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:07 Dockerfile [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:07 GOVERNANCE.md [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:07 Jenkinsfile [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:07 LICENSE [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:07 Makefile [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:07 OWNERS.md [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:07 README.md [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION [2022-10-24T05:12:12.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 bin [2022-10-24T05:12:12.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 cmd [2022-10-24T05:12:12.203Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:11 coverage.out [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:07 go.mod [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 05:07 go.sum [2022-10-24T05:12:12.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 internal [2022-10-24T05:12:12.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 simulator [2022-10-24T05:12:12.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 snap [2022-10-24T05:12:12.203Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:12:12.628Z] + 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=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 --label arch=arm64 --label version=0.0.0 . [2022-10-24T05:12:12.900Z] Sending build context to Docker daemon 3.252MB [2022-10-24T05:12:12.901Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:12:12.901Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T05:12:12.901Z] ---> 170469ccf0c3 [2022-10-24T05:12:12.901Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:12:13.176Z] ---> Running in 06c25dbc198b [2022-10-24T05:12:13.449Z] Removing intermediate container 06c25dbc198b [2022-10-24T05:12:13.449Z] ---> ed6fee7c5d18 [2022-10-24T05:12:13.449Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:12:13.720Z] ---> Running in 956a39485261 [2022-10-24T05:12:13.991Z] Removing intermediate container 956a39485261 [2022-10-24T05:12:13.991Z] ---> 3234a1926070 [2022-10-24T05:12:13.991Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:12:13.991Z] ---> Running in 7d13e01d8169 [2022-10-24T05:12:15.952Z] Removing intermediate container 7d13e01d8169 [2022-10-24T05:12:15.952Z] ---> 2f0b9f6e4b84 [2022-10-24T05:12:15.952Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:12:16.221Z] ---> Running in 47d9860a68ee [2022-10-24T05:12:17.200Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:12:18.165Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:12:19.585Z] OK: 228 MiB in 59 packages [2022-10-24T05:12:20.997Z] Removing intermediate container 47d9860a68ee [2022-10-24T05:12:20.997Z] ---> a1ca6aa89d18 [2022-10-24T05:12:20.997Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T05:12:20.997Z] ---> Running in b8fcc69f11be [2022-10-24T05:12:21.584Z] Removing intermediate container b8fcc69f11be [2022-10-24T05:12:21.584Z] ---> b43a6161bcff [2022-10-24T05:12:21.584Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T05:12:22.171Z] ---> 156f27c15c6f [2022-10-24T05:12:22.171Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:12:22.171Z] ---> Running in 2e9730d4ffa1 [2022-10-24T05:12:24.761Z] Removing intermediate container 2e9730d4ffa1 [2022-10-24T05:12:24.761Z] ---> 9db0e42c6d05 [2022-10-24T05:12:24.761Z] Step 10/24 : COPY . . [2022-10-24T05:12:25.351Z] ---> c98b2755462a [2022-10-24T05:12:25.351Z] Step 11/24 : RUN ${MAKE} [2022-10-24T05:12:25.620Z] ---> Running in 7256d8177299 [2022-10-24T05:12:26.584Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-24T05:15:03.346Z] Removing intermediate container 7256d8177299 [2022-10-24T05:15:03.346Z] ---> d43b72812841 [2022-10-24T05:15:03.346Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T05:15:03.346Z] 3.14: Pulling from library/alpine [2022-10-24T05:15:03.346Z] 90cda3b7c325: Pulling fs layer [2022-10-24T05:15:03.346Z] 90cda3b7c325: Download complete [2022-10-24T05:15:03.346Z] 90cda3b7c325: Pull complete [2022-10-24T05:15:03.346Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T05:15:03.346Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T05:15:03.346Z] ---> 376ba31ae3da [2022-10-24T05:15:03.346Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T05:15:03.346Z] ---> Running in b024acd1e3ea [2022-10-24T05:15:03.346Z] Removing intermediate container b024acd1e3ea [2022-10-24T05:15:03.346Z] ---> 9b07a57ce989 [2022-10-24T05:15:03.346Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:15:03.346Z] ---> Running in 8b944db30a6e [2022-10-24T05:15:03.346Z] Removing intermediate container 8b944db30a6e [2022-10-24T05:15:03.346Z] ---> e422a2c6de4f [2022-10-24T05:15:03.346Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:15:03.346Z] ---> Running in 4ffbc0fa2db2 [2022-10-24T05:15:03.346Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:15:03.346Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:15:03.613Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:15:03.614Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T05:15:03.881Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:15:03.881Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T05:15:04.147Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:15:04.147Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:15:04.414Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T05:15:04.414Z] OK: 8 MiB in 20 packages [2022-10-24T05:15:05.382Z] Removing intermediate container 4ffbc0fa2db2 [2022-10-24T05:15:05.382Z] ---> 1657808803d0 [2022-10-24T05:15:05.382Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T05:15:06.797Z] ---> 9b4d6ef3cb78 [2022-10-24T05:15:06.797Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T05:15:07.065Z] ---> 2ccd4817092d [2022-10-24T05:15:07.065Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T05:15:07.649Z] ---> bb1dbf2d3880 [2022-10-24T05:15:07.649Z] Step 19/24 : EXPOSE 59901 [2022-10-24T05:15:07.649Z] ---> Running in 61f740e803d9 [2022-10-24T05:15:07.916Z] Removing intermediate container 61f740e803d9 [2022-10-24T05:15:07.916Z] ---> 3697842bee4b [2022-10-24T05:15:07.916Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T05:15:07.916Z] ---> Running in ab1201ad2583 [2022-10-24T05:15:08.187Z] Removing intermediate container ab1201ad2583 [2022-10-24T05:15:08.187Z] ---> 3c7c3d991483 [2022-10-24T05:15:08.187Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T05:15:08.457Z] ---> Running in 96dbe6a9dc18 [2022-10-24T05:15:08.726Z] Removing intermediate container 96dbe6a9dc18 [2022-10-24T05:15:08.726Z] ---> 70f5ada11565 [2022-10-24T05:15:08.726Z] Step 22/24 : LABEL arch=arm64 [2022-10-24T05:15:08.726Z] ---> Running in 91947b128626 [2022-10-24T05:15:08.994Z] Removing intermediate container 91947b128626 [2022-10-24T05:15:08.994Z] ---> 233a76b23c89 [2022-10-24T05:15:08.994Z] Step 23/24 : LABEL git_sha=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [2022-10-24T05:15:08.994Z] ---> Running in 029bb4935fc3 [2022-10-24T05:15:09.262Z] Removing intermediate container 029bb4935fc3 [2022-10-24T05:15:09.262Z] ---> be9c4e672415 [2022-10-24T05:15:09.262Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T05:15:09.262Z] ---> Running in f461b426dee2 [2022-10-24T05:15:09.845Z] Removing intermediate container f461b426dee2 [2022-10-24T05:15:09.845Z] ---> 7d9f8b1da5a1 [2022-10-24T05:15:09.845Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:15:09.845Z] Successfully built 7d9f8b1da5a1 [2022-10-24T05:15:09.845Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:15:10.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:10.655Z] [2022-10-24T05:15:10.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:15:11.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:11.061Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T05:15:11.061Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T05:15:11.061Z] 04944245beec: Pulling fs layer [2022-10-24T05:15:11.061Z] 699f458cf7ca: Pulling fs layer [2022-10-24T05:15:11.061Z] 765212b225bb: Pulling fs layer [2022-10-24T05:15:11.061Z] f23df028b6ca: Pulling fs layer [2022-10-24T05:15:11.061Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T05:15:11.061Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T05:15:11.061Z] f23df028b6ca: Waiting [2022-10-24T05:15:11.061Z] d65c8cfc05b1: Waiting [2022-10-24T05:15:11.061Z] 765212b225bb: Waiting [2022-10-24T05:15:11.061Z] 2437ff75d9bd: Waiting [2022-10-24T05:15:11.329Z] 04944245beec: Verifying Checksum [2022-10-24T05:15:11.329Z] 04944245beec: Download complete [2022-10-24T05:15:11.330Z] 765212b225bb: Verifying Checksum [2022-10-24T05:15:11.330Z] 765212b225bb: Download complete [2022-10-24T05:15:11.330Z] f23df028b6ca: Download complete [2022-10-24T05:15:11.330Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T05:15:11.330Z] d65c8cfc05b1: Download complete [2022-10-24T05:15:11.598Z] 699f458cf7ca: Verifying Checksum [2022-10-24T05:15:11.598Z] 699f458cf7ca: Download complete [2022-10-24T05:15:11.865Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T05:15:11.865Z] 8998bd30e6a1: Download complete [2022-10-24T05:15:14.452Z] 2437ff75d9bd: Download complete [2022-10-24T05:15:15.857Z] 8998bd30e6a1: Pull complete [2022-10-24T05:15:16.124Z] 04944245beec: Pull complete [2022-10-24T05:15:17.631Z] 699f458cf7ca: Pull complete [2022-10-24T05:15:17.631Z] 765212b225bb: Pull complete [2022-10-24T05:15:18.632Z] f23df028b6ca: Pull complete [2022-10-24T05:15:18.632Z] d65c8cfc05b1: Pull complete [2022-10-24T05:15:33.681Z] 2437ff75d9bd: Pull complete [2022-10-24T05:15:33.681Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T05:15:33.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:33.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:15:33.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container [2022-10-24T05:15:34.056Z] $ 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-10-24T05:15:36.938Z] $ docker top df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:37.841Z] ---> job-cost.sh [2022-10-24T05:15:37.841Z] lf-activate-venv: SKIPPING [2022-10-24T05:15:37.841Z] INFO: No Stack... [2022-10-24T05:15:38.108Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T05:15:39.065Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:15:39.732Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-10-24T05:15:39.732Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:15:39.816Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [2022-10-24T05:15:39.821Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] did not exist. Created. [2022-10-24T05:15:39.822Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:15:40.553Z] /w/workspace/device-modbus-go/1@tmp/durable-f8c15ae4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T05:15:41.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T05:15:41.261Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T05:15:41.304Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:15:41.320Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:15:41.394Z] $ docker stop --time=1 df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 [2022-10-24T05:15:43.525Z] $ docker rm -f df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-24T05:15:44.498Z] provisioning config files... [2022-10-24T05:15:44.506Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config3586480426974931926tmp [Pipeline] { [Pipeline] sh [2022-10-24T05:15:44.840Z] + set +x [2022-10-24T05:15:44.840Z] + curl -s https://codecov.io/bash [2022-10-24T05:15:44.840Z] + bash -s -- [2022-10-24T05:15:44.840Z] [2022-10-24T05:15:44.840Z] _____ _ [2022-10-24T05:15:44.840Z] / ____| | | [2022-10-24T05:15:44.840Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T05:15:44.840Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T05:15:44.840Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T05:15:44.840Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T05:15:44.840Z] Bash-1.0.6 [2022-10-24T05:15:44.840Z] [2022-10-24T05:15:44.840Z] [2022-10-24T05:15:44.840Z] ==> git version 2.25.1 found [2022-10-24T05:15:44.840Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-24T05:15:44.840Z] Release-Date: 2020-01-08 [2022-10-24T05:15:44.840Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T05:15:44.840Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T05:15:44.840Z] ==> Jenkins CI detected. [2022-10-24T05:15:44.840Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-384 [2022-10-24T05:15:44.840Z] project root: . [2022-10-24T05:15:44.840Z] --> token set from env [2022-10-24T05:15:44.840Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T05:15:44.840Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T05:15:44.840Z] ==> Python coveragepy not found [2022-10-24T05:15:44.840Z] ==> Searching for coverage reports in: [2022-10-24T05:15:44.840Z] + . [2022-10-24T05:15:44.840Z] -> Found 1 reports [2022-10-24T05:15:44.840Z] ==> Detecting git/mercurial file structure [2022-10-24T05:15:44.840Z] ==> Reading reports [2022-10-24T05:15:44.840Z] + ./coverage.out bytes=23241 [2022-10-24T05:15:44.840Z] ==> Appending adjustments [2022-10-24T05:15:44.840Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T05:15:45.101Z] + Found adjustments [2022-10-24T05:15:45.101Z] ==> Gzipping contents [2022-10-24T05:15:45.101Z] 4.0K /tmp/codecov.mGrW6v.gz [2022-10-24T05:15:45.101Z] ==> Uploading reports [2022-10-24T05:15:45.101Z] url: https://codecov.io [2022-10-24T05:15:45.101Z] query: branch=PR-384&commit=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=384&job=&cmd_args= [2022-10-24T05:15:45.101Z] -> Pinging Codecov [2022-10-24T05:15:45.101Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-384&commit=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=384&job=&cmd_args= [2022-10-24T05:15:45.359Z] -> Uploading to [2022-10-24T05:15:45.359Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9/66dab1f8-3b2c-46cd-bbac-7c237e35ce95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051545Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=077c2fdf22ea089791b933e94704b1c38c815d420cf5bb651a2fbe6d05d538bc [2022-10-24T05:15:45.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:15:45.359Z] Dload Upload Total Spent Left Speed [2022-10-24T05:15:45.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 17591 --:--:-- --:--:-- --:--:-- 17591 [2022-10-24T05:15:45.619Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] } [2022-10-24T05:15:45.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-24T05:15:47.409Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-384/archives ] [2022-10-24T05:15:47.409Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-384/archives [2022-10-24T05:15:47.409Z] total 16 [2022-10-24T05:15:47.409Z] drwxr-xr-x 3 root root 4096 Oct 24 05:07 . [2022-10-24T05:15:47.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:15:47.409Z] drwxr-xr-x 2 root root 4096 Oct 24 05:07 cost [2022-10-24T05:15:47.409Z] -rw-r--r-- 1 root root 88 Oct 24 05:07 cost.csv [2022-10-24T05:15:47.409Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-384/archives [2022-10-24T05:15:47.409Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-384/archives [2022-10-24T05:15:47.409Z] total 16 [2022-10-24T05:15:47.409Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:07 . [2022-10-24T05:15:47.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:15:47.409Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:07 cost [2022-10-24T05:15:47.409Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:47.735Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:48.625Z] ---> package-listing.sh [2022-10-24T05:15:48.625Z] ++ facter osfamily [2022-10-24T05:15:48.625Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T05:15:48.886Z] + OS_FAMILY=debian [2022-10-24T05:15:48.886Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-384 [2022-10-24T05:15:48.886Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T05:15:48.886Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T05:15:48.886Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T05:15:48.886Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T05:15:48.886Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-384 ']' [2022-10-24T05:15:48.886Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T05:15:48.886Z] + case "${OS_FAMILY}" in [2022-10-24T05:15:48.886Z] + dpkg -l [2022-10-24T05:15:48.886Z] + grep '^ii' [2022-10-24T05:15:48.886Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T05:15:48.886Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T05:15:48.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T05:15:48.886Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-384 ']' [2022-10-24T05:15:48.886Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-384/archives/ [2022-10-24T05:15:48.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-384/archives/ [Pipeline] echo [2022-10-24T05:15:48.920Z] 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-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T05:15:49.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:15:49.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:15:49.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:15:49.976Z] prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container [2022-10-24T05:15:49.994Z] $ 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-384/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-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:15:50.215Z] $ docker top 54f0c30eb607ff9b7e3956b76da5109e75a48a08487519d595d47656ce6ea21b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:15:50.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T05:15:50.919Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T05:15:51.228Z] + ls /var/log/sa-host [2022-10-24T05:15:51.228Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:15:51.360Z] provisioning config files... [2022-10-24T05:15:51.369Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config18003352724836416193tmp [Pipeline] { [Pipeline] echo [2022-10-24T05:15:51.421Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:51.734Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T05:15:51.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:52.160Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T05:15:52.193Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:52.503Z] ---> sudo-logs.sh [2022-10-24T05:15:52.503Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T05:15:52.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:52.900Z] ---> job-cost.sh [2022-10-24T05:15:52.900Z] lf-activate-venv: SKIPPING [2022-10-24T05:15:52.900Z] DEBUG: total: 0.2199999988079071 [2022-10-24T05:15:52.900Z] INFO: Retrieving Stack Cost... [2022-10-24T05:15:53.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:15:53.724Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T05:15:53.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:54.067Z] ---> logs-deploy.sh [2022-10-24T05:15:54.067Z] lf-activate-venv: SKIPPING [2022-10-24T05:15:54.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-384/1 [2022-10-24T05:15:54.067Z] INFO: archiving workspace using pattern(s): [2022-10-24T05:15:55.002Z] Archives upload complete. [2022-10-24T05:15:55.002Z] INFO: archiving logs to Nexus