Pull request #387 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 ejlee3 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc rather than fedc178e360bd096d52c4780e1d622283b62252c Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh11914565077773005650.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2258047130648256504.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh822356018008158888.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2940088609937205934.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4081624994247978797.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11925703356653976014.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116995’ Running on prd-ubuntu20.04-docker-8c-8g-116997 in /w/workspace/xfoundry_device-modbus-go_PR-387 [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-387 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit fedc178e360bd096d52c4780e1d622283b62252c Merge succeeded, producing fedc178e360bd096d52c4780e1d622283b62252c Checking out Revision fedc178e360bd096d52c4780e1d622283b62252c (PR-387) > git config core.sparsecheckout # timeout=10 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T22:54:33.850Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T22:54:34.019Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T22:54:34.107Z] ========================================================= [2022-10-25T22:54:34.107Z] EdgeX Global Pipelines Version Info [2022-10-25T22:54:34.107Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:54:34.853Z] ------------------- [2022-10-25T22:54:34.853Z] stable info: [2022-10-25T22:54:34.853Z] ------------------- [2022-10-25T22:54:34.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T22:54:34.853Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:54:34.853Z] Message: update stable to v1.0.243 [2022-10-25T22:54:35.425Z] ------------------- [2022-10-25T22:54:35.425Z] experimental info: [2022-10-25T22:54:35.425Z] ------------------- [2022-10-25T22:54:35.425Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T22:54:35.425Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:54:35.425Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T22:54:35.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-25T22:54:35.724Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-25T22:54:35.762Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T22:54:35.799Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T22:54:35.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T22:54:35.873Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T22:54:35.908Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T22:54:35.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T22:54:35.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T22:54:36.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T22:54:36.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T22:54:36.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-25T22:54:36.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T22:54:36.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T22:54:36.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:54:36.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:54:36.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:54:36.327Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:54:36.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T22:54:36.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T22:54:36.444Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T22:54:36.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T22:54:36.517Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T22:54:36.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T22:54:36.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T22:54:36.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T22:54:36.684Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T22:54:36.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo [2022-10-25T22:54:36.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo [2022-10-25T22:54:36.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo [2022-10-25T22:54:36.843Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo [2022-10-25T22:54:36.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fedc178 [Pipeline] echo [2022-10-25T22:54:36.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:54:37.045Z] provisioning config files... [2022-10-25T22:54:37.061Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config9296693879405844524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:54:37.404Z] ---> docker-login.sh [2022-10-25T22:54:37.404Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:54:37.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:37.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:37.665Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:37.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:37.665Z] [2022-10-25T22:54:37.665Z] Login Succeeded [2022-10-25T22:54:37.665Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:54:37.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:37.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:37.665Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:37.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:37.665Z] [2022-10-25T22:54:37.665Z] Login Succeeded [2022-10-25T22:54:37.665Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:54:37.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:37.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:37.925Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:37.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:37.925Z] [2022-10-25T22:54:37.925Z] Login Succeeded [2022-10-25T22:54:37.925Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:54:37.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:37.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:37.925Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:37.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:37.925Z] [2022-10-25T22:54:37.925Z] Login Succeeded [2022-10-25T22:54:37.925Z] docker.io [2022-10-25T22:54:38.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:38.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:38.445Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:38.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:38.445Z] [2022-10-25T22:54:38.445Z] Login Succeeded [2022-10-25T22:54:38.445Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:54:38.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T22:54:39.093Z] + git rev-list -1 --merges fedc178e360bd096d52c4780e1d622283b62252c~1..fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo [2022-10-25T22:54:39.133Z] -----------> git rev-list -1 --merges fedc178e360bd096d52c4780e1d622283b62252c~1..fedc178e360bd096d52c4780e1d622283b62252c fedc178e360bd096d52c4780e1d622283b62252c [false] [Pipeline] sh [2022-10-25T22:54:39.440Z] + git log --format=format:%s -1 fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo [2022-10-25T22:54:39.477Z] ========================================================= [2022-10-25T22:54:39.477Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T22:54:39.477Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:54:39.908Z] + git log --format=format:%s -1 fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo [2022-10-25T22:54:39.944Z] [semverPrep] GIT_COMMIT: fedc178e360bd096d52c4780e1d622283b62252c, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-25T22:54:39.973Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T22:54:40.355Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T22:54:40.355Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T22:54:40.355Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T22:54:40.355Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T22:54:40.355Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T22:54:40.355Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T22:54:40.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:54:40.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:54:40.826Z] [2022-10-25T22:54:40.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:54:41.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:54:41.196Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T22:54:41.196Z] b85a868b505f: Pulling fs layer [2022-10-25T22:54:41.196Z] e2be974225ed: Pulling fs layer [2022-10-25T22:54:41.196Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T22:54:41.196Z] 988bab9f4d93: Pulling fs layer [2022-10-25T22:54:41.196Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T22:54:41.196Z] eaf3925da568: Pulling fs layer [2022-10-25T22:54:41.196Z] bab4dde63d76: Pulling fs layer [2022-10-25T22:54:41.196Z] bde34c3a00c8: Pulling fs layer [2022-10-25T22:54:41.196Z] b352a97aabf1: Pulling fs layer [2022-10-25T22:54:41.196Z] 4872d77fe225: Pulling fs layer [2022-10-25T22:54:41.196Z] 5851b861e8e6: Pulling fs layer [2022-10-25T22:54:41.196Z] 988bab9f4d93: Waiting [2022-10-25T22:54:41.196Z] b352a97aabf1: Waiting [2022-10-25T22:54:41.196Z] 4872d77fe225: Waiting [2022-10-25T22:54:41.196Z] 5851b861e8e6: Waiting [2022-10-25T22:54:41.196Z] 1469e6f7b9e6: Waiting [2022-10-25T22:54:41.196Z] eaf3925da568: Waiting [2022-10-25T22:54:41.196Z] bde34c3a00c8: Waiting [2022-10-25T22:54:41.196Z] bab4dde63d76: Waiting [2022-10-25T22:54:41.196Z] e2be974225ed: Download complete [2022-10-25T22:54:41.196Z] 988bab9f4d93: Verifying Checksum [2022-10-25T22:54:41.196Z] 988bab9f4d93: Download complete [2022-10-25T22:54:41.455Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T22:54:41.455Z] 1469e6f7b9e6: Download complete [2022-10-25T22:54:41.455Z] eaf3925da568: Download complete [2022-10-25T22:54:41.455Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T22:54:41.455Z] 339a4e72a1f5: Download complete [2022-10-25T22:54:41.455Z] bde34c3a00c8: Verifying Checksum [2022-10-25T22:54:41.455Z] bde34c3a00c8: Download complete [2022-10-25T22:54:41.455Z] b352a97aabf1: Verifying Checksum [2022-10-25T22:54:41.455Z] b352a97aabf1: Download complete [2022-10-25T22:54:41.455Z] 4872d77fe225: Verifying Checksum [2022-10-25T22:54:41.455Z] 4872d77fe225: Download complete [2022-10-25T22:54:41.455Z] 5851b861e8e6: Verifying Checksum [2022-10-25T22:54:41.455Z] 5851b861e8e6: Download complete [2022-10-25T22:54:41.455Z] b85a868b505f: Verifying Checksum [2022-10-25T22:54:41.455Z] b85a868b505f: Download complete [2022-10-25T22:54:41.717Z] bab4dde63d76: Verifying Checksum [2022-10-25T22:54:41.717Z] bab4dde63d76: Download complete [2022-10-25T22:54:43.094Z] b85a868b505f: Pull complete [2022-10-25T22:54:43.094Z] e2be974225ed: Pull complete [2022-10-25T22:54:43.355Z] 339a4e72a1f5: Pull complete [2022-10-25T22:54:43.615Z] 988bab9f4d93: Pull complete [2022-10-25T22:54:43.875Z] 1469e6f7b9e6: Pull complete [2022-10-25T22:54:43.875Z] eaf3925da568: Pull complete [2022-10-25T22:54:45.781Z] bab4dde63d76: Pull complete [2022-10-25T22:54:45.781Z] bde34c3a00c8: Pull complete [2022-10-25T22:54:46.043Z] b352a97aabf1: Pull complete [2022-10-25T22:54:46.043Z] 4872d77fe225: Pull complete [2022-10-25T22:54:46.043Z] 5851b861e8e6: Pull complete [2022-10-25T22:54:46.043Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T22:54:46.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:54:46.043Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:54:46.261Z] prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container [2022-10-25T22:54:46.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T22:54:47.744Z] $ docker top 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea -eo pid,comm [2022-10-25T22:54:47.806Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-25T22:54:47.806Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T22:54:47.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:54:47.928Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:54:48.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:54:48.072Z] $ docker exec 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent [2022-10-25T22:54:48.186Z] SSH_AUTH_SOCK=/tmp/ssh-9rhBy4dMYf3V/agent.31 [2022-10-25T22:54:48.186Z] SSH_AGENT_PID=37 [2022-10-25T22:54:48.194Z] Running ssh-add (command line suppressed) [2022-10-25T22:54:48.304Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_2486276628732379704.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_2486276628732379704.key) [2022-10-25T22:54:48.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:54:48.656Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T22:54:48.678Z] $ docker exec --env ******** --env ******** 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent -k [2022-10-25T22:54:48.787Z] unset SSH_AUTH_SOCK; [2022-10-25T22:54:48.788Z] unset SSH_AGENT_PID; [2022-10-25T22:54:48.788Z] echo Agent pid 37 killed; [2022-10-25T22:54:48.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T22:54:48.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:54:48.884Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:54:48.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:54:48.988Z] $ docker exec 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent [2022-10-25T22:54:49.108Z] SSH_AUTH_SOCK=/tmp/ssh-3qeOGJIiRbYJ/agent.69 [2022-10-25T22:54:49.108Z] SSH_AGENT_PID=75 [2022-10-25T22:54:49.113Z] Running ssh-add (command line suppressed) [2022-10-25T22:54:49.210Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_16373457110764037137.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_16373457110764037137.key) [2022-10-25T22:54:49.227Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:54:49.551Z] + git semver init [2022-10-25T22:54:49.813Z] 2022-10-25 22:54:49,756 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T22:54:49.813Z] 2022-10-25 22:54:49,757 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-25T22:54:49.813Z] 2022-10-25 22:54:49,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-25T22:54:49.813Z] 2022-10-25 22:54:49,758 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-387/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387, universal_newlines=False, shell=None, istream=None) [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,658 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.git/info/exclude [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 with force:False [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,659 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,663 [execute] INFO git cat-file --batch-check [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,670 [execute] INFO git cat-file --batch [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:54:50.750Z] 2022-10-25 22:54:50,676 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-25T22:54:50.750Z] 0.0.0 [Pipeline] } [2022-10-25T22:54:50.771Z] $ docker exec --env ******** --env ******** 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent -k [2022-10-25T22:54:50.872Z] unset SSH_AUTH_SOCK; [2022-10-25T22:54:50.873Z] unset SSH_AGENT_PID; [2022-10-25T22:54:50.873Z] echo Agent pid 75 killed; [2022-10-25T22:54:50.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T22:54:51.297Z] + git semver [Pipeline] } [2022-10-25T22:54:51.577Z] $ docker stop --time=1 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea [2022-10-25T22:54:52.930Z] $ docker rm -f 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:54:53.333Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T22:54:53.560Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T22:54:53.576Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:54:54.139Z] provisioning config files... [2022-10-25T22:54:54.149Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config6192284765783580404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:54:54.487Z] ---> docker-login.sh [2022-10-25T22:54:54.487Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:54:54.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:54.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:54.487Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:54.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:54.487Z] [2022-10-25T22:54:54.487Z] Login Succeeded [2022-10-25T22:54:54.487Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:54:54.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:54.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:54.746Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:54.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:54.746Z] [2022-10-25T22:54:54.746Z] Login Succeeded [2022-10-25T22:54:54.746Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:54:54.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:54.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:54.746Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:54.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:54.746Z] [2022-10-25T22:54:54.746Z] Login Succeeded [2022-10-25T22:54:54.746Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:54:54.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:54.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:54.747Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:54.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:54.747Z] [2022-10-25T22:54:54.747Z] Login Succeeded [2022-10-25T22:54:55.005Z] docker.io [2022-10-25T22:54:55.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:54:55.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:54:55.265Z] Configure a credential helper to remove this warning. See [2022-10-25T22:54:55.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:54:55.265Z] [2022-10-25T22:54:55.265Z] Login Succeeded [2022-10-25T22:54:55.265Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:54:55.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:54:55.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:54:55.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:54:55.538Z] ========================================================= [2022-10-25T22:54:55.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T22:54:55.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:54:55.998Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T22:54:55.998Z] Sending build context to Docker daemon 6.238MB [2022-10-25T22:54:55.998Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:54:55.998Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-25T22:54:55.998Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T22:54:55.998Z] 213ec9aee27d: Pulling fs layer [2022-10-25T22:54:55.998Z] 4583459ba037: Pulling fs layer [2022-10-25T22:54:55.998Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T22:54:55.998Z] 53926ce57604: Pulling fs layer [2022-10-25T22:54:55.998Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T22:54:55.998Z] 30f14e443154: Pulling fs layer [2022-10-25T22:54:55.998Z] 801331c1e519: Pulling fs layer [2022-10-25T22:54:55.998Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T22:54:55.998Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T22:54:55.998Z] 21b2b0c7a3f4: Waiting [2022-10-25T22:54:55.998Z] 30f14e443154: Waiting [2022-10-25T22:54:55.998Z] 801331c1e519: Waiting [2022-10-25T22:54:55.998Z] 99cc6dd402b0: Waiting [2022-10-25T22:54:55.998Z] 53926ce57604: Waiting [2022-10-25T22:54:55.998Z] 7d9ed39f4882: Waiting [2022-10-25T22:54:56.258Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T22:54:56.258Z] 93c1e223e6f2: Download complete [2022-10-25T22:54:56.258Z] 4583459ba037: Verifying Checksum [2022-10-25T22:54:56.258Z] 4583459ba037: Download complete [2022-10-25T22:54:56.258Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T22:54:56.258Z] 21b2b0c7a3f4: Download complete [2022-10-25T22:54:56.258Z] 30f14e443154: Verifying Checksum [2022-10-25T22:54:56.258Z] 30f14e443154: Download complete [2022-10-25T22:54:56.258Z] 213ec9aee27d: Verifying Checksum [2022-10-25T22:54:56.258Z] 213ec9aee27d: Download complete [2022-10-25T22:54:56.258Z] 801331c1e519: Download complete [2022-10-25T22:54:56.258Z] 213ec9aee27d: Pull complete [2022-10-25T22:54:56.527Z] 4583459ba037: Pull complete [2022-10-25T22:54:56.527Z] 93c1e223e6f2: Pull complete [2022-10-25T22:54:56.790Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T22:54:56.790Z] 7d9ed39f4882: Download complete [2022-10-25T22:54:57.047Z] 99cc6dd402b0: Download complete [2022-10-25T22:54:57.047Z] 53926ce57604: Verifying Checksum [2022-10-25T22:54:57.047Z] 53926ce57604: Download complete [2022-10-25T22:55:01.242Z] 53926ce57604: Pull complete [2022-10-25T22:55:01.242Z] 21b2b0c7a3f4: Pull complete [2022-10-25T22:55:01.242Z] 30f14e443154: Pull complete [2022-10-25T22:55:01.242Z] 801331c1e519: Pull complete [2022-10-25T22:55:03.145Z] 99cc6dd402b0: Pull complete [2022-10-25T22:55:03.710Z] 7d9ed39f4882: Pull complete [2022-10-25T22:55:03.710Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T22:55:03.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T22:55:03.710Z] ---> 1dedd983c030 [2022-10-25T22:55:03.710Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:55:05.616Z] ---> Running in cee4e39aab60 [2022-10-25T22:55:05.616Z] Removing intermediate container cee4e39aab60 [2022-10-25T22:55:05.616Z] ---> 480d705ec681 [2022-10-25T22:55:05.616Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:55:05.616Z] ---> Running in d5a75042cabc [2022-10-25T22:55:05.875Z] Removing intermediate container d5a75042cabc [2022-10-25T22:55:05.875Z] ---> c8a4c4d839c3 [2022-10-25T22:55:05.875Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T22:55:05.875Z] ---> Running in 7bcfcc05e744 [2022-10-25T22:55:06.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:55:06.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:55:06.394Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T22:55:06.394Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T22:55:06.394Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T22:55:06.394Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T22:55:06.394Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T22:55:06.394Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T22:55:06.394Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T22:55:06.654Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T22:55:06.654Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:55:06.654Z] OK: 217 MiB in 59 packages [2022-10-25T22:55:07.231Z] Removing intermediate container 7bcfcc05e744 [2022-10-25T22:55:07.231Z] ---> 74c4af2b3f95 [2022-10-25T22:55:07.231Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-25T22:55:07.231Z] ---> Running in 63269e50804b [2022-10-25T22:55:07.231Z] Removing intermediate container 63269e50804b [2022-10-25T22:55:07.231Z] ---> 5c6859cff2f3 [2022-10-25T22:55:07.231Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-25T22:55:07.231Z] ---> d221c0baccfd [2022-10-25T22:55:07.231Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:55:07.490Z] ---> Running in b910c2f16dce [2022-10-25T22:55:08.973Z] Still waiting to schedule task [2022-10-25T22:55:08.974Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116996’ is offline [2022-10-25T22:55:29.428Z] Removing intermediate container b910c2f16dce [2022-10-25T22:55:29.429Z] ---> 2b9f63d2a002 [2022-10-25T22:55:29.429Z] Step 9/10 : COPY . . [2022-10-25T22:55:29.687Z] ---> 1bdea9527d36 [2022-10-25T22:55:29.687Z] Step 10/10 : RUN ${MAKE} [2022-10-25T22:55:29.687Z] ---> Running in 8722e5cb23b0 [2022-10-25T22:55:29.946Z] noop [2022-10-25T22:55:30.206Z] Removing intermediate container 8722e5cb23b0 [2022-10-25T22:55:30.206Z] ---> 33042d024006 [2022-10-25T22:55:30.206Z] Successfully built 33042d024006 [2022-10-25T22:55:30.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:55:30.637Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:55:30.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:55:30.764Z] prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container [2022-10-25T22:55:30.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** ci-base-image-x86_64 cat [2022-10-25T22:55:31.187Z] $ docker top 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:55:31.579Z] + go version [2022-10-25T22:55:31.579Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T22:55:31.607Z] $ docker stop --time=1 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 [2022-10-25T22:55:32.910Z] $ docker rm -f 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:55:33.600Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:55:33.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:55:33.736Z] prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container [2022-10-25T22:55:33.762Z] $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** ci-base-image-x86_64 cat [2022-10-25T22:55:34.161Z] $ docker top 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:55:34.560Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:55:34.917Z] + make test [2022-10-25T22:55:34.917Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T22:55:35.175Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T22:55:45.145Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T22:55:45.145Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.7% of statements [2022-10-25T22:55:53.253Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T22:55:53.253Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T22:55:55.779Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T22:55:55.779Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T22:55:55.779Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T22:55:56.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T22:55:56.091Z] $ docker stop --time=1 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b [2022-10-25T22:55:57.999Z] $ docker rm -f 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:55:58.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T22:55:58.579Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T22:55:59.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T22:55:59.550Z] + ls -al . [2022-10-25T22:55:59.550Z] total 196 [2022-10-25T22:55:59.550Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:55 . [2022-10-25T22:55:59.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:54 .. [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:54 .dockerignore [2022-10-25T22:55:59.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:55 .git [2022-10-25T22:55:59.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 .github [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 22:54 .gitignore [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:54 .golangci.yml [2022-10-25T22:55:59.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:54 .semver [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 22:54 Attribution.txt [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 22:54 CHANGELOG.md [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 25 22:54 Dockerfile [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:54 GOVERNANCE.md [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:54 Jenkinsfile [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:54 LICENSE [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 22:54 Makefile [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 22:54 OWNERS.md [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 22:54 README.md [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:54 VERSION [2022-10-25T22:55:59.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:54 bin [2022-10-25T22:55:59.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 cmd [2022-10-25T22:55:59.550Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 22:55 coverage.out [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 25 22:54 go.mod [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 25 22:54 go.sum [2022-10-25T22:55:59.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 internal [2022-10-25T22:55:59.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:54 simulator [2022-10-25T22:55:59.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:54 snap [2022-10-25T22:55:59.550Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 22:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:55:59.938Z] + 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=fedc178e360bd096d52c4780e1d622283b62252c --label arch=amd64 --label version=0.0.0 . [2022-10-25T22:55:59.938Z] Sending build context to Docker daemon 6.262MB [2022-10-25T22:55:59.938Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:55:59.938Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-25T22:55:59.938Z] ---> 33042d024006 [2022-10-25T22:55:59.938Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:55:59.938Z] ---> Running in 4c15b6038a3b [2022-10-25T22:56:00.198Z] Removing intermediate container 4c15b6038a3b [2022-10-25T22:56:00.198Z] ---> eece55cba1af [2022-10-25T22:56:00.198Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:56:00.198Z] ---> Running in 7d491ea82d3d [2022-10-25T22:56:00.198Z] Removing intermediate container 7d491ea82d3d [2022-10-25T22:56:00.198Z] ---> 66566031f6e2 [2022-10-25T22:56:00.198Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T22:56:00.198Z] ---> Running in bda388811c5b [2022-10-25T22:56:00.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:56:00.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:56:00.765Z] OK: 217 MiB in 59 packages [2022-10-25T22:56:01.332Z] Removing intermediate container bda388811c5b [2022-10-25T22:56:01.332Z] ---> 26d331dedd7b [2022-10-25T22:56:01.332Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-25T22:56:01.332Z] ---> Running in bab957ba111f [2022-10-25T22:56:01.332Z] Removing intermediate container bab957ba111f [2022-10-25T22:56:01.332Z] ---> 9dd628e080a7 [2022-10-25T22:56:01.332Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-25T22:56:01.590Z] ---> 48d1e50bc8c9 [2022-10-25T22:56:01.590Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:56:01.590Z] ---> Running in b4d01fbf39ec [2022-10-25T22:56:02.157Z] Removing intermediate container b4d01fbf39ec [2022-10-25T22:56:02.157Z] ---> 4f600a061e84 [2022-10-25T22:56:02.157Z] Step 9/23 : COPY . . [2022-10-25T22:56:02.726Z] ---> e53b72de908d [2022-10-25T22:56:02.726Z] Step 10/23 : RUN ${MAKE} [2022-10-25T22:56:02.726Z] ---> Running in ec5387be87f7 [2022-10-25T22:56:02.985Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-25T22:56:24.923Z] Removing intermediate container ec5387be87f7 [2022-10-25T22:56:24.923Z] ---> be2a568aae07 [2022-10-25T22:56:24.924Z] Step 11/23 : FROM alpine:3.14 [2022-10-25T22:56:24.924Z] 3.14: Pulling from library/alpine [2022-10-25T22:56:24.924Z] c7ed990a2339: Pulling fs layer [2022-10-25T22:56:24.924Z] c7ed990a2339: Verifying Checksum [2022-10-25T22:56:24.924Z] c7ed990a2339: Download complete [2022-10-25T22:56:24.924Z] c7ed990a2339: Pull complete [2022-10-25T22:56:24.924Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T22:56:24.924Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T22:56:24.924Z] ---> dd53f409bf0b [2022-10-25T22:56:24.924Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T22:56:24.924Z] ---> Running in 703b09d7d3b1 [2022-10-25T22:56:24.924Z] Removing intermediate container 703b09d7d3b1 [2022-10-25T22:56:24.924Z] ---> 4da2e35907a5 [2022-10-25T22:56:24.924Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T22:56:24.924Z] ---> Running in 1ad00a3b2773 [2022-10-25T22:56:24.924Z] Removing intermediate container 1ad00a3b2773 [2022-10-25T22:56:24.924Z] ---> 3e4d0dc22335 [2022-10-25T22:56:24.924Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T22:56:24.924Z] ---> Running in fc57907759b2 [2022-10-25T22:56:24.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:56:24.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:56:24.924Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T22:56:25.181Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T22:56:25.439Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T22:56:26.004Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T22:56:26.261Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T22:56:26.828Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T22:56:27.087Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T22:56:27.087Z] OK: 8 MiB in 20 packages [2022-10-25T22:56:27.346Z] Removing intermediate container fc57907759b2 [2022-10-25T22:56:27.346Z] ---> 76756ef6b07f [2022-10-25T22:56:27.346Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T22:56:27.914Z] ---> 2f6e0dfaea02 [2022-10-25T22:56:27.914Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T22:56:28.173Z] ---> 9ae97735f77f [2022-10-25T22:56:28.173Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T22:56:28.431Z] ---> a63db6a1beaa [2022-10-25T22:56:28.431Z] Step 18/23 : EXPOSE 59901 [2022-10-25T22:56:28.431Z] ---> Running in f6df473a82b5 [2022-10-25T22:56:28.431Z] Removing intermediate container f6df473a82b5 [2022-10-25T22:56:28.431Z] ---> 0942bfc6ee13 [2022-10-25T22:56:28.431Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-25T22:56:28.431Z] ---> Running in 23fb398e7a80 [2022-10-25T22:56:28.687Z] Removing intermediate container 23fb398e7a80 [2022-10-25T22:56:28.687Z] ---> f3ca4c9430d4 [2022-10-25T22:56:28.687Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T22:56:28.687Z] ---> Running in 220f3ce6a83a [2022-10-25T22:56:28.687Z] Removing intermediate container 220f3ce6a83a [2022-10-25T22:56:28.687Z] ---> 97ee4e9bd2e8 [2022-10-25T22:56:28.687Z] Step 21/23 : LABEL arch=amd64 [2022-10-25T22:56:28.687Z] ---> Running in 2e9e80c90e03 [2022-10-25T22:56:28.945Z] Removing intermediate container 2e9e80c90e03 [2022-10-25T22:56:28.945Z] ---> 6fe5bdcf2e64 [2022-10-25T22:56:28.945Z] Step 22/23 : LABEL git_sha=fedc178e360bd096d52c4780e1d622283b62252c [2022-10-25T22:56:28.945Z] ---> Running in 67abf913a8ed [2022-10-25T22:56:28.945Z] Removing intermediate container 67abf913a8ed [2022-10-25T22:56:28.945Z] ---> d1492b39f994 [2022-10-25T22:56:28.945Z] Step 23/23 : LABEL version=0.0.0 [2022-10-25T22:56:28.945Z] ---> Running in accfef7a9d02 [2022-10-25T22:56:29.202Z] Removing intermediate container accfef7a9d02 [2022-10-25T22:56:29.202Z] ---> 9c59f528d1d5 [2022-10-25T22:56:29.202Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T22:56:29.202Z] Successfully built 9c59f528d1d5 [2022-10-25T22:56:29.202Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:56:30.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:56:30.020Z] [2022-10-25T22:56:30.020Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:56:30.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:56:30.400Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T22:56:30.400Z] 5eb5b503b376: Pulling fs layer [2022-10-25T22:56:30.400Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T22:56:30.400Z] ec43610c2a17: Pulling fs layer [2022-10-25T22:56:30.400Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T22:56:30.400Z] 33b1e0a273af: Pulling fs layer [2022-10-25T22:56:30.400Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T22:56:30.400Z] 2f39f015ded8: Pulling fs layer [2022-10-25T22:56:30.400Z] 5d3b04190fa2: Waiting [2022-10-25T22:56:30.400Z] 33b1e0a273af: Waiting [2022-10-25T22:56:30.400Z] 2f39f015ded8: Waiting [2022-10-25T22:56:30.400Z] 3a2ae6a8a46f: Waiting [2022-10-25T22:56:30.400Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T22:56:30.400Z] 5c69ac0246d0: Download complete [2022-10-25T22:56:30.400Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T22:56:30.400Z] 3a2ae6a8a46f: Download complete [2022-10-25T22:56:30.657Z] 33b1e0a273af: Verifying Checksum [2022-10-25T22:56:30.657Z] 33b1e0a273af: Download complete [2022-10-25T22:56:30.657Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T22:56:30.657Z] 5d3b04190fa2: Download complete [2022-10-25T22:56:30.657Z] ec43610c2a17: Verifying Checksum [2022-10-25T22:56:30.657Z] ec43610c2a17: Download complete [2022-10-25T22:56:30.657Z] 5eb5b503b376: Verifying Checksum [2022-10-25T22:56:30.657Z] 5eb5b503b376: Download complete [2022-10-25T22:56:31.224Z] 2f39f015ded8: Download complete [2022-10-25T22:56:31.789Z] 5eb5b503b376: Pull complete [2022-10-25T22:56:31.789Z] 5c69ac0246d0: Pull complete [2022-10-25T22:56:32.353Z] ec43610c2a17: Pull complete [2022-10-25T22:56:32.353Z] 3a2ae6a8a46f: Pull complete [2022-10-25T22:56:32.610Z] 33b1e0a273af: Pull complete [2022-10-25T22:56:32.610Z] 5d3b04190fa2: Pull complete [2022-10-25T22:56:33.886Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116999 in /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] { [Pipeline] ws [2022-10-25T22:56:33.924Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T22:56:33.998Z] Selected Git installation does not exist. Using Default [2022-10-25T22:56:33.998Z] The recommended git tool is: NONE [2022-10-25T22:56:36.797Z] 2f39f015ded8: Pull complete [2022-10-25T22:56:36.797Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T22:56:36.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:56:36.797Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:56:37.005Z] prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container [2022-10-25T22:56:37.036Z] $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 [2022-10-25T22:56:38.779Z] $ docker top 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:56:39.010Z] using credential edgex-jenkins-ssh [2022-10-25T22:56:39.028Z] Cloning the remote Git repository [2022-10-25T22:56:39.224Z] ---> job-cost.sh [2022-10-25T22:56:39.224Z] lf-activate-venv: SKIPPING [2022-10-25T22:56:39.224Z] INFO: No Stack... [2022-10-25T22:56:39.790Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T22:56:40.048Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T22:56:39.064Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T22:56:39.138Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-25T22:56:39.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T22:56:39.278Z] > git --version # timeout=10 [2022-10-25T22:56:39.300Z] > git --version # 'git version 2.25.1' [2022-10-25T22:56:39.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:56:39.354Z] Verifying host key using known hosts file [2022-10-25T22:56:39.541Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:56:39.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:56:40.363Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-387/archives/cost.csv [2022-10-25T22:56:40.363Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T22:56:40.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [2022-10-25T22:56:40.405Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] did not exist. Created. [2022-10-25T22:56:40.405Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T22:56:40.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T22:56:40.835Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T22:56:40.862Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T22:56:40.926Z] $ docker stop --time=1 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 [2022-10-25T22:56:42.095Z] $ docker rm -f 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T22:56:41.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T22:56:41.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:56:42.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T22:56:42.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T22:56:42.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:56:42.704Z] Verifying host key using known hosts file [2022-10-25T22:56:43.377Z] Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit fedc178e360bd096d52c4780e1d622283b62252c [2022-10-25T22:56:43.635Z] Merge succeeded, producing fedc178e360bd096d52c4780e1d622283b62252c [2022-10-25T22:56:43.635Z] Checking out Revision fedc178e360bd096d52c4780e1d622283b62252c (PR-387) [2022-10-25T22:56:42.711Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:56:42.723Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T22:56:43.396Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:56:43.419Z] > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 [2022-10-25T22:56:43.513Z] > git remote # timeout=10 [2022-10-25T22:56:43.534Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T22:56:43.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:56:43.563Z] Verifying host key using known hosts file [2022-10-25T22:56:43.570Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:56:43.578Z] > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [2022-10-25T22:56:43.603Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T22:56:43.636Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:56:43.650Z] > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 [2022-10-25T22:56:47.148Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [2022-10-25T22:56:47.191Z] > git --version # timeout=10 [2022-10-25T22:56:47.202Z] > git --version # 'git version 2.25.1' [2022-10-25T22:56:47.212Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:56:48.401Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T22:56:48.402Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T22:56:48.402Z] Dload Upload Total Spent Left Speed [2022-10-25T22:56:48.402Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-25T22:56:49.001Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T22:56:49.360Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T22:56:49.360Z] + sudo tee /etc/docker/daemon.new [2022-10-25T22:56:49.360Z] { [2022-10-25T22:56:49.360Z] "registry-mirrors": [ [2022-10-25T22:56:49.360Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T22:56:49.360Z] ], [2022-10-25T22:56:49.360Z] "bip": "10.250.0.254/24", [2022-10-25T22:56:49.360Z] "hosts": [ [2022-10-25T22:56:49.360Z] "tcp://0.0.0.0:5555", [2022-10-25T22:56:49.360Z] "unix:///var/run/docker.sock" [2022-10-25T22:56:49.360Z] ], [2022-10-25T22:56:49.360Z] "mtu": 1458, [2022-10-25T22:56:49.360Z] "selinux-enabled": true, [2022-10-25T22:56:49.360Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T22:56:49.360Z] } [Pipeline] sh [2022-10-25T22:56:49.699Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T22:56:50.044Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:57:08.358Z] provisioning config files... [2022-10-25T22:57:08.385Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2230172248001829242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:57:08.770Z] ---> docker-login.sh [2022-10-25T22:57:08.770Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:57:09.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:57:09.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:57:09.362Z] Configure a credential helper to remove this warning. See [2022-10-25T22:57:09.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:57:09.362Z] [2022-10-25T22:57:09.362Z] Login Succeeded [2022-10-25T22:57:09.362Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:57:09.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:57:09.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:57:09.631Z] Configure a credential helper to remove this warning. See [2022-10-25T22:57:09.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:57:09.631Z] [2022-10-25T22:57:09.631Z] Login Succeeded [2022-10-25T22:57:09.902Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:57:09.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:57:10.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:57:10.172Z] Configure a credential helper to remove this warning. See [2022-10-25T22:57:10.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:57:10.172Z] [2022-10-25T22:57:10.172Z] Login Succeeded [2022-10-25T22:57:10.172Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:57:10.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:57:10.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:57:10.442Z] Configure a credential helper to remove this warning. See [2022-10-25T22:57:10.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:57:10.442Z] [2022-10-25T22:57:10.442Z] Login Succeeded [2022-10-25T22:57:10.442Z] docker.io [2022-10-25T22:57:10.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:57:10.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:57:10.977Z] Configure a credential helper to remove this warning. See [2022-10-25T22:57:10.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:57:10.977Z] [2022-10-25T22:57:10.977Z] Login Succeeded [2022-10-25T22:57:10.977Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:57:11.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:57:11.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:57:11.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:57:11.363Z] ========================================================= [2022-10-25T22:57:11.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T22:57:11.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:57:11.872Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T22:57:12.142Z] Sending build context to Docker daemon 3.263MB [2022-10-25T22:57:12.142Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:57:12.142Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-25T22:57:12.412Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T22:57:12.412Z] 9b18e9b68314: Pulling fs layer [2022-10-25T22:57:12.412Z] d32db5db7311: Pulling fs layer [2022-10-25T22:57:12.412Z] d0c4b47475fc: Pulling fs layer [2022-10-25T22:57:12.412Z] 5831b945b038: Pulling fs layer [2022-10-25T22:57:12.412Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T22:57:12.412Z] e10730c5d714: Pulling fs layer [2022-10-25T22:57:12.412Z] 5dd5c2283517: Pulling fs layer [2022-10-25T22:57:12.412Z] d5ac0230b979: Pulling fs layer [2022-10-25T22:57:12.412Z] 86bbec2aaacd: Waiting [2022-10-25T22:57:12.412Z] e10730c5d714: Waiting [2022-10-25T22:57:12.412Z] 5dd5c2283517: Waiting [2022-10-25T22:57:12.412Z] d5ac0230b979: Waiting [2022-10-25T22:57:12.412Z] 5831b945b038: Waiting [2022-10-25T22:57:12.412Z] d0c4b47475fc: Verifying Checksum [2022-10-25T22:57:12.412Z] d0c4b47475fc: Download complete [2022-10-25T22:57:12.412Z] d32db5db7311: Download complete [2022-10-25T22:57:12.412Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T22:57:12.412Z] 86bbec2aaacd: Download complete [2022-10-25T22:57:12.412Z] e10730c5d714: Verifying Checksum [2022-10-25T22:57:12.412Z] e10730c5d714: Download complete [2022-10-25T22:57:12.412Z] 9b18e9b68314: Download complete [2022-10-25T22:57:13.399Z] 9b18e9b68314: Pull complete [2022-10-25T22:57:13.399Z] d5ac0230b979: Verifying Checksum [2022-10-25T22:57:13.399Z] d5ac0230b979: Download complete [2022-10-25T22:57:13.989Z] d32db5db7311: Pull complete [2022-10-25T22:57:14.260Z] d0c4b47475fc: Pull complete [2022-10-25T22:57:14.847Z] 5dd5c2283517: Verifying Checksum [2022-10-25T22:57:14.847Z] 5dd5c2283517: Download complete [2022-10-25T22:57:15.431Z] 5831b945b038: Verifying Checksum [2022-10-25T22:57:15.431Z] 5831b945b038: Download complete [2022-10-25T22:57:27.764Z] 5831b945b038: Pull complete [2022-10-25T22:57:27.764Z] 86bbec2aaacd: Pull complete [2022-10-25T22:57:27.764Z] e10730c5d714: Pull complete [2022-10-25T22:57:34.450Z] 5dd5c2283517: Pull complete [2022-10-25T22:57:35.421Z] d5ac0230b979: Pull complete [2022-10-25T22:57:35.421Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T22:57:35.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T22:57:35.421Z] ---> 59b3b1a385d4 [2022-10-25T22:57:35.421Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:57:37.369Z] ---> Running in a000d8d1102c [2022-10-25T22:57:37.369Z] Removing intermediate container a000d8d1102c [2022-10-25T22:57:37.369Z] ---> 63844d7d7aca [2022-10-25T22:57:37.369Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:57:37.637Z] ---> Running in e302af6d78b3 [2022-10-25T22:57:37.915Z] Removing intermediate container e302af6d78b3 [2022-10-25T22:57:37.915Z] ---> 84a0d851d4b1 [2022-10-25T22:57:37.915Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T22:57:37.915Z] ---> Running in 567e66151168 [2022-10-25T22:57:38.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:57:39.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:57:40.117Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T22:57:40.117Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T22:57:40.117Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T22:57:40.383Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:57:40.383Z] OK: 228 MiB in 59 packages [2022-10-25T22:57:41.349Z] Removing intermediate container 567e66151168 [2022-10-25T22:57:41.349Z] ---> 6796fe977249 [2022-10-25T22:57:41.349Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-25T22:57:41.349Z] ---> Running in a043a36c9851 [2022-10-25T22:57:41.617Z] Removing intermediate container a043a36c9851 [2022-10-25T22:57:41.617Z] ---> d2b3e9d43f0b [2022-10-25T22:57:41.617Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-25T22:57:42.200Z] ---> 918fe2cdf41c [2022-10-25T22:57:42.200Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:57:42.200Z] ---> Running in 4288033395b4 [2022-10-25T22:58:38.613Z] Removing intermediate container 4288033395b4 [2022-10-25T22:58:38.613Z] ---> f28a296a4f20 [2022-10-25T22:58:38.613Z] Step 9/10 : COPY . . [2022-10-25T22:58:38.613Z] ---> a6adc27f9ef5 [2022-10-25T22:58:38.613Z] Step 10/10 : RUN ${MAKE} [2022-10-25T22:58:38.613Z] ---> Running in 649d0c51e3b2 [2022-10-25T22:58:38.613Z] noop [2022-10-25T22:58:38.890Z] Removing intermediate container 649d0c51e3b2 [2022-10-25T22:58:38.890Z] ---> d7014266bf06 [2022-10-25T22:58:38.890Z] Successfully built d7014266bf06 [2022-10-25T22:58:38.890Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:58:39.357Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:58:39.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:58:39.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container [2022-10-25T22:58:39.676Z] $ 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 [2022-10-25T22:58:40.821Z] $ docker top 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:58:41.686Z] + go version [2022-10-25T22:58:41.686Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T22:58:41.725Z] $ docker stop --time=1 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 [2022-10-25T22:58:43.313Z] $ docker rm -f 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:58:44.158Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:58:44.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:58:44.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container [2022-10-25T22:58:44.465Z] $ 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 [2022-10-25T22:58:45.633Z] $ docker top f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:58:46.164Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:58:46.806Z] + make test [2022-10-25T22:58:46.806Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T22:58:48.750Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T23:00:10.366Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T23:00:10.953Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements [2022-10-25T23:00:11.223Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T23:00:11.223Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T23:00:33.298Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T23:00:33.298Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T23:00:33.298Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T23:00:33.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T23:00:33.386Z] $ docker stop --time=1 f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 [2022-10-25T23:00:35.160Z] $ docker rm -f f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T23:00:36.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T23:00:36.181Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T23:00:36.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T23:00:37.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T23:00:37.555Z] + ls -al . [2022-10-25T23:00:37.555Z] total 192 [2022-10-25T23:00:37.555Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:58 . [2022-10-25T23:00:37.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:56 .. [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:56 .dockerignore [2022-10-25T23:00:37.555Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:56 .git [2022-10-25T23:00:37.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 .github [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 22:56 .gitignore [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:56 .golangci.yml [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 22:56 Attribution.txt [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 22:56 CHANGELOG.md [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 25 22:56 Dockerfile [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:56 GOVERNANCE.md [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:56 Jenkinsfile [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:56 LICENSE [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 22:56 Makefile [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 22:56 OWNERS.md [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 22:56 README.md [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:54 VERSION [2022-10-25T23:00:37.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:56 bin [2022-10-25T23:00:37.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 cmd [2022-10-25T23:00:37.555Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 23:00 coverage.out [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 25 22:56 go.mod [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 25 22:56 go.sum [2022-10-25T23:00:37.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 internal [2022-10-25T23:00:37.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:56 simulator [2022-10-25T23:00:37.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:56 snap [2022-10-25T23:00:37.555Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:00:37.971Z] + 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=fedc178e360bd096d52c4780e1d622283b62252c --label arch=arm64 --label version=0.0.0 . [2022-10-25T23:00:38.237Z] Sending build context to Docker daemon 3.287MB [2022-10-25T23:00:38.237Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T23:00:38.237Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-25T23:00:38.237Z] ---> d7014266bf06 [2022-10-25T23:00:38.237Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-25T23:00:38.509Z] ---> Running in c32b9152da54 [2022-10-25T23:00:38.778Z] Removing intermediate container c32b9152da54 [2022-10-25T23:00:38.778Z] ---> a325f57a838b [2022-10-25T23:00:38.778Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T23:00:38.778Z] ---> Running in e1d3d394ea15 [2022-10-25T23:00:39.046Z] Removing intermediate container e1d3d394ea15 [2022-10-25T23:00:39.046Z] ---> 52364170ed63 [2022-10-25T23:00:39.046Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T23:00:39.046Z] ---> Running in e488c544a442 [2022-10-25T23:00:40.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T23:00:40.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T23:00:41.335Z] OK: 228 MiB in 59 packages [2022-10-25T23:00:42.325Z] Removing intermediate container e488c544a442 [2022-10-25T23:00:42.325Z] ---> e26b73c7dc77 [2022-10-25T23:00:42.325Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-25T23:00:42.325Z] ---> Running in 67572fec725f [2022-10-25T23:00:42.598Z] Removing intermediate container 67572fec725f [2022-10-25T23:00:42.598Z] ---> 176584a0e33a [2022-10-25T23:00:42.598Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-25T23:00:43.184Z] ---> feee5bf66705 [2022-10-25T23:00:43.184Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T23:00:43.184Z] ---> Running in df3c17418e4d [2022-10-25T23:00:45.151Z] Removing intermediate container df3c17418e4d [2022-10-25T23:00:45.151Z] ---> 09148878f883 [2022-10-25T23:00:45.151Z] Step 9/23 : COPY . . [2022-10-25T23:00:46.117Z] ---> f79e4bfc56c5 [2022-10-25T23:00:46.117Z] Step 10/23 : RUN ${MAKE} [2022-10-25T23:00:46.117Z] ---> Running in 0b35057095f3 [2022-10-25T23:00:47.084Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-25T23:03:23.846Z] Removing intermediate container 0b35057095f3 [2022-10-25T23:03:23.846Z] ---> ba758be359d1 [2022-10-25T23:03:23.846Z] Step 11/23 : FROM alpine:3.14 [2022-10-25T23:03:23.846Z] 3.14: Pulling from library/alpine [2022-10-25T23:03:23.846Z] 90cda3b7c325: Pulling fs layer [2022-10-25T23:03:23.846Z] 90cda3b7c325: Verifying Checksum [2022-10-25T23:03:23.846Z] 90cda3b7c325: Download complete [2022-10-25T23:03:23.846Z] 90cda3b7c325: Pull complete [2022-10-25T23:03:23.846Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T23:03:23.846Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T23:03:23.846Z] ---> 376ba31ae3da [2022-10-25T23:03:23.846Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T23:03:23.846Z] ---> Running in 9372dc0a8181 [2022-10-25T23:03:24.114Z] Removing intermediate container 9372dc0a8181 [2022-10-25T23:03:24.114Z] ---> 19ad5ba4c848 [2022-10-25T23:03:24.114Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T23:03:24.398Z] ---> Running in 9815a7fdccc2 [2022-10-25T23:03:25.813Z] Removing intermediate container 9815a7fdccc2 [2022-10-25T23:03:25.813Z] ---> 418e51b62db0 [2022-10-25T23:03:25.813Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T23:03:25.813Z] ---> Running in 42d097c4f530 [2022-10-25T23:03:26.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-25T23:03:27.350Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-25T23:03:28.752Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T23:03:28.752Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T23:03:29.332Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T23:03:29.596Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T23:03:30.175Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T23:03:30.755Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T23:03:31.021Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T23:03:31.021Z] OK: 8 MiB in 20 packages [2022-10-25T23:03:31.982Z] Removing intermediate container 42d097c4f530 [2022-10-25T23:03:31.982Z] ---> b51bfd8a1787 [2022-10-25T23:03:31.982Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T23:03:33.405Z] ---> 094aca0f7081 [2022-10-25T23:03:33.405Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T23:03:33.671Z] ---> a001d0897a28 [2022-10-25T23:03:33.671Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T23:03:34.256Z] ---> bc5d460d497c [2022-10-25T23:03:34.256Z] Step 18/23 : EXPOSE 59901 [2022-10-25T23:03:34.256Z] ---> Running in 3ba1517156ad [2022-10-25T23:03:34.538Z] Removing intermediate container 3ba1517156ad [2022-10-25T23:03:34.538Z] ---> 54fe58a3ba90 [2022-10-25T23:03:34.538Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-25T23:03:34.538Z] ---> Running in ab8400216c61 [2022-10-25T23:03:34.810Z] Removing intermediate container ab8400216c61 [2022-10-25T23:03:34.810Z] ---> 6735cf462600 [2022-10-25T23:03:34.810Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T23:03:35.083Z] ---> Running in 690afa539049 [2022-10-25T23:03:35.349Z] Removing intermediate container 690afa539049 [2022-10-25T23:03:35.349Z] ---> c8e6b2fd677d [2022-10-25T23:03:35.349Z] Step 21/23 : LABEL arch=arm64 [2022-10-25T23:03:35.349Z] ---> Running in d20c34386f41 [2022-10-25T23:03:35.617Z] Removing intermediate container d20c34386f41 [2022-10-25T23:03:35.617Z] ---> 0d6dcce2a219 [2022-10-25T23:03:35.617Z] Step 22/23 : LABEL git_sha=fedc178e360bd096d52c4780e1d622283b62252c [2022-10-25T23:03:35.617Z] ---> Running in 68b4d40137f6 [2022-10-25T23:03:35.886Z] Removing intermediate container 68b4d40137f6 [2022-10-25T23:03:35.886Z] ---> 963f694ea060 [2022-10-25T23:03:35.886Z] Step 23/23 : LABEL version=0.0.0 [2022-10-25T23:03:35.886Z] ---> Running in cf4c7efa5b49 [2022-10-25T23:03:36.471Z] Removing intermediate container cf4c7efa5b49 [2022-10-25T23:03:36.471Z] ---> 31a7f585d14f [2022-10-25T23:03:36.471Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T23:03:36.471Z] Successfully built 31a7f585d14f [2022-10-25T23:03:36.471Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:03:37.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:03:37.272Z] [2022-10-25T23:03:37.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:03:37.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:03:37.676Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T23:03:37.943Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T23:03:37.943Z] 04944245beec: Pulling fs layer [2022-10-25T23:03:37.943Z] 699f458cf7ca: Pulling fs layer [2022-10-25T23:03:37.943Z] 765212b225bb: Pulling fs layer [2022-10-25T23:03:37.943Z] f23df028b6ca: Pulling fs layer [2022-10-25T23:03:37.943Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T23:03:37.943Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T23:03:37.943Z] f23df028b6ca: Waiting [2022-10-25T23:03:37.943Z] d65c8cfc05b1: Waiting [2022-10-25T23:03:37.943Z] 2437ff75d9bd: Waiting [2022-10-25T23:03:37.943Z] 765212b225bb: Waiting [2022-10-25T23:03:37.943Z] 04944245beec: Download complete [2022-10-25T23:03:37.943Z] 765212b225bb: Verifying Checksum [2022-10-25T23:03:37.943Z] 765212b225bb: Download complete [2022-10-25T23:03:37.943Z] f23df028b6ca: Verifying Checksum [2022-10-25T23:03:37.943Z] f23df028b6ca: Download complete [2022-10-25T23:03:37.943Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T23:03:37.943Z] d65c8cfc05b1: Download complete [2022-10-25T23:03:38.220Z] 699f458cf7ca: Verifying Checksum [2022-10-25T23:03:38.220Z] 699f458cf7ca: Download complete [2022-10-25T23:03:38.492Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T23:03:38.492Z] 8998bd30e6a1: Download complete [2022-10-25T23:03:41.074Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T23:03:41.074Z] 2437ff75d9bd: Download complete [2022-10-25T23:03:42.488Z] 8998bd30e6a1: Pull complete [2022-10-25T23:03:42.756Z] 04944245beec: Pull complete [2022-10-25T23:03:44.166Z] 699f458cf7ca: Pull complete [2022-10-25T23:03:44.166Z] 765212b225bb: Pull complete [2022-10-25T23:03:45.126Z] f23df028b6ca: Pull complete [2022-10-25T23:03:45.126Z] d65c8cfc05b1: Pull complete [2022-10-25T23:04:00.114Z] 2437ff75d9bd: Pull complete [2022-10-25T23:04:00.114Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T23:04:00.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:04:00.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:04:00.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container [2022-10-25T23:04:00.500Z] $ 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 [2022-10-25T23:04:03.219Z] $ docker top aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:04.116Z] ---> job-cost.sh [2022-10-25T23:04:04.116Z] lf-activate-venv: SKIPPING [2022-10-25T23:04:04.116Z] INFO: No Stack... [2022-10-25T23:04:04.701Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T23:04:05.284Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T23:04:05.945Z] + + cut -d, -f6 [2022-10-25T23:04:05.945Z] cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-10-25T23:04:06.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [2022-10-25T23:04:06.031Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] did not exist. Created. [2022-10-25T23:04:06.031Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T23:04:06.753Z] /w/workspace/device-modbus-go/1@tmp/durable-02eeb558/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T23:04:07.422Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T23:04:07.458Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T23:04:07.504Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T23:04:07.518Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T23:04:07.614Z] $ docker stop --time=1 aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea [2022-10-25T23:04:09.135Z] $ docker rm -f aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-25T23:04:10.014Z] provisioning config files... [2022-10-25T23:04:10.021Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config4989977354544541903tmp [Pipeline] { [Pipeline] sh [2022-10-25T23:04:10.357Z] + set +x [2022-10-25T23:04:10.357Z] + curl -s https://codecov.io/bash [2022-10-25T23:04:10.357Z] + bash -s -- [2022-10-25T23:04:10.357Z] [2022-10-25T23:04:10.357Z] _____ _ [2022-10-25T23:04:10.357Z] / ____| | | [2022-10-25T23:04:10.357Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T23:04:10.357Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T23:04:10.357Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T23:04:10.357Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T23:04:10.357Z] Bash-1.0.6 [2022-10-25T23:04:10.357Z] [2022-10-25T23:04:10.357Z] [2022-10-25T23:04:10.357Z] ==> git version 2.25.1 found [2022-10-25T23:04:10.357Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-25T23:04:10.357Z] Release-Date: 2020-01-08 [2022-10-25T23:04:10.357Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T23:04:10.357Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T23:04:10.357Z] ==> Jenkins CI detected. [2022-10-25T23:04:10.357Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-25T23:04:10.357Z] project root: . [2022-10-25T23:04:10.357Z] --> token set from env [2022-10-25T23:04:10.357Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T23:04:10.357Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T23:04:10.357Z] ==> Python coveragepy not found [2022-10-25T23:04:10.357Z] ==> Searching for coverage reports in: [2022-10-25T23:04:10.357Z] + . [2022-10-25T23:04:10.357Z] -> Found 1 reports [2022-10-25T23:04:10.357Z] ==> Detecting git/mercurial file structure [2022-10-25T23:04:10.357Z] ==> Reading reports [2022-10-25T23:04:10.357Z] + ./coverage.out bytes=23241 [2022-10-25T23:04:10.357Z] ==> Appending adjustments [2022-10-25T23:04:10.357Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T23:04:10.616Z] + Found adjustments [2022-10-25T23:04:10.616Z] ==> Gzipping contents [2022-10-25T23:04:10.616Z] 4.0K /tmp/codecov.PwjTpX.gz [2022-10-25T23:04:10.616Z] ==> Uploading reports [2022-10-25T23:04:10.616Z] url: https://codecov.io [2022-10-25T23:04:10.616Z] query: branch=PR-387&commit=fedc178e360bd096d52c4780e1d622283b62252c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-25T23:04:10.616Z] -> Pinging Codecov [2022-10-25T23:04:10.616Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-387&commit=fedc178e360bd096d52c4780e1d622283b62252c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-25T23:04:10.874Z] -> Uploading to [2022-10-25T23:04:10.874Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/fedc178e360bd096d52c4780e1d622283b62252c/16fb967e-59d3-45b5-b489-39622993b9cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T230410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e353f018a8213646fface81c82282c888e7e0d3ab042f44a1adb3a5fd1d49601 [2022-10-25T23:04:10.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T23:04:10.874Z] Dload Upload Total Spent Left Speed [2022-10-25T23:04:11.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 17940 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 17940 [2022-10-25T23:04:11.133Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] } [2022-10-25T23:04:11.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-25T23:04:12.787Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-387/archives ] [2022-10-25T23:04:12.787Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-25T23:04:12.787Z] total 16 [2022-10-25T23:04:12.787Z] drwxr-xr-x 3 root root 4096 Oct 25 22:56 . [2022-10-25T23:04:12.787Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:56 .. [2022-10-25T23:04:12.787Z] drwxr-xr-x 2 root root 4096 Oct 25 22:56 cost [2022-10-25T23:04:12.787Z] -rw-r--r-- 1 root root 88 Oct 25 22:56 cost.csv [2022-10-25T23:04:12.787Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-25T23:04:12.787Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-25T23:04:12.787Z] total 16 [2022-10-25T23:04:12.787Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:56 . [2022-10-25T23:04:12.787Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:56 .. [2022-10-25T23:04:12.787Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:56 cost [2022-10-25T23:04:12.787Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 25 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:13.110Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:13.994Z] ---> package-listing.sh [2022-10-25T23:04:13.994Z] ++ facter osfamily [2022-10-25T23:04:13.994Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T23:04:14.254Z] + OS_FAMILY=debian [2022-10-25T23:04:14.254Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-25T23:04:14.254Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T23:04:14.254Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T23:04:14.254Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T23:04:14.254Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T23:04:14.254Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-25T23:04:14.254Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T23:04:14.254Z] + case "${OS_FAMILY}" in [2022-10-25T23:04:14.254Z] + dpkg -l [2022-10-25T23:04:14.254Z] + grep '^ii' [2022-10-25T23:04:14.254Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T23:04:14.254Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T23:04:14.254Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T23:04:14.254Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-25T23:04:14.254Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [2022-10-25T23:04:14.254Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [Pipeline] echo [2022-10-25T23:04:14.287Z] 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T23:04:14.576Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:04:14.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T23:04:14.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:04:15.084Z] prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container [2022-10-25T23:04:15.106Z] $ 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-387/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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T23:04:15.364Z] $ docker top 21770ea87bad9c8c0f980c74b6d7686c380fcca8101bbe6e352743f3d4848f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:04:15.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T23:04:16.071Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T23:04:16.384Z] + ls /var/log/sa-host [2022-10-25T23:04:16.384Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T23:04:16.589Z] provisioning config files... [2022-10-25T23:04:16.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config14308113691582258604tmp [Pipeline] { [Pipeline] echo [2022-10-25T23:04:16.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:16.952Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T23:04:16.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:17.386Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T23:04:17.419Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:17.728Z] ---> sudo-logs.sh [2022-10-25T23:04:17.728Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T23:04:17.808Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:18.114Z] ---> job-cost.sh [2022-10-25T23:04:18.114Z] lf-activate-venv: SKIPPING [2022-10-25T23:04:18.114Z] DEBUG: total: 0.2199999988079071 [2022-10-25T23:04:18.114Z] INFO: Retrieving Stack Cost... [2022-10-25T23:04:18.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T23:04:18.941Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T23:04:18.984Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:04:19.298Z] ---> logs-deploy.sh [2022-10-25T23:04:19.298Z] lf-activate-venv: SKIPPING [2022-10-25T23:04:19.298Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-387/1 [2022-10-25T23:04:19.298Z] INFO: archiving workspace using pattern(s): [2022-10-25T23:04:20.233Z] Archives upload complete. [2022-10-25T23:04:20.233Z] INFO: archiving logs to Nexus