Pull request #435 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed3f9850aa2c3fb1335695e568d1230611d3ac36+d976059f8bfb405a00b06a9502768812e8b859e1 (4153681067c5f6883519020d9cc892459211c133) 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-ssh5988676507803563908.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-ssh8747753588627954642.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-435/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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9267139544276754619.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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6676515179264683227.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-ssh4662645246046141866.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-435/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-435/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5558943663948997085.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-4745 in /w/workspace/xfoundry_device-modbus-go_PR-435 [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-435 # 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 Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit ed3f9850aa2c3fb1335695e568d1230611d3ac36 Merge succeeded, producing ed3f9850aa2c3fb1335695e568d1230611d3ac36 Checking out Revision ed3f9850aa2c3fb1335695e568d1230611d3ac36 (PR-435) > 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/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed3f9850aa2c3fb1335695e568d1230611d3ac36 # 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 d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed3f9850aa2c3fb1335695e568d1230611d3ac36 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 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-21T05:59:12.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T05:59:12.282Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T05:59:12.375Z] ========================================================= [2023-03-21T05:59:12.375Z] EdgeX Global Pipelines Version Info [2023-03-21T05:59:12.375Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:59:13.130Z] ------------------- [2023-03-21T05:59:13.130Z] stable info: [2023-03-21T05:59:13.130Z] ------------------- [2023-03-21T05:59:13.130Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T05:59:13.130Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T05:59:13.130Z] Message: update stable to v1.0.245 [2023-03-21T05:59:13.699Z] ------------------- [2023-03-21T05:59:13.699Z] experimental info: [2023-03-21T05:59:13.699Z] ------------------- [2023-03-21T05:59:13.699Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:59:13.699Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:59:13.699Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:59:13.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-21T05:59:14.073Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-21T05:59:14.111Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:59:14.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:59:14.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:59:14.238Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:59:14.276Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:59:14.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T05:59:14.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:59:14.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:59:14.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:59:14.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-21T05:59:14.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:59:14.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:59:14.612Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:59:14.658Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:59:14.699Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:59:14.743Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:59:14.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:59:14.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:59:14.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T05:59:14.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T05:59:14.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:59:15.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:59:15.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:59:15.099Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T05:59:15.140Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:59:15.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-435 [Pipeline] echo [2023-03-21T05:59:15.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-435 [Pipeline] echo [2023-03-21T05:59:15.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-435 [Pipeline] echo [2023-03-21T05:59:15.306Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed3f9850aa2c3fb1335695e568d1230611d3ac36 [Pipeline] echo [2023-03-21T05:59:15.347Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed3f985 [Pipeline] echo [2023-03-21T05:59:15.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:59:15.495Z] provisioning config files... [2023-03-21T05:59:15.508Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config12259925754644446785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:59:15.843Z] ---> docker-login.sh [2023-03-21T05:59:15.844Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:59:16.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:16.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:16.105Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:16.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:16.105Z] [2023-03-21T05:59:16.105Z] Login Succeeded [2023-03-21T05:59:16.105Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:59:16.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:16.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:16.105Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:16.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:16.105Z] [2023-03-21T05:59:16.105Z] Login Succeeded [2023-03-21T05:59:16.105Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:59:16.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:16.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:16.364Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:16.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:16.364Z] [2023-03-21T05:59:16.364Z] Login Succeeded [2023-03-21T05:59:16.364Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:59:16.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:16.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:16.364Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:16.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:16.364Z] [2023-03-21T05:59:16.364Z] Login Succeeded [2023-03-21T05:59:16.364Z] docker.io [2023-03-21T05:59:16.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:16.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:16.623Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:16.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:16.623Z] [2023-03-21T05:59:16.623Z] Login Succeeded [2023-03-21T05:59:16.623Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:59:16.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T05:59:17.239Z] + git rev-list -1 --merges ed3f9850aa2c3fb1335695e568d1230611d3ac36~1..ed3f9850aa2c3fb1335695e568d1230611d3ac36 [Pipeline] echo [2023-03-21T05:59:17.299Z] -----------> git rev-list -1 --merges ed3f9850aa2c3fb1335695e568d1230611d3ac36~1..ed3f9850aa2c3fb1335695e568d1230611d3ac36 ed3f9850aa2c3fb1335695e568d1230611d3ac36 [false] [Pipeline] sh [2023-03-21T05:59:17.601Z] + git log --format=format:%s -1 ed3f9850aa2c3fb1335695e568d1230611d3ac36 [Pipeline] echo [2023-03-21T05:59:17.630Z] ========================================================= [2023-03-21T05:59:17.630Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:59:17.630Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:59:18.048Z] + git log --format=format:%s -1 ed3f9850aa2c3fb1335695e568d1230611d3ac36 [Pipeline] echo [2023-03-21T05:59:18.079Z] [semverPrep] GIT_COMMIT: ed3f9850aa2c3fb1335695e568d1230611d3ac36, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-21T05:59:18.106Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:59:18.471Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:59:18.471Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:59:18.471Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:59:18.471Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:59:18.471Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T05:59:18.471Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T05:59:18.471Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:59:18.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:59:18.905Z] [2023-03-21T05:59:18.905Z] 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-21T05:59:19.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:59:19.277Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:59:19.277Z] b85a868b505f: Pulling fs layer [2023-03-21T05:59:19.277Z] e2be974225ed: Pulling fs layer [2023-03-21T05:59:19.277Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:59:19.277Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:59:19.277Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:59:19.277Z] eaf3925da568: Pulling fs layer [2023-03-21T05:59:19.277Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:59:19.277Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:59:19.277Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:59:19.277Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:59:19.277Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:59:19.277Z] eaf3925da568: Waiting [2023-03-21T05:59:19.277Z] b352a97aabf1: Waiting [2023-03-21T05:59:19.277Z] 4872d77fe225: Waiting [2023-03-21T05:59:19.277Z] 5851b861e8e6: Waiting [2023-03-21T05:59:19.277Z] bab4dde63d76: Waiting [2023-03-21T05:59:19.277Z] 1469e6f7b9e6: Waiting [2023-03-21T05:59:19.278Z] 988bab9f4d93: Waiting [2023-03-21T05:59:19.278Z] e2be974225ed: Download complete [2023-03-21T05:59:19.278Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:59:19.278Z] 988bab9f4d93: Download complete [2023-03-21T05:59:19.538Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:59:19.538Z] 1469e6f7b9e6: Download complete [2023-03-21T05:59:19.538Z] eaf3925da568: Verifying Checksum [2023-03-21T05:59:19.538Z] eaf3925da568: Download complete [2023-03-21T05:59:19.538Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:59:19.538Z] 339a4e72a1f5: Download complete [2023-03-21T05:59:19.538Z] bde34c3a00c8: Verifying Checksum [2023-03-21T05:59:19.538Z] bde34c3a00c8: Download complete [2023-03-21T05:59:19.538Z] b352a97aabf1: Download complete [2023-03-21T05:59:19.538Z] 4872d77fe225: Verifying Checksum [2023-03-21T05:59:19.538Z] 4872d77fe225: Download complete [2023-03-21T05:59:19.538Z] 5851b861e8e6: Download complete [2023-03-21T05:59:19.538Z] b85a868b505f: Verifying Checksum [2023-03-21T05:59:19.538Z] b85a868b505f: Download complete [2023-03-21T05:59:19.799Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:59:19.799Z] bab4dde63d76: Download complete [2023-03-21T05:59:20.734Z] b85a868b505f: Pull complete [2023-03-21T05:59:20.734Z] e2be974225ed: Pull complete [2023-03-21T05:59:21.301Z] 339a4e72a1f5: Pull complete [2023-03-21T05:59:21.301Z] 988bab9f4d93: Pull complete [2023-03-21T05:59:21.870Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:59:21.870Z] eaf3925da568: Pull complete [2023-03-21T05:59:23.777Z] bab4dde63d76: Pull complete [2023-03-21T05:59:23.777Z] bde34c3a00c8: Pull complete [2023-03-21T05:59:23.777Z] b352a97aabf1: Pull complete [2023-03-21T05:59:23.777Z] 4872d77fe225: Pull complete [2023-03-21T05:59:23.777Z] 5851b861e8e6: Pull complete [2023-03-21T05:59:23.777Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:59:23.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:59:23.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:59:23.996Z] prd-ubuntu20.04-docker-8c-8g-4745 does not seem to be running inside a container [2023-03-21T05:59:24.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:59:26.723Z] $ docker top c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe -eo pid,comm [2023-03-21T05:59:26.779Z] 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-21T05:59:26.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:59:26.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:59:26.904Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:59:27.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:59:27.024Z] $ docker exec c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe ssh-agent [2023-03-21T05:59:27.126Z] SSH_AUTH_SOCK=/tmp/ssh-hORDixOmmQyR/agent.31 [2023-03-21T05:59:27.126Z] SSH_AGENT_PID=37 [2023-03-21T05:59:27.134Z] Running ssh-add (command line suppressed) [2023-03-21T05:59:27.226Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_12200888250299910766.key (/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_12200888250299910766.key) [2023-03-21T05:59:27.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:59:27.572Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:59:27.597Z] $ docker exec --env ******** --env ******** c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe ssh-agent -k [2023-03-21T05:59:27.700Z] unset SSH_AUTH_SOCK; [2023-03-21T05:59:27.700Z] unset SSH_AGENT_PID; [2023-03-21T05:59:27.700Z] echo Agent pid 37 killed; [2023-03-21T05:59:27.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:59:27.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:59:27.800Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:59:27.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:59:27.901Z] $ docker exec c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe ssh-agent [2023-03-21T05:59:28.019Z] SSH_AUTH_SOCK=/tmp/ssh-0BmIBu8yBuOv/agent.69 [2023-03-21T05:59:28.019Z] SSH_AGENT_PID=75 [2023-03-21T05:59:28.024Z] Running ssh-add (command line suppressed) [2023-03-21T05:59:28.113Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_4035499144658352481.key (/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_4035499144658352481.key) [2023-03-21T05:59:28.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:59:28.459Z] + git semver init [2023-03-21T05:59:28.718Z] 2023-03-21 05:59:28,629 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:59:28.718Z] 2023-03-21 05:59:28,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver [2023-03-21T05:59:28.718Z] 2023-03-21 05:59:28,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-435/.semver [2023-03-21T05:59:28.718Z] 2023-03-21 05:59:28,630 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-435/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,365 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-435/.git/info/exclude [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 with force:False [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,365 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,370 [execute] INFO git cat-file --batch-check [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,378 [execute] INFO git cat-file --batch [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:59:29.654Z] 2023-03-21 05:59:29,384 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 [2023-03-21T05:59:29.654Z] 0.0.0 [Pipeline] } [2023-03-21T05:59:29.679Z] $ docker exec --env ******** --env ******** c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe ssh-agent -k [2023-03-21T05:59:29.763Z] unset SSH_AUTH_SOCK; [2023-03-21T05:59:29.764Z] unset SSH_AGENT_PID; [2023-03-21T05:59:29.764Z] echo Agent pid 75 killed; [2023-03-21T05:59:29.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:59:30.198Z] + git semver [Pipeline] } [2023-03-21T05:59:30.482Z] $ docker stop --time=1 c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe [2023-03-21T05:59:31.799Z] $ docker rm -f --volumes c350c7217507cc07807ec201d27e7ead36dd93b6ffcb7e4abc814af5a145f0fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:59:32.206Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:59:32.478Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:59:32.503Z] [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-21T05:59:33.137Z] provisioning config files... [2023-03-21T05:59:33.147Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config11130157991673412683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:59:33.493Z] ---> docker-login.sh [2023-03-21T05:59:33.493Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:59:33.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:33.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:33.493Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:33.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:33.493Z] [2023-03-21T05:59:33.493Z] Login Succeeded [2023-03-21T05:59:33.493Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:59:33.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:33.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:33.493Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:33.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:33.493Z] [2023-03-21T05:59:33.493Z] Login Succeeded [2023-03-21T05:59:33.493Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:59:33.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:33.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:33.754Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:33.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:33.754Z] [2023-03-21T05:59:33.754Z] Login Succeeded [2023-03-21T05:59:33.754Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:59:33.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:33.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:33.754Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:33.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:33.754Z] [2023-03-21T05:59:33.754Z] Login Succeeded [2023-03-21T05:59:33.754Z] docker.io [2023-03-21T05:59:34.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:59:34.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:59:34.012Z] Configure a credential helper to remove this warning. See [2023-03-21T05:59:34.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:59:34.012Z] [2023-03-21T05:59:34.012Z] Login Succeeded [2023-03-21T05:59:34.012Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:59:34.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:59:34.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:59:34.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:59:34.316Z] ========================================================= [2023-03-21T05:59:34.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:59:34.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:59:34.790Z] + 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-21T05:59:34.790Z] Sending build context to Docker daemon 6.365MB [2023-03-21T05:59:34.790Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:59:34.790Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T05:59:34.790Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:59:34.790Z] 63b65145d645: Pulling fs layer [2023-03-21T05:59:34.790Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:59:34.790Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:59:34.790Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:59:34.790Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:59:34.790Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:59:34.790Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:59:34.790Z] f25807f1079a: Pulling fs layer [2023-03-21T05:59:34.790Z] 94cc34f8dd06: Waiting [2023-03-21T05:59:34.790Z] 30dea6a524f1: Waiting [2023-03-21T05:59:34.790Z] a2aff8979fd8: Waiting [2023-03-21T05:59:34.790Z] 6808be2612f2: Waiting [2023-03-21T05:59:34.790Z] a2d21d5440eb: Download complete [2023-03-21T05:59:34.790Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T05:59:34.790Z] 94cc34f8dd06: Download complete [2023-03-21T05:59:35.049Z] 30dea6a524f1: Download complete [2023-03-21T05:59:35.049Z] 63b65145d645: Verifying Checksum [2023-03-21T05:59:35.049Z] 63b65145d645: Download complete [2023-03-21T05:59:35.049Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:59:35.049Z] a2aff8979fd8: Download complete [2023-03-21T05:59:35.049Z] 63b65145d645: Pull complete [2023-03-21T05:59:35.312Z] a2d21d5440eb: Pull complete [2023-03-21T05:59:35.574Z] f25807f1079a: Verifying Checksum [2023-03-21T05:59:35.574Z] f25807f1079a: Download complete [2023-03-21T05:59:35.574Z] 935e6c44a52c: Verifying Checksum [2023-03-21T05:59:35.574Z] 935e6c44a52c: Download complete [2023-03-21T05:59:35.833Z] 6808be2612f2: Verifying Checksum [2023-03-21T05:59:35.833Z] 6808be2612f2: Download complete [2023-03-21T05:59:39.112Z] 935e6c44a52c: Pull complete [2023-03-21T05:59:39.112Z] 94cc34f8dd06: Pull complete [2023-03-21T05:59:39.112Z] 30dea6a524f1: Pull complete [2023-03-21T05:59:39.112Z] a2aff8979fd8: Pull complete [2023-03-21T05:59:41.010Z] 6808be2612f2: Pull complete [2023-03-21T05:59:41.943Z] f25807f1079a: Pull complete [2023-03-21T05:59:41.943Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:59:41.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:59:41.943Z] ---> 3b553350e43f [2023-03-21T05:59:41.943Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:59:46.147Z] ---> Running in 316ce1408758 [2023-03-21T05:59:46.147Z] Removing intermediate container 316ce1408758 [2023-03-21T05:59:46.147Z] ---> 8e2370436c7c [2023-03-21T05:59:46.147Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:59:46.147Z] ---> Running in 51c353a41c5d [2023-03-21T05:59:46.147Z] Removing intermediate container 51c353a41c5d [2023-03-21T05:59:46.147Z] ---> f280ab5ed36c [2023-03-21T05:59:46.147Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T05:59:46.147Z] ---> Running in cd9318bd3499 [2023-03-21T05:59:46.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:59:46.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:59:47.282Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:59:47.283Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T05:59:47.283Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:59:47.283Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:59:47.283Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T05:59:47.544Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T05:59:47.544Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T05:59:47.544Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T05:59:47.544Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:59:47.544Z] OK: 270 MiB in 61 packages [2023-03-21T05:59:47.946Z] Still waiting to schedule task [2023-03-21T05:59:47.946Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-21T05:59:48.119Z] Removing intermediate container cd9318bd3499 [2023-03-21T05:59:48.119Z] ---> a6cf00353340 [2023-03-21T05:59:48.119Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T05:59:48.119Z] ---> Running in c96938933383 [2023-03-21T05:59:48.119Z] Removing intermediate container c96938933383 [2023-03-21T05:59:48.119Z] ---> 88b9f6c5f6a8 [2023-03-21T05:59:48.119Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T05:59:48.385Z] ---> 516492e8d16c [2023-03-21T05:59:48.385Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:59:48.385Z] ---> Running in 0a58c679aa74 [2023-03-21T06:00:20.466Z] Removing intermediate container 0a58c679aa74 [2023-03-21T06:00:20.466Z] ---> dfe89fde7ef8 [2023-03-21T06:00:20.466Z] Step 9/10 : COPY . . [2023-03-21T06:00:20.466Z] ---> b0cd3565906f [2023-03-21T06:00:20.466Z] Step 10/10 : RUN ${MAKE} [2023-03-21T06:00:20.466Z] ---> Running in 7f35fe72590b [2023-03-21T06:00:20.466Z] noop [2023-03-21T06:00:20.724Z] Removing intermediate container 7f35fe72590b [2023-03-21T06:00:20.724Z] ---> 4d215b762c76 [2023-03-21T06:00:20.724Z] Successfully built 4d215b762c76 [2023-03-21T06:00:20.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:00:21.176Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T06:00:21.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:00:21.359Z] prd-ubuntu20.04-docker-8c-8g-4745 does not seem to be running inside a container [2023-03-21T06:00:21.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@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 ******** ci-base-image-x86_64 cat [2023-03-21T06:00:21.699Z] $ docker top 97eaad3cdfa5c1b56435380697730f58e3596900594c100eed8f3814cd962c29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T06:00:22.088Z] + go version [2023-03-21T06:00:22.088Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T06:00:22.117Z] $ docker stop --time=1 97eaad3cdfa5c1b56435380697730f58e3596900594c100eed8f3814cd962c29 [2023-03-21T06:00:23.384Z] $ docker rm -f --volumes 97eaad3cdfa5c1b56435380697730f58e3596900594c100eed8f3814cd962c29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:00:24.089Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T06:00:24.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:00:24.245Z] prd-ubuntu20.04-docker-8c-8g-4745 does not seem to be running inside a container [2023-03-21T06:00:24.269Z] $ 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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@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 ******** ci-base-image-x86_64 cat [2023-03-21T06:00:24.573Z] $ docker top 3e36e2fbf328a4316438a6a8993493e721c8001abbea59c209a07f5b08b41fc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T06:00:24.956Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-435 [Pipeline] fileExists [Pipeline] sh [2023-03-21T06:00:25.315Z] + make test [2023-03-21T06:00:25.315Z] go test ./... -coverprofile=coverage.out [2023-03-21T06:00:29.626Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T06:00:39.617Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-21T06:00:39.617Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-21T06:00:39.617Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements [2023-03-21T06:00:39.617Z] FAIL [2023-03-21T06:00:39.617Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-21T06:00:39.715Z] $ docker stop --time=1 3e36e2fbf328a4316438a6a8993493e721c8001abbea59c209a07f5b08b41fc4 [2023-03-21T06:00:42.449Z] $ docker rm -f --volumes 3e36e2fbf328a4316438a6a8993493e721c8001abbea59c209a07f5b08b41fc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:00:43.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T06:00:43.630Z] [2023-03-21T06:00:43.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:00:43.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T06:00:43.996Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T06:00:43.996Z] 5eb5b503b376: Pulling fs layer [2023-03-21T06:00:43.996Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T06:00:43.996Z] ec43610c2a17: Pulling fs layer [2023-03-21T06:00:43.996Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T06:00:43.996Z] 33b1e0a273af: Pulling fs layer [2023-03-21T06:00:43.996Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T06:00:43.996Z] 2f39f015ded8: Pulling fs layer [2023-03-21T06:00:43.996Z] 33b1e0a273af: Waiting [2023-03-21T06:00:43.996Z] 2f39f015ded8: Waiting [2023-03-21T06:00:43.996Z] 5d3b04190fa2: Waiting [2023-03-21T06:00:43.996Z] 3a2ae6a8a46f: Waiting [2023-03-21T06:00:43.996Z] 5c69ac0246d0: Download complete [2023-03-21T06:00:43.996Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T06:00:43.996Z] 3a2ae6a8a46f: Download complete [2023-03-21T06:00:44.257Z] 33b1e0a273af: Verifying Checksum [2023-03-21T06:00:44.257Z] 33b1e0a273af: Download complete [2023-03-21T06:00:44.257Z] ec43610c2a17: Verifying Checksum [2023-03-21T06:00:44.257Z] ec43610c2a17: Download complete [2023-03-21T06:00:44.257Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T06:00:44.257Z] 5d3b04190fa2: Download complete [2023-03-21T06:00:44.257Z] 5eb5b503b376: Verifying Checksum [2023-03-21T06:00:44.257Z] 5eb5b503b376: Download complete [2023-03-21T06:00:44.825Z] 2f39f015ded8: Download complete [2023-03-21T06:00:45.392Z] 5eb5b503b376: Pull complete [2023-03-21T06:00:45.392Z] 5c69ac0246d0: Pull complete [2023-03-21T06:00:45.960Z] ec43610c2a17: Pull complete [2023-03-21T06:00:45.960Z] 3a2ae6a8a46f: Pull complete [2023-03-21T06:00:46.218Z] 33b1e0a273af: Pull complete [2023-03-21T06:00:46.218Z] 5d3b04190fa2: Pull complete [2023-03-21T06:00:50.409Z] 2f39f015ded8: Pull complete [2023-03-21T06:00:50.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T06:00:50.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T06:00:50.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:00:50.633Z] prd-ubuntu20.04-docker-8c-8g-4745 does not seem to be running inside a container [2023-03-21T06:00:50.678Z] $ 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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T06:00:53.998Z] $ docker top 02cf14bfaea0eac39e8a8e4ad30d8443701f464c3777f4990f180224bbb71f93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:00:54.430Z] ---> job-cost.sh [2023-03-21T06:00:54.430Z] lf-activate-venv: SKIPPING [2023-03-21T06:00:54.430Z] INFO: No Stack... [2023-03-21T06:00:54.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T06:00:54.951Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T06:00:55.266Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-435/archives/cost.csv [2023-03-21T06:00:55.266Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T06:00:55.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [2023-03-21T06:00:55.314Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] did not exist. Created. [2023-03-21T06:00:55.314Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T06:00:55.698Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T06:00:55.752Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T06:00:55.770Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T06:00:55.842Z] $ docker stop --time=1 02cf14bfaea0eac39e8a8e4ad30d8443701f464c3777f4990f180224bbb71f93 [2023-03-21T06:00:56.997Z] $ docker rm -f --volumes 02cf14bfaea0eac39e8a8e4ad30d8443701f464c3777f4990f180224bbb71f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T06:00:57.431Z] Failed in branch amd64 [2023-03-21T06:02:20.030Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4752 in /w/workspace/xfoundry_device-modbus-go_PR-435 [Pipeline] { [Pipeline] ws [2023-03-21T06:02:20.085Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T06:02:20.160Z] Selected Git installation does not exist. Using Default [2023-03-21T06:02:20.160Z] The recommended git tool is: NONE [2023-03-21T06:02:26.903Z] using credential edgex-jenkins-ssh [2023-03-21T06:02:26.926Z] Cloning the remote Git repository [2023-03-21T06:02:26.992Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T06:02:27.121Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-21T06:02:27.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T06:02:27.309Z] > git --version # timeout=10 [2023-03-21T06:02:27.333Z] > git --version # 'git version 2.25.1' [2023-03-21T06:02:27.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T06:02:27.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T06:02:28.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-21T06:02:28.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T06:02:29.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-21T06:02:30.009Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T06:02:30.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T06:02:30.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T06:02:30.596Z] Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit ed3f9850aa2c3fb1335695e568d1230611d3ac36 [2023-03-21T06:02:30.952Z] Merge succeeded, producing ed3f9850aa2c3fb1335695e568d1230611d3ac36 [2023-03-21T06:02:30.952Z] Checking out Revision ed3f9850aa2c3fb1335695e568d1230611d3ac36 (PR-435) [2023-03-21T06:02:31.593Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-21T06:02:31.651Z] > git --version # timeout=10 [2023-03-21T06:02:31.661Z] > git --version # 'git version 2.25.1' [2023-03-21T06:02:31.680Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T06:02:30.613Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T06:02:30.708Z] > git checkout -f ed3f9850aa2c3fb1335695e568d1230611d3ac36 # timeout=10 [2023-03-21T06:02:30.826Z] > git remote # timeout=10 [2023-03-21T06:02:30.849Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T06:02:30.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T06:02:30.897Z] > git merge d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 [2023-03-21T06:02:30.927Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T06:02:30.956Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T06:02:30.978Z] > git checkout -f ed3f9850aa2c3fb1335695e568d1230611d3ac36 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T06:02:32.767Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T06:02:32.767Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T06:02:32.767Z] Dload Upload Total Spent Left Speed [2023-03-21T06:02:32.767Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-03-21T06:02:33.417Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T06:02:33.821Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T06:02:33.821Z] + sudo tee /etc/docker/daemon.new [2023-03-21T06:02:34.093Z] { [2023-03-21T06:02:34.093Z] "registry-mirrors": [ [2023-03-21T06:02:34.093Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T06:02:34.093Z] ], [2023-03-21T06:02:34.093Z] "bip": "10.250.0.254/24", [2023-03-21T06:02:34.093Z] "hosts": [ [2023-03-21T06:02:34.093Z] "tcp://0.0.0.0:5555", [2023-03-21T06:02:34.093Z] "unix:///var/run/docker.sock" [2023-03-21T06:02:34.093Z] ], [2023-03-21T06:02:34.093Z] "mtu": 1458, [2023-03-21T06:02:34.093Z] "selinux-enabled": true, [2023-03-21T06:02:34.093Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T06:02:34.093Z] } [Pipeline] sh [2023-03-21T06:02:34.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T06:02:34.800Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T06:02:53.181Z] provisioning config files... [2023-03-21T06:02:53.216Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12448277498223164201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:02:53.636Z] ---> docker-login.sh [2023-03-21T06:02:53.636Z] nexus3.edgexfoundry.org:10001 [2023-03-21T06:02:54.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T06:02:54.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T06:02:54.876Z] Configure a credential helper to remove this warning. See [2023-03-21T06:02:54.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T06:02:54.876Z] [2023-03-21T06:02:54.876Z] Login Succeeded [2023-03-21T06:02:54.876Z] nexus3.edgexfoundry.org:10002 [2023-03-21T06:02:55.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T06:02:55.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T06:02:55.147Z] Configure a credential helper to remove this warning. See [2023-03-21T06:02:55.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T06:02:55.147Z] [2023-03-21T06:02:55.147Z] Login Succeeded [2023-03-21T06:02:55.147Z] nexus3.edgexfoundry.org:10003 [2023-03-21T06:02:55.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T06:02:55.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T06:02:55.690Z] Configure a credential helper to remove this warning. See [2023-03-21T06:02:55.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T06:02:55.690Z] [2023-03-21T06:02:55.690Z] Login Succeeded [2023-03-21T06:02:55.690Z] nexus3.edgexfoundry.org:10004 [2023-03-21T06:02:55.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T06:02:55.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T06:02:55.968Z] Configure a credential helper to remove this warning. See [2023-03-21T06:02:55.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T06:02:55.968Z] [2023-03-21T06:02:55.968Z] Login Succeeded [2023-03-21T06:02:55.968Z] docker.io [2023-03-21T06:02:56.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T06:02:56.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T06:02:56.519Z] Configure a credential helper to remove this warning. See [2023-03-21T06:02:56.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T06:02:56.519Z] [2023-03-21T06:02:56.519Z] Login Succeeded [2023-03-21T06:02:56.519Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T06:02:56.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T06:02:57.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T06:02:57.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T06:02:57.086Z] ========================================================= [2023-03-21T06:02:57.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T06:02:57.086Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:02:57.692Z] + 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-21T06:02:57.981Z] Sending build context to Docker daemon 3.322MB [2023-03-21T06:02:58.254Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T06:02:58.254Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T06:02:58.542Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T06:02:58.542Z] af6eaf76a39c: Pulling fs layer [2023-03-21T06:02:58.542Z] 55522c791124: Pulling fs layer [2023-03-21T06:02:58.542Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T06:02:58.542Z] 169dfbe0d373: Pulling fs layer [2023-03-21T06:02:58.542Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T06:02:58.542Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T06:02:58.542Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T06:02:58.542Z] e1ff8fa3b103: Waiting [2023-03-21T06:02:58.542Z] 52ebb69f0ebf: Waiting [2023-03-21T06:02:58.542Z] 169dfbe0d373: Waiting [2023-03-21T06:02:58.542Z] 5abe8eddf0d5: Waiting [2023-03-21T06:02:58.542Z] 55522c791124: Verifying Checksum [2023-03-21T06:02:58.542Z] 55522c791124: Download complete [2023-03-21T06:02:58.542Z] 169dfbe0d373: Verifying Checksum [2023-03-21T06:02:58.542Z] 169dfbe0d373: Download complete [2023-03-21T06:02:58.542Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T06:02:58.542Z] e1ff8fa3b103: Download complete [2023-03-21T06:02:58.542Z] af6eaf76a39c: Verifying Checksum [2023-03-21T06:02:58.542Z] af6eaf76a39c: Download complete [2023-03-21T06:03:00.004Z] af6eaf76a39c: Pull complete [2023-03-21T06:03:00.004Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T06:03:00.004Z] 5abe8eddf0d5: Download complete [2023-03-21T06:03:00.284Z] 55522c791124: Pull complete [2023-03-21T06:03:01.274Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T06:03:01.274Z] ce5c4a1c91eb: Download complete [2023-03-21T06:03:01.547Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T06:03:01.547Z] 52ebb69f0ebf: Download complete [2023-03-21T06:03:13.909Z] ce5c4a1c91eb: Pull complete [2023-03-21T06:03:13.909Z] 169dfbe0d373: Pull complete [2023-03-21T06:03:13.909Z] e1ff8fa3b103: Pull complete [2023-03-21T06:03:19.282Z] 52ebb69f0ebf: Pull complete [2023-03-21T06:03:20.698Z] 5abe8eddf0d5: Pull complete [2023-03-21T06:03:20.698Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T06:03:20.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T06:03:20.698Z] ---> 6cb57ee374ae [2023-03-21T06:03:20.698Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T06:03:22.663Z] ---> Running in 0ecdf08b912a [2023-03-21T06:03:22.934Z] Removing intermediate container 0ecdf08b912a [2023-03-21T06:03:22.934Z] ---> c5ddc914ae6d [2023-03-21T06:03:22.934Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T06:03:22.934Z] ---> Running in 7882ae1bfdf7 [2023-03-21T06:03:23.526Z] Removing intermediate container 7882ae1bfdf7 [2023-03-21T06:03:23.526Z] ---> 95a4f86a4d66 [2023-03-21T06:03:23.526Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T06:03:23.526Z] ---> Running in 9292a44641b9 [2023-03-21T06:03:24.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T06:03:25.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T06:03:27.008Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T06:03:27.008Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T06:03:27.008Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T06:03:27.008Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T06:03:27.008Z] OK: 270 MiB in 61 packages [2023-03-21T06:03:28.437Z] Removing intermediate container 9292a44641b9 [2023-03-21T06:03:28.437Z] ---> b1fe3d756cc3 [2023-03-21T06:03:28.437Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T06:03:28.437Z] ---> Running in 770add918c98 [2023-03-21T06:03:28.707Z] Removing intermediate container 770add918c98 [2023-03-21T06:03:28.707Z] ---> 6948d22d3f98 [2023-03-21T06:03:28.707Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T06:03:29.295Z] ---> 9ba640c740fe [2023-03-21T06:03:29.295Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T06:03:29.566Z] ---> Running in cb0cd1729816 [2023-03-21T06:04:51.274Z] Removing intermediate container cb0cd1729816 [2023-03-21T06:04:51.274Z] ---> 2b0d9097e709 [2023-03-21T06:04:51.274Z] Step 9/10 : COPY . . [2023-03-21T06:04:51.274Z] ---> 48a5d17a39b5 [2023-03-21T06:04:51.274Z] Step 10/10 : RUN ${MAKE} [2023-03-21T06:04:51.274Z] ---> Running in ac9673cc105a [2023-03-21T06:04:51.274Z] noop [2023-03-21T06:04:51.274Z] Removing intermediate container ac9673cc105a [2023-03-21T06:04:51.274Z] ---> 6e8df0b8ff2f [2023-03-21T06:04:51.274Z] Successfully built 6e8df0b8ff2f [2023-03-21T06:04:51.274Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:04:51.878Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T06:04:51.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:04:52.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-4752 does not seem to be running inside a container [2023-03-21T06:04:52.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T06:04:53.630Z] $ docker top 39e148f4006ab4cf07f42a131b585f8a687746c43d6d67c0998e1771f8903482 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T06:04:54.559Z] + go version [2023-03-21T06:04:54.560Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T06:04:54.595Z] $ docker stop --time=1 39e148f4006ab4cf07f42a131b585f8a687746c43d6d67c0998e1771f8903482 [2023-03-21T06:04:56.350Z] $ docker rm -f --volumes 39e148f4006ab4cf07f42a131b585f8a687746c43d6d67c0998e1771f8903482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:04:57.277Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T06:04:57.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:04:57.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-4752 does not seem to be running inside a container [2023-03-21T06:04:57.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T06:04:59.040Z] $ docker top 4cbdea97cd72a219176315d85dc42ddacc5c4d3003820d389720d319e0510366 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T06:04:59.958Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T06:05:00.673Z] + make test [2023-03-21T06:05:00.674Z] go test ./... -coverprofile=coverage.out [2023-03-21T06:05:47.628Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T06:08:09.429Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-21T06:08:09.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-21T06:08:19.532Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.090s coverage: 48.0% of statements [2023-03-21T06:08:19.532Z] FAIL [2023-03-21T06:08:19.532Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-21T06:08:19.576Z] $ docker stop --time=1 4cbdea97cd72a219176315d85dc42ddacc5c4d3003820d389720d319e0510366 [2023-03-21T06:08:21.528Z] $ docker rm -f --volumes 4cbdea97cd72a219176315d85dc42ddacc5c4d3003820d389720d319e0510366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:08:23.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T06:08:23.628Z] [2023-03-21T06:08:23.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:08:24.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T06:08:24.301Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T06:08:24.301Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T06:08:24.301Z] 04944245beec: Pulling fs layer [2023-03-21T06:08:24.301Z] 699f458cf7ca: Pulling fs layer [2023-03-21T06:08:24.301Z] 765212b225bb: Pulling fs layer [2023-03-21T06:08:24.301Z] f23df028b6ca: Pulling fs layer [2023-03-21T06:08:24.301Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T06:08:24.301Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T06:08:24.301Z] f23df028b6ca: Waiting [2023-03-21T06:08:24.301Z] 765212b225bb: Waiting [2023-03-21T06:08:24.301Z] d65c8cfc05b1: Waiting [2023-03-21T06:08:24.301Z] 2437ff75d9bd: Waiting [2023-03-21T06:08:24.301Z] 04944245beec: Verifying Checksum [2023-03-21T06:08:24.301Z] 04944245beec: Download complete [2023-03-21T06:08:24.301Z] 765212b225bb: Download complete [2023-03-21T06:08:24.301Z] f23df028b6ca: Download complete [2023-03-21T06:08:24.301Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T06:08:24.301Z] d65c8cfc05b1: Download complete [2023-03-21T06:08:24.572Z] 699f458cf7ca: Verifying Checksum [2023-03-21T06:08:24.572Z] 699f458cf7ca: Download complete [2023-03-21T06:08:24.840Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T06:08:24.840Z] 8998bd30e6a1: Download complete [2023-03-21T06:08:27.425Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T06:08:27.425Z] 2437ff75d9bd: Download complete [2023-03-21T06:08:28.834Z] 8998bd30e6a1: Pull complete [2023-03-21T06:08:29.417Z] 04944245beec: Pull complete [2023-03-21T06:08:30.377Z] 699f458cf7ca: Pull complete [2023-03-21T06:08:30.645Z] 765212b225bb: Pull complete [2023-03-21T06:08:31.608Z] f23df028b6ca: Pull complete [2023-03-21T06:08:31.608Z] d65c8cfc05b1: Pull complete [2023-03-21T06:08:46.612Z] 2437ff75d9bd: Pull complete [2023-03-21T06:08:46.612Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T06:08:46.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T06:08:46.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:08:46.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-4752 does not seem to be running inside a container [2023-03-21T06:08:47.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T06:08:49.829Z] $ docker top 5dc75dcb29b2171afd520685d73e1a87ccf11f26aa377f3162ffaa7f9580cc73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:08:50.741Z] ---> job-cost.sh [2023-03-21T06:08:50.741Z] lf-activate-venv: SKIPPING [2023-03-21T06:08:50.741Z] INFO: No Stack... [2023-03-21T06:08:51.011Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T06:08:51.982Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T06:08:52.653Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-21T06:08:52.653Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T06:08:52.752Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [2023-03-21T06:08:52.757Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] did not exist. Created. [2023-03-21T06:08:52.757Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T06:08:53.493Z] /w/workspace/device-modbus-go/1@tmp/durable-43de5414/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T06:08:54.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T06:08:54.211Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T06:08:54.675Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T06:08:54.693Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T06:08:54.779Z] $ docker stop --time=1 5dc75dcb29b2171afd520685d73e1a87ccf11f26aa377f3162ffaa7f9580cc73 [2023-03-21T06:08:56.271Z] $ docker rm -f --volumes 5dc75dcb29b2171afd520685d73e1a87ccf11f26aa377f3162ffaa7f9580cc73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T06:08:57.039Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-21T06:08:59.007Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-435/archives ] [2023-03-21T06:08:59.007Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-435/archives [2023-03-21T06:08:59.007Z] total 16 [2023-03-21T06:08:59.007Z] drwxr-xr-x 3 root root 4096 Mar 21 06:00 . [2023-03-21T06:08:59.007Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 06:00 .. [2023-03-21T06:08:59.007Z] drwxr-xr-x 2 root root 4096 Mar 21 06:00 cost [2023-03-21T06:08:59.007Z] -rw-r--r-- 1 root root 88 Mar 21 06:00 cost.csv [2023-03-21T06:08:59.007Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-435/archives [2023-03-21T06:08:59.007Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-435/archives [2023-03-21T06:08:59.007Z] total 16 [2023-03-21T06:08:59.007Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 06:00 . [2023-03-21T06:08:59.007Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 06:00 .. [2023-03-21T06:08:59.007Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 06:00 cost [2023-03-21T06:08:59.007Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 21 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:08:59.334Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:00.221Z] ---> package-listing.sh [2023-03-21T06:09:00.221Z] ++ facter osfamily [2023-03-21T06:09:00.221Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T06:09:00.485Z] + OS_FAMILY=debian [2023-03-21T06:09:00.485Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-435 [2023-03-21T06:09:00.485Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T06:09:00.485Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T06:09:00.485Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T06:09:00.485Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T06:09:00.485Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-435 ']' [2023-03-21T06:09:00.485Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T06:09:00.485Z] + case "${OS_FAMILY}" in [2023-03-21T06:09:00.485Z] + dpkg -l [2023-03-21T06:09:00.485Z] + grep '^ii' [2023-03-21T06:09:00.485Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T06:09:00.485Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T06:09:00.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T06:09:00.485Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-435 ']' [2023-03-21T06:09:00.485Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-435/archives/ [2023-03-21T06:09:00.485Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-435/archives/ [Pipeline] echo [2023-03-21T06:09:00.554Z] 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-435/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T06:09:00.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T06:09:01.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T06:09:01.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T06:09:01.655Z] prd-ubuntu20.04-docker-8c-8g-4745 does not seem to be running inside a container [2023-03-21T06:09:01.682Z] $ 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-435/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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T06:09:01.885Z] $ docker top f2afbb760f2d92677cddc3ad6d816269c34f0f8f9be5ff9594deb0ff1a373047 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T06:09:02.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T06:09:02.571Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T06:09:02.882Z] + ls /var/log/sa-host [2023-03-21T06:09:02.882Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T06:09:03.014Z] provisioning config files... [2023-03-21T06:09:03.023Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config10242412906056826643tmp [Pipeline] { [Pipeline] echo [2023-03-21T06:09:03.079Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:03.392Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T06:09:03.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:03.825Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T06:09:03.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:04.162Z] ---> sudo-logs.sh [2023-03-21T06:09:04.163Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T06:09:04.244Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:04.553Z] ---> job-cost.sh [2023-03-21T06:09:04.553Z] lf-activate-venv: SKIPPING [2023-03-21T06:09:04.553Z] DEBUG: total: 0.2199999988079071 [2023-03-21T06:09:04.553Z] INFO: Retrieving Stack Cost... [2023-03-21T06:09:05.121Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T06:09:05.379Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T06:09:05.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T06:09:05.718Z] ---> logs-deploy.sh [2023-03-21T06:09:05.718Z] lf-activate-venv: SKIPPING [2023-03-21T06:09:05.718Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-435/1 [2023-03-21T06:09:05.718Z] INFO: archiving workspace using pattern(s): [2023-03-21T06:09:06.652Z] Archives upload complete. [2023-03-21T06:09:06.652Z] INFO: archiving logs to Nexus