Pull request #394 opened 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 935c60b21fa3ececfc782efe064636a9944f6c78+62ec25a2eb67d4cbe0628602eb20a0741648d64e (85bbaa474787d9bc184d463af6fbe6ff75d27ab9) 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-ssh18056400771492485294.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16898119302508628006.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10236588108615812343.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8965199094614818820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3229357297332450943.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8061180515548663508.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-931 in /w/workspace/xfoundry_device-modbus-go_PR-394 [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-394 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62ec25a2eb67d4cbe0628602eb20a0741648d64e into PR head commit 935c60b21fa3ececfc782efe064636a9944f6c78 Merge succeeded, producing 935c60b21fa3ececfc782efe064636a9944f6c78 Checking out Revision 935c60b21fa3ececfc782efe064636a9944f6c78 (PR-394) > git config core.sparsecheckout # timeout=10 > git checkout -f 935c60b21fa3ececfc782efe064636a9944f6c78 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 935c60b21fa3ececfc782efe064636a9944f6c78 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T18:26:00.461Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T18:26:00.641Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T18:26:00.738Z] ========================================================= [2023-01-03T18:26:00.738Z] EdgeX Global Pipelines Version Info [2023-01-03T18:26:00.738Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:26:01.478Z] ------------------- [2023-01-03T18:26:01.478Z] stable info: [2023-01-03T18:26:01.478Z] ------------------- [2023-01-03T18:26:01.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T18:26:01.478Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:26:01.478Z] Message: update stable to v1.0.244 [2023-01-03T18:26:02.047Z] ------------------- [2023-01-03T18:26:02.047Z] experimental info: [2023-01-03T18:26:02.047Z] ------------------- [2023-01-03T18:26:02.047Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T18:26:02.047Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:26:02.047Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T18:26:02.321Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-03T18:26:02.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-03T18:26:02.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T18:26:02.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T18:26:02.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T18:26:02.521Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T18:26:02.563Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T18:26:02.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T18:26:02.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T18:26:02.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T18:26:02.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T18:26:02.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-03T18:26:02.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T18:26:02.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T18:26:02.874Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:26:02.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:26:02.947Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:26:02.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:26:03.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T18:26:03.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T18:26:03.106Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T18:26:03.154Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T18:26:03.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T18:26:03.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T18:26:03.269Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T18:26:03.304Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T18:26:03.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T18:26:03.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-394 [Pipeline] echo [2023-01-03T18:26:03.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-394 [Pipeline] echo [2023-01-03T18:26:03.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-394 [Pipeline] echo [2023-01-03T18:26:03.503Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 935c60b21fa3ececfc782efe064636a9944f6c78 [Pipeline] echo [2023-01-03T18:26:03.539Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 935c60b [Pipeline] echo [2023-01-03T18:26:03.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:26:03.692Z] provisioning config files... [2023-01-03T18:26:03.707Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/config6110601283354532605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:26:04.041Z] ---> docker-login.sh [2023-01-03T18:26:04.042Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:26:04.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:04.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:04.302Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:04.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:04.302Z] [2023-01-03T18:26:04.302Z] Login Succeeded [2023-01-03T18:26:04.302Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:26:04.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:04.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:04.561Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:04.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:04.561Z] [2023-01-03T18:26:04.561Z] Login Succeeded [2023-01-03T18:26:04.561Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:26:04.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:04.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:04.562Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:04.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:04.562Z] [2023-01-03T18:26:04.562Z] Login Succeeded [2023-01-03T18:26:04.562Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:26:04.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:04.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:04.821Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:04.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:04.821Z] [2023-01-03T18:26:04.821Z] Login Succeeded [2023-01-03T18:26:04.821Z] docker.io [2023-01-03T18:26:04.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:05.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:05.082Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:05.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:05.082Z] [2023-01-03T18:26:05.082Z] Login Succeeded [2023-01-03T18:26:05.082Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:26:05.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T18:26:05.729Z] + git rev-list -1 --merges 935c60b21fa3ececfc782efe064636a9944f6c78~1..935c60b21fa3ececfc782efe064636a9944f6c78 [Pipeline] echo [2023-01-03T18:26:05.855Z] -----------> git rev-list -1 --merges 935c60b21fa3ececfc782efe064636a9944f6c78~1..935c60b21fa3ececfc782efe064636a9944f6c78 935c60b21fa3ececfc782efe064636a9944f6c78 [false] [Pipeline] sh [2023-01-03T18:26:06.161Z] + git log --format=format:%s -1 935c60b21fa3ececfc782efe064636a9944f6c78 [Pipeline] echo [2023-01-03T18:26:06.198Z] ========================================================= [2023-01-03T18:26:06.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T18:26:06.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:26:06.637Z] + git log --format=format:%s -1 935c60b21fa3ececfc782efe064636a9944f6c78 [Pipeline] echo [2023-01-03T18:26:06.671Z] [semverPrep] GIT_COMMIT: 935c60b21fa3ececfc782efe064636a9944f6c78, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T18:26:06.700Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T18:26:07.089Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:26:07.089Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T18:26:07.089Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T18:26:07.089Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T18:26:07.089Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T18:26:07.089Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T18:26:07.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:26:07.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:26:07.573Z] [2023-01-03T18:26:07.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:26:07.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:26:07.952Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T18:26:07.952Z] b85a868b505f: Pulling fs layer [2023-01-03T18:26:07.952Z] e2be974225ed: Pulling fs layer [2023-01-03T18:26:07.952Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T18:26:07.952Z] 988bab9f4d93: Pulling fs layer [2023-01-03T18:26:07.952Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T18:26:07.952Z] eaf3925da568: Pulling fs layer [2023-01-03T18:26:07.952Z] bab4dde63d76: Pulling fs layer [2023-01-03T18:26:07.952Z] bde34c3a00c8: Pulling fs layer [2023-01-03T18:26:07.952Z] b352a97aabf1: Pulling fs layer [2023-01-03T18:26:07.952Z] 4872d77fe225: Pulling fs layer [2023-01-03T18:26:07.952Z] 5851b861e8e6: Pulling fs layer [2023-01-03T18:26:07.952Z] eaf3925da568: Waiting [2023-01-03T18:26:07.952Z] bab4dde63d76: Waiting [2023-01-03T18:26:07.952Z] bde34c3a00c8: Waiting [2023-01-03T18:26:07.952Z] b352a97aabf1: Waiting [2023-01-03T18:26:07.952Z] 988bab9f4d93: Waiting [2023-01-03T18:26:07.952Z] 4872d77fe225: Waiting [2023-01-03T18:26:07.952Z] e2be974225ed: Download complete [2023-01-03T18:26:07.952Z] 988bab9f4d93: Verifying Checksum [2023-01-03T18:26:07.952Z] 988bab9f4d93: Download complete [2023-01-03T18:26:08.212Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T18:26:08.212Z] 1469e6f7b9e6: Download complete [2023-01-03T18:26:08.212Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T18:26:08.212Z] 339a4e72a1f5: Download complete [2023-01-03T18:26:08.212Z] eaf3925da568: Verifying Checksum [2023-01-03T18:26:08.212Z] eaf3925da568: Download complete [2023-01-03T18:26:08.212Z] bde34c3a00c8: Download complete [2023-01-03T18:26:08.212Z] b352a97aabf1: Verifying Checksum [2023-01-03T18:26:08.212Z] b352a97aabf1: Download complete [2023-01-03T18:26:08.212Z] 4872d77fe225: Verifying Checksum [2023-01-03T18:26:08.212Z] 4872d77fe225: Download complete [2023-01-03T18:26:08.212Z] 5851b861e8e6: Download complete [2023-01-03T18:26:08.212Z] b85a868b505f: Verifying Checksum [2023-01-03T18:26:08.212Z] b85a868b505f: Download complete [2023-01-03T18:26:08.471Z] bab4dde63d76: Verifying Checksum [2023-01-03T18:26:08.471Z] bab4dde63d76: Download complete [2023-01-03T18:26:09.409Z] b85a868b505f: Pull complete [2023-01-03T18:26:09.674Z] e2be974225ed: Pull complete [2023-01-03T18:26:10.244Z] 339a4e72a1f5: Pull complete [2023-01-03T18:26:10.244Z] 988bab9f4d93: Pull complete [2023-01-03T18:26:10.503Z] 1469e6f7b9e6: Pull complete [2023-01-03T18:26:10.503Z] eaf3925da568: Pull complete [2023-01-03T18:26:12.406Z] bab4dde63d76: Pull complete [2023-01-03T18:26:12.406Z] bde34c3a00c8: Pull complete [2023-01-03T18:26:12.406Z] b352a97aabf1: Pull complete [2023-01-03T18:26:12.665Z] 4872d77fe225: Pull complete [2023-01-03T18:26:12.665Z] 5851b861e8e6: Pull complete [2023-01-03T18:26:12.665Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T18:26:12.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:26:12.665Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:26:12.887Z] prd-ubuntu20.04-docker-8c-8g-931 does not seem to be running inside a container [2023-01-03T18:26:12.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-394 -v /w/workspace/xfoundry_device-modbus-go_PR-394:/w/workspace/xfoundry_device-modbus-go_PR-394:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-394@tmp:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:26:14.221Z] $ docker top 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e -eo pid,comm [2023-01-03T18:26:14.273Z] 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). [2023-01-03T18:26:14.273Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:26:14.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:26:14.401Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:26:14.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:26:14.535Z] $ docker exec 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e ssh-agent [2023-01-03T18:26:14.638Z] SSH_AUTH_SOCK=/tmp/ssh-7VC3x0VtQ4GT/agent.32 [2023-01-03T18:26:14.638Z] SSH_AGENT_PID=38 [2023-01-03T18:26:14.645Z] Running ssh-add (command line suppressed) [2023-01-03T18:26:14.752Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-394@tmp/private_key_8132913321851799404.key (/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/private_key_8132913321851799404.key) [2023-01-03T18:26:14.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:26:15.086Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T18:26:15.113Z] $ docker exec --env ******** --env ******** 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e ssh-agent -k [2023-01-03T18:26:15.212Z] unset SSH_AUTH_SOCK; [2023-01-03T18:26:15.212Z] unset SSH_AGENT_PID; [2023-01-03T18:26:15.213Z] echo Agent pid 38 killed; [2023-01-03T18:26:15.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T18:26:15.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:26:15.303Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:26:15.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:26:15.416Z] $ docker exec 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e ssh-agent [2023-01-03T18:26:15.520Z] SSH_AUTH_SOCK=/tmp/ssh-CkRROIxN8LBO/agent.72 [2023-01-03T18:26:15.520Z] SSH_AGENT_PID=78 [2023-01-03T18:26:15.524Z] Running ssh-add (command line suppressed) [2023-01-03T18:26:15.627Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-394@tmp/private_key_14375748753527109211.key (/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/private_key_14375748753527109211.key) [2023-01-03T18:26:15.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:26:15.961Z] + git semver init [2023-01-03T18:26:16.222Z] 2023-01-03 18:26:16,140 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T18:26:16.222Z] 2023-01-03 18:26:16,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-394/.semver [2023-01-03T18:26:16.222Z] 2023-01-03 18:26:16,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-394/.semver [2023-01-03T18:26:16.222Z] 2023-01-03 18:26:16,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-394/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-394, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,957 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-394/.git/info/exclude [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-394/.semver/PR-394 with force:False [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,958 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-394/.semver/PR-394 [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,962 [execute] INFO git cat-file --batch-check [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,969 [execute] INFO git cat-file --batch [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:26:17.159Z] 2023-01-03 18:26:16,976 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-394/.semver/PR-394 [2023-01-03T18:26:17.159Z] 0.0.0 [Pipeline] } [2023-01-03T18:26:17.228Z] $ docker exec --env ******** --env ******** 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e ssh-agent -k [2023-01-03T18:26:17.319Z] unset SSH_AUTH_SOCK; [2023-01-03T18:26:17.319Z] unset SSH_AGENT_PID; [2023-01-03T18:26:17.319Z] echo Agent pid 78 killed; [2023-01-03T18:26:17.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:26:17.746Z] + git semver [Pipeline] } [2023-01-03T18:26:18.034Z] $ docker stop --time=1 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e [2023-01-03T18:26:19.403Z] $ docker rm -f --volumes 96d5be5ec89d1ad39b16339676e56f19061eb6f98274542e8010acc67a04836e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:26:19.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T18:26:20.103Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T18:26:20.124Z] [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 [2023-01-03T18:26:20.714Z] provisioning config files... [2023-01-03T18:26:20.726Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/config11481215547711820766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:26:21.067Z] ---> docker-login.sh [2023-01-03T18:26:21.067Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:26:21.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:21.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:21.067Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:21.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:21.067Z] [2023-01-03T18:26:21.067Z] Login Succeeded [2023-01-03T18:26:21.067Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:26:21.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:21.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:21.067Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:21.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:21.067Z] [2023-01-03T18:26:21.067Z] Login Succeeded [2023-01-03T18:26:21.067Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:26:21.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:21.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:21.327Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:21.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:21.327Z] [2023-01-03T18:26:21.327Z] Login Succeeded [2023-01-03T18:26:21.327Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:26:21.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:21.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:21.587Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:21.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:21.587Z] [2023-01-03T18:26:21.587Z] Login Succeeded [2023-01-03T18:26:21.587Z] docker.io [2023-01-03T18:26:21.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:26:21.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:26:21.845Z] Configure a credential helper to remove this warning. See [2023-01-03T18:26:21.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:26:21.845Z] [2023-01-03T18:26:21.845Z] Login Succeeded [2023-01-03T18:26:21.845Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:26:21.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:26:22.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:26:22.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:26:22.129Z] ========================================================= [2023-01-03T18:26:22.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T18:26:22.129Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:26:22.595Z] + 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 . [2023-01-03T18:26:22.595Z] Sending build context to Docker daemon 6.367MB [2023-01-03T18:26:22.595Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:26:22.595Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T18:26:22.595Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T18:26:22.595Z] 213ec9aee27d: Pulling fs layer [2023-01-03T18:26:22.595Z] 4583459ba037: Pulling fs layer [2023-01-03T18:26:22.595Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T18:26:22.595Z] 53926ce57604: Pulling fs layer [2023-01-03T18:26:22.595Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T18:26:22.595Z] 22ff95d597cd: Pulling fs layer [2023-01-03T18:26:22.595Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T18:26:22.595Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T18:26:22.595Z] a7acece74701: Pulling fs layer [2023-01-03T18:26:22.595Z] 12d6caf4c0d1: Waiting [2023-01-03T18:26:22.595Z] 96b7cbca73a9: Waiting [2023-01-03T18:26:22.595Z] 53926ce57604: Waiting [2023-01-03T18:26:22.595Z] 21b2b0c7a3f4: Waiting [2023-01-03T18:26:22.595Z] a7acece74701: Waiting [2023-01-03T18:26:22.595Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T18:26:22.595Z] 93c1e223e6f2: Download complete [2023-01-03T18:26:22.595Z] 4583459ba037: Verifying Checksum [2023-01-03T18:26:22.595Z] 4583459ba037: Download complete [2023-01-03T18:26:22.595Z] 21b2b0c7a3f4: Download complete [2023-01-03T18:26:22.595Z] 22ff95d597cd: Download complete [2023-01-03T18:26:22.857Z] 213ec9aee27d: Verifying Checksum [2023-01-03T18:26:22.857Z] 213ec9aee27d: Download complete [2023-01-03T18:26:22.857Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T18:26:22.857Z] 12d6caf4c0d1: Download complete [2023-01-03T18:26:22.857Z] 213ec9aee27d: Pull complete [2023-01-03T18:26:23.130Z] 4583459ba037: Pull complete [2023-01-03T18:26:23.130Z] 93c1e223e6f2: Pull complete [2023-01-03T18:26:23.130Z] a7acece74701: Verifying Checksum [2023-01-03T18:26:23.130Z] a7acece74701: Download complete [2023-01-03T18:26:23.721Z] 53926ce57604: Verifying Checksum [2023-01-03T18:26:23.721Z] 53926ce57604: Download complete [2023-01-03T18:26:23.721Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T18:26:23.721Z] 96b7cbca73a9: Download complete [2023-01-03T18:26:27.904Z] 53926ce57604: Pull complete [2023-01-03T18:26:27.904Z] 21b2b0c7a3f4: Pull complete [2023-01-03T18:26:27.904Z] 22ff95d597cd: Pull complete [2023-01-03T18:26:27.904Z] 12d6caf4c0d1: Pull complete [2023-01-03T18:26:29.805Z] 96b7cbca73a9: Pull complete [2023-01-03T18:26:30.744Z] a7acece74701: Pull complete [2023-01-03T18:26:30.744Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T18:26:30.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T18:26:30.744Z] ---> db6d94c90886 [2023-01-03T18:26:30.744Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:26:32.125Z] ---> Running in 36c11cbfec2f [2023-01-03T18:26:32.125Z] Removing intermediate container 36c11cbfec2f [2023-01-03T18:26:32.125Z] ---> 97b431d8e5b3 [2023-01-03T18:26:32.125Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:26:32.125Z] ---> Running in 04fbe7584015 [2023-01-03T18:26:32.125Z] Removing intermediate container 04fbe7584015 [2023-01-03T18:26:32.125Z] ---> 21f8b2ec4197 [2023-01-03T18:26:32.125Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:26:32.125Z] ---> Running in c3909e085551 [2023-01-03T18:26:32.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:26:32.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:26:32.904Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:26:32.904Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-03T18:26:32.904Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:26:33.162Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:26:33.162Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-03T18:26:33.162Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-03T18:26:33.162Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-03T18:26:33.162Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-03T18:26:33.162Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:26:33.162Z] OK: 217 MiB in 59 packages [2023-01-03T18:26:33.729Z] Removing intermediate container c3909e085551 [2023-01-03T18:26:33.729Z] ---> 0b1e29e80af6 [2023-01-03T18:26:33.729Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-03T18:26:33.729Z] ---> Running in 97822eaf63f5 [2023-01-03T18:26:33.729Z] Removing intermediate container 97822eaf63f5 [2023-01-03T18:26:33.729Z] ---> c5d11c777457 [2023-01-03T18:26:33.729Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T18:26:33.729Z] ---> 224f9f6d2d6d [2023-01-03T18:26:33.729Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:26:33.729Z] ---> Running in 7febee45268a [2023-01-03T18:26:35.523Z] Still waiting to schedule task [2023-01-03T18:26:35.523Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-03T18:26:51.860Z] Removing intermediate container 7febee45268a [2023-01-03T18:26:51.860Z] ---> 6be98f84c47d [2023-01-03T18:26:51.860Z] Step 9/10 : COPY . . [2023-01-03T18:26:51.860Z] ---> a3753da3dad3 [2023-01-03T18:26:51.860Z] Step 10/10 : RUN ${MAKE} [2023-01-03T18:26:51.860Z] ---> Running in a2db15b631ce [2023-01-03T18:26:51.860Z] noop [2023-01-03T18:26:51.860Z] Removing intermediate container a2db15b631ce [2023-01-03T18:26:51.860Z] ---> d20f373237cb [2023-01-03T18:26:51.860Z] Successfully built d20f373237cb [2023-01-03T18:26:51.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:26:52.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:26:52.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:26:52.456Z] prd-ubuntu20.04-docker-8c-8g-931 does not seem to be running inside a container [2023-01-03T18:26:52.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-394 -v /w/workspace/xfoundry_device-modbus-go_PR-394:/w/workspace/xfoundry_device-modbus-go_PR-394:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-394@tmp:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:26:52.832Z] $ docker top 43c4d3af4e7cd33f60eadbc86ff7fca802f31d89053568578e03e51fa6ec9637 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:26:53.220Z] + go version [2023-01-03T18:26:53.221Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T18:26:53.255Z] $ docker stop --time=1 43c4d3af4e7cd33f60eadbc86ff7fca802f31d89053568578e03e51fa6ec9637 [2023-01-03T18:26:54.526Z] $ docker rm -f --volumes 43c4d3af4e7cd33f60eadbc86ff7fca802f31d89053568578e03e51fa6ec9637 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:26:55.258Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:26:55.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:26:55.424Z] prd-ubuntu20.04-docker-8c-8g-931 does not seem to be running inside a container [2023-01-03T18:26:55.460Z] $ 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-394 -v /w/workspace/xfoundry_device-modbus-go_PR-394:/w/workspace/xfoundry_device-modbus-go_PR-394:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-394@tmp:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:26:55.853Z] $ docker top 8febe9bfa4bae454d37233edeb09a96dadcce5a584b4f13368d84e7fbbd15626 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:26:56.247Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-394 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:26:56.607Z] + make test [2023-01-03T18:26:56.607Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:26:56.865Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-03T18:27:06.839Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-03T18:27:06.839Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2023-01-03T18:27:13.400Z] 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." [2023-01-03T18:27:13.400Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:27:15.928Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:27:15.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:27:15.929Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:27:16.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:27:16.248Z] $ docker stop --time=1 8febe9bfa4bae454d37233edeb09a96dadcce5a584b4f13368d84e7fbbd15626 [2023-01-03T18:27:18.485Z] $ docker rm -f --volumes 8febe9bfa4bae454d37233edeb09a96dadcce5a584b4f13368d84e7fbbd15626 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:27:18.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:27:19.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T18:27:19.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:27:20.025Z] + ls -al . [2023-01-03T18:27:20.025Z] total 196 [2023-01-03T18:27:20.025Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:26 . [2023-01-03T18:27:20.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:25 .. [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 18:25 .dockerignore [2023-01-03T18:27:20.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:27 .git [2023-01-03T18:27:20.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:25 .github [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 3 18:25 .gitignore [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:25 .golangci.yml [2023-01-03T18:27:20.025Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:26 .semver [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 3 18:25 Attribution.txt [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 3 18:25 CHANGELOG.md [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 3 18:25 Dockerfile [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:25 GOVERNANCE.md [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:25 Jenkinsfile [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:25 LICENSE [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 3 18:25 Makefile [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:25 OWNERS.md [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 3 18:25 README.md [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:26 VERSION [2023-01-03T18:27:20.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:25 bin [2023-01-03T18:27:20.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:25 cmd [2023-01-03T18:27:20.025Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 3 18:27 coverage.out [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 3 18:25 go.mod [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 3 18:25 go.sum [2023-01-03T18:27:20.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:25 internal [2023-01-03T18:27:20.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:25 simulator [2023-01-03T18:27:20.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:25 snap [2023-01-03T18:27:20.025Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 3 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:27:20.434Z] + 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=935c60b21fa3ececfc782efe064636a9944f6c78 --label arch=amd64 --label version=0.0.0 . [2023-01-03T18:27:20.434Z] Sending build context to Docker daemon 6.391MB [2023-01-03T18:27:20.434Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:27:20.435Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-03T18:27:20.435Z] ---> d20f373237cb [2023-01-03T18:27:20.435Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:27:20.435Z] ---> Running in 5548d20e3563 [2023-01-03T18:27:20.695Z] Removing intermediate container 5548d20e3563 [2023-01-03T18:27:20.695Z] ---> b4d1bd098dc2 [2023-01-03T18:27:20.695Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:27:20.695Z] ---> Running in cb6ffd765cab [2023-01-03T18:27:20.696Z] Removing intermediate container cb6ffd765cab [2023-01-03T18:27:20.696Z] ---> d9e0bb879cca [2023-01-03T18:27:20.696Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:27:20.696Z] ---> Running in 28ed910c3737 [2023-01-03T18:27:20.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:27:21.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:27:21.481Z] OK: 217 MiB in 59 packages [2023-01-03T18:27:21.741Z] Removing intermediate container 28ed910c3737 [2023-01-03T18:27:21.741Z] ---> 9a5756a07683 [2023-01-03T18:27:21.741Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-03T18:27:21.741Z] ---> Running in d9bdfc38db30 [2023-01-03T18:27:22.001Z] Removing intermediate container d9bdfc38db30 [2023-01-03T18:27:22.001Z] ---> de620e0e1710 [2023-01-03T18:27:22.001Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-03T18:27:22.001Z] ---> 9344e1398a89 [2023-01-03T18:27:22.001Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:27:22.001Z] ---> Running in 77d6988a3043 [2023-01-03T18:27:22.965Z] Removing intermediate container 77d6988a3043 [2023-01-03T18:27:22.965Z] ---> d99634607e96 [2023-01-03T18:27:22.965Z] Step 9/22 : COPY . . [2023-01-03T18:27:23.226Z] ---> 08502d18d215 [2023-01-03T18:27:23.226Z] Step 10/22 : RUN ${MAKE} [2023-01-03T18:27:23.226Z] ---> Running in 5ae285067e0b [2023-01-03T18:27:23.485Z] 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 [2023-01-03T18:27:45.408Z] Removing intermediate container 5ae285067e0b [2023-01-03T18:27:45.408Z] ---> 1a0ae97b784e [2023-01-03T18:27:45.408Z] Step 11/22 : FROM alpine:3.14 [2023-01-03T18:27:45.408Z] 3.14: Pulling from library/alpine [2023-01-03T18:27:45.408Z] c7ed990a2339: Pulling fs layer [2023-01-03T18:27:45.408Z] c7ed990a2339: Download complete [2023-01-03T18:27:45.408Z] c7ed990a2339: Pull complete [2023-01-03T18:27:45.408Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-03T18:27:45.408Z] Status: Downloaded newer image for alpine:3.14 [2023-01-03T18:27:45.408Z] ---> dd53f409bf0b [2023-01-03T18:27:45.408Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-03T18:27:45.408Z] ---> Running in ed00c8c0dd38 [2023-01-03T18:27:45.408Z] Removing intermediate container ed00c8c0dd38 [2023-01-03T18:27:45.408Z] ---> a96ced970094 [2023-01-03T18:27:45.408Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:27:45.408Z] ---> Running in d60fbdcf0836 [2023-01-03T18:27:45.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:27:45.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:27:45.408Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:27:45.408Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-03T18:27:45.408Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:27:45.408Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-03T18:27:45.408Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:27:45.408Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:27:45.408Z] Executing busybox-1.33.1-r8.trigger [2023-01-03T18:27:45.408Z] OK: 8 MiB in 20 packages [2023-01-03T18:27:45.408Z] Removing intermediate container d60fbdcf0836 [2023-01-03T18:27:45.408Z] ---> e3e2793e6b05 [2023-01-03T18:27:45.408Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-03T18:27:45.976Z] ---> 6018cb68d95a [2023-01-03T18:27:45.976Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-03T18:27:46.236Z] ---> bd80d97d7924 [2023-01-03T18:27:46.236Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-03T18:27:46.236Z] ---> 37d4067af873 [2023-01-03T18:27:46.236Z] Step 17/22 : EXPOSE 59901 [2023-01-03T18:27:46.236Z] ---> Running in 2dbb63a5033c [2023-01-03T18:27:46.236Z] Removing intermediate container 2dbb63a5033c [2023-01-03T18:27:46.236Z] ---> 5a789bf69cbf [2023-01-03T18:27:46.236Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-03T18:27:46.495Z] ---> Running in 117e409ca5d0 [2023-01-03T18:27:46.495Z] Removing intermediate container 117e409ca5d0 [2023-01-03T18:27:46.495Z] ---> 3716575f7062 [2023-01-03T18:27:46.495Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:27:46.495Z] ---> Running in b5076b8b8394 [2023-01-03T18:27:46.495Z] Removing intermediate container b5076b8b8394 [2023-01-03T18:27:46.495Z] ---> a853189518da [2023-01-03T18:27:46.495Z] Step 20/22 : LABEL arch=amd64 [2023-01-03T18:27:46.495Z] ---> Running in fe855021c782 [2023-01-03T18:27:46.754Z] Removing intermediate container fe855021c782 [2023-01-03T18:27:46.754Z] ---> da6573926d4f [2023-01-03T18:27:46.754Z] Step 21/22 : LABEL git_sha=935c60b21fa3ececfc782efe064636a9944f6c78 [2023-01-03T18:27:46.754Z] ---> Running in 42b5ff8aa287 [2023-01-03T18:27:46.754Z] Removing intermediate container 42b5ff8aa287 [2023-01-03T18:27:46.754Z] ---> 0ded33a32ae4 [2023-01-03T18:27:46.754Z] Step 22/22 : LABEL version=0.0.0 [2023-01-03T18:27:46.754Z] ---> Running in 40f6d6f93f33 [2023-01-03T18:27:47.013Z] Removing intermediate container 40f6d6f93f33 [2023-01-03T18:27:47.013Z] ---> 87011f7413ab [2023-01-03T18:27:47.013Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:27:47.013Z] Successfully built 87011f7413ab [2023-01-03T18:27:47.013Z] 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 [2023-01-03T18:27:47.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:27:47.895Z] [2023-01-03T18:27:47.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:27:48.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:27:48.266Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T18:27:48.266Z] 5eb5b503b376: Pulling fs layer [2023-01-03T18:27:48.266Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T18:27:48.266Z] ec43610c2a17: Pulling fs layer [2023-01-03T18:27:48.266Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T18:27:48.266Z] 33b1e0a273af: Pulling fs layer [2023-01-03T18:27:48.266Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T18:27:48.266Z] 2f39f015ded8: Pulling fs layer [2023-01-03T18:27:48.266Z] 33b1e0a273af: Waiting [2023-01-03T18:27:48.266Z] 5d3b04190fa2: Waiting [2023-01-03T18:27:48.266Z] 2f39f015ded8: Waiting [2023-01-03T18:27:48.266Z] 3a2ae6a8a46f: Waiting [2023-01-03T18:27:48.266Z] 5c69ac0246d0: Download complete [2023-01-03T18:27:48.266Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T18:27:48.266Z] 3a2ae6a8a46f: Download complete [2023-01-03T18:27:48.266Z] 33b1e0a273af: Verifying Checksum [2023-01-03T18:27:48.266Z] 33b1e0a273af: Download complete [2023-01-03T18:27:48.266Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T18:27:48.266Z] 5d3b04190fa2: Download complete [2023-01-03T18:27:48.525Z] ec43610c2a17: Verifying Checksum [2023-01-03T18:27:48.525Z] ec43610c2a17: Download complete [2023-01-03T18:27:48.525Z] 5eb5b503b376: Download complete [2023-01-03T18:27:49.458Z] 2f39f015ded8: Download complete [2023-01-03T18:27:49.717Z] 5eb5b503b376: Pull complete [2023-01-03T18:27:49.975Z] 5c69ac0246d0: Pull complete [2023-01-03T18:27:50.541Z] ec43610c2a17: Pull complete [2023-01-03T18:27:50.541Z] 3a2ae6a8a46f: Pull complete [2023-01-03T18:27:50.809Z] 33b1e0a273af: Pull complete [2023-01-03T18:27:50.809Z] 5d3b04190fa2: Pull complete [2023-01-03T18:27:56.082Z] 2f39f015ded8: Pull complete [2023-01-03T18:27:56.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T18:27:56.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:27:56.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:27:56.338Z] prd-ubuntu20.04-docker-8c-8g-931 does not seem to be running inside a container [2023-01-03T18:27:56.371Z] $ 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-394 -v /w/workspace/xfoundry_device-modbus-go_PR-394:/w/workspace/xfoundry_device-modbus-go_PR-394:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-394@tmp:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:27:58.826Z] $ docker top 1afd7be230f41c1bfcc1514104ce8c16f789fea0fbbfa9a604293c84132dac9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:27:59.275Z] ---> job-cost.sh [2023-01-03T18:27:59.275Z] lf-activate-venv: SKIPPING [2023-01-03T18:27:59.275Z] INFO: No Stack... [2023-01-03T18:27:59.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:28:00.102Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:28:00.416Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-394/archives/cost.csv [2023-01-03T18:28:00.416Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:28:00.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [2023-01-03T18:28:00.459Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] did not exist. Created. [2023-01-03T18:28:00.459Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:28:00.843Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T18:28:00.889Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:28:00.920Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:28:01.001Z] $ docker stop --time=1 1afd7be230f41c1bfcc1514104ce8c16f789fea0fbbfa9a604293c84132dac9c [2023-01-03T18:28:02.145Z] $ docker rm -f --volumes 1afd7be230f41c1bfcc1514104ce8c16f789fea0fbbfa9a604293c84132dac9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T18:29:04.111Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-933 in /w/workspace/xfoundry_device-modbus-go_PR-394 [Pipeline] { [Pipeline] ws [2023-01-03T18:29:04.177Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-03T18:29:04.255Z] Selected Git installation does not exist. Using Default [2023-01-03T18:29:04.255Z] The recommended git tool is: NONE [2023-01-03T18:29:09.559Z] using credential edgex-jenkins-ssh [2023-01-03T18:29:09.584Z] Cloning the remote Git repository [2023-01-03T18:29:09.628Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-03T18:29:09.708Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-03T18:29:09.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-03T18:29:09.875Z] > git --version # timeout=10 [2023-01-03T18:29:09.900Z] > git --version # 'git version 2.25.1' [2023-01-03T18:29:09.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:29:09.959Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:29:11.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-03T18:29:11.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:29:12.745Z] Merging remotes/origin/main commit 62ec25a2eb67d4cbe0628602eb20a0741648d64e into PR head commit 935c60b21fa3ececfc782efe064636a9944f6c78 [2023-01-03T18:29:12.988Z] Merge succeeded, producing 935c60b21fa3ececfc782efe064636a9944f6c78 [2023-01-03T18:29:12.988Z] Checking out Revision 935c60b21fa3ececfc782efe064636a9944f6c78 (PR-394) [2023-01-03T18:29:12.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-03T18:29:12.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-03T18:29:12.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:29:12.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T18:29:12.761Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:29:12.781Z] > git checkout -f 935c60b21fa3ececfc782efe064636a9944f6c78 # timeout=10 [2023-01-03T18:29:12.881Z] > git remote # timeout=10 [2023-01-03T18:29:12.902Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T18:29:12.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:29:12.932Z] > git merge 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 [2023-01-03T18:29:12.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T18:29:12.992Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:29:13.009Z] > git checkout -f 935c60b21fa3ececfc782efe064636a9944f6c78 # timeout=10 [2023-01-03T18:29:16.503Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-03T18:29:16.545Z] > git --version # timeout=10 [2023-01-03T18:29:16.556Z] > git --version # 'git version 2.25.1' [2023-01-03T18:29:16.570Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:29:17.563Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T18:29:17.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:29:17.564Z] Dload Upload Total Spent Left Speed [2023-01-03T18:29:17.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-01-03T18:29:18.350Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T18:29:18.689Z] + sudo tee /etc/docker/daemon.new [2023-01-03T18:29:18.689Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T18:29:18.689Z] { [2023-01-03T18:29:18.689Z] "registry-mirrors": [ [2023-01-03T18:29:18.689Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T18:29:18.689Z] ], [2023-01-03T18:29:18.689Z] "bip": "10.250.0.254/24", [2023-01-03T18:29:18.689Z] "hosts": [ [2023-01-03T18:29:18.689Z] "tcp://0.0.0.0:5555", [2023-01-03T18:29:18.689Z] "unix:///var/run/docker.sock" [2023-01-03T18:29:18.689Z] ], [2023-01-03T18:29:18.689Z] "mtu": 1458, [2023-01-03T18:29:18.689Z] "selinux-enabled": true, [2023-01-03T18:29:18.689Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T18:29:18.689Z] } [Pipeline] sh [2023-01-03T18:29:19.027Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T18:29:19.372Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:29:44.706Z] provisioning config files... [2023-01-03T18:29:44.732Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8891225952629383088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:29:45.115Z] ---> docker-login.sh [2023-01-03T18:29:45.115Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:29:45.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:29:45.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:29:45.654Z] Configure a credential helper to remove this warning. See [2023-01-03T18:29:45.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:29:45.654Z] [2023-01-03T18:29:45.654Z] Login Succeeded [2023-01-03T18:29:45.654Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:29:45.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:29:45.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:29:45.924Z] Configure a credential helper to remove this warning. See [2023-01-03T18:29:45.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:29:45.924Z] [2023-01-03T18:29:45.924Z] Login Succeeded [2023-01-03T18:29:45.924Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:29:46.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:29:46.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:29:46.472Z] Configure a credential helper to remove this warning. See [2023-01-03T18:29:46.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:29:46.472Z] [2023-01-03T18:29:46.472Z] Login Succeeded [2023-01-03T18:29:46.472Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:29:46.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:29:46.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:29:46.742Z] Configure a credential helper to remove this warning. See [2023-01-03T18:29:46.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:29:46.742Z] [2023-01-03T18:29:46.742Z] Login Succeeded [2023-01-03T18:29:46.742Z] docker.io [2023-01-03T18:29:47.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:29:47.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:29:47.280Z] Configure a credential helper to remove this warning. See [2023-01-03T18:29:47.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:29:47.280Z] [2023-01-03T18:29:47.280Z] Login Succeeded [2023-01-03T18:29:47.280Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:29:47.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:29:47.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:29:47.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:29:47.738Z] ========================================================= [2023-01-03T18:29:47.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T18:29:47.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:29:48.227Z] + 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 . [2023-01-03T18:29:48.496Z] Sending build context to Docker daemon 3.329MB [2023-01-03T18:29:48.496Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:29:48.496Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T18:29:48.764Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T18:29:48.764Z] 9b18e9b68314: Pulling fs layer [2023-01-03T18:29:48.764Z] 35d82f9e3411: Pulling fs layer [2023-01-03T18:29:48.764Z] e16973657156: Pulling fs layer [2023-01-03T18:29:48.764Z] fc693d55d65f: Pulling fs layer [2023-01-03T18:29:48.764Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T18:29:48.764Z] dda99020689f: Pulling fs layer [2023-01-03T18:29:48.764Z] db1c61fa0a46: Pulling fs layer [2023-01-03T18:29:48.764Z] fc693d55d65f: Waiting [2023-01-03T18:29:48.764Z] db1c61fa0a46: Waiting [2023-01-03T18:29:48.764Z] 7e9fc2657dce: Waiting [2023-01-03T18:29:48.765Z] 891c053d2c06: Pulling fs layer [2023-01-03T18:29:48.765Z] 891c053d2c06: Waiting [2023-01-03T18:29:48.765Z] dda99020689f: Waiting [2023-01-03T18:29:48.765Z] e16973657156: Verifying Checksum [2023-01-03T18:29:48.765Z] e16973657156: Download complete [2023-01-03T18:29:48.765Z] 35d82f9e3411: Verifying Checksum [2023-01-03T18:29:48.765Z] 35d82f9e3411: Download complete [2023-01-03T18:29:48.765Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T18:29:48.765Z] 7e9fc2657dce: Download complete [2023-01-03T18:29:48.765Z] dda99020689f: Verifying Checksum [2023-01-03T18:29:48.765Z] dda99020689f: Download complete [2023-01-03T18:29:48.765Z] 9b18e9b68314: Verifying Checksum [2023-01-03T18:29:48.765Z] 9b18e9b68314: Download complete [2023-01-03T18:29:49.746Z] 891c053d2c06: Verifying Checksum [2023-01-03T18:29:49.746Z] 891c053d2c06: Download complete [2023-01-03T18:29:50.727Z] db1c61fa0a46: Verifying Checksum [2023-01-03T18:29:50.727Z] db1c61fa0a46: Download complete [2023-01-03T18:29:51.313Z] fc693d55d65f: Verifying Checksum [2023-01-03T18:29:51.313Z] fc693d55d65f: Download complete [2023-01-03T18:29:51.313Z] 9b18e9b68314: Pull complete [2023-01-03T18:29:51.905Z] 35d82f9e3411: Pull complete [2023-01-03T18:29:51.905Z] e16973657156: Pull complete [2023-01-03T18:30:04.235Z] fc693d55d65f: Pull complete [2023-01-03T18:30:04.235Z] 7e9fc2657dce: Pull complete [2023-01-03T18:30:04.235Z] dda99020689f: Pull complete [2023-01-03T18:30:08.499Z] db1c61fa0a46: Pull complete [2023-01-03T18:30:09.914Z] 891c053d2c06: Pull complete [2023-01-03T18:30:09.914Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T18:30:09.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T18:30:09.914Z] ---> f96f9c87975a [2023-01-03T18:30:09.914Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:30:11.878Z] ---> Running in acc8a3f85972 [2023-01-03T18:30:11.878Z] Removing intermediate container acc8a3f85972 [2023-01-03T18:30:11.878Z] ---> 533624b85ec6 [2023-01-03T18:30:11.878Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:30:11.878Z] ---> Running in b4fc93ccf53c [2023-01-03T18:30:12.146Z] Removing intermediate container b4fc93ccf53c [2023-01-03T18:30:12.146Z] ---> 2748a70657a8 [2023-01-03T18:30:12.146Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:30:12.146Z] ---> Running in 2101022e2edc [2023-01-03T18:30:13.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:30:13.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:30:14.512Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-03T18:30:14.512Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-03T18:30:14.512Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-03T18:30:14.512Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:30:14.782Z] OK: 228 MiB in 59 packages [2023-01-03T18:30:15.745Z] Removing intermediate container 2101022e2edc [2023-01-03T18:30:15.745Z] ---> d01d9d0c1aeb [2023-01-03T18:30:15.745Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-03T18:30:15.745Z] ---> Running in 2febe576721b [2023-01-03T18:30:16.012Z] Removing intermediate container 2febe576721b [2023-01-03T18:30:16.012Z] ---> a27603c30b3d [2023-01-03T18:30:16.012Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T18:30:17.960Z] ---> 5a1f512cb167 [2023-01-03T18:30:17.960Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:30:17.960Z] ---> Running in 9ea55fc6a1c4 [2023-01-03T18:31:14.411Z] Removing intermediate container 9ea55fc6a1c4 [2023-01-03T18:31:14.411Z] ---> acab4231578e [2023-01-03T18:31:14.411Z] Step 9/10 : COPY . . [2023-01-03T18:31:14.411Z] ---> d280a95b82e6 [2023-01-03T18:31:14.411Z] Step 10/10 : RUN ${MAKE} [2023-01-03T18:31:14.411Z] ---> Running in 5f1864e33285 [2023-01-03T18:31:14.411Z] noop [2023-01-03T18:31:14.411Z] Removing intermediate container 5f1864e33285 [2023-01-03T18:31:14.411Z] ---> 1a861ac0af05 [2023-01-03T18:31:14.411Z] Successfully built 1a861ac0af05 [2023-01-03T18:31:14.411Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:31:14.883Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:31:14.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:31:15.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2023-01-03T18:31:15.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:31:16.390Z] $ docker top d7112a990e3e29f7ca435885727e46fe03479a107c6326c633d0cc1888097b78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:31:17.247Z] + go version [2023-01-03T18:31:17.247Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T18:31:17.290Z] $ docker stop --time=1 d7112a990e3e29f7ca435885727e46fe03479a107c6326c633d0cc1888097b78 [2023-01-03T18:31:19.378Z] $ docker rm -f --volumes d7112a990e3e29f7ca435885727e46fe03479a107c6326c633d0cc1888097b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:31:20.199Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:31:20.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:31:20.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2023-01-03T18:31:20.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:31:21.586Z] $ docker top 000c29fe50802b5d7c5ebe4f28a141ce082c2d64227c482d1b3452fc68e7bc3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:31:22.105Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:31:22.495Z] + make test [2023-01-03T18:31:22.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:31:24.450Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-03T18:32:46.097Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-03T18:32:46.097Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.7% of statements [2023-01-03T18:32:46.097Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T18:32:46.097Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:33:04.327Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:33:04.327Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:33:04.327Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:33:04.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:33:04.399Z] $ docker stop --time=1 000c29fe50802b5d7c5ebe4f28a141ce082c2d64227c482d1b3452fc68e7bc3e [2023-01-03T18:33:06.148Z] $ docker rm -f --volumes 000c29fe50802b5d7c5ebe4f28a141ce082c2d64227c482d1b3452fc68e7bc3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:33:07.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:33:07.164Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T18:33:07.609Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:33:08.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:33:08.537Z] + ls -al . [2023-01-03T18:33:08.537Z] total 192 [2023-01-03T18:33:08.537Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:31 . [2023-01-03T18:33:08.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:29 .. [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 18:29 .dockerignore [2023-01-03T18:33:08.537Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:29 .git [2023-01-03T18:33:08.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:29 .github [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 3 18:29 .gitignore [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:29 .golangci.yml [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 3 18:29 Attribution.txt [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 3 18:29 CHANGELOG.md [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 3 18:29 Dockerfile [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:29 GOVERNANCE.md [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:29 Jenkinsfile [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:29 LICENSE [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 3 18:29 Makefile [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:29 OWNERS.md [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 3 18:29 README.md [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:26 VERSION [2023-01-03T18:33:08.537Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:29 bin [2023-01-03T18:33:08.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:29 cmd [2023-01-03T18:33:08.537Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 3 18:32 coverage.out [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 3 18:29 go.mod [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 3 18:29 go.sum [2023-01-03T18:33:08.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:29 internal [2023-01-03T18:33:08.537Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:29 simulator [2023-01-03T18:33:08.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:29 snap [2023-01-03T18:33:08.537Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 3 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:33:08.939Z] + 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=935c60b21fa3ececfc782efe064636a9944f6c78 --label arch=arm64 --label version=0.0.0 . [2023-01-03T18:33:09.206Z] Sending build context to Docker daemon 3.353MB [2023-01-03T18:33:09.206Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:33:09.206Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-03T18:33:09.206Z] ---> 1a861ac0af05 [2023-01-03T18:33:09.206Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:33:09.206Z] ---> Running in ab113353058f [2023-01-03T18:33:09.478Z] Removing intermediate container ab113353058f [2023-01-03T18:33:09.478Z] ---> 00eb1325091d [2023-01-03T18:33:09.478Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:33:09.744Z] ---> Running in 0f8b6b015462 [2023-01-03T18:33:10.011Z] Removing intermediate container 0f8b6b015462 [2023-01-03T18:33:10.011Z] ---> 294d503a5535 [2023-01-03T18:33:10.011Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:33:10.011Z] ---> Running in a60d3900f4a2 [2023-01-03T18:33:10.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:33:11.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:33:12.199Z] OK: 228 MiB in 59 packages [2023-01-03T18:33:13.163Z] Removing intermediate container a60d3900f4a2 [2023-01-03T18:33:13.163Z] ---> 315cab2c2190 [2023-01-03T18:33:13.163Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-03T18:33:13.163Z] ---> Running in d7609cd1b3a6 [2023-01-03T18:33:13.430Z] Removing intermediate container d7609cd1b3a6 [2023-01-03T18:33:13.430Z] ---> 040df170cc17 [2023-01-03T18:33:13.430Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-03T18:33:14.014Z] ---> cad1e1414cf5 [2023-01-03T18:33:14.014Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:33:14.014Z] ---> Running in 953b9b840bff [2023-01-03T18:33:15.967Z] Removing intermediate container 953b9b840bff [2023-01-03T18:33:15.967Z] ---> df18f87d2372 [2023-01-03T18:33:15.967Z] Step 9/22 : COPY . . [2023-01-03T18:33:16.550Z] ---> d070533ea73b [2023-01-03T18:33:16.550Z] Step 10/22 : RUN ${MAKE} [2023-01-03T18:33:16.550Z] ---> Running in 50edc7894790 [2023-01-03T18:33:17.514Z] 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 [2023-01-03T18:35:54.289Z] Removing intermediate container 50edc7894790 [2023-01-03T18:35:54.290Z] ---> ea286bd33eb2 [2023-01-03T18:35:54.290Z] Step 11/22 : FROM alpine:3.14 [2023-01-03T18:35:54.290Z] 3.14: Pulling from library/alpine [2023-01-03T18:35:54.290Z] 90cda3b7c325: Pulling fs layer [2023-01-03T18:35:54.290Z] 90cda3b7c325: Verifying Checksum [2023-01-03T18:35:54.290Z] 90cda3b7c325: Download complete [2023-01-03T18:35:54.290Z] 90cda3b7c325: Pull complete [2023-01-03T18:35:54.290Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-03T18:35:54.290Z] Status: Downloaded newer image for alpine:3.14 [2023-01-03T18:35:54.290Z] ---> 275902a1839d [2023-01-03T18:35:54.290Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-03T18:35:54.290Z] ---> Running in d662c6e9237c [2023-01-03T18:35:54.290Z] Removing intermediate container d662c6e9237c [2023-01-03T18:35:54.290Z] ---> 4a32aa6e008b [2023-01-03T18:35:54.290Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:35:54.290Z] ---> Running in e363fb1feedd [2023-01-03T18:35:54.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:35:54.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:35:54.290Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:35:54.290Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-03T18:35:54.290Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:35:54.290Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-03T18:35:54.290Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:35:54.290Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:35:54.290Z] Executing busybox-1.33.1-r8.trigger [2023-01-03T18:35:54.290Z] OK: 8 MiB in 20 packages [2023-01-03T18:35:54.290Z] Removing intermediate container e363fb1feedd [2023-01-03T18:35:54.290Z] ---> e16e9e7a386a [2023-01-03T18:35:54.290Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-03T18:35:54.290Z] ---> 6d9ffcd52912 [2023-01-03T18:35:54.290Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-03T18:35:54.290Z] ---> c0eecc3f963d [2023-01-03T18:35:54.290Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-03T18:35:54.875Z] ---> 57728c463360 [2023-01-03T18:35:54.875Z] Step 17/22 : EXPOSE 59901 [2023-01-03T18:35:54.875Z] ---> Running in 5dd7b3ce36b2 [2023-01-03T18:35:55.142Z] Removing intermediate container 5dd7b3ce36b2 [2023-01-03T18:35:55.142Z] ---> a619b0cc9850 [2023-01-03T18:35:55.142Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-03T18:35:55.414Z] ---> Running in ad671c2baa1d [2023-01-03T18:35:55.681Z] Removing intermediate container ad671c2baa1d [2023-01-03T18:35:55.681Z] ---> b1a02544f6c6 [2023-01-03T18:35:55.681Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:35:55.681Z] ---> Running in e4676090cbda [2023-01-03T18:35:55.948Z] Removing intermediate container e4676090cbda [2023-01-03T18:35:55.948Z] ---> 93d5174b5a46 [2023-01-03T18:35:55.948Z] Step 20/22 : LABEL arch=arm64 [2023-01-03T18:35:55.948Z] ---> Running in 3a21518022f3 [2023-01-03T18:35:56.217Z] Removing intermediate container 3a21518022f3 [2023-01-03T18:35:56.217Z] ---> 3b566af0aa4b [2023-01-03T18:35:56.217Z] Step 21/22 : LABEL git_sha=935c60b21fa3ececfc782efe064636a9944f6c78 [2023-01-03T18:35:56.217Z] ---> Running in 188857f457b5 [2023-01-03T18:35:56.589Z] Removing intermediate container 188857f457b5 [2023-01-03T18:35:56.589Z] ---> 3aeba62cb1f3 [2023-01-03T18:35:56.589Z] Step 22/22 : LABEL version=0.0.0 [2023-01-03T18:35:56.589Z] ---> Running in b0a9e8762afe [2023-01-03T18:35:56.868Z] Removing intermediate container b0a9e8762afe [2023-01-03T18:35:56.868Z] ---> 1153c8a590f8 [2023-01-03T18:35:56.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:35:56.868Z] Successfully built 1153c8a590f8 [2023-01-03T18:35:57.139Z] 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 [2023-01-03T18:35:57.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:35:57.962Z] [2023-01-03T18:35:57.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:35:58.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:35:58.569Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:35:58.569Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:35:58.569Z] 04944245beec: Pulling fs layer [2023-01-03T18:35:58.569Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:35:58.569Z] 765212b225bb: Pulling fs layer [2023-01-03T18:35:58.569Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:35:58.569Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:35:58.569Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:35:58.569Z] 765212b225bb: Waiting [2023-01-03T18:35:58.569Z] f23df028b6ca: Waiting [2023-01-03T18:35:58.569Z] d65c8cfc05b1: Waiting [2023-01-03T18:35:58.569Z] 2437ff75d9bd: Waiting [2023-01-03T18:35:58.860Z] 04944245beec: Verifying Checksum [2023-01-03T18:35:58.860Z] 04944245beec: Download complete [2023-01-03T18:35:58.860Z] 765212b225bb: Verifying Checksum [2023-01-03T18:35:58.860Z] 765212b225bb: Download complete [2023-01-03T18:35:58.860Z] f23df028b6ca: Verifying Checksum [2023-01-03T18:35:58.860Z] f23df028b6ca: Download complete [2023-01-03T18:35:58.860Z] d65c8cfc05b1: Download complete [2023-01-03T18:35:58.861Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:35:58.861Z] 699f458cf7ca: Download complete [2023-01-03T18:35:59.488Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:35:59.488Z] 8998bd30e6a1: Download complete [2023-01-03T18:36:02.090Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:36:02.090Z] 2437ff75d9bd: Download complete [2023-01-03T18:36:03.056Z] 8998bd30e6a1: Pull complete [2023-01-03T18:36:03.322Z] 04944245beec: Pull complete [2023-01-03T18:36:04.730Z] 699f458cf7ca: Pull complete [2023-01-03T18:36:04.730Z] 765212b225bb: Pull complete [2023-01-03T18:36:05.310Z] f23df028b6ca: Pull complete [2023-01-03T18:36:05.576Z] d65c8cfc05b1: Pull complete [2023-01-03T18:36:17.873Z] 2437ff75d9bd: Pull complete [2023-01-03T18:36:17.873Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:36:17.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:36:17.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:36:18.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2023-01-03T18:36:18.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:36:20.940Z] $ docker top 2ca4dbee38f360b689b9fb48cb41bd1a63bb165584278cd5deb4af2394bfd18c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:21.860Z] ---> job-cost.sh [2023-01-03T18:36:21.860Z] lf-activate-venv: SKIPPING [2023-01-03T18:36:21.860Z] INFO: No Stack... [2023-01-03T18:36:22.128Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:36:23.093Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:36:23.753Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-01-03T18:36:23.753Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:36:23.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [2023-01-03T18:36:23.847Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] did not exist. Created. [2023-01-03T18:36:23.847Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:36:24.576Z] /w/workspace/device-modbus-go/1@tmp/durable-42c21633/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:36:25.247Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:36:25.281Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:36:25.329Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:36:25.344Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:36:25.433Z] $ docker stop --time=1 2ca4dbee38f360b689b9fb48cb41bd1a63bb165584278cd5deb4af2394bfd18c [2023-01-03T18:36:26.962Z] $ docker rm -f --volumes 2ca4dbee38f360b689b9fb48cb41bd1a63bb165584278cd5deb4af2394bfd18c [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 [2023-01-03T18:36:27.909Z] provisioning config files... [2023-01-03T18:36:27.917Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/config1569709109148946344tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:36:28.245Z] + set +x [2023-01-03T18:36:28.246Z] + bash -s -- [2023-01-03T18:36:28.246Z] + curl -s https://codecov.io/bash [2023-01-03T18:36:28.246Z] [2023-01-03T18:36:28.246Z] _____ _ [2023-01-03T18:36:28.246Z] / ____| | | [2023-01-03T18:36:28.246Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:36:28.246Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:36:28.246Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:36:28.246Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:36:28.246Z] Bash-1.0.6 [2023-01-03T18:36:28.246Z] [2023-01-03T18:36:28.246Z] [2023-01-03T18:36:28.246Z] ==> git version 2.25.1 found [2023-01-03T18:36:28.246Z] ==> 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 [2023-01-03T18:36:28.246Z] Release-Date: 2020-01-08 [2023-01-03T18:36:28.246Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:36:28.246Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:36:28.246Z] ==> Jenkins CI detected. [2023-01-03T18:36:28.246Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-394 [2023-01-03T18:36:28.246Z] project root: . [2023-01-03T18:36:28.246Z] --> token set from env [2023-01-03T18:36:28.246Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:36:28.246Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:36:28.246Z] ==> Python coveragepy not found [2023-01-03T18:36:28.246Z] ==> Searching for coverage reports in: [2023-01-03T18:36:28.246Z] + . [2023-01-03T18:36:28.246Z] -> Found 1 reports [2023-01-03T18:36:28.246Z] ==> Detecting git/mercurial file structure [2023-01-03T18:36:28.246Z] ==> Reading reports [2023-01-03T18:36:28.246Z] + ./coverage.out bytes=23241 [2023-01-03T18:36:28.246Z] ==> Appending adjustments [2023-01-03T18:36:28.246Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:36:28.504Z] + Found adjustments [2023-01-03T18:36:28.504Z] ==> Gzipping contents [2023-01-03T18:36:28.504Z] 4.0K /tmp/codecov.K1XCPa.gz [2023-01-03T18:36:28.504Z] ==> Uploading reports [2023-01-03T18:36:28.504Z] url: https://codecov.io [2023-01-03T18:36:28.504Z] query: branch=PR-394&commit=935c60b21fa3ececfc782efe064636a9944f6c78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2023-01-03T18:36:28.504Z] -> Pinging Codecov [2023-01-03T18:36:28.504Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-394&commit=935c60b21fa3ececfc782efe064636a9944f6c78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2023-01-03T18:36:28.763Z] -> Uploading to [2023-01-03T18:36:28.763Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/55DBCA73C666E3227836607328DD7E49/935c60b21fa3ececfc782efe064636a9944f6c78/9d00555e-e35a-4ed0-acf0-90100c2cf146.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T183628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2db0b40c4a531f9f43d6e4cd8e2aeb2e697cf19708483efc0d1ec27778652cc6 [2023-01-03T18:36:28.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:36:28.763Z] Dload Upload Total Spent Left Speed [2023-01-03T18:36:29.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 16840 --:--:-- --:--:-- --:--:-- 16840 [2023-01-03T18:36:29.023Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/935c60b21fa3ececfc782efe064636a9944f6c78 [Pipeline] } [2023-01-03T18:36:29.050Z] 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 [2023-01-03T18:36:30.702Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-394/archives ] [2023-01-03T18:36:30.702Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-394/archives [2023-01-03T18:36:30.702Z] total 16 [2023-01-03T18:36:30.702Z] drwxr-xr-x 3 root root 4096 Jan 3 18:27 . [2023-01-03T18:36:30.702Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:28 .. [2023-01-03T18:36:30.702Z] drwxr-xr-x 2 root root 4096 Jan 3 18:27 cost [2023-01-03T18:36:30.702Z] -rw-r--r-- 1 root root 88 Jan 3 18:27 cost.csv [2023-01-03T18:36:30.702Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-394/archives [2023-01-03T18:36:30.702Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-394/archives [2023-01-03T18:36:30.702Z] total 16 [2023-01-03T18:36:30.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:27 . [2023-01-03T18:36:30.702Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:28 .. [2023-01-03T18:36:30.702Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:27 cost [2023-01-03T18:36:30.702Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 3 18:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:31.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:31.923Z] ---> package-listing.sh [2023-01-03T18:36:31.923Z] ++ facter osfamily [2023-01-03T18:36:31.923Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:36:32.182Z] + OS_FAMILY=debian [2023-01-03T18:36:32.182Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-394 [2023-01-03T18:36:32.182Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:36:32.182Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:36:32.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:36:32.182Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:36:32.182Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-394 ']' [2023-01-03T18:36:32.183Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:36:32.183Z] + case "${OS_FAMILY}" in [2023-01-03T18:36:32.183Z] + dpkg -l [2023-01-03T18:36:32.183Z] + grep '^ii' [2023-01-03T18:36:32.183Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:36:32.183Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:36:32.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:36:32.183Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-394 ']' [2023-01-03T18:36:32.183Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-394/archives/ [2023-01-03T18:36:32.183Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-394/archives/ [Pipeline] echo [2023-01-03T18:36:32.212Z] 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-394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T18:36:32.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:36:33.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:36:33.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:36:33.262Z] prd-ubuntu20.04-docker-8c-8g-931 does not seem to be running inside a container [2023-01-03T18:36:33.293Z] $ 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-394/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-394 -v /w/workspace/xfoundry_device-modbus-go_PR-394:/w/workspace/xfoundry_device-modbus-go_PR-394:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-394@tmp:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:36:33.480Z] $ docker top 200a4e4881d48a52665d40718621952c77021e7b3fbe35945ebf78398e6e2487 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:36:33.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:36:34.180Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:36:34.491Z] + ls /var/log/sa-host [2023-01-03T18:36:34.491Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:36:34.624Z] provisioning config files... [2023-01-03T18:36:34.634Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-394@tmp/config7933683311186977827tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:36:34.679Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:35.002Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:36:35.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:35.424Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:36:35.460Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:35.770Z] ---> sudo-logs.sh [2023-01-03T18:36:35.770Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:36:35.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:36.175Z] ---> job-cost.sh [2023-01-03T18:36:36.175Z] lf-activate-venv: SKIPPING [2023-01-03T18:36:36.175Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:36:36.175Z] INFO: Retrieving Stack Cost... [2023-01-03T18:36:37.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:36:37.373Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:36:37.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:36:37.701Z] ---> logs-deploy.sh [2023-01-03T18:36:37.701Z] lf-activate-venv: SKIPPING [2023-01-03T18:36:37.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-394/1 [2023-01-03T18:36:37.701Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:36:38.639Z] Archives upload complete. [2023-01-03T18:36:38.639Z] INFO: archiving logs to Nexus