Pull request #443 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9+9bc48e746bb510c782b9593f55beae1b8e3bd068 (41829af464b6ad5578f1ee9bdaf74c5f8f2fc077) 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-ssh15884404893798681288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9575669434037883778.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-443/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-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4962283918968054604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5351639476884023655.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17220398661017383805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-443/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-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14656933825024835067.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5682 in /w/workspace/xfoundry_device-modbus-go_PR-443 [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-443 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 Merge succeeded, producing 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 Checking out Revision 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 (PR-443) > git config core.sparsecheckout # timeout=10 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 Commit message: "fix: fix protocol properties parsing error" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T07:55:26.059Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T07:55:26.234Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T07:55:26.325Z] ========================================================= [2023-03-24T07:55:26.325Z] EdgeX Global Pipelines Version Info [2023-03-24T07:55:26.325Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T07:55:27.086Z] ------------------- [2023-03-24T07:55:27.086Z] stable info: [2023-03-24T07:55:27.086Z] ------------------- [2023-03-24T07:55:27.086Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T07:55:27.086Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T07:55:27.086Z] Message: update stable to v1.0.245 [2023-03-24T07:55:27.658Z] ------------------- [2023-03-24T07:55:27.658Z] experimental info: [2023-03-24T07:55:27.658Z] ------------------- [2023-03-24T07:55:27.659Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T07:55:27.659Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T07:55:27.659Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T07:55:27.938Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-24T07:55:27.978Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-24T07:55:28.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T07:55:28.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T07:55:28.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T07:55:28.130Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T07:55:28.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T07:55:28.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T07:55:28.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T07:55:28.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T07:55:28.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T07:55:28.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-24T07:55:28.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T07:55:28.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T07:55:28.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T07:55:28.487Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T07:55:28.525Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T07:55:28.560Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T07:55:28.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T07:55:28.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T07:55:28.674Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T07:55:28.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T07:55:28.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T07:55:28.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T07:55:28.848Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T07:55:28.895Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T07:55:28.939Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T07:55:28.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-443 [Pipeline] echo [2023-03-24T07:55:29.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-443 [Pipeline] echo [2023-03-24T07:55:29.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-443 [Pipeline] echo [2023-03-24T07:55:29.119Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo [2023-03-24T07:55:29.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 261bb0a [Pipeline] echo [2023-03-24T07:55:29.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T07:55:29.308Z] provisioning config files... [2023-03-24T07:55:29.326Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config16516630384772951217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T07:55:29.664Z] ---> docker-login.sh [2023-03-24T07:55:29.664Z] nexus3.edgexfoundry.org:10001 [2023-03-24T07:55:29.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:29.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:29.926Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:29.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:29.926Z] [2023-03-24T07:55:29.926Z] Login Succeeded [2023-03-24T07:55:29.926Z] nexus3.edgexfoundry.org:10002 [2023-03-24T07:55:30.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:30.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:30.185Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:30.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:30.185Z] [2023-03-24T07:55:30.185Z] Login Succeeded [2023-03-24T07:55:30.185Z] nexus3.edgexfoundry.org:10003 [2023-03-24T07:55:30.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:30.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:30.185Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:30.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:30.185Z] [2023-03-24T07:55:30.185Z] Login Succeeded [2023-03-24T07:55:30.185Z] nexus3.edgexfoundry.org:10004 [2023-03-24T07:55:30.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:30.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:30.446Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:30.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:30.446Z] [2023-03-24T07:55:30.446Z] Login Succeeded [2023-03-24T07:55:30.446Z] docker.io [2023-03-24T07:55:30.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:30.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:30.706Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:30.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:30.706Z] [2023-03-24T07:55:30.706Z] Login Succeeded [2023-03-24T07:55:30.706Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T07:55:30.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T07:55:31.324Z] + git rev-list -1 --merges 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9~1..261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo [2023-03-24T07:55:31.384Z] -----------> git rev-list -1 --merges 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9~1..261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [false] [Pipeline] sh [2023-03-24T07:55:31.692Z] + git log --format=format:%s -1 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo [2023-03-24T07:55:31.724Z] ========================================================= [2023-03-24T07:55:31.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T07:55:31.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T07:55:32.139Z] + git log --format=format:%s -1 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo [2023-03-24T07:55:32.172Z] [semverPrep] GIT_COMMIT: 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9, Commit Message: fix: fix protocol properties parsing error [Pipeline] echo [2023-03-24T07:55:32.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T07:55:32.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T07:55:32.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T07:55:32.588Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T07:55:32.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T07:55:32.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T07:55:32.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T07:55:32.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:55:33.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T07:55:33.071Z] [2023-03-24T07:55:33.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:55:33.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T07:55:33.447Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T07:55:33.447Z] b85a868b505f: Pulling fs layer [2023-03-24T07:55:33.447Z] e2be974225ed: Pulling fs layer [2023-03-24T07:55:33.447Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T07:55:33.447Z] 988bab9f4d93: Pulling fs layer [2023-03-24T07:55:33.447Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T07:55:33.447Z] eaf3925da568: Pulling fs layer [2023-03-24T07:55:33.447Z] bab4dde63d76: Pulling fs layer [2023-03-24T07:55:33.447Z] bde34c3a00c8: Pulling fs layer [2023-03-24T07:55:33.447Z] b352a97aabf1: Pulling fs layer [2023-03-24T07:55:33.447Z] 4872d77fe225: Pulling fs layer [2023-03-24T07:55:33.447Z] 5851b861e8e6: Pulling fs layer [2023-03-24T07:55:33.447Z] 988bab9f4d93: Waiting [2023-03-24T07:55:33.447Z] b352a97aabf1: Waiting [2023-03-24T07:55:33.447Z] 4872d77fe225: Waiting [2023-03-24T07:55:33.447Z] 1469e6f7b9e6: Waiting [2023-03-24T07:55:33.447Z] eaf3925da568: Waiting [2023-03-24T07:55:33.447Z] 5851b861e8e6: Waiting [2023-03-24T07:55:33.447Z] bde34c3a00c8: Waiting [2023-03-24T07:55:33.447Z] bab4dde63d76: Waiting [2023-03-24T07:55:33.447Z] e2be974225ed: Verifying Checksum [2023-03-24T07:55:33.447Z] e2be974225ed: Download complete [2023-03-24T07:55:33.447Z] 988bab9f4d93: Verifying Checksum [2023-03-24T07:55:33.447Z] 988bab9f4d93: Download complete [2023-03-24T07:55:33.707Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T07:55:33.707Z] 339a4e72a1f5: Download complete [2023-03-24T07:55:33.707Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T07:55:33.707Z] 1469e6f7b9e6: Download complete [2023-03-24T07:55:33.707Z] eaf3925da568: Verifying Checksum [2023-03-24T07:55:33.707Z] eaf3925da568: Download complete [2023-03-24T07:55:33.707Z] bde34c3a00c8: Download complete [2023-03-24T07:55:33.707Z] b352a97aabf1: Download complete [2023-03-24T07:55:33.707Z] 4872d77fe225: Download complete [2023-03-24T07:55:33.707Z] 5851b861e8e6: Verifying Checksum [2023-03-24T07:55:33.707Z] 5851b861e8e6: Download complete [2023-03-24T07:55:33.707Z] b85a868b505f: Verifying Checksum [2023-03-24T07:55:33.707Z] b85a868b505f: Download complete [2023-03-24T07:55:33.967Z] bab4dde63d76: Verifying Checksum [2023-03-24T07:55:33.967Z] bab4dde63d76: Download complete [2023-03-24T07:55:35.344Z] b85a868b505f: Pull complete [2023-03-24T07:55:35.344Z] e2be974225ed: Pull complete [2023-03-24T07:55:35.914Z] 339a4e72a1f5: Pull complete [2023-03-24T07:55:35.914Z] 988bab9f4d93: Pull complete [2023-03-24T07:55:36.175Z] 1469e6f7b9e6: Pull complete [2023-03-24T07:55:36.175Z] eaf3925da568: Pull complete [2023-03-24T07:55:38.074Z] bab4dde63d76: Pull complete [2023-03-24T07:55:38.334Z] bde34c3a00c8: Pull complete [2023-03-24T07:55:38.334Z] b352a97aabf1: Pull complete [2023-03-24T07:55:38.334Z] 4872d77fe225: Pull complete [2023-03-24T07:55:38.594Z] 5851b861e8e6: Pull complete [2023-03-24T07:55:38.594Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T07:55:38.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T07:55:38.594Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:55:38.817Z] prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container [2023-03-24T07:55:38.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@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 [2023-03-24T07:55:40.277Z] $ docker top e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d -eo pid,comm [2023-03-24T07:55:40.330Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-24T07:55:40.330Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T07:55:40.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T07:55:40.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T07:55:40.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T07:55:40.576Z] $ docker exec e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent [2023-03-24T07:55:40.684Z] SSH_AUTH_SOCK=/tmp/ssh-cyTih3UDA4Dl/agent.33 [2023-03-24T07:55:40.684Z] SSH_AGENT_PID=39 [2023-03-24T07:55:40.691Z] Running ssh-add (command line suppressed) [2023-03-24T07:55:40.808Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_10729449519426508155.key (/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_10729449519426508155.key) [2023-03-24T07:55:40.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T07:55:41.151Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T07:55:41.180Z] $ docker exec --env ******** --env ******** e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent -k [2023-03-24T07:55:41.282Z] unset SSH_AUTH_SOCK; [2023-03-24T07:55:41.283Z] unset SSH_AGENT_PID; [2023-03-24T07:55:41.283Z] echo Agent pid 39 killed; [2023-03-24T07:55:41.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T07:55:41.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T07:55:41.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T07:55:41.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T07:55:41.507Z] $ docker exec e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent [2023-03-24T07:55:41.623Z] SSH_AUTH_SOCK=/tmp/ssh-fys7mfx8B76I/agent.71 [2023-03-24T07:55:41.623Z] SSH_AGENT_PID=77 [2023-03-24T07:55:41.628Z] Running ssh-add (command line suppressed) [2023-03-24T07:55:41.739Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_14893571353444809544.key (/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_14893571353444809544.key) [2023-03-24T07:55:41.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T07:55:42.079Z] + git semver init [2023-03-24T07:55:42.339Z] 2023-03-24 07:55:42,272 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T07:55:42.339Z] 2023-03-24 07:55:42,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver [2023-03-24T07:55:42.339Z] 2023-03-24 07:55:42,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-443/.semver [2023-03-24T07:55:42.339Z] 2023-03-24 07:55:42,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-443/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443, universal_newlines=False, shell=None, istream=None) [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,022 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-443/.git/info/exclude [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 with force:False [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,023 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,027 [execute] INFO git cat-file --batch-check [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,034 [execute] INFO git cat-file --batch [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T07:55:43.281Z] 2023-03-24 07:55:43,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 [2023-03-24T07:55:43.281Z] 0.0.0 [Pipeline] } [2023-03-24T07:55:43.310Z] $ docker exec --env ******** --env ******** e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent -k [2023-03-24T07:55:43.431Z] unset SSH_AUTH_SOCK; [2023-03-24T07:55:43.431Z] unset SSH_AGENT_PID; [2023-03-24T07:55:43.431Z] echo Agent pid 77 killed; [2023-03-24T07:55:43.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T07:55:43.857Z] + git semver [Pipeline] } [2023-03-24T07:55:44.145Z] $ docker stop --time=1 e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d [2023-03-24T07:55:45.488Z] $ docker rm -f --volumes e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T07:55:45.880Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T07:55:46.174Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T07:55:46.194Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T07:55:46.806Z] provisioning config files... [2023-03-24T07:55:46.817Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config13551501749110937093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T07:55:47.162Z] ---> docker-login.sh [2023-03-24T07:55:47.162Z] nexus3.edgexfoundry.org:10001 [2023-03-24T07:55:47.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:47.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:47.162Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:47.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:47.162Z] [2023-03-24T07:55:47.162Z] Login Succeeded [2023-03-24T07:55:47.162Z] nexus3.edgexfoundry.org:10002 [2023-03-24T07:55:47.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:47.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:47.162Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:47.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:47.162Z] [2023-03-24T07:55:47.162Z] Login Succeeded [2023-03-24T07:55:47.162Z] nexus3.edgexfoundry.org:10003 [2023-03-24T07:55:47.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:47.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:47.422Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:47.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:47.422Z] [2023-03-24T07:55:47.422Z] Login Succeeded [2023-03-24T07:55:47.422Z] nexus3.edgexfoundry.org:10004 [2023-03-24T07:55:47.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:47.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:47.422Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:47.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:47.422Z] [2023-03-24T07:55:47.422Z] Login Succeeded [2023-03-24T07:55:47.422Z] docker.io [2023-03-24T07:55:47.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:55:47.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:55:47.941Z] Configure a credential helper to remove this warning. See [2023-03-24T07:55:47.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:55:47.941Z] [2023-03-24T07:55:47.941Z] Login Succeeded [2023-03-24T07:55:47.941Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T07:55:47.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T07:55:48.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T07:55:48.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T07:55:48.214Z] ========================================================= [2023-03-24T07:55:48.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T07:55:48.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:55:48.678Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T07:55:48.678Z] Sending build context to Docker daemon 6.392MB [2023-03-24T07:55:48.678Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T07:55:48.678Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T07:55:48.678Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T07:55:48.678Z] 63b65145d645: Pulling fs layer [2023-03-24T07:55:48.678Z] a2d21d5440eb: Pulling fs layer [2023-03-24T07:55:48.678Z] 935e6c44a52c: Pulling fs layer [2023-03-24T07:55:48.678Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T07:55:48.678Z] 30dea6a524f1: Pulling fs layer [2023-03-24T07:55:48.678Z] a2aff8979fd8: Pulling fs layer [2023-03-24T07:55:48.678Z] 6808be2612f2: Pulling fs layer [2023-03-24T07:55:48.678Z] f25807f1079a: Pulling fs layer [2023-03-24T07:55:48.678Z] f25807f1079a: Waiting [2023-03-24T07:55:48.678Z] a2aff8979fd8: Waiting [2023-03-24T07:55:48.678Z] 30dea6a524f1: Waiting [2023-03-24T07:55:48.678Z] 6808be2612f2: Waiting [2023-03-24T07:55:48.939Z] a2d21d5440eb: Verifying Checksum [2023-03-24T07:55:48.939Z] a2d21d5440eb: Download complete [2023-03-24T07:55:48.939Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T07:55:48.939Z] 94cc34f8dd06: Download complete [2023-03-24T07:55:48.939Z] 30dea6a524f1: Verifying Checksum [2023-03-24T07:55:48.939Z] 30dea6a524f1: Download complete [2023-03-24T07:55:48.939Z] 63b65145d645: Verifying Checksum [2023-03-24T07:55:48.939Z] 63b65145d645: Download complete [2023-03-24T07:55:48.939Z] a2aff8979fd8: Verifying Checksum [2023-03-24T07:55:48.939Z] a2aff8979fd8: Download complete [2023-03-24T07:55:49.203Z] 63b65145d645: Pull complete [2023-03-24T07:55:49.203Z] a2d21d5440eb: Pull complete [2023-03-24T07:55:49.796Z] f25807f1079a: Verifying Checksum [2023-03-24T07:55:49.796Z] f25807f1079a: Download complete [2023-03-24T07:55:49.796Z] 935e6c44a52c: Verifying Checksum [2023-03-24T07:55:49.796Z] 935e6c44a52c: Download complete [2023-03-24T07:55:50.054Z] 6808be2612f2: Verifying Checksum [2023-03-24T07:55:50.054Z] 6808be2612f2: Download complete [2023-03-24T07:55:53.340Z] 935e6c44a52c: Pull complete [2023-03-24T07:55:53.600Z] 94cc34f8dd06: Pull complete [2023-03-24T07:55:53.600Z] 30dea6a524f1: Pull complete [2023-03-24T07:55:53.600Z] a2aff8979fd8: Pull complete [2023-03-24T07:55:56.131Z] 6808be2612f2: Pull complete [2023-03-24T07:55:57.069Z] f25807f1079a: Pull complete [2023-03-24T07:55:57.069Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T07:55:57.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T07:55:57.069Z] ---> 3b553350e43f [2023-03-24T07:55:57.069Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T07:55:59.001Z] ---> Running in bc99024218c3 [2023-03-24T07:55:59.001Z] Removing intermediate container bc99024218c3 [2023-03-24T07:55:59.001Z] ---> 44367534a40a [2023-03-24T07:55:59.001Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T07:55:59.001Z] ---> Running in c6b5d1734a18 [2023-03-24T07:55:59.001Z] Removing intermediate container c6b5d1734a18 [2023-03-24T07:55:59.001Z] ---> 81f5525160a7 [2023-03-24T07:55:59.001Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T07:55:59.262Z] ---> Running in 380f54f4268c [2023-03-24T07:55:59.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T07:55:59.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T07:55:59.784Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T07:55:59.784Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T07:55:59.784Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T07:56:00.043Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T07:56:00.043Z] OK: 270 MiB in 61 packages [2023-03-24T07:56:00.616Z] Removing intermediate container 380f54f4268c [2023-03-24T07:56:00.616Z] ---> b9f04e357511 [2023-03-24T07:56:00.616Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T07:56:00.616Z] ---> Running in 7b98d167052a [2023-03-24T07:56:00.616Z] Removing intermediate container 7b98d167052a [2023-03-24T07:56:00.616Z] ---> dd3444e6c1c5 [2023-03-24T07:56:00.616Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T07:56:00.876Z] ---> f134344b4e3e [2023-03-24T07:56:00.876Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T07:56:00.876Z] ---> Running in 4bbc975c81b3 [2023-03-24T07:56:01.632Z] Still waiting to schedule task [2023-03-24T07:56:01.632Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-24T07:56:47.588Z] Removing intermediate container 4bbc975c81b3 [2023-03-24T07:56:47.589Z] ---> 74d7f962d211 [2023-03-24T07:56:47.589Z] Step 9/10 : COPY . . [2023-03-24T07:56:47.589Z] ---> 6ef7b3181328 [2023-03-24T07:56:47.589Z] Step 10/10 : RUN ${MAKE} [2023-03-24T07:56:47.589Z] ---> Running in e4b1911e042e [2023-03-24T07:56:47.589Z] noop [2023-03-24T07:56:47.589Z] Removing intermediate container e4b1911e042e [2023-03-24T07:56:47.589Z] ---> 0fc1b6dd82f4 [2023-03-24T07:56:47.589Z] Successfully built 0fc1b6dd82f4 [2023-03-24T07:56:47.589Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:56:48.032Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T07:56:48.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:56:48.182Z] prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container [2023-03-24T07:56:48.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@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 [2023-03-24T07:56:48.625Z] $ docker top acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T07:56:49.014Z] + go version [2023-03-24T07:56:49.015Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T07:56:49.049Z] $ docker stop --time=1 acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 [2023-03-24T07:56:50.369Z] $ docker rm -f --volumes acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:56:51.078Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T07:56:51.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:56:51.226Z] prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container [2023-03-24T07:56:51.263Z] $ 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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@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 [2023-03-24T07:56:51.613Z] $ docker top 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T07:56:52.005Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-443 [Pipeline] fileExists [Pipeline] sh [2023-03-24T07:56:52.362Z] + make test [2023-03-24T07:56:52.362Z] go test ./... -coverprofile=coverage.out [2023-03-24T07:56:57.628Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T07:57:07.601Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-24T07:57:07.601Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements [2023-03-24T07:57:15.713Z] go vet ./... [2023-03-24T07:57:18.995Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T07:57:18.995Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T07:57:18.995Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T07:57:19.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T07:57:19.069Z] $ docker stop --time=1 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 [2023-03-24T07:57:21.130Z] $ docker rm -f --volumes 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T07:57:21.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T07:57:21.733Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-24T07:57:22.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T07:57:22.725Z] + ls -al . [2023-03-24T07:57:22.725Z] total 180 [2023-03-24T07:57:22.725Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 07:56 . [2023-03-24T07:57:22.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:55 .. [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 07:55 .dockerignore [2023-03-24T07:57:22.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 07:55 .git [2023-03-24T07:57:22.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 .github [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 07:55 .gitignore [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 07:55 .golangci.yml [2023-03-24T07:57:22.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 07:55 .semver [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 07:55 Attribution.txt [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 07:55 CHANGELOG.md [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 07:55 Dockerfile [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 07:55 GOVERNANCE.md [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 07:55 Jenkinsfile [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 07:55 LICENSE [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 07:55 Makefile [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 07:55 OWNERS.md [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 24 07:55 README.md [2023-03-24T07:57:22.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 07:55 VERSION [2023-03-24T07:57:22.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:55 bin [2023-03-24T07:57:22.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 cmd [2023-03-24T07:57:22.726Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 24 07:57 coverage.out [2023-03-24T07:57:22.726Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 24 07:55 go.mod [2023-03-24T07:57:22.726Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 24 07:55 go.sum [2023-03-24T07:57:22.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 internal [2023-03-24T07:57:22.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:55 simulator [2023-03-24T07:57:22.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:55 snap [2023-03-24T07:57:22.726Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 07:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:57:23.112Z] + 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=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 --label arch=amd64 --label version=0.0.0 . [2023-03-24T07:57:23.112Z] Sending build context to Docker daemon 6.417MB [2023-03-24T07:57:23.112Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T07:57:23.112Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-24T07:57:23.112Z] ---> 0fc1b6dd82f4 [2023-03-24T07:57:23.112Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-24T07:57:23.112Z] ---> Running in 4baf7f68520c [2023-03-24T07:57:23.371Z] Removing intermediate container 4baf7f68520c [2023-03-24T07:57:23.371Z] ---> b054a41a7f89 [2023-03-24T07:57:23.371Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T07:57:23.371Z] ---> Running in e07510f951fa [2023-03-24T07:57:23.371Z] Removing intermediate container e07510f951fa [2023-03-24T07:57:23.371Z] ---> 56c1307067fd [2023-03-24T07:57:23.371Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-24T07:57:23.371Z] ---> Running in 4b5163818dd7 [2023-03-24T07:57:23.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T07:57:23.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T07:57:24.163Z] OK: 270 MiB in 61 packages [2023-03-24T07:57:24.424Z] Removing intermediate container 4b5163818dd7 [2023-03-24T07:57:24.424Z] ---> e24c2e0d96b9 [2023-03-24T07:57:24.424Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-24T07:57:24.424Z] ---> Running in 6c4af80bde17 [2023-03-24T07:57:24.683Z] Removing intermediate container 6c4af80bde17 [2023-03-24T07:57:24.683Z] ---> a7466bda9591 [2023-03-24T07:57:24.683Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-24T07:57:24.683Z] ---> 302db5f06f79 [2023-03-24T07:57:24.683Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T07:57:24.683Z] ---> Running in 97c562ec5fd3 [2023-03-24T07:57:25.619Z] Removing intermediate container 97c562ec5fd3 [2023-03-24T07:57:25.619Z] ---> 49a0d81543ae [2023-03-24T07:57:25.619Z] Step 9/22 : COPY . . [2023-03-24T07:57:26.190Z] ---> 8e631405e9fa [2023-03-24T07:57:26.190Z] Step 10/22 : RUN ${MAKE} [2023-03-24T07:57:26.190Z] ---> Running in ed0d396da3d2 [2023-03-24T07:57:26.449Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-24T07:57:40.665Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5683 in /w/workspace/xfoundry_device-modbus-go_PR-443 [Pipeline] { [Pipeline] ws [2023-03-24T07:57:40.719Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-24T07:57:40.794Z] Selected Git installation does not exist. Using Default [2023-03-24T07:57:40.794Z] The recommended git tool is: NONE [2023-03-24T07:57:44.541Z] Removing intermediate container ed0d396da3d2 [2023-03-24T07:57:44.541Z] ---> 80d80fbed80b [2023-03-24T07:57:44.541Z] Step 11/22 : FROM alpine:3.17 [2023-03-24T07:57:44.541Z] 3.17: Pulling from library/alpine [2023-03-24T07:57:44.541Z] 63b65145d645: Already exists [2023-03-24T07:57:44.799Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T07:57:44.799Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T07:57:44.799Z] ---> b2aa39c304c2 [2023-03-24T07:57:44.799Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-24T07:57:44.799Z] ---> Running in 803bab64ae02 [2023-03-24T07:57:44.799Z] Removing intermediate container 803bab64ae02 [2023-03-24T07:57:44.799Z] ---> 94897852c438 [2023-03-24T07:57:44.799Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-24T07:57:44.799Z] ---> Running in 5631a5a25840 [2023-03-24T07:57:45.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T07:57:45.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T07:57:45.365Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T07:57:45.365Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T07:57:45.644Z] OK: 7 MiB in 16 packages [2023-03-24T07:57:45.902Z] Removing intermediate container 5631a5a25840 [2023-03-24T07:57:45.902Z] ---> b1dc927662da [2023-03-24T07:57:45.902Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-24T07:57:46.469Z] ---> 10216d56e857 [2023-03-24T07:57:46.469Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-24T07:57:46.727Z] ---> 7c6801bcb979 [2023-03-24T07:57:46.727Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-24T07:57:46.727Z] ---> bc19b4048aa9 [2023-03-24T07:57:46.727Z] Step 17/22 : EXPOSE 59901 [2023-03-24T07:57:46.727Z] ---> Running in 2fd826c9a65d [2023-03-24T07:57:46.986Z] Removing intermediate container 2fd826c9a65d [2023-03-24T07:57:46.986Z] ---> 9cc4e7627563 [2023-03-24T07:57:46.986Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-24T07:57:46.986Z] ---> Running in b055f5067f5d [2023-03-24T07:57:46.986Z] Removing intermediate container b055f5067f5d [2023-03-24T07:57:46.986Z] ---> 5ef55b7ced61 [2023-03-24T07:57:46.986Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T07:57:47.244Z] ---> Running in 4bfd01ccadb2 [2023-03-24T07:57:47.244Z] Removing intermediate container 4bfd01ccadb2 [2023-03-24T07:57:47.244Z] ---> aa55395ff81e [2023-03-24T07:57:47.244Z] Step 20/22 : LABEL arch=amd64 [2023-03-24T07:57:47.244Z] ---> Running in bf6fea78e7f7 [2023-03-24T07:57:47.244Z] Removing intermediate container bf6fea78e7f7 [2023-03-24T07:57:47.244Z] ---> 27388d6cadab [2023-03-24T07:57:47.244Z] Step 21/22 : LABEL git_sha=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [2023-03-24T07:57:47.458Z] using credential edgex-jenkins-ssh [2023-03-24T07:57:47.476Z] Cloning the remote Git repository [2023-03-24T07:57:47.503Z] ---> Running in 48a1bad09c8d [2023-03-24T07:57:47.503Z] Removing intermediate container 48a1bad09c8d [2023-03-24T07:57:47.503Z] ---> 0028c5bf7d93 [2023-03-24T07:57:47.503Z] Step 22/22 : LABEL version=0.0.0 [2023-03-24T07:57:47.503Z] ---> Running in 551151012a97 [2023-03-24T07:57:47.761Z] Removing intermediate container 551151012a97 [2023-03-24T07:57:47.761Z] ---> d35a01f8b13e [2023-03-24T07:57:47.761Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T07:57:47.761Z] Successfully built d35a01f8b13e [2023-03-24T07:57:47.761Z] 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 [2023-03-24T07:57:47.519Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T07:57:47.613Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-24T07:57:47.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T07:57:47.756Z] > git --version # timeout=10 [2023-03-24T07:57:47.778Z] > git --version # 'git version 2.25.1' [2023-03-24T07:57:47.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T07:57:47.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:57:48.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T07:57:48.607Z] [2023-03-24T07:57:48.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:57:48.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T07:57:48.980Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T07:57:48.980Z] 5eb5b503b376: Pulling fs layer [2023-03-24T07:57:48.980Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T07:57:48.980Z] ec43610c2a17: Pulling fs layer [2023-03-24T07:57:48.980Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T07:57:48.980Z] 33b1e0a273af: Pulling fs layer [2023-03-24T07:57:48.980Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T07:57:48.980Z] 2f39f015ded8: Pulling fs layer [2023-03-24T07:57:48.980Z] 3a2ae6a8a46f: Waiting [2023-03-24T07:57:48.980Z] 33b1e0a273af: Waiting [2023-03-24T07:57:48.980Z] 5d3b04190fa2: Waiting [2023-03-24T07:57:48.980Z] 2f39f015ded8: Waiting [2023-03-24T07:57:48.980Z] 5c69ac0246d0: Download complete [2023-03-24T07:57:48.980Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-24T07:57:48.980Z] 3a2ae6a8a46f: Download complete [2023-03-24T07:57:49.239Z] 33b1e0a273af: Verifying Checksum [2023-03-24T07:57:49.239Z] 33b1e0a273af: Download complete [2023-03-24T07:57:49.239Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T07:57:49.239Z] 5d3b04190fa2: Download complete [2023-03-24T07:57:49.239Z] ec43610c2a17: Verifying Checksum [2023-03-24T07:57:49.239Z] ec43610c2a17: Download complete [2023-03-24T07:57:49.239Z] 5eb5b503b376: Verifying Checksum [2023-03-24T07:57:49.239Z] 5eb5b503b376: Download complete [2023-03-24T07:57:49.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T07:57:49.044Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T07:57:49.807Z] 2f39f015ded8: Download complete [2023-03-24T07:57:50.372Z] 5eb5b503b376: Pull complete [2023-03-24T07:57:50.372Z] 5c69ac0246d0: Pull complete [2023-03-24T07:57:50.571Z] Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [2023-03-24T07:57:50.827Z] Merge succeeded, producing 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [2023-03-24T07:57:50.827Z] Checking out Revision 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 (PR-443) [2023-03-24T07:57:50.935Z] ec43610c2a17: Pull complete [2023-03-24T07:57:50.935Z] 3a2ae6a8a46f: Pull complete [2023-03-24T07:57:49.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T07:57:49.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T07:57:49.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T07:57:49.981Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T07:57:50.590Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T07:57:50.662Z] > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 [2023-03-24T07:57:50.741Z] > git remote # timeout=10 [2023-03-24T07:57:50.760Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T07:57:50.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T07:57:50.786Z] > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 [2023-03-24T07:57:50.809Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T07:57:50.830Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T07:57:50.845Z] > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 [2023-03-24T07:57:51.192Z] 33b1e0a273af: Pull complete [2023-03-24T07:57:51.192Z] 5d3b04190fa2: Pull complete [2023-03-24T07:57:54.290Z] Commit message: "fix: fix protocol properties parsing error" [2023-03-24T07:57:54.333Z] > git --version # timeout=10 [2023-03-24T07:57:54.344Z] > git --version # 'git version 2.25.1' [2023-03-24T07:57:54.355Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T07:57:54.761Z] [2023-03-24T07:57:54.761Z] GitHub has been notified of this commit’s build result [2023-03-24T07:57:54.761Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T07:57:55.371Z] 2f39f015ded8: Pull complete [2023-03-24T07:57:55.372Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T07:57:55.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T07:57:55.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-24T07:57:55.463Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T07:57:55.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T07:57:55.463Z] Dload Upload Total Spent Left Speed [2023-03-24T07:57:55.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:57:55.606Z] prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container [2023-03-24T07:57:55.642Z] $ 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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T07:57:57.274Z] $ docker top 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T07:57:57.699Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T07:57:57.811Z] ---> job-cost.sh [2023-03-24T07:57:57.812Z] lf-activate-venv: SKIPPING [2023-03-24T07:57:57.812Z] INFO: No Stack... [2023-03-24T07:57:58.044Z] + sudo tee /etc/docker/daemon.new [2023-03-24T07:57:58.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-24T07:57:58.044Z] { [2023-03-24T07:57:58.044Z] "registry-mirrors": [ [2023-03-24T07:57:58.044Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T07:57:58.044Z] ], [2023-03-24T07:57:58.044Z] "bip": "10.250.0.254/24", [2023-03-24T07:57:58.044Z] "hosts": [ [2023-03-24T07:57:58.044Z] "tcp://0.0.0.0:5555", [2023-03-24T07:57:58.044Z] "unix:///var/run/docker.sock" [2023-03-24T07:57:58.044Z] ], [2023-03-24T07:57:58.044Z] "mtu": 1458, [2023-03-24T07:57:58.044Z] "selinux-enabled": true, [2023-03-24T07:57:58.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T07:57:58.044Z] } [2023-03-24T07:57:58.070Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-03-24T07:57:58.330Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T07:57:58.386Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T07:57:58.649Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-443/archives/cost.csv [2023-03-24T07:57:58.649Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T07:57:58.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [2023-03-24T07:57:58.695Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] did not exist. Created. [2023-03-24T07:57:58.695Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-03-24T07:57:58.770Z] + sudo service docker restart [Pipeline] sh [2023-03-24T07:57:59.100Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T07:57:59.151Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T07:57:59.174Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T07:57:59.263Z] $ docker stop --time=1 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e [2023-03-24T07:58:00.450Z] $ docker rm -f --volumes 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T07:58:17.088Z] provisioning config files... [2023-03-24T07:58:17.113Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8536918355731886466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T07:58:17.487Z] ---> docker-login.sh [2023-03-24T07:58:17.487Z] nexus3.edgexfoundry.org:10001 [2023-03-24T07:58:17.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:58:18.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:58:18.024Z] Configure a credential helper to remove this warning. See [2023-03-24T07:58:18.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:58:18.024Z] [2023-03-24T07:58:18.024Z] Login Succeeded [2023-03-24T07:58:18.024Z] nexus3.edgexfoundry.org:10002 [2023-03-24T07:58:18.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:58:18.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:58:18.299Z] Configure a credential helper to remove this warning. See [2023-03-24T07:58:18.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:58:18.299Z] [2023-03-24T07:58:18.299Z] Login Succeeded [2023-03-24T07:58:18.299Z] nexus3.edgexfoundry.org:10003 [2023-03-24T07:58:18.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:58:18.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:58:18.848Z] Configure a credential helper to remove this warning. See [2023-03-24T07:58:18.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:58:18.848Z] [2023-03-24T07:58:18.848Z] Login Succeeded [2023-03-24T07:58:18.848Z] nexus3.edgexfoundry.org:10004 [2023-03-24T07:58:18.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:58:19.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:58:19.119Z] Configure a credential helper to remove this warning. See [2023-03-24T07:58:19.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:58:19.119Z] [2023-03-24T07:58:19.119Z] Login Succeeded [2023-03-24T07:58:19.119Z] docker.io [2023-03-24T07:58:19.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T07:58:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T07:58:19.654Z] Configure a credential helper to remove this warning. See [2023-03-24T07:58:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T07:58:19.654Z] [2023-03-24T07:58:19.654Z] Login Succeeded [2023-03-24T07:58:19.654Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T07:58:19.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T07:58:20.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T07:58:20.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T07:58:20.093Z] ========================================================= [2023-03-24T07:58:20.093Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T07:58:20.093Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:58:20.576Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T07:58:20.846Z] Sending build context to Docker daemon 3.344MB [2023-03-24T07:58:20.846Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T07:58:20.846Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T07:58:21.119Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T07:58:21.119Z] af6eaf76a39c: Pulling fs layer [2023-03-24T07:58:21.119Z] 55522c791124: Pulling fs layer [2023-03-24T07:58:21.119Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T07:58:21.119Z] 169dfbe0d373: Pulling fs layer [2023-03-24T07:58:21.119Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T07:58:21.119Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T07:58:21.119Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T07:58:21.119Z] 169dfbe0d373: Waiting [2023-03-24T07:58:21.119Z] e1ff8fa3b103: Waiting [2023-03-24T07:58:21.119Z] 52ebb69f0ebf: Waiting [2023-03-24T07:58:21.119Z] 5abe8eddf0d5: Waiting [2023-03-24T07:58:21.119Z] 55522c791124: Download complete [2023-03-24T07:58:21.119Z] 169dfbe0d373: Verifying Checksum [2023-03-24T07:58:21.119Z] 169dfbe0d373: Download complete [2023-03-24T07:58:21.119Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T07:58:21.119Z] e1ff8fa3b103: Download complete [2023-03-24T07:58:21.119Z] af6eaf76a39c: Verifying Checksum [2023-03-24T07:58:22.107Z] af6eaf76a39c: Pull complete [2023-03-24T07:58:22.376Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T07:58:22.376Z] 5abe8eddf0d5: Download complete [2023-03-24T07:58:22.648Z] 55522c791124: Pull complete [2023-03-24T07:58:23.616Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T07:58:23.616Z] 52ebb69f0ebf: Download complete [2023-03-24T07:58:23.616Z] ce5c4a1c91eb: Download complete [2023-03-24T07:58:35.944Z] ce5c4a1c91eb: Pull complete [2023-03-24T07:58:35.944Z] 169dfbe0d373: Pull complete [2023-03-24T07:58:35.944Z] e1ff8fa3b103: Pull complete [2023-03-24T07:58:42.618Z] 52ebb69f0ebf: Pull complete [2023-03-24T07:58:43.580Z] 5abe8eddf0d5: Pull complete [2023-03-24T07:58:43.580Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T07:58:43.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T07:58:43.580Z] ---> 6cb57ee374ae [2023-03-24T07:58:43.580Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T07:58:45.555Z] ---> Running in a38253b27de7 [2023-03-24T07:58:45.555Z] Removing intermediate container a38253b27de7 [2023-03-24T07:58:45.555Z] ---> eaca807768d6 [2023-03-24T07:58:45.555Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T07:58:45.555Z] ---> Running in 23cce86f0240 [2023-03-24T07:58:45.823Z] Removing intermediate container 23cce86f0240 [2023-03-24T07:58:45.823Z] ---> 5a7f73052174 [2023-03-24T07:58:45.823Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T07:58:46.091Z] ---> Running in 04e5ff34fd90 [2023-03-24T07:58:47.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T07:58:48.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T07:58:48.958Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T07:58:48.958Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T07:58:48.958Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T07:58:48.958Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T07:58:49.226Z] OK: 270 MiB in 61 packages [2023-03-24T07:58:50.184Z] Removing intermediate container 04e5ff34fd90 [2023-03-24T07:58:50.184Z] ---> 2958e1c1518a [2023-03-24T07:58:50.184Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T07:58:50.184Z] ---> Running in 13a570ca8e42 [2023-03-24T07:58:50.184Z] Removing intermediate container 13a570ca8e42 [2023-03-24T07:58:50.184Z] ---> cd8e2d3df0ef [2023-03-24T07:58:50.185Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T07:58:52.765Z] ---> ce901c793e81 [2023-03-24T07:58:52.765Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T07:58:52.765Z] ---> Running in c30256185a31 [2023-03-24T07:59:49.207Z] Removing intermediate container c30256185a31 [2023-03-24T07:59:49.207Z] ---> 0c8ffbfb359d [2023-03-24T07:59:49.207Z] Step 9/10 : COPY . . [2023-03-24T07:59:49.207Z] ---> f77dfb3ba95f [2023-03-24T07:59:49.207Z] Step 10/10 : RUN ${MAKE} [2023-03-24T07:59:49.207Z] ---> Running in 85f6f2e289b9 [2023-03-24T07:59:49.207Z] noop [2023-03-24T07:59:50.171Z] Removing intermediate container 85f6f2e289b9 [2023-03-24T07:59:50.171Z] ---> 192a91505f14 [2023-03-24T07:59:50.171Z] Successfully built 192a91505f14 [2023-03-24T07:59:50.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:59:50.650Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T07:59:50.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:59:50.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container [2023-03-24T07:59:51.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T07:59:52.157Z] $ docker top 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T07:59:53.036Z] + go version [2023-03-24T07:59:53.036Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T07:59:53.067Z] $ docker stop --time=1 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 [2023-03-24T07:59:54.642Z] $ docker rm -f --volumes 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T07:59:55.556Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T07:59:55.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T07:59:55.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container [2023-03-24T07:59:55.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T07:59:57.029Z] $ docker top 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T07:59:57.912Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T07:59:58.296Z] + make test [2023-03-24T07:59:58.296Z] go test ./... -coverprofile=coverage.out [2023-03-24T08:00:30.515Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T08:02:22.162Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-24T08:02:22.162Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 48.0% of statements [2023-03-24T08:02:22.162Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-24T08:02:22.162Z] go vet ./... [2023-03-24T08:02:54.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T08:02:54.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T08:02:54.418Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T08:02:54.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T08:02:54.481Z] $ docker stop --time=1 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 [2023-03-24T08:02:56.510Z] $ docker rm -f --volumes 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T08:02:57.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T08:02:57.836Z] Warning: overwriting stash ‘coverage-report’ [2023-03-24T08:02:58.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T08:02:58.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T08:02:59.225Z] + ls -al . [2023-03-24T08:02:59.225Z] total 176 [2023-03-24T08:02:59.225Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 08:00 . [2023-03-24T08:02:59.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:57 .. [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 07:57 .dockerignore [2023-03-24T08:02:59.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 07:57 .git [2023-03-24T08:02:59.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 .github [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 07:57 .gitignore [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 07:57 .golangci.yml [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 07:57 Attribution.txt [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 07:57 CHANGELOG.md [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 07:57 Dockerfile [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 07:57 GOVERNANCE.md [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 07:57 Jenkinsfile [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 07:57 LICENSE [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 07:57 Makefile [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 07:57 OWNERS.md [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 24 07:57 README.md [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 07:55 VERSION [2023-03-24T08:02:59.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:57 bin [2023-03-24T08:02:59.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 cmd [2023-03-24T08:02:59.225Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 24 08:02 coverage.out [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 24 07:57 go.mod [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 24 07:57 go.sum [2023-03-24T08:02:59.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 internal [2023-03-24T08:02:59.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:57 simulator [2023-03-24T08:02:59.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:57 snap [2023-03-24T08:02:59.225Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 07:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T08:02:59.657Z] + 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=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 --label arch=arm64 --label version=0.0.0 . [2023-03-24T08:03:00.242Z] Sending build context to Docker daemon 3.368MB [2023-03-24T08:03:00.242Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T08:03:00.242Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-24T08:03:00.242Z] ---> 192a91505f14 [2023-03-24T08:03:00.242Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-24T08:03:03.000Z] ---> Running in 0f4cfcce2d70 [2023-03-24T08:03:03.288Z] Removing intermediate container 0f4cfcce2d70 [2023-03-24T08:03:03.288Z] ---> 3571035ef893 [2023-03-24T08:03:03.288Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T08:03:03.288Z] ---> Running in 1f09e2eff230 [2023-03-24T08:03:04.755Z] Removing intermediate container 1f09e2eff230 [2023-03-24T08:03:04.755Z] ---> 168d58de8ed9 [2023-03-24T08:03:04.755Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-24T08:03:04.755Z] ---> Running in ee19f5983c57 [2023-03-24T08:03:07.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T08:03:07.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T08:03:08.585Z] OK: 270 MiB in 61 packages [2023-03-24T08:03:09.555Z] Removing intermediate container ee19f5983c57 [2023-03-24T08:03:09.555Z] ---> 987a6740a2a9 [2023-03-24T08:03:09.555Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-24T08:03:09.823Z] ---> Running in 8da839f7f210 [2023-03-24T08:03:10.092Z] Removing intermediate container 8da839f7f210 [2023-03-24T08:03:10.092Z] ---> 1bf1008f1bcd [2023-03-24T08:03:10.092Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-24T08:03:10.681Z] ---> 5e70b3f85db3 [2023-03-24T08:03:10.681Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T08:03:10.681Z] ---> Running in 970fb2b40279 [2023-03-24T08:03:13.278Z] Removing intermediate container 970fb2b40279 [2023-03-24T08:03:13.278Z] ---> b1128bcf1309 [2023-03-24T08:03:13.278Z] Step 9/22 : COPY . . [2023-03-24T08:03:15.834Z] ---> e1a7b09d6714 [2023-03-24T08:03:15.834Z] Step 10/22 : RUN ${MAKE} [2023-03-24T08:03:15.834Z] ---> Running in 65598d5c5f02 [2023-03-24T08:03:16.421Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-24T08:05:23.111Z] Removing intermediate container 65598d5c5f02 [2023-03-24T08:05:23.111Z] ---> 5b749feec22e [2023-03-24T08:05:23.111Z] Step 11/22 : FROM alpine:3.17 [2023-03-24T08:05:23.111Z] 3.17: Pulling from library/alpine [2023-03-24T08:05:23.111Z] af6eaf76a39c: Already exists [2023-03-24T08:05:23.111Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T08:05:23.111Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T08:05:23.111Z] ---> d74e625d9115 [2023-03-24T08:05:23.111Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-24T08:05:23.111Z] ---> Running in c1300673b160 [2023-03-24T08:05:23.111Z] Removing intermediate container c1300673b160 [2023-03-24T08:05:23.111Z] ---> 1d895a4739d3 [2023-03-24T08:05:23.111Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-24T08:05:23.111Z] ---> Running in 5932fd76b14b [2023-03-24T08:05:23.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T08:05:23.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T08:05:23.111Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T08:05:23.111Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T08:05:23.111Z] OK: 8 MiB in 16 packages [2023-03-24T08:05:23.693Z] Removing intermediate container 5932fd76b14b [2023-03-24T08:05:23.693Z] ---> 4b1c0ea3a18b [2023-03-24T08:05:23.693Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-24T08:05:25.095Z] ---> 0beb7b468e51 [2023-03-24T08:05:25.095Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-24T08:05:25.361Z] ---> c8ed9a04095d [2023-03-24T08:05:25.361Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-24T08:05:25.628Z] ---> a3651fce9cb1 [2023-03-24T08:05:25.628Z] Step 17/22 : EXPOSE 59901 [2023-03-24T08:05:25.896Z] ---> Running in 23f5a7b757d8 [2023-03-24T08:05:26.160Z] Removing intermediate container 23f5a7b757d8 [2023-03-24T08:05:26.160Z] ---> 98b21a035093 [2023-03-24T08:05:26.160Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-24T08:05:26.160Z] ---> Running in 87fcd3104807 [2023-03-24T08:05:26.425Z] Removing intermediate container 87fcd3104807 [2023-03-24T08:05:26.425Z] ---> 2a7548675b79 [2023-03-24T08:05:26.425Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T08:05:26.425Z] ---> Running in 6b39a2eaa52d [2023-03-24T08:05:26.691Z] Removing intermediate container 6b39a2eaa52d [2023-03-24T08:05:26.691Z] ---> 03ae5a9fe79b [2023-03-24T08:05:26.691Z] Step 20/22 : LABEL arch=arm64 [2023-03-24T08:05:26.691Z] ---> Running in 2bf5c15030cd [2023-03-24T08:05:26.959Z] Removing intermediate container 2bf5c15030cd [2023-03-24T08:05:26.959Z] ---> 4223a82ae25a [2023-03-24T08:05:26.959Z] Step 21/22 : LABEL git_sha=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [2023-03-24T08:05:26.959Z] ---> Running in 21c718953f90 [2023-03-24T08:05:27.228Z] Removing intermediate container 21c718953f90 [2023-03-24T08:05:27.228Z] ---> 2a5eb49af123 [2023-03-24T08:05:27.228Z] Step 22/22 : LABEL version=0.0.0 [2023-03-24T08:05:27.494Z] ---> Running in 082bed2f8b62 [2023-03-24T08:05:27.494Z] Removing intermediate container 082bed2f8b62 [2023-03-24T08:05:27.494Z] ---> 2594d1b4193b [2023-03-24T08:05:27.494Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T08:05:27.760Z] Successfully built 2594d1b4193b [2023-03-24T08:05:27.760Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T08:05:28.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T08:05:28.572Z] [2023-03-24T08:05:28.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T08:05:28.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T08:05:28.970Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T08:05:28.970Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T08:05:28.970Z] 04944245beec: Pulling fs layer [2023-03-24T08:05:28.970Z] 699f458cf7ca: Pulling fs layer [2023-03-24T08:05:28.970Z] 765212b225bb: Pulling fs layer [2023-03-24T08:05:28.970Z] f23df028b6ca: Pulling fs layer [2023-03-24T08:05:28.970Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T08:05:28.970Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T08:05:28.970Z] f23df028b6ca: Waiting [2023-03-24T08:05:28.970Z] d65c8cfc05b1: Waiting [2023-03-24T08:05:28.970Z] 2437ff75d9bd: Waiting [2023-03-24T08:05:28.970Z] 765212b225bb: Waiting [2023-03-24T08:05:29.236Z] 04944245beec: Verifying Checksum [2023-03-24T08:05:29.236Z] 04944245beec: Download complete [2023-03-24T08:05:29.236Z] 765212b225bb: Verifying Checksum [2023-03-24T08:05:29.236Z] 765212b225bb: Download complete [2023-03-24T08:05:29.236Z] f23df028b6ca: Verifying Checksum [2023-03-24T08:05:29.236Z] f23df028b6ca: Download complete [2023-03-24T08:05:29.236Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T08:05:29.236Z] d65c8cfc05b1: Download complete [2023-03-24T08:05:29.236Z] 699f458cf7ca: Verifying Checksum [2023-03-24T08:05:29.236Z] 699f458cf7ca: Download complete [2023-03-24T08:05:29.826Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T08:05:29.826Z] 8998bd30e6a1: Download complete [2023-03-24T08:05:31.772Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T08:05:31.772Z] 2437ff75d9bd: Download complete [2023-03-24T08:05:33.716Z] 8998bd30e6a1: Pull complete [2023-03-24T08:05:33.983Z] 04944245beec: Pull complete [2023-03-24T08:05:35.388Z] 699f458cf7ca: Pull complete [2023-03-24T08:05:35.388Z] 765212b225bb: Pull complete [2023-03-24T08:05:35.975Z] f23df028b6ca: Pull complete [2023-03-24T08:05:36.244Z] d65c8cfc05b1: Pull complete [2023-03-24T08:05:51.231Z] 2437ff75d9bd: Pull complete [2023-03-24T08:05:51.231Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T08:05:51.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T08:05:51.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T08:05:51.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container [2023-03-24T08:05:51.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T08:05:53.934Z] $ docker top 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:05:54.843Z] ---> job-cost.sh [2023-03-24T08:05:54.843Z] lf-activate-venv: SKIPPING [2023-03-24T08:05:54.843Z] INFO: No Stack... [2023-03-24T08:05:55.111Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T08:05:56.065Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T08:05:56.717Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-24T08:05:56.717Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T08:05:56.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [2023-03-24T08:05:56.800Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] did not exist. Created. [2023-03-24T08:05:56.800Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T08:05:57.211Z] /w/workspace/device-modbus-go/1@tmp/durable-6e294693/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T08:05:57.561Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T08:05:57.598Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T08:05:57.639Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T08:05:57.653Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T08:05:57.715Z] $ docker stop --time=1 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f [2023-03-24T08:05:59.172Z] $ docker rm -f --volumes 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-24T08:06:00.156Z] provisioning config files... [2023-03-24T08:06:00.164Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config10322718743465007120tmp [Pipeline] { [Pipeline] sh [2023-03-24T08:06:00.512Z] + set +x [2023-03-24T08:06:00.513Z] + curl -s https://codecov.io/bash [2023-03-24T08:06:00.513Z] + bash -s -- [2023-03-24T08:06:00.513Z] [2023-03-24T08:06:00.513Z] _____ _ [2023-03-24T08:06:00.513Z] / ____| | | [2023-03-24T08:06:00.513Z] | | ___ __| | ___ ___ _____ __ [2023-03-24T08:06:00.513Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-24T08:06:00.513Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-24T08:06:00.513Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-24T08:06:00.513Z] Bash-1.0.6 [2023-03-24T08:06:00.513Z] [2023-03-24T08:06:00.513Z] [2023-03-24T08:06:00.513Z] ==> git version 2.25.1 found [2023-03-24T08:06:00.513Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-24T08:06:00.513Z] Release-Date: 2020-01-08 [2023-03-24T08:06:00.513Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-24T08:06:00.513Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-24T08:06:00.513Z] ==> Jenkins CI detected. [2023-03-24T08:06:00.513Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-443 [2023-03-24T08:06:00.513Z] project root: . [2023-03-24T08:06:00.513Z] --> token set from env [2023-03-24T08:06:00.513Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-24T08:06:00.513Z] ==> Running gcov in . (disable via -X gcov) [2023-03-24T08:06:00.513Z] ==> Python coveragepy not found [2023-03-24T08:06:00.513Z] ==> Searching for coverage reports in: [2023-03-24T08:06:00.513Z] + . [2023-03-24T08:06:00.513Z] -> Found 1 reports [2023-03-24T08:06:00.513Z] ==> Detecting git/mercurial file structure [2023-03-24T08:06:00.772Z] ==> Reading reports [2023-03-24T08:06:00.772Z] + ./coverage.out bytes=23739 [2023-03-24T08:06:00.772Z] ==> Appending adjustments [2023-03-24T08:06:00.772Z] https://docs.codecov.io/docs/fixing-reports [2023-03-24T08:06:00.772Z] + Found adjustments [2023-03-24T08:06:00.772Z] ==> Gzipping contents [2023-03-24T08:06:00.772Z] 4.0K /tmp/codecov.FOqz4x.gz [2023-03-24T08:06:00.772Z] ==> Uploading reports [2023-03-24T08:06:00.772Z] url: https://codecov.io [2023-03-24T08:06:00.772Z] query: branch=PR-443&commit=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=443&job=&cmd_args= [2023-03-24T08:06:00.772Z] -> Pinging Codecov [2023-03-24T08:06:00.772Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-443&commit=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=443&job=&cmd_args= [2023-03-24T08:06:01.031Z] -> Uploading to [2023-03-24T08:06:01.031Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-24/55DBCA73C666E3227836607328DD7E49/261bb0a70bf27f06329605fe99ab4ac7d03f2ba9/0038fb30-dca7-4e32-8871-0eb939e20899.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T080600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3400549a716129c5aa00bb2b2fad64fc9b5a929e30264400a4baced8198a3eeb [2023-03-24T08:06:01.031Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T08:06:01.031Z] Dload Upload Total Spent Left Speed [2023-03-24T08:06:01.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 14451 --:--:-- --:--:-- --:--:-- 14451 [2023-03-24T08:06:01.290Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] } [2023-03-24T08:06:01.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-24T08:06:03.070Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-443/archives ] [2023-03-24T08:06:03.070Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-443/archives [2023-03-24T08:06:03.070Z] total 16 [2023-03-24T08:06:03.070Z] drwxr-xr-x 3 root root 4096 Mar 24 07:57 . [2023-03-24T08:06:03.070Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 07:57 .. [2023-03-24T08:06:03.070Z] drwxr-xr-x 2 root root 4096 Mar 24 07:57 cost [2023-03-24T08:06:03.070Z] -rw-r--r-- 1 root root 88 Mar 24 07:57 cost.csv [2023-03-24T08:06:03.070Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-443/archives [2023-03-24T08:06:03.070Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-443/archives [2023-03-24T08:06:03.070Z] total 16 [2023-03-24T08:06:03.070Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 07:57 . [2023-03-24T08:06:03.070Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 07:57 .. [2023-03-24T08:06:03.070Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 07:57 cost [2023-03-24T08:06:03.070Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 24 07:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:03.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:04.274Z] ---> package-listing.sh [2023-03-24T08:06:04.274Z] ++ facter osfamily [2023-03-24T08:06:04.274Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T08:06:04.534Z] + OS_FAMILY=debian [2023-03-24T08:06:04.534Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-443 [2023-03-24T08:06:04.534Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T08:06:04.534Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T08:06:04.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T08:06:04.534Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T08:06:04.534Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-443 ']' [2023-03-24T08:06:04.534Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T08:06:04.534Z] + case "${OS_FAMILY}" in [2023-03-24T08:06:04.534Z] + dpkg -l [2023-03-24T08:06:04.534Z] + grep '^ii' [2023-03-24T08:06:04.534Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T08:06:04.534Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T08:06:04.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T08:06:04.534Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-443 ']' [2023-03-24T08:06:04.534Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-443/archives/ [2023-03-24T08:06:04.534Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-443/archives/ [Pipeline] echo [2023-03-24T08:06:04.570Z] 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-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T08:06:04.863Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T08:06:05.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T08:06:05.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T08:06:05.645Z] prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container [2023-03-24T08:06:05.681Z] $ 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-443/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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@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 [2023-03-24T08:06:05.896Z] $ docker top eee8484e6ddc7aefb8a1ed6c5863ffc32ac74acb593a817270cf2327068495e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T08:06:06.276Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T08:06:06.586Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T08:06:06.896Z] + ls /var/log/sa-host [2023-03-24T08:06:06.896Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T08:06:07.105Z] provisioning config files... [2023-03-24T08:06:07.114Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config2154685530630075440tmp [Pipeline] { [Pipeline] echo [2023-03-24T08:06:07.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:07.469Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T08:06:07.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:07.918Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T08:06:07.951Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:08.260Z] ---> sudo-logs.sh [2023-03-24T08:06:08.260Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T08:06:08.344Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:08.656Z] ---> job-cost.sh [2023-03-24T08:06:08.656Z] lf-activate-venv: SKIPPING [2023-03-24T08:06:08.656Z] DEBUG: total: 0.2199999988079071 [2023-03-24T08:06:08.656Z] INFO: Retrieving Stack Cost... [2023-03-24T08:06:09.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T08:06:09.799Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T08:06:09.833Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T08:06:10.143Z] ---> logs-deploy.sh [2023-03-24T08:06:10.143Z] lf-activate-venv: SKIPPING [2023-03-24T08:06:10.143Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-443/1 [2023-03-24T08:06:10.143Z] INFO: archiving workspace using pattern(s): [2023-03-24T08:06:11.082Z] Archives upload complete. [2023-03-24T08:06:11.082Z] INFO: archiving logs to Nexus