MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 06793bab58e7c96f55e1d5bab0fce9523936b0bb+0402772c8535e80a39149c240333cd83d56188f2 (7071948ef1d86522dc323145a08c5715ba5d1fc8) 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-ssh15257622770690353670.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-ssh6816695507575642065.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1105775296310677209.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 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-ssh9874139805074062565.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4254013028637951830.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116836 in /w/workspace/xfoundry_device-modbus-go_PR-386 [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-386 # 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/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit 06793bab58e7c96f55e1d5bab0fce9523936b0bb Merge succeeded, producing 06793bab58e7c96f55e1d5bab0fce9523936b0bb Checking out Revision 06793bab58e7c96f55e1d5bab0fce9523936b0bb (PR-386) > git config core.sparsecheckout # timeout=10 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # 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 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 Commit message: "fix: update command request and response topic" > git rev-list --no-walk 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T10:09:59.818Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T10:09:59.883Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T10:09:59.898Z] ========================================================= [2022-10-25T10:09:59.898Z] EdgeX Global Pipelines Version Info [2022-10-25T10:09:59.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:00.617Z] ------------------- [2022-10-25T10:10:00.617Z] stable info: [2022-10-25T10:10:00.617Z] ------------------- [2022-10-25T10:10:00.617Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T10:10:00.617Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T10:10:00.617Z] Message: update stable to v1.0.243 [2022-10-25T10:10:01.191Z] ------------------- [2022-10-25T10:10:01.191Z] experimental info: [2022-10-25T10:10:01.191Z] ------------------- [2022-10-25T10:10:01.191Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T10:10:01.191Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T10:10:01.191Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T10:10:01.336Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-25T10:10:01.346Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-25T10:10:01.360Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T10:10:01.372Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T10:10:01.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T10:10:01.392Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T10:10:01.401Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T10:10:01.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T10:10:01.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T10:10:01.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T10:10:01.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T10:10:01.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-25T10:10:01.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T10:10:01.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T10:10:01.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T10:10:01.475Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T10:10:01.483Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T10:10:01.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T10:10:01.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T10:10:01.507Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T10:10:01.514Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T10:10:01.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T10:10:01.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T10:10:01.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T10:10:01.546Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T10:10:01.554Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T10:10:01.562Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T10:10:01.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-386 [Pipeline] echo [2022-10-25T10:10:01.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-386 [Pipeline] echo [2022-10-25T10:10:01.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-386 [Pipeline] echo [2022-10-25T10:10:01.608Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo [2022-10-25T10:10:01.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06793ba [Pipeline] echo [2022-10-25T10:10:01.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:10:01.676Z] provisioning config files... [2022-10-25T10:10:01.688Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config8491007632477205048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:01.991Z] ---> docker-login.sh [2022-10-25T10:10:01.991Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:02.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:02.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:02.520Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:02.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:02.520Z] [2022-10-25T10:10:02.520Z] Login Succeeded [2022-10-25T10:10:02.520Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:02.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:02.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:02.782Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:02.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:02.782Z] [2022-10-25T10:10:02.782Z] Login Succeeded [2022-10-25T10:10:02.782Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:02.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:02.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:02.782Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:02.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:02.782Z] [2022-10-25T10:10:02.782Z] Login Succeeded [2022-10-25T10:10:02.782Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:02.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:03.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:03.051Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:03.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:03.051Z] [2022-10-25T10:10:03.051Z] Login Succeeded [2022-10-25T10:10:03.051Z] docker.io [2022-10-25T10:10:03.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:03.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:03.622Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:03.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:03.622Z] [2022-10-25T10:10:03.622Z] Login Succeeded [2022-10-25T10:10:03.622Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:03.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T10:10:03.979Z] + git rev-list -1 --merges 06793bab58e7c96f55e1d5bab0fce9523936b0bb~1..06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo [2022-10-25T10:10:04.011Z] -----------> git rev-list -1 --merges 06793bab58e7c96f55e1d5bab0fce9523936b0bb~1..06793bab58e7c96f55e1d5bab0fce9523936b0bb 06793bab58e7c96f55e1d5bab0fce9523936b0bb [false] [Pipeline] sh [2022-10-25T10:10:04.299Z] + git log --format=format:%s -1 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo [2022-10-25T10:10:04.313Z] ========================================================= [2022-10-25T10:10:04.313Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T10:10:04.313Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:10:04.642Z] + git log --format=format:%s -1 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo [2022-10-25T10:10:04.654Z] [semverPrep] GIT_COMMIT: 06793bab58e7c96f55e1d5bab0fce9523936b0bb, Commit Message: fix: update command request and response topic [Pipeline] echo [2022-10-25T10:10:04.664Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T10:10:05.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T10:10:05.012Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T10:10:05.012Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T10:10:05.012Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T10:10:05.012Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T10:10:05.012Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T10:10:05.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:05.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:05.438Z] [2022-10-25T10:10:05.438Z] 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-25T10:10:05.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:05.758Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T10:10:05.758Z] b85a868b505f: Pulling fs layer [2022-10-25T10:10:05.758Z] e2be974225ed: Pulling fs layer [2022-10-25T10:10:05.758Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T10:10:05.758Z] 988bab9f4d93: Pulling fs layer [2022-10-25T10:10:05.758Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T10:10:05.758Z] eaf3925da568: Pulling fs layer [2022-10-25T10:10:05.758Z] bab4dde63d76: Pulling fs layer [2022-10-25T10:10:05.758Z] bde34c3a00c8: Pulling fs layer [2022-10-25T10:10:05.758Z] b352a97aabf1: Pulling fs layer [2022-10-25T10:10:05.758Z] 4872d77fe225: Pulling fs layer [2022-10-25T10:10:05.758Z] 5851b861e8e6: Pulling fs layer [2022-10-25T10:10:05.758Z] 988bab9f4d93: Waiting [2022-10-25T10:10:05.758Z] 1469e6f7b9e6: Waiting [2022-10-25T10:10:05.758Z] b352a97aabf1: Waiting [2022-10-25T10:10:05.758Z] 4872d77fe225: Waiting [2022-10-25T10:10:05.758Z] 5851b861e8e6: Waiting [2022-10-25T10:10:05.758Z] bde34c3a00c8: Waiting [2022-10-25T10:10:05.758Z] bab4dde63d76: Waiting [2022-10-25T10:10:05.758Z] eaf3925da568: Waiting [2022-10-25T10:10:05.758Z] e2be974225ed: Verifying Checksum [2022-10-25T10:10:05.758Z] e2be974225ed: Download complete [2022-10-25T10:10:05.758Z] 988bab9f4d93: Verifying Checksum [2022-10-25T10:10:05.758Z] 988bab9f4d93: Download complete [2022-10-25T10:10:06.017Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T10:10:06.017Z] 1469e6f7b9e6: Download complete [2022-10-25T10:10:06.017Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T10:10:06.017Z] 339a4e72a1f5: Download complete [2022-10-25T10:10:06.017Z] eaf3925da568: Verifying Checksum [2022-10-25T10:10:06.017Z] eaf3925da568: Download complete [2022-10-25T10:10:06.017Z] bde34c3a00c8: Verifying Checksum [2022-10-25T10:10:06.017Z] bde34c3a00c8: Download complete [2022-10-25T10:10:06.017Z] b352a97aabf1: Verifying Checksum [2022-10-25T10:10:06.018Z] b352a97aabf1: Download complete [2022-10-25T10:10:06.018Z] 4872d77fe225: Verifying Checksum [2022-10-25T10:10:06.018Z] 4872d77fe225: Download complete [2022-10-25T10:10:06.018Z] 5851b861e8e6: Download complete [2022-10-25T10:10:06.018Z] b85a868b505f: Verifying Checksum [2022-10-25T10:10:06.018Z] b85a868b505f: Download complete [2022-10-25T10:10:06.284Z] bab4dde63d76: Verifying Checksum [2022-10-25T10:10:06.284Z] bab4dde63d76: Download complete [2022-10-25T10:10:07.219Z] b85a868b505f: Pull complete [2022-10-25T10:10:07.219Z] e2be974225ed: Pull complete [2022-10-25T10:10:07.786Z] 339a4e72a1f5: Pull complete [2022-10-25T10:10:07.786Z] 988bab9f4d93: Pull complete [2022-10-25T10:10:08.045Z] 1469e6f7b9e6: Pull complete [2022-10-25T10:10:08.303Z] eaf3925da568: Pull complete [2022-10-25T10:10:10.202Z] bab4dde63d76: Pull complete [2022-10-25T10:10:10.202Z] bde34c3a00c8: Pull complete [2022-10-25T10:10:10.202Z] b352a97aabf1: Pull complete [2022-10-25T10:10:10.202Z] 4872d77fe225: Pull complete [2022-10-25T10:10:10.461Z] 5851b861e8e6: Pull complete [2022-10-25T10:10:10.461Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T10:10:10.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:10.461Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:10:10.545Z] prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container [2022-10-25T10:10:10.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T10:10:12.306Z] $ docker top 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 -eo pid,comm [2022-10-25T10:10:12.384Z] 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-25T10:10:12.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T10:10:12.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T10:10:12.420Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T10:10:12.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T10:10:12.554Z] $ docker exec 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent [2022-10-25T10:10:12.663Z] SSH_AUTH_SOCK=/tmp/ssh-FgLZt00PtKRQ/agent.15 [2022-10-25T10:10:12.663Z] SSH_AGENT_PID=22 [2022-10-25T10:10:12.669Z] Running ssh-add (command line suppressed) [2022-10-25T10:10:12.794Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_7713297932792583021.key (/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_7713297932792583021.key) [2022-10-25T10:10:12.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T10:10:13.095Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T10:10:13.108Z] $ docker exec --env ******** --env ******** 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent -k [2022-10-25T10:10:13.219Z] unset SSH_AUTH_SOCK; [2022-10-25T10:10:13.219Z] unset SSH_AGENT_PID; [2022-10-25T10:10:13.219Z] echo Agent pid 22 killed; [2022-10-25T10:10:13.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T10:10:13.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T10:10:13.256Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T10:10:13.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T10:10:13.395Z] $ docker exec 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent [2022-10-25T10:10:13.507Z] SSH_AUTH_SOCK=/tmp/ssh-XXm4hQ1K2xjz/agent.73 [2022-10-25T10:10:13.507Z] SSH_AGENT_PID=79 [2022-10-25T10:10:13.513Z] Running ssh-add (command line suppressed) [2022-10-25T10:10:13.611Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_16840446342782813094.key (/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_16840446342782813094.key) [2022-10-25T10:10:13.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T10:10:13.911Z] + git semver init [2022-10-25T10:10:14.170Z] 2022-10-25 10:10:14,096 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T10:10:14.170Z] 2022-10-25 10:10:14,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver [2022-10-25T10:10:14.170Z] 2022-10-25 10:10:14,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-386/.semver [2022-10-25T10:10:14.170Z] 2022-10-25 10:10:14,098 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-386/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386, universal_newlines=False, shell=None, istream=None) [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,021 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-386/.git/info/exclude [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 with force:False [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,022 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,027 [execute] INFO git cat-file --batch-check [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,033 [execute] INFO git cat-file --batch [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T10:10:15.108Z] 2022-10-25 10:10:15,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 [2022-10-25T10:10:15.108Z] 0.0.0 [Pipeline] } [2022-10-25T10:10:15.119Z] $ docker exec --env ******** --env ******** 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent -k [2022-10-25T10:10:15.212Z] unset SSH_AUTH_SOCK; [2022-10-25T10:10:15.212Z] unset SSH_AGENT_PID; [2022-10-25T10:10:15.213Z] echo Agent pid 79 killed; [2022-10-25T10:10:15.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T10:10:15.520Z] + git semver [Pipeline] } [2022-10-25T10:10:15.797Z] $ docker stop --time=1 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 [2022-10-25T10:10:17.153Z] $ docker rm -f 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:10:17.492Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T10:10:17.672Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T10:10:17.675Z] [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-25T10:10:17.812Z] provisioning config files... [2022-10-25T10:10:17.821Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config8963550321991042406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:18.024Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116833 in /w/workspace/xfoundry_device-modbus-go_PR-386 [Pipeline] { [Pipeline] ws [2022-10-25T10:10:18.036Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-10-25T10:10:18.072Z] Selected Git installation does not exist. Using Default [2022-10-25T10:10:18.072Z] The recommended git tool is: NONE [2022-10-25T10:10:18.126Z] ---> docker-login.sh [2022-10-25T10:10:18.126Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:18.126Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:18.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:18.126Z] [2022-10-25T10:10:18.126Z] Login Succeeded [2022-10-25T10:10:18.126Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:18.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:18.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:18.386Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:18.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:18.386Z] [2022-10-25T10:10:18.386Z] Login Succeeded [2022-10-25T10:10:18.386Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:18.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:18.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:18.386Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:18.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:18.386Z] [2022-10-25T10:10:18.386Z] Login Succeeded [2022-10-25T10:10:18.386Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:18.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:18.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:18.643Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:18.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:18.643Z] [2022-10-25T10:10:18.643Z] Login Succeeded [2022-10-25T10:10:18.644Z] docker.io [2022-10-25T10:10:18.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:18.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:18.900Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:18.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:18.900Z] [2022-10-25T10:10:18.900Z] Login Succeeded [2022-10-25T10:10:18.900Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:18.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T10:10:18.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:18.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:18.988Z] ========================================================= [2022-10-25T10:10:18.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T10:10:18.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:19.314Z] + 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-25T10:10:19.314Z] Sending build context to Docker daemon 6.212MB [2022-10-25T10:10:19.314Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:10:19.314Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T10:10:19.314Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T10:10:19.314Z] 213ec9aee27d: Pulling fs layer [2022-10-25T10:10:19.314Z] 4583459ba037: Pulling fs layer [2022-10-25T10:10:19.314Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T10:10:19.314Z] 53926ce57604: Pulling fs layer [2022-10-25T10:10:19.314Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T10:10:19.314Z] 30f14e443154: Pulling fs layer [2022-10-25T10:10:19.314Z] 801331c1e519: Pulling fs layer [2022-10-25T10:10:19.314Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T10:10:19.314Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T10:10:19.314Z] 53926ce57604: Waiting [2022-10-25T10:10:19.314Z] 21b2b0c7a3f4: Waiting [2022-10-25T10:10:19.314Z] 30f14e443154: Waiting [2022-10-25T10:10:19.314Z] 801331c1e519: Waiting [2022-10-25T10:10:19.314Z] 99cc6dd402b0: Waiting [2022-10-25T10:10:19.314Z] 7d9ed39f4882: Waiting [2022-10-25T10:10:19.314Z] 93c1e223e6f2: Download complete [2022-10-25T10:10:19.314Z] 4583459ba037: Download complete [2022-10-25T10:10:19.314Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T10:10:19.314Z] 21b2b0c7a3f4: Download complete [2022-10-25T10:10:19.573Z] 30f14e443154: Verifying Checksum [2022-10-25T10:10:19.573Z] 30f14e443154: Download complete [2022-10-25T10:10:19.573Z] 213ec9aee27d: Verifying Checksum [2022-10-25T10:10:19.573Z] 213ec9aee27d: Download complete [2022-10-25T10:10:19.573Z] 801331c1e519: Download complete [2022-10-25T10:10:19.573Z] 213ec9aee27d: Pull complete [2022-10-25T10:10:19.838Z] 4583459ba037: Pull complete [2022-10-25T10:10:19.838Z] 93c1e223e6f2: Pull complete [2022-10-25T10:10:19.838Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T10:10:19.838Z] 7d9ed39f4882: Download complete [2022-10-25T10:10:20.411Z] 53926ce57604: Verifying Checksum [2022-10-25T10:10:20.411Z] 53926ce57604: Download complete [2022-10-25T10:10:20.411Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T10:10:20.411Z] 99cc6dd402b0: Download complete [2022-10-25T10:10:23.750Z] using credential edgex-jenkins-ssh [2022-10-25T10:10:23.771Z] Cloning the remote Git repository [2022-10-25T10:10:23.822Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T10:10:23.911Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-10-25T10:10:24.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T10:10:24.077Z] > git --version # timeout=10 [2022-10-25T10:10:24.099Z] > git --version # 'git version 2.25.1' [2022-10-25T10:10:24.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:24.156Z] Verifying host key using known hosts file [2022-10-25T10:10:24.595Z] 53926ce57604: Pull complete [2022-10-25T10:10:24.595Z] 21b2b0c7a3f4: Pull complete [2022-10-25T10:10:24.595Z] 30f14e443154: Pull complete [2022-10-25T10:10:24.595Z] 801331c1e519: Pull complete [2022-10-25T10:10:24.423Z] 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-25T10:10:24.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T10:10:26.492Z] 99cc6dd402b0: Pull complete [2022-10-25T10:10:25.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T10:10:25.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T10:10:26.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T10:10:26.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T10:10:26.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:26.686Z] Verifying host key using known hosts file [2022-10-25T10:10:26.693Z] 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-25T10:10:26.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T10:10:27.060Z] 7d9ed39f4882: Pull complete [2022-10-25T10:10:27.060Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T10:10:27.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T10:10:27.060Z] ---> 1dedd983c030 [2022-10-25T10:10:27.060Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:10:27.379Z] Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit 06793bab58e7c96f55e1d5bab0fce9523936b0bb [2022-10-25T10:10:27.636Z] Merge succeeded, producing 06793bab58e7c96f55e1d5bab0fce9523936b0bb [2022-10-25T10:10:27.636Z] Checking out Revision 06793bab58e7c96f55e1d5bab0fce9523936b0bb (PR-386) [2022-10-25T10:10:27.402Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T10:10:27.429Z] > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 [2022-10-25T10:10:27.523Z] > git remote # timeout=10 [2022-10-25T10:10:27.544Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T10:10:27.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:27.565Z] Verifying host key using known hosts file [2022-10-25T10:10:27.571Z] 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-25T10:10:27.581Z] > git merge 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 [2022-10-25T10:10:27.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T10:10:27.647Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T10:10:27.671Z] > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 [2022-10-25T10:10:31.261Z] Commit message: "fix: update command request and response topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:10:32.161Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T10:10:32.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T10:10:32.161Z] Dload Upload Total Spent Left Speed [2022-10-25T10:10:32.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [2022-10-25T10:10:32.331Z] ---> Running in 673de520e02b [Pipeline] sh [2022-10-25T10:10:32.902Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T10:10:33.241Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T10:10:33.241Z] + sudo tee /etc/docker/daemon.new [2022-10-25T10:10:33.241Z] { [2022-10-25T10:10:33.241Z] "registry-mirrors": [ [2022-10-25T10:10:33.241Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T10:10:33.241Z] ], [2022-10-25T10:10:33.241Z] "bip": "10.250.0.254/24", [2022-10-25T10:10:33.241Z] "hosts": [ [2022-10-25T10:10:33.241Z] "tcp://0.0.0.0:5555", [2022-10-25T10:10:33.241Z] "unix:///var/run/docker.sock" [2022-10-25T10:10:33.241Z] ], [2022-10-25T10:10:33.241Z] "mtu": 1458, [2022-10-25T10:10:33.241Z] "selinux-enabled": true, [2022-10-25T10:10:33.241Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T10:10:33.241Z] } [Pipeline] sh [2022-10-25T10:10:33.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T10:10:33.723Z] Removing intermediate container 673de520e02b [2022-10-25T10:10:33.723Z] ---> 1ac815818633 [2022-10-25T10:10:33.723Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:10:33.723Z] ---> Running in d03aae62f871 [2022-10-25T10:10:33.924Z] + sudo service docker restart [2022-10-25T10:10:33.982Z] Removing intermediate container d03aae62f871 [2022-10-25T10:10:33.982Z] ---> e3fe6c30c020 [2022-10-25T10:10:33.982Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:10:34.241Z] ---> Running in f1ae6952a4de [2022-10-25T10:10:35.179Z] Removing intermediate container f1ae6952a4de [2022-10-25T10:10:35.179Z] ---> 7511b4e2b1fd [2022-10-25T10:10:35.179Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T10:10:35.179Z] ---> Running in d45a1dace099 [2022-10-25T10:10:35.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:10:36.375Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:10:36.634Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T10:10:36.634Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T10:10:36.634Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T10:10:36.891Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T10:10:36.891Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T10:10:37.148Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T10:10:37.148Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T10:10:37.148Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T10:10:37.404Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:10:37.404Z] OK: 217 MiB in 59 packages [2022-10-25T10:10:37.969Z] Removing intermediate container d45a1dace099 [2022-10-25T10:10:37.969Z] ---> ec5c236a6f4c [2022-10-25T10:10:37.969Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-25T10:10:37.969Z] ---> Running in 8f95f6c843fd [2022-10-25T10:10:37.969Z] Removing intermediate container 8f95f6c843fd [2022-10-25T10:10:37.969Z] ---> 887d6c6e1651 [2022-10-25T10:10:37.969Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T10:10:38.226Z] ---> dacc1a36d371 [2022-10-25T10:10:38.226Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:10:38.226Z] ---> Running in a4a4c5bd87d7 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:10:52.216Z] provisioning config files... [2022-10-25T10:10:52.245Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config9427987466314098517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:52.602Z] ---> docker-login.sh [2022-10-25T10:10:52.602Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:53.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:53.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:53.192Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:53.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:53.192Z] [2022-10-25T10:10:53.192Z] Login Succeeded [2022-10-25T10:10:53.192Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:53.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:53.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:53.733Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:53.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:53.733Z] [2022-10-25T10:10:53.733Z] Login Succeeded [2022-10-25T10:10:53.733Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:54.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:54.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:54.006Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:54.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:54.006Z] [2022-10-25T10:10:54.006Z] Login Succeeded [2022-10-25T10:10:54.006Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:54.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:54.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:54.551Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:54.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:54.551Z] [2022-10-25T10:10:54.551Z] Login Succeeded [2022-10-25T10:10:54.551Z] docker.io [2022-10-25T10:10:54.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:55.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:55.097Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:55.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:55.097Z] [2022-10-25T10:10:55.097Z] Login Succeeded [2022-10-25T10:10:55.097Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:55.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T10:10:55.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:55.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:55.318Z] ========================================================= [2022-10-25T10:10:55.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T10:10:55.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:55.662Z] + 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-25T10:10:55.932Z] Sending build context to Docker daemon 3.236MB [2022-10-25T10:10:55.932Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:10:55.932Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T10:10:56.204Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T10:10:56.204Z] 9b18e9b68314: Pulling fs layer [2022-10-25T10:10:56.204Z] d32db5db7311: Pulling fs layer [2022-10-25T10:10:56.204Z] d0c4b47475fc: Pulling fs layer [2022-10-25T10:10:56.204Z] 5831b945b038: Pulling fs layer [2022-10-25T10:10:56.204Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T10:10:56.204Z] e10730c5d714: Pulling fs layer [2022-10-25T10:10:56.204Z] 5dd5c2283517: Pulling fs layer [2022-10-25T10:10:56.204Z] d5ac0230b979: Pulling fs layer [2022-10-25T10:10:56.204Z] 5831b945b038: Waiting [2022-10-25T10:10:56.204Z] e10730c5d714: Waiting [2022-10-25T10:10:56.204Z] 5dd5c2283517: Waiting [2022-10-25T10:10:56.204Z] d5ac0230b979: Waiting [2022-10-25T10:10:56.204Z] 86bbec2aaacd: Waiting [2022-10-25T10:10:56.204Z] d0c4b47475fc: Verifying Checksum [2022-10-25T10:10:56.204Z] d0c4b47475fc: Download complete [2022-10-25T10:10:56.204Z] d32db5db7311: Verifying Checksum [2022-10-25T10:10:56.204Z] d32db5db7311: Download complete [2022-10-25T10:10:56.204Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T10:10:56.204Z] 86bbec2aaacd: Download complete [2022-10-25T10:10:56.204Z] 9b18e9b68314: Verifying Checksum [2022-10-25T10:10:56.204Z] 9b18e9b68314: Download complete [2022-10-25T10:10:56.204Z] e10730c5d714: Verifying Checksum [2022-10-25T10:10:56.204Z] e10730c5d714: Download complete [2022-10-25T10:10:57.184Z] 9b18e9b68314: Pull complete [2022-10-25T10:10:57.454Z] d5ac0230b979: Verifying Checksum [2022-10-25T10:10:57.454Z] d5ac0230b979: Download complete [2022-10-25T10:10:58.047Z] d32db5db7311: Pull complete [2022-10-25T10:10:58.321Z] d0c4b47475fc: Pull complete [2022-10-25T10:10:58.919Z] 5dd5c2283517: Verifying Checksum [2022-10-25T10:10:58.919Z] 5dd5c2283517: Download complete [2022-10-25T10:10:59.522Z] 5831b945b038: Verifying Checksum [2022-10-25T10:10:59.522Z] 5831b945b038: Download complete [2022-10-25T10:11:00.405Z] Removing intermediate container a4a4c5bd87d7 [2022-10-25T10:11:00.405Z] ---> 4a1e691a3c2b [2022-10-25T10:11:00.405Z] Step 10/11 : COPY . . [2022-10-25T10:11:00.405Z] ---> b6ace5535167 [2022-10-25T10:11:00.405Z] Step 11/11 : RUN ${MAKE} [2022-10-25T10:11:00.405Z] ---> Running in e7417e32dcd5 [2022-10-25T10:11:00.405Z] noop [2022-10-25T10:11:01.344Z] Removing intermediate container e7417e32dcd5 [2022-10-25T10:11:01.344Z] ---> 9fe602c7e922 [2022-10-25T10:11:01.344Z] Successfully built 9fe602c7e922 [2022-10-25T10:11:01.344Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:01.654Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T10:11:01.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:11:01.721Z] prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container [2022-10-25T10:11:01.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T10:11:02.135Z] $ docker top 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:11:02.465Z] + go version [2022-10-25T10:11:02.465Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T10:11:02.479Z] $ docker stop --time=1 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e [2022-10-25T10:11:03.744Z] $ docker rm -f 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:04.134Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T10:11:04.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:11:04.205Z] prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container [2022-10-25T10:11:04.249Z] $ 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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T10:11:04.677Z] $ docker top 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:11:05.022Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-386 [Pipeline] fileExists [Pipeline] sh [2022-10-25T10:11:05.312Z] + make test [2022-10-25T10:11:05.312Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T10:11:05.570Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T10:11:15.083Z] 5831b945b038: Pull complete [2022-10-25T10:11:15.083Z] 86bbec2aaacd: Pull complete [2022-10-25T10:11:15.083Z] e10730c5d714: Pull complete [2022-10-25T10:11:15.678Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T10:11:15.678Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-10-25T10:11:19.361Z] 5dd5c2283517: Pull complete [2022-10-25T10:11:20.784Z] d5ac0230b979: Pull complete [2022-10-25T10:11:20.784Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T10:11:20.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T10:11:20.784Z] ---> 59b3b1a385d4 [2022-10-25T10:11:20.784Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:11:20.968Z] 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-25T10:11:20.968Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T10:11:23.391Z] ---> Running in 56ae0fe70ba3 [2022-10-25T10:11:23.391Z] Removing intermediate container 56ae0fe70ba3 [2022-10-25T10:11:23.391Z] ---> 4edc487be63b [2022-10-25T10:11:23.391Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:11:23.391Z] ---> Running in 589b7e7e700e [2022-10-25T10:11:23.663Z] Removing intermediate container 589b7e7e700e [2022-10-25T10:11:23.663Z] ---> c4fe22f35aa2 [2022-10-25T10:11:23.663Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:11:23.663Z] ---> Running in e78f0a28179a [2022-10-25T10:11:24.265Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T10:11:24.265Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T10:11:24.265Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T10:11:24.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T10:11:24.293Z] $ docker stop --time=1 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 [2022-10-25T10:11:25.616Z] Removing intermediate container e78f0a28179a [2022-10-25T10:11:25.616Z] ---> c184e1e7df01 [2022-10-25T10:11:25.616Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T10:11:25.616Z] ---> Running in f1c7aaa190f7 [2022-10-25T10:11:26.570Z] $ docker rm -f 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 [2022-10-25T10:11:26.581Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:11:27.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T10:11:27.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T10:11:27.543Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:11:27.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T10:11:27.875Z] + ls -al . [2022-10-25T10:11:27.875Z] total 188 [2022-10-25T10:11:27.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:11 . [2022-10-25T10:11:27.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 .. [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 10:09 .dockerignore [2022-10-25T10:11:27.875Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:11 .git [2022-10-25T10:11:27.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 .github [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 10:09 .gitignore [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:09 .golangci.yml [2022-10-25T10:11:27.875Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:10 .semver [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 10:09 Attribution.txt [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 10:09 CHANGELOG.md [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 10:09 Dockerfile [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:09 GOVERNANCE.md [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:09 Jenkinsfile [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:09 LICENSE [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 10:09 Makefile [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 10:09 OWNERS.md [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 10:09 README.md [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION [2022-10-25T10:11:27.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 bin [2022-10-25T10:11:27.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 cmd [2022-10-25T10:11:27.875Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 10:11 coverage.out [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 10:09 go.mod [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 25 10:09 go.sum [2022-10-25T10:11:27.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 internal [2022-10-25T10:11:27.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 simulator [2022-10-25T10:11:27.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 snap [2022-10-25T10:11:27.875Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:28.177Z] + 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=06793bab58e7c96f55e1d5bab0fce9523936b0bb --label arch=amd64 --label version=0.0.0 . [2022-10-25T10:11:28.177Z] Sending build context to Docker daemon 6.236MB [2022-10-25T10:11:28.177Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:11:28.177Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-25T10:11:28.177Z] ---> 9fe602c7e922 [2022-10-25T10:11:28.177Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:11:28.177Z] ---> Running in 0ca05a200ec4 [2022-10-25T10:11:28.177Z] Removing intermediate container 0ca05a200ec4 [2022-10-25T10:11:28.177Z] ---> 06eb65f29dd6 [2022-10-25T10:11:28.177Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:11:28.435Z] ---> Running in a32f6eba56fd [2022-10-25T10:11:28.435Z] Removing intermediate container a32f6eba56fd [2022-10-25T10:11:28.435Z] ---> b344dc2010b7 [2022-10-25T10:11:28.435Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:11:28.435Z] ---> Running in d0befbb9b0f7 [2022-10-25T10:11:28.509Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T10:11:28.777Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T10:11:28.777Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T10:11:29.001Z] Removing intermediate container d0befbb9b0f7 [2022-10-25T10:11:29.001Z] ---> 6210846b3073 [2022-10-25T10:11:29.001Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T10:11:29.001Z] ---> Running in cce6f8e865d4 [2022-10-25T10:11:29.046Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T10:11:29.046Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T10:11:29.315Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T10:11:29.315Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T10:11:29.315Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T10:11:29.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:29.583Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:11:29.583Z] OK: 228 MiB in 59 packages [2022-10-25T10:11:30.134Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:30.567Z] Removing intermediate container f1c7aaa190f7 [2022-10-25T10:11:30.567Z] ---> d427c4c6718d [2022-10-25T10:11:30.567Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-25T10:11:30.567Z] ---> Running in 803da89b1f9b [2022-10-25T10:11:30.700Z] OK: 217 MiB in 59 packages [2022-10-25T10:11:30.959Z] Removing intermediate container cce6f8e865d4 [2022-10-25T10:11:30.959Z] ---> 33d57ee38dfd [2022-10-25T10:11:30.959Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-25T10:11:30.959Z] ---> Running in 344e7c048541 [2022-10-25T10:11:30.959Z] Removing intermediate container 344e7c048541 [2022-10-25T10:11:30.959Z] ---> 76fe75b636f4 [2022-10-25T10:11:30.959Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-25T10:11:31.152Z] Removing intermediate container 803da89b1f9b [2022-10-25T10:11:31.152Z] ---> 47aaa63027aa [2022-10-25T10:11:31.152Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T10:11:31.217Z] ---> 8f104d1d9f20 [2022-10-25T10:11:31.217Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:11:31.217Z] ---> Running in dacde9d9b58b [2022-10-25T10:11:31.426Z] ---> f6ae87e697f1 [2022-10-25T10:11:31.426Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:11:31.695Z] ---> Running in 71b361188f42 [2022-10-25T10:11:31.783Z] Removing intermediate container dacde9d9b58b [2022-10-25T10:11:31.783Z] ---> f86be4799c38 [2022-10-25T10:11:31.783Z] Step 10/24 : COPY . . [2022-10-25T10:11:32.349Z] ---> 409f79876a4b [2022-10-25T10:11:32.349Z] Step 11/24 : RUN ${MAKE} [2022-10-25T10:11:32.349Z] ---> Running in 88191b7a1361 [2022-10-25T10:11:32.607Z] 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-25T10:11:54.523Z] Removing intermediate container 88191b7a1361 [2022-10-25T10:11:54.523Z] ---> c417cb21b5ee [2022-10-25T10:11:54.523Z] Step 12/24 : FROM alpine:3.14 [2022-10-25T10:11:54.523Z] 3.14: Pulling from library/alpine [2022-10-25T10:11:54.780Z] c7ed990a2339: Pulling fs layer [2022-10-25T10:11:54.780Z] c7ed990a2339: Verifying Checksum [2022-10-25T10:11:54.780Z] c7ed990a2339: Download complete [2022-10-25T10:11:55.053Z] c7ed990a2339: Pull complete [2022-10-25T10:11:55.053Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T10:11:55.053Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T10:11:55.053Z] ---> dd53f409bf0b [2022-10-25T10:11:55.053Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T10:11:55.312Z] ---> Running in e9c5e4349482 [2022-10-25T10:11:55.312Z] Removing intermediate container e9c5e4349482 [2022-10-25T10:11:55.312Z] ---> ff3e3a542557 [2022-10-25T10:11:55.312Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:11:55.312Z] ---> Running in 521666c73ce1 [2022-10-25T10:11:55.879Z] Removing intermediate container 521666c73ce1 [2022-10-25T10:11:55.879Z] ---> ada91279888c [2022-10-25T10:11:55.879Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T10:11:55.879Z] ---> Running in 7abcee1a2eff [2022-10-25T10:11:56.136Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:57.091Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:57.351Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T10:11:57.351Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T10:11:57.613Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T10:11:57.613Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T10:11:57.613Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T10:11:57.872Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T10:11:57.872Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T10:11:57.873Z] OK: 8 MiB in 20 packages [2022-10-25T10:11:58.440Z] Removing intermediate container 7abcee1a2eff [2022-10-25T10:11:58.440Z] ---> 0793296c264b [2022-10-25T10:11:58.440Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T10:11:59.070Z] ---> f47283f82721 [2022-10-25T10:11:59.070Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T10:11:59.070Z] ---> c71124356ef5 [2022-10-25T10:11:59.070Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T10:11:59.334Z] ---> 74ae69ff48e8 [2022-10-25T10:11:59.334Z] Step 19/24 : EXPOSE 59901 [2022-10-25T10:11:59.334Z] ---> Running in df070af046b0 [2022-10-25T10:11:59.334Z] Removing intermediate container df070af046b0 [2022-10-25T10:11:59.334Z] ---> 9afc165b6f71 [2022-10-25T10:11:59.334Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-25T10:11:59.334Z] ---> Running in 9927aa42402b [2022-10-25T10:11:59.334Z] Removing intermediate container 9927aa42402b [2022-10-25T10:11:59.334Z] ---> f5386968c1a9 [2022-10-25T10:11:59.334Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T10:11:59.596Z] ---> Running in ba334c821395 [2022-10-25T10:11:59.596Z] Removing intermediate container ba334c821395 [2022-10-25T10:11:59.596Z] ---> ec790454b9d0 [2022-10-25T10:11:59.596Z] Step 22/24 : LABEL arch=amd64 [2022-10-25T10:11:59.596Z] ---> Running in b4ab0835d575 [2022-10-25T10:11:59.596Z] Removing intermediate container b4ab0835d575 [2022-10-25T10:11:59.596Z] ---> e820c5e41b8a [2022-10-25T10:11:59.596Z] Step 23/24 : LABEL git_sha=06793bab58e7c96f55e1d5bab0fce9523936b0bb [2022-10-25T10:11:59.596Z] ---> Running in 9ff04ec58adc [2022-10-25T10:11:59.855Z] Removing intermediate container 9ff04ec58adc [2022-10-25T10:11:59.855Z] ---> 1814f310fe21 [2022-10-25T10:11:59.855Z] Step 24/24 : LABEL version=0.0.0 [2022-10-25T10:11:59.855Z] ---> Running in 48d3bcb0f6f9 [2022-10-25T10:12:00.117Z] Removing intermediate container 48d3bcb0f6f9 [2022-10-25T10:12:00.117Z] ---> f18a62b713ed [2022-10-25T10:12:00.117Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T10:12:00.117Z] Successfully built f18a62b713ed [2022-10-25T10:12:00.117Z] 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-25T10:12:00.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:12:00.580Z] [2022-10-25T10:12:00.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:00.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:12:00.903Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T10:12:00.903Z] 5eb5b503b376: Pulling fs layer [2022-10-25T10:12:00.903Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T10:12:00.903Z] ec43610c2a17: Pulling fs layer [2022-10-25T10:12:00.903Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T10:12:00.903Z] 33b1e0a273af: Pulling fs layer [2022-10-25T10:12:00.903Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T10:12:00.903Z] 2f39f015ded8: Pulling fs layer [2022-10-25T10:12:00.903Z] 5d3b04190fa2: Waiting [2022-10-25T10:12:00.903Z] 33b1e0a273af: Waiting [2022-10-25T10:12:00.903Z] 2f39f015ded8: Waiting [2022-10-25T10:12:00.903Z] 3a2ae6a8a46f: Waiting [2022-10-25T10:12:00.903Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T10:12:00.903Z] 5c69ac0246d0: Download complete [2022-10-25T10:12:00.903Z] 3a2ae6a8a46f: Download complete [2022-10-25T10:12:01.164Z] 33b1e0a273af: Verifying Checksum [2022-10-25T10:12:01.164Z] 33b1e0a273af: Download complete [2022-10-25T10:12:01.164Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T10:12:01.164Z] 5d3b04190fa2: Download complete [2022-10-25T10:12:01.164Z] 5eb5b503b376: Verifying Checksum [2022-10-25T10:12:01.164Z] 5eb5b503b376: Download complete [2022-10-25T10:12:01.164Z] ec43610c2a17: Verifying Checksum [2022-10-25T10:12:01.164Z] ec43610c2a17: Download complete [2022-10-25T10:12:02.138Z] 2f39f015ded8: Download complete [2022-10-25T10:12:02.399Z] 5eb5b503b376: Pull complete [2022-10-25T10:12:02.399Z] 5c69ac0246d0: Pull complete [2022-10-25T10:12:02.966Z] ec43610c2a17: Pull complete [2022-10-25T10:12:02.966Z] 3a2ae6a8a46f: Pull complete [2022-10-25T10:12:03.225Z] 33b1e0a273af: Pull complete [2022-10-25T10:12:03.225Z] 5d3b04190fa2: Pull complete [2022-10-25T10:12:08.515Z] 2f39f015ded8: Pull complete [2022-10-25T10:12:08.515Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T10:12:08.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:12:08.515Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:08.585Z] prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container [2022-10-25T10:12:08.622Z] $ 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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T10:12:12.251Z] $ docker top 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:12:12.632Z] ---> job-cost.sh [2022-10-25T10:12:12.632Z] lf-activate-venv: SKIPPING [2022-10-25T10:12:12.632Z] INFO: No Stack... [2022-10-25T10:12:12.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T10:12:13.148Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T10:12:13.441Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-386/archives/cost.csv [2022-10-25T10:12:13.441Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T10:12:13.453Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [2022-10-25T10:12:13.460Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] did not exist. Created. [2022-10-25T10:12:13.460Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T10:12:13.763Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T10:12:13.781Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T10:12:13.787Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T10:12:13.812Z] $ docker stop --time=1 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 [2022-10-25T10:12:14.962Z] $ docker rm -f 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T10:12:28.141Z] Removing intermediate container 71b361188f42 [2022-10-25T10:12:28.141Z] ---> cac158377ef9 [2022-10-25T10:12:28.141Z] Step 10/11 : COPY . . [2022-10-25T10:12:28.141Z] ---> ce630464d15d [2022-10-25T10:12:28.141Z] Step 11/11 : RUN ${MAKE} [2022-10-25T10:12:28.141Z] ---> Running in 6ee6f2c14653 [2022-10-25T10:12:28.141Z] noop [2022-10-25T10:12:28.141Z] Removing intermediate container 6ee6f2c14653 [2022-10-25T10:12:28.141Z] ---> d711ce88a509 [2022-10-25T10:12:28.141Z] Successfully built d711ce88a509 [2022-10-25T10:12:28.141Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:28.519Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T10:12:28.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:28.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container [2022-10-25T10:12:28.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T10:12:31.158Z] $ docker top 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:12:32.000Z] + go version [2022-10-25T10:12:32.000Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T10:12:32.023Z] $ docker stop --time=1 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 [2022-10-25T10:12:33.632Z] $ docker rm -f 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:34.171Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T10:12:34.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:34.347Z] prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container [2022-10-25T10:12:34.419Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T10:12:35.585Z] $ docker top ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:12:36.095Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-25T10:12:36.416Z] + make test [2022-10-25T10:12:36.416Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T10:12:38.355Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T10:14:15.002Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T10:14:15.002Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 47.7% of statements [2022-10-25T10:14:15.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T10:14:15.002Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T10:14:27.321Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T10:14:27.321Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T10:14:27.321Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T10:14:27.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T10:14:27.354Z] $ docker stop --time=1 ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 [2022-10-25T10:14:29.179Z] $ docker rm -f ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:14:30.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T10:14:30.281Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T10:14:30.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:14:31.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T10:14:31.552Z] + ls -al . [2022-10-25T10:14:31.552Z] total 184 [2022-10-25T10:14:31.552Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 10:12 . [2022-10-25T10:14:31.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 .. [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 10:10 .dockerignore [2022-10-25T10:14:31.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:10 .git [2022-10-25T10:14:31.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 .github [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 10:10 .gitignore [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:10 .golangci.yml [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 10:10 Attribution.txt [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 10:10 CHANGELOG.md [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 10:10 Dockerfile [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:10 GOVERNANCE.md [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:10 Jenkinsfile [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:10 LICENSE [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 10:10 Makefile [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 10:10 OWNERS.md [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 10:10 README.md [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION [2022-10-25T10:14:31.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 bin [2022-10-25T10:14:31.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 cmd [2022-10-25T10:14:31.552Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 10:14 coverage.out [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 10:10 go.mod [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 25 10:10 go.sum [2022-10-25T10:14:31.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 internal [2022-10-25T10:14:31.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 simulator [2022-10-25T10:14:31.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 snap [2022-10-25T10:14:31.552Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:14:31.895Z] + 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=06793bab58e7c96f55e1d5bab0fce9523936b0bb --label arch=arm64 --label version=0.0.0 . [2022-10-25T10:14:32.164Z] Sending build context to Docker daemon 3.26MB [2022-10-25T10:14:32.164Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:14:32.164Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-25T10:14:32.164Z] ---> d711ce88a509 [2022-10-25T10:14:32.164Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:14:32.431Z] ---> Running in 3c0968e9def9 [2022-10-25T10:14:32.699Z] Removing intermediate container 3c0968e9def9 [2022-10-25T10:14:32.699Z] ---> 61b1a708c6a6 [2022-10-25T10:14:32.699Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:14:32.699Z] ---> Running in 34930d69cc07 [2022-10-25T10:14:32.966Z] Removing intermediate container 34930d69cc07 [2022-10-25T10:14:32.966Z] ---> ae34b51a2794 [2022-10-25T10:14:32.966Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:14:32.966Z] ---> Running in 1cd9148afa27 [2022-10-25T10:14:34.926Z] Removing intermediate container 1cd9148afa27 [2022-10-25T10:14:34.926Z] ---> 01c7357ba60a [2022-10-25T10:14:34.926Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T10:14:34.926Z] ---> Running in 8ed7ad0b8b81 [2022-10-25T10:14:35.885Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T10:14:36.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:14:37.807Z] OK: 228 MiB in 59 packages [2022-10-25T10:14:38.766Z] Removing intermediate container 8ed7ad0b8b81 [2022-10-25T10:14:38.766Z] ---> 651ffaf2f2ef [2022-10-25T10:14:38.766Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-25T10:14:38.766Z] ---> Running in 2b15199059bb [2022-10-25T10:14:39.032Z] Removing intermediate container 2b15199059bb [2022-10-25T10:14:39.032Z] ---> 2f68afc7dbec [2022-10-25T10:14:39.032Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-25T10:14:39.615Z] ---> 9e5cd03ae6be [2022-10-25T10:14:39.615Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:14:39.615Z] ---> Running in db13f70b927d [2022-10-25T10:14:41.552Z] Removing intermediate container db13f70b927d [2022-10-25T10:14:41.552Z] ---> dccaa0395ba5 [2022-10-25T10:14:41.552Z] Step 10/24 : COPY . . [2022-10-25T10:14:42.141Z] ---> 34a83bb706e7 [2022-10-25T10:14:42.141Z] Step 11/24 : RUN ${MAKE} [2022-10-25T10:14:42.408Z] ---> Running in 935bb1a94305 [2022-10-25T10:14:43.375Z] 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-25T10:17:05.082Z] Removing intermediate container 935bb1a94305 [2022-10-25T10:17:05.082Z] ---> 2ecc1e557e2c [2022-10-25T10:17:05.082Z] Step 12/24 : FROM alpine:3.14 [2022-10-25T10:17:05.082Z] 3.14: Pulling from library/alpine [2022-10-25T10:17:05.082Z] 90cda3b7c325: Pulling fs layer [2022-10-25T10:17:05.350Z] 90cda3b7c325: Verifying Checksum [2022-10-25T10:17:05.350Z] 90cda3b7c325: Download complete [2022-10-25T10:17:05.936Z] 90cda3b7c325: Pull complete [2022-10-25T10:17:05.936Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T10:17:05.936Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T10:17:05.936Z] ---> 376ba31ae3da [2022-10-25T10:17:05.936Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T10:17:06.206Z] ---> Running in 9ef436c51f28 [2022-10-25T10:17:06.476Z] Removing intermediate container 9ef436c51f28 [2022-10-25T10:17:06.476Z] ---> e22ae6cc3d06 [2022-10-25T10:17:06.476Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:17:06.476Z] ---> Running in 49834cbc3201 [2022-10-25T10:17:08.432Z] Removing intermediate container 49834cbc3201 [2022-10-25T10:17:08.432Z] ---> 8baf225f791d [2022-10-25T10:17:08.432Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T10:17:08.432Z] ---> Running in e90c29027005 [2022-10-25T10:17:09.399Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-25T10:17:10.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:17:11.324Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T10:17:11.591Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T10:17:11.591Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T10:17:11.591Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T10:17:11.859Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T10:17:11.859Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T10:17:12.128Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T10:17:12.128Z] OK: 8 MiB in 20 packages [2022-10-25T10:17:13.090Z] Removing intermediate container e90c29027005 [2022-10-25T10:17:13.090Z] ---> b74a83e5abf8 [2022-10-25T10:17:13.090Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T10:17:14.498Z] ---> 90172c450d77 [2022-10-25T10:17:14.498Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T10:17:15.079Z] ---> 57499699dfdf [2022-10-25T10:17:15.080Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T10:17:15.662Z] ---> 15c04b5d3f5d [2022-10-25T10:17:15.662Z] Step 19/24 : EXPOSE 59901 [2022-10-25T10:17:15.662Z] ---> Running in 7cc6e432eaeb [2022-10-25T10:17:15.929Z] Removing intermediate container 7cc6e432eaeb [2022-10-25T10:17:15.929Z] ---> aae1d80cbabb [2022-10-25T10:17:15.929Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-25T10:17:16.198Z] ---> Running in adb33666f16b [2022-10-25T10:17:16.465Z] Removing intermediate container adb33666f16b [2022-10-25T10:17:16.465Z] ---> 5a5fe678e325 [2022-10-25T10:17:16.465Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T10:17:16.465Z] ---> Running in fe0eb397f179 [2022-10-25T10:17:16.734Z] Removing intermediate container fe0eb397f179 [2022-10-25T10:17:16.734Z] ---> aaaa9393ae98 [2022-10-25T10:17:16.734Z] Step 22/24 : LABEL arch=arm64 [2022-10-25T10:17:16.734Z] ---> Running in da4ff302e29d [2022-10-25T10:17:17.318Z] Removing intermediate container da4ff302e29d [2022-10-25T10:17:17.318Z] ---> 04a2cf72f858 [2022-10-25T10:17:17.318Z] Step 23/24 : LABEL git_sha=06793bab58e7c96f55e1d5bab0fce9523936b0bb [2022-10-25T10:17:17.318Z] ---> Running in ab210dcbdd27 [2022-10-25T10:17:17.584Z] Removing intermediate container ab210dcbdd27 [2022-10-25T10:17:17.584Z] ---> 313aa2f487f3 [2022-10-25T10:17:17.584Z] Step 24/24 : LABEL version=0.0.0 [2022-10-25T10:17:17.584Z] ---> Running in 54eb05faa022 [2022-10-25T10:17:17.850Z] Removing intermediate container 54eb05faa022 [2022-10-25T10:17:17.850Z] ---> 49ef843a2f5d [2022-10-25T10:17:17.850Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T10:17:17.850Z] Successfully built 49ef843a2f5d [2022-10-25T10:17:17.850Z] 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-25T10:17:18.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:18.295Z] [2022-10-25T10:17:18.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:17:18.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:18.627Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T10:17:18.627Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T10:17:18.627Z] 04944245beec: Pulling fs layer [2022-10-25T10:17:18.627Z] 699f458cf7ca: Pulling fs layer [2022-10-25T10:17:18.627Z] 765212b225bb: Pulling fs layer [2022-10-25T10:17:18.627Z] f23df028b6ca: Pulling fs layer [2022-10-25T10:17:18.627Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T10:17:18.627Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T10:17:18.627Z] f23df028b6ca: Waiting [2022-10-25T10:17:18.627Z] d65c8cfc05b1: Waiting [2022-10-25T10:17:18.627Z] 2437ff75d9bd: Waiting [2022-10-25T10:17:18.627Z] 765212b225bb: Waiting [2022-10-25T10:17:18.902Z] 04944245beec: Verifying Checksum [2022-10-25T10:17:18.902Z] 04944245beec: Download complete [2022-10-25T10:17:18.902Z] 765212b225bb: Verifying Checksum [2022-10-25T10:17:18.902Z] 765212b225bb: Download complete [2022-10-25T10:17:18.902Z] f23df028b6ca: Download complete [2022-10-25T10:17:18.902Z] d65c8cfc05b1: Download complete [2022-10-25T10:17:19.174Z] 699f458cf7ca: Verifying Checksum [2022-10-25T10:17:19.174Z] 699f458cf7ca: Download complete [2022-10-25T10:17:19.444Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T10:17:19.444Z] 8998bd30e6a1: Download complete [2022-10-25T10:17:22.027Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T10:17:22.027Z] 2437ff75d9bd: Download complete [2022-10-25T10:17:23.438Z] 8998bd30e6a1: Pull complete [2022-10-25T10:17:23.706Z] 04944245beec: Pull complete [2022-10-25T10:17:25.113Z] 699f458cf7ca: Pull complete [2022-10-25T10:17:25.379Z] 765212b225bb: Pull complete [2022-10-25T10:17:25.963Z] f23df028b6ca: Pull complete [2022-10-25T10:17:26.232Z] d65c8cfc05b1: Pull complete [2022-10-25T10:17:41.239Z] 2437ff75d9bd: Pull complete [2022-10-25T10:17:41.239Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T10:17:41.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:41.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:17:41.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container [2022-10-25T10:17:41.497Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T10:17:44.402Z] $ docker top ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:45.246Z] ---> job-cost.sh [2022-10-25T10:17:45.246Z] lf-activate-venv: SKIPPING [2022-10-25T10:17:45.246Z] INFO: No Stack... [2022-10-25T10:17:45.514Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T10:17:46.473Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T10:17:47.118Z] + cut -d, -f6 [2022-10-25T10:17:47.118Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2022-10-25T10:17:47.156Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [2022-10-25T10:17:47.162Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] did not exist. Created. [2022-10-25T10:17:47.162Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T10:17:47.823Z] /w/workspace/device-modbus-go/2@tmp/durable-5e33d1ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T10:17:48.483Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T10:17:48.505Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T10:17:48.571Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T10:17:48.578Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T10:17:48.596Z] $ docker stop --time=1 ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d [2022-10-25T10:17:50.125Z] $ docker rm -f ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d [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-25T10:17:50.502Z] provisioning config files... [2022-10-25T10:17:50.509Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config3497628777202829345tmp [Pipeline] { [Pipeline] sh [2022-10-25T10:17:50.797Z] + set +x [2022-10-25T10:17:50.797Z] + curl -s https://codecov.io/bash [2022-10-25T10:17:50.797Z] + bash -s -- [2022-10-25T10:17:50.797Z] [2022-10-25T10:17:50.797Z] _____ _ [2022-10-25T10:17:50.797Z] / ____| | | [2022-10-25T10:17:50.797Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T10:17:50.797Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T10:17:50.797Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T10:17:50.797Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T10:17:50.797Z] Bash-1.0.6 [2022-10-25T10:17:50.797Z] [2022-10-25T10:17:50.797Z] [2022-10-25T10:17:50.797Z] ==> git version 2.25.1 found [2022-10-25T10:17:50.797Z] ==> 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-25T10:17:50.797Z] Release-Date: 2020-01-08 [2022-10-25T10:17:50.797Z] 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-25T10:17:50.797Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T10:17:50.797Z] ==> Jenkins CI detected. [2022-10-25T10:17:50.797Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-386 [2022-10-25T10:17:50.797Z] project root: . [2022-10-25T10:17:50.797Z] --> token set from env [2022-10-25T10:17:50.797Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T10:17:50.797Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T10:17:50.797Z] ==> Python coveragepy not found [2022-10-25T10:17:50.797Z] ==> Searching for coverage reports in: [2022-10-25T10:17:50.797Z] + . [2022-10-25T10:17:50.797Z] -> Found 1 reports [2022-10-25T10:17:50.797Z] ==> Detecting git/mercurial file structure [2022-10-25T10:17:50.797Z] ==> Reading reports [2022-10-25T10:17:51.056Z] + ./coverage.out bytes=23241 [2022-10-25T10:17:51.056Z] ==> Appending adjustments [2022-10-25T10:17:51.056Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T10:17:51.056Z] + Found adjustments [2022-10-25T10:17:51.056Z] ==> Gzipping contents [2022-10-25T10:17:51.056Z] 4.0K /tmp/codecov.oBmYsM.gz [2022-10-25T10:17:51.056Z] ==> Uploading reports [2022-10-25T10:17:51.056Z] url: https://codecov.io [2022-10-25T10:17:51.057Z] query: branch=PR-386&commit=06793bab58e7c96f55e1d5bab0fce9523936b0bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-386%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=386&job=&cmd_args= [2022-10-25T10:17:51.057Z] -> Pinging Codecov [2022-10-25T10:17:51.057Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-386&commit=06793bab58e7c96f55e1d5bab0fce9523936b0bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-386%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=386&job=&cmd_args= [2022-10-25T10:17:51.316Z] -> Uploading to [2022-10-25T10:17:51.316Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/06793bab58e7c96f55e1d5bab0fce9523936b0bb/829615e8-c283-4784-a8ae-f844bbbe2ff0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T101751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd518bf182b6e62c1d86675e9fcb987ef1da446e4b0df7875d63ed434e56b3a4 [2022-10-25T10:17:51.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T10:17:51.316Z] Dload Upload Total Spent Left Speed [2022-10-25T10:17:51.574Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16973 --:--:-- --:--:-- --:--:-- 16973 [2022-10-25T10:17:51.574Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] } [2022-10-25T10:17:51.581Z] 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-25T10:17:52.282Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-386/archives ] [2022-10-25T10:17:52.282Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-386/archives [2022-10-25T10:17:52.282Z] total 16 [2022-10-25T10:17:52.282Z] drwxr-xr-x 3 root root 4096 Oct 25 10:12 . [2022-10-25T10:17:52.282Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 10:12 .. [2022-10-25T10:17:52.282Z] drwxr-xr-x 2 root root 4096 Oct 25 10:12 cost [2022-10-25T10:17:52.282Z] -rw-r--r-- 1 root root 88 Oct 25 10:12 cost.csv [2022-10-25T10:17:52.282Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-386/archives [2022-10-25T10:17:52.282Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-386/archives [2022-10-25T10:17:52.282Z] total 16 [2022-10-25T10:17:52.282Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:12 . [2022-10-25T10:17:52.282Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 10:12 .. [2022-10-25T10:17:52.282Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 10:12 cost [2022-10-25T10:17:52.282Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 25 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:52.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:53.429Z] ---> package-listing.sh [2022-10-25T10:17:53.429Z] ++ facter osfamily [2022-10-25T10:17:53.429Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T10:17:53.689Z] + OS_FAMILY=debian [2022-10-25T10:17:53.689Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-386 [2022-10-25T10:17:53.689Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T10:17:53.689Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T10:17:53.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T10:17:53.689Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T10:17:53.689Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-386 ']' [2022-10-25T10:17:53.689Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T10:17:53.689Z] + case "${OS_FAMILY}" in [2022-10-25T10:17:53.689Z] + dpkg -l [2022-10-25T10:17:53.689Z] + grep '^ii' [2022-10-25T10:17:53.689Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T10:17:53.689Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T10:17:53.689Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T10:17:53.689Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-386 ']' [2022-10-25T10:17:53.689Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-386/archives/ [2022-10-25T10:17:53.689Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-386/archives/ [Pipeline] echo [2022-10-25T10:17:53.698Z] 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-386/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T10:17:53.974Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:17:54.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:17:54.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:17:54.595Z] prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container [2022-10-25T10:17:54.624Z] $ 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-386/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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T10:17:54.853Z] $ docker top 682f1c44a8cbdc504a67e66954c800fcfc6951d518cea6fa04f5db42fcec4288 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:17:55.202Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T10:17:55.486Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T10:17:55.766Z] + ls /var/log/sa-host [2022-10-25T10:17:55.766Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:17:55.826Z] provisioning config files... [2022-10-25T10:17:55.834Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config1419311091251154088tmp [Pipeline] { [Pipeline] echo [2022-10-25T10:17:55.844Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:56.124Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T10:17:56.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:56.447Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T10:17:56.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:56.734Z] ---> sudo-logs.sh [2022-10-25T10:17:56.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T10:17:56.759Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:57.044Z] ---> job-cost.sh [2022-10-25T10:17:57.044Z] lf-activate-venv: SKIPPING [2022-10-25T10:17:57.044Z] DEBUG: total: 0.2199999988079071 [2022-10-25T10:17:57.044Z] INFO: Retrieving Stack Cost... [2022-10-25T10:17:57.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T10:17:57.870Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T10:17:57.882Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:17:58.166Z] ---> logs-deploy.sh [2022-10-25T10:17:58.166Z] lf-activate-venv: SKIPPING [2022-10-25T10:17:58.166Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-386/2 [2022-10-25T10:17:58.166Z] INFO: archiving workspace using pattern(s): [2022-10-25T10:17:59.103Z] Archives upload complete. [2022-10-25T10:17:59.103Z] INFO: archiving logs to Nexus