Pull request #442 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d56efdf752b546b19275e84e41e395db9d0ad886+9bc48e746bb510c782b9593f55beae1b8e3bd068 (0c94629d8c8c32c8c771d2127d6209249c5e909e) 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-ssh16948040682103070485.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-ssh17586235657645773766.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-442/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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9240383029947039383.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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6013577537768871788.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-ssh16782576060453384799.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-442/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-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11328785037842028841.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5666’ Running on prd-ubuntu20.04-docker-8c-8g-5671 in /w/workspace/xfoundry_device-modbus-go_PR-442 [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-442 # 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 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit d56efdf752b546b19275e84e41e395db9d0ad886 > 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d56efdf752b546b19275e84e41e395db9d0ad886 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing d56efdf752b546b19275e84e41e395db9d0ad886 Checking out Revision d56efdf752b546b19275e84e41e395db9d0ad886 (PR-442) 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-24T05:59:44.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T05:59:44.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T05:59:45.001Z] ========================================================= [2023-03-24T05:59:45.001Z] EdgeX Global Pipelines Version Info [2023-03-24T05:59:45.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d56efdf752b546b19275e84e41e395db9d0ad886 # timeout=10 [2023-03-24T05:59:45.749Z] ------------------- [2023-03-24T05:59:45.749Z] stable info: [2023-03-24T05:59:45.749Z] ------------------- [2023-03-24T05:59:45.749Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T05:59:45.749Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T05:59:45.749Z] Message: update stable to v1.0.245 [2023-03-24T05:59:46.318Z] ------------------- [2023-03-24T05:59:46.318Z] experimental info: [2023-03-24T05:59:46.318Z] ------------------- [2023-03-24T05:59:46.318Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T05:59:46.318Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T05:59:46.318Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T05:59:46.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-24T05:59:46.632Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-24T05:59:46.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T05:59:46.701Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T05:59:46.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T05:59:46.769Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T05:59:46.810Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T05:59:46.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T05:59:46.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T05:59:46.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T05:59:46.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T05:59:47.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-24T05:59:47.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T05:59:47.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T05:59:47.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T05:59:47.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T05:59:47.225Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T05:59:47.264Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T05:59:47.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T05:59:47.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T05:59:47.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T05:59:47.430Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T05:59:47.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T05:59:47.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T05:59:47.541Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T05:59:47.586Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T05:59:47.628Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T05:59:47.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2023-03-24T05:59:47.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2023-03-24T05:59:47.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2023-03-24T05:59:47.835Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d56efdf752b546b19275e84e41e395db9d0ad886 [Pipeline] echo [2023-03-24T05:59:47.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d56efdf [Pipeline] echo [2023-03-24T05:59:47.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T05:59:48.015Z] provisioning config files... [2023-03-24T05:59:48.029Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-442@tmp/config15477418680551086552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:59:48.365Z] ---> docker-login.sh [2023-03-24T05:59:48.365Z] nexus3.edgexfoundry.org:10001 [2023-03-24T05:59:48.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:59:48.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:59:48.625Z] Configure a credential helper to remove this warning. See [2023-03-24T05:59:48.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:59:48.625Z] [2023-03-24T05:59:48.625Z] Login Succeeded [2023-03-24T05:59:48.625Z] nexus3.edgexfoundry.org:10002 [2023-03-24T05:59:48.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:59:48.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:59:48.625Z] Configure a credential helper to remove this warning. See [2023-03-24T05:59:48.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:59:48.625Z] [2023-03-24T05:59:48.625Z] Login Succeeded [2023-03-24T05:59:48.625Z] nexus3.edgexfoundry.org:10003 [2023-03-24T05:59:48.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:59:48.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:59:48.884Z] Configure a credential helper to remove this warning. See [2023-03-24T05:59:48.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:59:48.884Z] [2023-03-24T05:59:48.884Z] Login Succeeded [2023-03-24T05:59:48.884Z] nexus3.edgexfoundry.org:10004 [2023-03-24T05:59:48.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:59:48.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:59:48.884Z] Configure a credential helper to remove this warning. See [2023-03-24T05:59:48.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:59:48.884Z] [2023-03-24T05:59:48.884Z] Login Succeeded [2023-03-24T05:59:48.884Z] docker.io [2023-03-24T05:59:49.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:59:49.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:59:49.145Z] Configure a credential helper to remove this warning. See [2023-03-24T05:59:49.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:59:49.145Z] [2023-03-24T05:59:49.145Z] Login Succeeded [2023-03-24T05:59:49.145Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T05:59:49.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T05:59:49.802Z] + git rev-list -1 --merges d56efdf752b546b19275e84e41e395db9d0ad886~1..d56efdf752b546b19275e84e41e395db9d0ad886 [Pipeline] echo [2023-03-24T05:59:49.865Z] -----------> git rev-list -1 --merges d56efdf752b546b19275e84e41e395db9d0ad886~1..d56efdf752b546b19275e84e41e395db9d0ad886 d56efdf752b546b19275e84e41e395db9d0ad886 [false] [Pipeline] sh [2023-03-24T05:59:50.179Z] + git log --format=format:%s -1 d56efdf752b546b19275e84e41e395db9d0ad886 [Pipeline] echo [2023-03-24T05:59:50.214Z] ========================================================= [2023-03-24T05:59:50.214Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T05:59:50.214Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T05:59:50.651Z] + git log --format=format:%s -1 d56efdf752b546b19275e84e41e395db9d0ad886 [Pipeline] echo [2023-03-24T05:59:50.682Z] [semverPrep] GIT_COMMIT: d56efdf752b546b19275e84e41e395db9d0ad886, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-24T05:59:50.709Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T05:59:51.098Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T05:59:51.098Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T05:59:51.098Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T05:59:51.098Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T05:59:51.098Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T05:59:51.098Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T05:59:51.098Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:59:51.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:59:51.520Z] [2023-03-24T05:59:51.520Z] 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-24T05:59:51.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:59:51.920Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T05:59:51.920Z] b85a868b505f: Pulling fs layer [2023-03-24T05:59:51.920Z] e2be974225ed: Pulling fs layer [2023-03-24T05:59:51.920Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T05:59:51.920Z] 988bab9f4d93: Pulling fs layer [2023-03-24T05:59:51.920Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T05:59:51.920Z] eaf3925da568: Pulling fs layer [2023-03-24T05:59:51.920Z] bab4dde63d76: Pulling fs layer [2023-03-24T05:59:51.920Z] bde34c3a00c8: Pulling fs layer [2023-03-24T05:59:51.920Z] b352a97aabf1: Pulling fs layer [2023-03-24T05:59:51.920Z] 4872d77fe225: Pulling fs layer [2023-03-24T05:59:51.920Z] 5851b861e8e6: Pulling fs layer [2023-03-24T05:59:51.920Z] b352a97aabf1: Waiting [2023-03-24T05:59:51.920Z] 4872d77fe225: Waiting [2023-03-24T05:59:51.920Z] bde34c3a00c8: Waiting [2023-03-24T05:59:51.920Z] eaf3925da568: Waiting [2023-03-24T05:59:51.920Z] 988bab9f4d93: Waiting [2023-03-24T05:59:51.920Z] 5851b861e8e6: Waiting [2023-03-24T05:59:51.920Z] bab4dde63d76: Waiting [2023-03-24T05:59:51.920Z] 1469e6f7b9e6: Waiting [2023-03-24T05:59:51.920Z] e2be974225ed: Verifying Checksum [2023-03-24T05:59:51.920Z] e2be974225ed: Download complete [2023-03-24T05:59:51.920Z] 988bab9f4d93: Verifying Checksum [2023-03-24T05:59:51.920Z] 988bab9f4d93: Download complete [2023-03-24T05:59:52.182Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T05:59:52.183Z] 339a4e72a1f5: Download complete [2023-03-24T05:59:52.183Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T05:59:52.183Z] 1469e6f7b9e6: Download complete [2023-03-24T05:59:52.183Z] eaf3925da568: Verifying Checksum [2023-03-24T05:59:52.183Z] eaf3925da568: Download complete [2023-03-24T05:59:52.183Z] bde34c3a00c8: Verifying Checksum [2023-03-24T05:59:52.183Z] bde34c3a00c8: Download complete [2023-03-24T05:59:52.183Z] b352a97aabf1: Download complete [2023-03-24T05:59:52.183Z] 4872d77fe225: Verifying Checksum [2023-03-24T05:59:52.183Z] 4872d77fe225: Download complete [2023-03-24T05:59:52.183Z] 5851b861e8e6: Verifying Checksum [2023-03-24T05:59:52.183Z] 5851b861e8e6: Download complete [2023-03-24T05:59:52.183Z] b85a868b505f: Verifying Checksum [2023-03-24T05:59:52.183Z] b85a868b505f: Download complete [2023-03-24T05:59:52.441Z] bab4dde63d76: Verifying Checksum [2023-03-24T05:59:52.441Z] bab4dde63d76: Download complete [2023-03-24T05:59:53.819Z] b85a868b505f: Pull complete [2023-03-24T05:59:53.819Z] e2be974225ed: Pull complete [2023-03-24T05:59:54.078Z] 339a4e72a1f5: Pull complete [2023-03-24T05:59:54.078Z] 988bab9f4d93: Pull complete [2023-03-24T05:59:54.339Z] 1469e6f7b9e6: Pull complete [2023-03-24T05:59:54.599Z] eaf3925da568: Pull complete [2023-03-24T05:59:56.506Z] bab4dde63d76: Pull complete [2023-03-24T05:59:56.506Z] bde34c3a00c8: Pull complete [2023-03-24T05:59:56.506Z] b352a97aabf1: Pull complete [2023-03-24T05:59:56.506Z] 4872d77fe225: Pull complete [2023-03-24T05:59:56.506Z] 5851b861e8e6: Pull complete [2023-03-24T05:59:56.506Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T05:59:56.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:59:56.506Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:59:56.729Z] prd-ubuntu20.04-docker-8c-8g-5671 does not seem to be running inside a container [2023-03-24T05:59:56.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-442 -v /w/workspace/xfoundry_device-modbus-go_PR-442:/w/workspace/xfoundry_device-modbus-go_PR-442:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-442@tmp:/w/workspace/xfoundry_device-modbus-go_PR-442@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T05:59:57.870Z] $ docker top 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e -eo pid,comm [2023-03-24T05:59:57.928Z] 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-24T05:59:57.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T05:59:58.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T05:59:58.049Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T05:59:58.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T05:59:58.172Z] $ docker exec 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e ssh-agent [2023-03-24T05:59:58.292Z] SSH_AUTH_SOCK=/tmp/ssh-ipg86hRUrvcf/agent.32 [2023-03-24T05:59:58.292Z] SSH_AGENT_PID=38 [2023-03-24T05:59:58.299Z] Running ssh-add (command line suppressed) [2023-03-24T05:59:58.394Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-442@tmp/private_key_1626325800923285853.key (/w/workspace/xfoundry_device-modbus-go_PR-442@tmp/private_key_1626325800923285853.key) [2023-03-24T05:59:58.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T05:59:58.737Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T05:59:58.766Z] $ docker exec --env ******** --env ******** 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e ssh-agent -k [2023-03-24T05:59:58.878Z] unset SSH_AUTH_SOCK; [2023-03-24T05:59:58.878Z] unset SSH_AGENT_PID; [2023-03-24T05:59:58.878Z] echo Agent pid 38 killed; [2023-03-24T05:59:58.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T05:59:58.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T05:59:58.975Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T05:59:59.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T05:59:59.091Z] $ docker exec 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e ssh-agent [2023-03-24T05:59:59.213Z] SSH_AUTH_SOCK=/tmp/ssh-l7f9qyfeLXrh/agent.71 [2023-03-24T05:59:59.213Z] SSH_AGENT_PID=77 [2023-03-24T05:59:59.218Z] Running ssh-add (command line suppressed) [2023-03-24T05:59:59.333Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-442@tmp/private_key_372787861930787818.key (/w/workspace/xfoundry_device-modbus-go_PR-442@tmp/private_key_372787861930787818.key) [2023-03-24T05:59:59.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T05:59:59.672Z] + git semver init [2023-03-24T05:59:59.932Z] 2023-03-24 05:59:59,864 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T05:59:59.932Z] 2023-03-24 05:59:59,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-442/.semver [2023-03-24T05:59:59.932Z] 2023-03-24 05:59:59,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-442/.semver [2023-03-24T05:59:59.932Z] 2023-03-24 05:59:59,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-442/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-442, universal_newlines=False, shell=None, istream=None) [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,593 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-442/.git/info/exclude [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-442/.semver/PR-442 with force:False [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,594 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-442/.semver/PR-442 [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,599 [execute] INFO git cat-file --batch-check [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,605 [execute] INFO git cat-file --batch [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T06:00:00.881Z] 2023-03-24 06:00:00,610 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-442/.semver/PR-442 [2023-03-24T06:00:00.881Z] 0.0.0 [Pipeline] } [2023-03-24T06:00:00.909Z] $ docker exec --env ******** --env ******** 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e ssh-agent -k [2023-03-24T06:00:01.007Z] unset SSH_AUTH_SOCK; [2023-03-24T06:00:01.008Z] unset SSH_AGENT_PID; [2023-03-24T06:00:01.008Z] echo Agent pid 77 killed; [2023-03-24T06:00:01.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T06:00:01.466Z] + git semver [Pipeline] } [2023-03-24T06:00:01.754Z] $ docker stop --time=1 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e [2023-03-24T06:00:03.038Z] $ docker rm -f --volumes 569bd9b00e4388daa1cc05bfd0b2d0d516494a421040419896255a323f61786e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T06:00:03.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T06:00:03.729Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T06:00:03.765Z] [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-24T06:00:04.305Z] provisioning config files... [2023-03-24T06:00:04.316Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-442@tmp/config12082154893564581781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:00:04.655Z] ---> docker-login.sh [2023-03-24T06:00:04.655Z] nexus3.edgexfoundry.org:10001 [2023-03-24T06:00:04.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:00:04.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:00:04.656Z] Configure a credential helper to remove this warning. See [2023-03-24T06:00:04.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:00:04.656Z] [2023-03-24T06:00:04.656Z] Login Succeeded [2023-03-24T06:00:04.656Z] nexus3.edgexfoundry.org:10002 [2023-03-24T06:00:04.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:00:04.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:00:04.656Z] Configure a credential helper to remove this warning. See [2023-03-24T06:00:04.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:00:04.656Z] [2023-03-24T06:00:04.656Z] Login Succeeded [2023-03-24T06:00:04.656Z] nexus3.edgexfoundry.org:10003 [2023-03-24T06:00:04.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:00:04.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:00:04.917Z] Configure a credential helper to remove this warning. See [2023-03-24T06:00:04.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:00:04.917Z] [2023-03-24T06:00:04.917Z] Login Succeeded [2023-03-24T06:00:04.917Z] nexus3.edgexfoundry.org:10004 [2023-03-24T06:00:04.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:00:04.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:00:04.917Z] Configure a credential helper to remove this warning. See [2023-03-24T06:00:04.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:00:04.917Z] [2023-03-24T06:00:04.917Z] Login Succeeded [2023-03-24T06:00:04.917Z] docker.io [2023-03-24T06:00:05.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:00:08.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:00:08.463Z] Configure a credential helper to remove this warning. See [2023-03-24T06:00:08.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:00:08.463Z] [2023-03-24T06:00:08.463Z] Login Succeeded [2023-03-24T06:00:08.463Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T06:00:08.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T06:00:08.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:00:08.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:00:08.736Z] ========================================================= [2023-03-24T06:00:08.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T06:00:08.736Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:00:10.961Z] + 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-24T06:00:10.961Z] Sending build context to Docker daemon 6.382MB [2023-03-24T06:00:10.961Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T06:00:10.961Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T06:00:11.226Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T06:00:11.226Z] 63b65145d645: Pulling fs layer [2023-03-24T06:00:11.226Z] a2d21d5440eb: Pulling fs layer [2023-03-24T06:00:11.226Z] 935e6c44a52c: Pulling fs layer [2023-03-24T06:00:11.226Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T06:00:11.226Z] 30dea6a524f1: Pulling fs layer [2023-03-24T06:00:11.226Z] a2aff8979fd8: Pulling fs layer [2023-03-24T06:00:11.226Z] 6808be2612f2: Pulling fs layer [2023-03-24T06:00:11.226Z] 94cc34f8dd06: Waiting [2023-03-24T06:00:11.226Z] 30dea6a524f1: Waiting [2023-03-24T06:00:11.226Z] a2aff8979fd8: Waiting [2023-03-24T06:00:11.226Z] f25807f1079a: Pulling fs layer [2023-03-24T06:00:11.226Z] f25807f1079a: Waiting [2023-03-24T06:00:11.226Z] a2d21d5440eb: Download complete [2023-03-24T06:00:11.226Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T06:00:11.226Z] 94cc34f8dd06: Download complete [2023-03-24T06:00:11.226Z] 30dea6a524f1: Verifying Checksum [2023-03-24T06:00:11.226Z] 30dea6a524f1: Download complete [2023-03-24T06:00:11.226Z] 63b65145d645: Verifying Checksum [2023-03-24T06:00:11.226Z] 63b65145d645: Download complete [2023-03-24T06:00:11.226Z] a2aff8979fd8: Verifying Checksum [2023-03-24T06:00:11.226Z] a2aff8979fd8: Download complete [2023-03-24T06:00:11.491Z] 63b65145d645: Pull complete [2023-03-24T06:00:11.491Z] a2d21d5440eb: Pull complete [2023-03-24T06:00:11.755Z] f25807f1079a: Verifying Checksum [2023-03-24T06:00:11.755Z] f25807f1079a: Download complete [2023-03-24T06:00:12.015Z] 935e6c44a52c: Verifying Checksum [2023-03-24T06:00:12.015Z] 935e6c44a52c: Download complete [2023-03-24T06:00:12.015Z] 6808be2612f2: Verifying Checksum [2023-03-24T06:00:12.015Z] 6808be2612f2: Download complete [2023-03-24T06:00:15.320Z] 935e6c44a52c: Pull complete [2023-03-24T06:00:15.320Z] 94cc34f8dd06: Pull complete [2023-03-24T06:00:15.320Z] 30dea6a524f1: Pull complete [2023-03-24T06:00:15.320Z] a2aff8979fd8: Pull complete [2023-03-24T06:00:17.858Z] 6808be2612f2: Pull complete [2023-03-24T06:00:18.430Z] f25807f1079a: Pull complete [2023-03-24T06:00:18.430Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T06:00:18.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T06:00:18.430Z] ---> 3b553350e43f [2023-03-24T06:00:18.430Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T06:00:19.135Z] Still waiting to schedule task [2023-03-24T06:00:19.136Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5667’ [2023-03-24T06:00:19.811Z] ---> Running in bf87bafb533f [2023-03-24T06:00:19.811Z] Removing intermediate container bf87bafb533f [2023-03-24T06:00:19.811Z] ---> 81ada4dd5376 [2023-03-24T06:00:19.811Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T06:00:19.811Z] ---> Running in 4f9f1b6ad878 [2023-03-24T06:00:20.070Z] Removing intermediate container 4f9f1b6ad878 [2023-03-24T06:00:20.070Z] ---> 735c8a8fa75c [2023-03-24T06:00:20.070Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T06:00:20.070Z] ---> Running in 7dd3dd818667 [2023-03-24T06:00:20.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T06:00:20.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T06:00:20.847Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T06:00:20.847Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T06:00:20.847Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T06:00:20.847Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T06:00:20.847Z] OK: 270 MiB in 61 packages [2023-03-24T06:00:21.415Z] Removing intermediate container 7dd3dd818667 [2023-03-24T06:00:21.415Z] ---> 9688103e955a [2023-03-24T06:00:21.415Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T06:00:21.415Z] ---> Running in 19efd2896b16 [2023-03-24T06:00:21.415Z] Removing intermediate container 19efd2896b16 [2023-03-24T06:00:21.415Z] ---> 2277203afa07 [2023-03-24T06:00:21.415Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T06:00:21.415Z] ---> 5ce56bc9005a [2023-03-24T06:00:21.415Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T06:00:21.415Z] ---> Running in e1a0a12c0dfc [2023-03-24T06:00:39.950Z] Removing intermediate container e1a0a12c0dfc [2023-03-24T06:00:39.950Z] ---> b5df62e0cb36 [2023-03-24T06:00:39.950Z] Step 9/10 : COPY . . [2023-03-24T06:00:40.209Z] ---> 4dd695e8f695 [2023-03-24T06:00:40.209Z] Step 10/10 : RUN ${MAKE} [2023-03-24T06:00:40.467Z] ---> Running in bdfa393e6fcd [2023-03-24T06:00:40.726Z] noop [2023-03-24T06:00:40.985Z] Removing intermediate container bdfa393e6fcd [2023-03-24T06:00:40.985Z] ---> a445af5c7ae2 [2023-03-24T06:00:40.985Z] Successfully built a445af5c7ae2 [2023-03-24T06:00:40.985Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:00:41.424Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T06:00:41.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:00:41.573Z] prd-ubuntu20.04-docker-8c-8g-5671 does not seem to be running inside a container [2023-03-24T06:00:41.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-442 -v /w/workspace/xfoundry_device-modbus-go_PR-442:/w/workspace/xfoundry_device-modbus-go_PR-442:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-442@tmp:/w/workspace/xfoundry_device-modbus-go_PR-442@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-x86_64 cat [2023-03-24T06:00:41.942Z] $ docker top de54e7b1c200a01965fe7c41a585ed80364a0211f389a96c3ac74faaf6347ac8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:00:42.325Z] + go version [2023-03-24T06:00:42.325Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T06:00:42.359Z] $ docker stop --time=1 de54e7b1c200a01965fe7c41a585ed80364a0211f389a96c3ac74faaf6347ac8 [2023-03-24T06:00:43.617Z] $ docker rm -f --volumes de54e7b1c200a01965fe7c41a585ed80364a0211f389a96c3ac74faaf6347ac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:00:44.309Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T06:00:44.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:00:44.462Z] prd-ubuntu20.04-docker-8c-8g-5671 does not seem to be running inside a container [2023-03-24T06:00:44.494Z] $ 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-442 -v /w/workspace/xfoundry_device-modbus-go_PR-442:/w/workspace/xfoundry_device-modbus-go_PR-442:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-442@tmp:/w/workspace/xfoundry_device-modbus-go_PR-442@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-x86_64 cat [2023-03-24T06:00:44.838Z] $ docker top e9aaeffed07134c929f01e632a6b6f5f53aced6bdca8541b4f1c005d6e443b5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:00:45.223Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-442 [Pipeline] fileExists [Pipeline] sh [2023-03-24T06:00:45.575Z] + make test [2023-03-24T06:00:45.575Z] go test ./... -coverprofile=coverage.out [2023-03-24T06:00:50.845Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T06:00:58.602Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-24T06:00:58.602Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: too many errors [2023-03-24T06:00:58.861Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 48.0% of statements [2023-03-24T06:00:58.861Z] FAIL [2023-03-24T06:00:58.861Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-24T06:00:58.911Z] $ docker stop --time=1 e9aaeffed07134c929f01e632a6b6f5f53aced6bdca8541b4f1c005d6e443b5b [2023-03-24T06:01:00.657Z] $ docker rm -f --volumes e9aaeffed07134c929f01e632a6b6f5f53aced6bdca8541b4f1c005d6e443b5b [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-24T06:01:01.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:01:01.891Z] [2023-03-24T06:01:01.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:01:02.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:01:02.275Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T06:01:02.275Z] 5eb5b503b376: Pulling fs layer [2023-03-24T06:01:02.275Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T06:01:02.275Z] ec43610c2a17: Pulling fs layer [2023-03-24T06:01:02.275Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T06:01:02.275Z] 33b1e0a273af: Pulling fs layer [2023-03-24T06:01:02.275Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T06:01:02.275Z] 2f39f015ded8: Pulling fs layer [2023-03-24T06:01:02.275Z] 33b1e0a273af: Waiting [2023-03-24T06:01:02.275Z] 5d3b04190fa2: Waiting [2023-03-24T06:01:02.275Z] 3a2ae6a8a46f: Waiting [2023-03-24T06:01:02.275Z] 2f39f015ded8: Waiting [2023-03-24T06:01:02.275Z] 5c69ac0246d0: Download complete [2023-03-24T06:01:02.275Z] 3a2ae6a8a46f: Download complete [2023-03-24T06:01:02.541Z] 33b1e0a273af: Verifying Checksum [2023-03-24T06:01:02.541Z] 33b1e0a273af: Download complete [2023-03-24T06:01:02.541Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T06:01:02.541Z] 5d3b04190fa2: Download complete [2023-03-24T06:01:02.541Z] ec43610c2a17: Verifying Checksum [2023-03-24T06:01:02.541Z] ec43610c2a17: Download complete [2023-03-24T06:01:02.809Z] 5eb5b503b376: Verifying Checksum [2023-03-24T06:01:02.809Z] 5eb5b503b376: Download complete [2023-03-24T06:01:03.374Z] 2f39f015ded8: Download complete [2023-03-24T06:01:03.941Z] 5eb5b503b376: Pull complete [2023-03-24T06:01:03.941Z] 5c69ac0246d0: Pull complete [2023-03-24T06:01:04.507Z] ec43610c2a17: Pull complete [2023-03-24T06:01:04.507Z] 3a2ae6a8a46f: Pull complete [2023-03-24T06:01:04.507Z] 33b1e0a273af: Pull complete [2023-03-24T06:01:04.765Z] 5d3b04190fa2: Pull complete [2023-03-24T06:01:09.152Z] 2f39f015ded8: Pull complete [2023-03-24T06:01:09.152Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T06:01:09.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:01:09.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:01:09.383Z] prd-ubuntu20.04-docker-8c-8g-5671 does not seem to be running inside a container [2023-03-24T06:01:09.421Z] $ 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-442 -v /w/workspace/xfoundry_device-modbus-go_PR-442:/w/workspace/xfoundry_device-modbus-go_PR-442:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-442@tmp:/w/workspace/xfoundry_device-modbus-go_PR-442@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:latest cat [2023-03-24T06:01:10.827Z] $ docker top 45fee36d2e40b8b5a345c1caf7844044324e73e37984d0d69500692000b30321 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:01:11.250Z] ---> job-cost.sh [2023-03-24T06:01:11.250Z] lf-activate-venv: SKIPPING [2023-03-24T06:01:11.250Z] INFO: No Stack... [2023-03-24T06:01:11.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T06:01:12.078Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T06:01:12.385Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-442/archives/cost.csv [2023-03-24T06:01:12.385Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T06:01:12.422Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [2023-03-24T06:01:12.426Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] did not exist. Created. [2023-03-24T06:01:12.426Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T06:01:12.819Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T06:01:12.878Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T06:01:12.898Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T06:01:12.982Z] $ docker stop --time=1 45fee36d2e40b8b5a345c1caf7844044324e73e37984d0d69500692000b30321 [2023-03-24T06:01:14.145Z] $ docker rm -f --volumes 45fee36d2e40b8b5a345c1caf7844044324e73e37984d0d69500692000b30321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T06:01:14.471Z] Failed in branch amd64 [2023-03-24T06:03:08.941Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5676 in /w/workspace/xfoundry_device-modbus-go_PR-442 [Pipeline] { [Pipeline] ws [2023-03-24T06:03:09.016Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-24T06:03:09.104Z] Selected Git installation does not exist. Using Default [2023-03-24T06:03:09.105Z] The recommended git tool is: NONE [2023-03-24T06:03:15.957Z] using credential edgex-jenkins-ssh [2023-03-24T06:03:15.973Z] Cloning the remote Git repository [2023-03-24T06:03:16.033Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T06:03:16.237Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-24T06:03:16.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T06:03:16.425Z] > git --version # timeout=10 [2023-03-24T06:03:16.477Z] > git --version # 'git version 2.25.1' [2023-03-24T06:03:16.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:03:16.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T06:03:17.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T06:03:17.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T06:03:19.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T06:03:19.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T06:03:19.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:03:19.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T06:03:19.788Z] Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit d56efdf752b546b19275e84e41e395db9d0ad886 [2023-03-24T06:03:20.193Z] Merge succeeded, producing d56efdf752b546b19275e84e41e395db9d0ad886 [2023-03-24T06:03:20.194Z] Checking out Revision d56efdf752b546b19275e84e41e395db9d0ad886 (PR-442) [2023-03-24T06:03:19.820Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T06:03:19.909Z] > git checkout -f d56efdf752b546b19275e84e41e395db9d0ad886 # timeout=10 [2023-03-24T06:03:20.049Z] > git remote # timeout=10 [2023-03-24T06:03:20.080Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T06:03:20.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:03:20.125Z] > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 [2023-03-24T06:03:20.166Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T06:03:20.212Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T06:03:20.234Z] > git checkout -f d56efdf752b546b19275e84e41e395db9d0ad886 # timeout=10 [2023-03-24T06:03:20.911Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-24T06:03:20.990Z] > git --version # timeout=10 [2023-03-24T06:03:21.008Z] > git --version # 'git version 2.25.1' [2023-03-24T06:03:21.026Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T06:03:22.242Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T06:03:22.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T06:03:22.242Z] Dload Upload Total Spent Left Speed [2023-03-24T06:03:22.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-03-24T06:03:22.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T06:03:23.305Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-03-24T06:03:23.305Z] sudo tee /etc/docker/daemon.new [2023-03-24T06:03:23.305Z] { [2023-03-24T06:03:23.305Z] "registry-mirrors": [ [2023-03-24T06:03:23.305Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T06:03:23.305Z] ], [2023-03-24T06:03:23.305Z] "bip": "10.250.0.254/24", [2023-03-24T06:03:23.305Z] "hosts": [ [2023-03-24T06:03:23.305Z] "tcp://0.0.0.0:5555", [2023-03-24T06:03:23.305Z] "unix:///var/run/docker.sock" [2023-03-24T06:03:23.305Z] ], [2023-03-24T06:03:23.305Z] "mtu": 1458, [2023-03-24T06:03:23.305Z] "selinux-enabled": true, [2023-03-24T06:03:23.305Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T06:03:23.305Z] } [Pipeline] sh [2023-03-24T06:03:23.672Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T06:03:24.050Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:03:42.441Z] provisioning config files... [2023-03-24T06:03:42.474Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16836283107299137176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:03:42.885Z] ---> docker-login.sh [2023-03-24T06:03:42.885Z] nexus3.edgexfoundry.org:10001 [2023-03-24T06:03:43.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:03:43.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:03:43.485Z] Configure a credential helper to remove this warning. See [2023-03-24T06:03:43.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:03:43.485Z] [2023-03-24T06:03:43.485Z] Login Succeeded [2023-03-24T06:03:43.485Z] nexus3.edgexfoundry.org:10002 [2023-03-24T06:03:44.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:03:44.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:03:44.087Z] Configure a credential helper to remove this warning. See [2023-03-24T06:03:44.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:03:44.087Z] [2023-03-24T06:03:44.087Z] Login Succeeded [2023-03-24T06:03:44.087Z] nexus3.edgexfoundry.org:10003 [2023-03-24T06:03:44.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:03:44.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:03:44.364Z] Configure a credential helper to remove this warning. See [2023-03-24T06:03:44.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:03:44.364Z] [2023-03-24T06:03:44.364Z] Login Succeeded [2023-03-24T06:03:44.364Z] nexus3.edgexfoundry.org:10004 [2023-03-24T06:03:44.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:03:44.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:03:44.923Z] Configure a credential helper to remove this warning. See [2023-03-24T06:03:44.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:03:44.923Z] [2023-03-24T06:03:44.923Z] Login Succeeded [2023-03-24T06:03:44.923Z] docker.io [2023-03-24T06:03:45.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:03:45.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:03:45.474Z] Configure a credential helper to remove this warning. See [2023-03-24T06:03:45.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:03:45.475Z] [2023-03-24T06:03:45.475Z] Login Succeeded [2023-03-24T06:03:45.475Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T06:03:45.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T06:03:46.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:03:46.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:03:46.258Z] ========================================================= [2023-03-24T06:03:46.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T06:03:46.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:03:46.836Z] + 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-24T06:03:47.132Z] Sending build context to Docker daemon 3.334MB [2023-03-24T06:03:47.426Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T06:03:47.426Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T06:03:47.426Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T06:03:47.426Z] af6eaf76a39c: Pulling fs layer [2023-03-24T06:03:47.426Z] 55522c791124: Pulling fs layer [2023-03-24T06:03:47.426Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T06:03:47.426Z] 169dfbe0d373: Pulling fs layer [2023-03-24T06:03:47.426Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T06:03:47.426Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T06:03:47.426Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T06:03:47.426Z] 169dfbe0d373: Waiting [2023-03-24T06:03:47.426Z] e1ff8fa3b103: Waiting [2023-03-24T06:03:47.426Z] 52ebb69f0ebf: Waiting [2023-03-24T06:03:47.426Z] 5abe8eddf0d5: Waiting [2023-03-24T06:03:47.426Z] 55522c791124: Download complete [2023-03-24T06:03:47.702Z] 169dfbe0d373: Verifying Checksum [2023-03-24T06:03:47.702Z] 169dfbe0d373: Download complete [2023-03-24T06:03:47.702Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T06:03:47.702Z] e1ff8fa3b103: Download complete [2023-03-24T06:03:47.702Z] af6eaf76a39c: Verifying Checksum [2023-03-24T06:03:47.702Z] af6eaf76a39c: Download complete [2023-03-24T06:03:49.174Z] af6eaf76a39c: Pull complete [2023-03-24T06:03:49.174Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T06:03:49.174Z] 5abe8eddf0d5: Download complete [2023-03-24T06:03:49.497Z] 55522c791124: Pull complete [2023-03-24T06:03:52.149Z] ce5c4a1c91eb: Download complete [2023-03-24T06:03:52.149Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T06:03:52.149Z] 52ebb69f0ebf: Download complete [2023-03-24T06:04:04.519Z] ce5c4a1c91eb: Pull complete [2023-03-24T06:04:04.519Z] 169dfbe0d373: Pull complete [2023-03-24T06:04:04.519Z] e1ff8fa3b103: Pull complete [2023-03-24T06:04:11.207Z] 52ebb69f0ebf: Pull complete [2023-03-24T06:04:12.631Z] 5abe8eddf0d5: Pull complete [2023-03-24T06:04:12.631Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T06:04:12.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T06:04:12.631Z] ---> 6cb57ee374ae [2023-03-24T06:04:12.631Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T06:04:14.609Z] ---> Running in ba22d8d8efa6 [2023-03-24T06:04:14.885Z] Removing intermediate container ba22d8d8efa6 [2023-03-24T06:04:14.885Z] ---> 0874b5deb6b2 [2023-03-24T06:04:14.886Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T06:04:15.162Z] ---> Running in db7cf095b56c [2023-03-24T06:04:15.437Z] Removing intermediate container db7cf095b56c [2023-03-24T06:04:15.437Z] ---> e5807386ab84 [2023-03-24T06:04:15.437Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T06:04:15.437Z] ---> Running in ccfe02899bb3 [2023-03-24T06:04:16.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T06:04:17.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T06:04:18.887Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T06:04:18.887Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T06:04:18.887Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T06:04:19.161Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T06:04:19.161Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T06:04:19.161Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T06:04:19.161Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T06:04:19.161Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T06:04:19.161Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T06:04:19.161Z] OK: 270 MiB in 61 packages [2023-03-24T06:04:20.594Z] Removing intermediate container ccfe02899bb3 [2023-03-24T06:04:20.594Z] ---> 162a8311a63f [2023-03-24T06:04:20.594Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T06:04:20.594Z] ---> Running in 41cd40ee8ed7 [2023-03-24T06:04:20.869Z] Removing intermediate container 41cd40ee8ed7 [2023-03-24T06:04:20.869Z] ---> 1d4b5f4e864b [2023-03-24T06:04:20.869Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T06:04:23.478Z] ---> 9ab3161c44fe [2023-03-24T06:04:23.478Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T06:04:23.478Z] ---> Running in 5d8be0869ed0 [2023-03-24T06:05:31.443Z] Removing intermediate container 5d8be0869ed0 [2023-03-24T06:05:31.443Z] ---> 9db4bd69b1d1 [2023-03-24T06:05:31.443Z] Step 9/10 : COPY . . [2023-03-24T06:05:31.443Z] ---> b8468a44c1d7 [2023-03-24T06:05:31.443Z] Step 10/10 : RUN ${MAKE} [2023-03-24T06:05:31.443Z] ---> Running in 2369bb6c6391 [2023-03-24T06:05:31.443Z] noop [2023-03-24T06:05:31.713Z] Removing intermediate container 2369bb6c6391 [2023-03-24T06:05:31.713Z] ---> a12106d28a33 [2023-03-24T06:05:31.713Z] Successfully built a12106d28a33 [2023-03-24T06:05:31.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:05:32.208Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T06:05:32.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:05:32.530Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-03-24T06:05:32.615Z] $ 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-24T06:05:33.935Z] $ docker top 3be740862b73bb33a92275f26efb9c474a5112d3df2811d92b204fec8a506e32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:05:34.871Z] + go version [2023-03-24T06:05:34.871Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T06:05:34.914Z] $ docker stop --time=1 3be740862b73bb33a92275f26efb9c474a5112d3df2811d92b204fec8a506e32 [2023-03-24T06:05:36.673Z] $ docker rm -f --volumes 3be740862b73bb33a92275f26efb9c474a5112d3df2811d92b204fec8a506e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:05:37.583Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T06:05:37.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:05:37.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-03-24T06:05:37.956Z] $ 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-24T06:05:39.355Z] $ docker top f4aa04b3c635e5f4d094e3c9a6ea920e45417f947660e15111f9a74ce7e00e62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:05:40.289Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T06:05:41.015Z] + make test [2023-03-24T06:05:41.015Z] go test ./... -coverprofile=coverage.out [2023-03-24T06:06:19.944Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T06:08:41.735Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-24T06:08:41.735Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: too many errors [2023-03-24T06:09:00.002Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 48.0% of statements [2023-03-24T06:09:00.002Z] FAIL [2023-03-24T06:09:00.002Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-24T06:09:00.053Z] $ docker stop --time=1 f4aa04b3c635e5f4d094e3c9a6ea920e45417f947660e15111f9a74ce7e00e62 [2023-03-24T06:09:02.000Z] $ docker rm -f --volumes f4aa04b3c635e5f4d094e3c9a6ea920e45417f947660e15111f9a74ce7e00e62 [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-24T06:09:03.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:09:03.775Z] [2023-03-24T06:09:03.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:09:04.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:09:04.452Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T06:09:04.452Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T06:09:04.452Z] 04944245beec: Pulling fs layer [2023-03-24T06:09:04.452Z] 699f458cf7ca: Pulling fs layer [2023-03-24T06:09:04.452Z] 765212b225bb: Pulling fs layer [2023-03-24T06:09:04.452Z] f23df028b6ca: Pulling fs layer [2023-03-24T06:09:04.452Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T06:09:04.452Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T06:09:04.452Z] 765212b225bb: Waiting [2023-03-24T06:09:04.452Z] d65c8cfc05b1: Waiting [2023-03-24T06:09:04.452Z] 2437ff75d9bd: Waiting [2023-03-24T06:09:04.452Z] f23df028b6ca: Waiting [2023-03-24T06:09:04.452Z] 04944245beec: Verifying Checksum [2023-03-24T06:09:04.452Z] 04944245beec: Download complete [2023-03-24T06:09:04.452Z] 765212b225bb: Verifying Checksum [2023-03-24T06:09:04.452Z] 765212b225bb: Download complete [2023-03-24T06:09:04.452Z] f23df028b6ca: Download complete [2023-03-24T06:09:04.452Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T06:09:04.452Z] d65c8cfc05b1: Download complete [2023-03-24T06:09:04.725Z] 699f458cf7ca: Verifying Checksum [2023-03-24T06:09:04.725Z] 699f458cf7ca: Download complete [2023-03-24T06:09:04.998Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T06:09:04.998Z] 8998bd30e6a1: Download complete [2023-03-24T06:09:07.601Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T06:09:07.601Z] 2437ff75d9bd: Download complete [2023-03-24T06:09:09.555Z] 8998bd30e6a1: Pull complete [2023-03-24T06:09:10.142Z] 04944245beec: Pull complete [2023-03-24T06:09:11.555Z] 699f458cf7ca: Pull complete [2023-03-24T06:09:11.555Z] 765212b225bb: Pull complete [2023-03-24T06:09:12.526Z] f23df028b6ca: Pull complete [2023-03-24T06:09:12.526Z] d65c8cfc05b1: Pull complete [2023-03-24T06:09:27.532Z] 2437ff75d9bd: Pull complete [2023-03-24T06:09:27.532Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T06:09:27.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:09:27.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:09:27.859Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-03-24T06:09:27.924Z] $ 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-24T06:09:30.663Z] $ docker top 6edd582690752d523937694fcf85bae174f743efa789ea27bd039d661d01f1a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:31.257Z] ---> job-cost.sh [2023-03-24T06:09:31.525Z] lf-activate-venv: SKIPPING [2023-03-24T06:09:31.525Z] INFO: No Stack... [2023-03-24T06:09:31.792Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T06:09:32.755Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T06:09:33.410Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-24T06:09:33.410Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T06:09:33.491Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [2023-03-24T06:09:33.497Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] did not exist. Created. [2023-03-24T06:09:33.497Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T06:09:33.902Z] /w/workspace/device-modbus-go/1@tmp/durable-6dc3ac89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T06:09:34.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T06:09:34.289Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T06:09:34.731Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T06:09:34.745Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T06:09:34.893Z] $ docker stop --time=1 6edd582690752d523937694fcf85bae174f743efa789ea27bd039d661d01f1a9 [2023-03-24T06:09:37.381Z] $ docker rm -f --volumes 6edd582690752d523937694fcf85bae174f743efa789ea27bd039d661d01f1a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T06:09:38.111Z] 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-24T06:09:40.053Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-442/archives ] [2023-03-24T06:09:40.053Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-442/archives [2023-03-24T06:09:40.053Z] total 16 [2023-03-24T06:09:40.053Z] drwxr-xr-x 3 root root 4096 Mar 24 06:01 . [2023-03-24T06:09:40.053Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:01 .. [2023-03-24T06:09:40.053Z] drwxr-xr-x 2 root root 4096 Mar 24 06:01 cost [2023-03-24T06:09:40.053Z] -rw-r--r-- 1 root root 88 Mar 24 06:01 cost.csv [2023-03-24T06:09:40.053Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-442/archives [2023-03-24T06:09:40.053Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-442/archives [2023-03-24T06:09:40.053Z] total 16 [2023-03-24T06:09:40.053Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 06:01 . [2023-03-24T06:09:40.053Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:01 .. [2023-03-24T06:09:40.053Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 06:01 cost [2023-03-24T06:09:40.053Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 24 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:40.377Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:41.259Z] ---> package-listing.sh [2023-03-24T06:09:41.259Z] ++ facter osfamily [2023-03-24T06:09:41.259Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T06:09:41.521Z] + OS_FAMILY=debian [2023-03-24T06:09:41.521Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-442 [2023-03-24T06:09:41.521Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T06:09:41.521Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T06:09:41.521Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T06:09:41.521Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T06:09:41.521Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-442 ']' [2023-03-24T06:09:41.521Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T06:09:41.521Z] + case "${OS_FAMILY}" in [2023-03-24T06:09:41.521Z] + dpkg -l [2023-03-24T06:09:41.521Z] + grep '^ii' [2023-03-24T06:09:41.521Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T06:09:41.521Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T06:09:41.521Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T06:09:41.521Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-442 ']' [2023-03-24T06:09:41.521Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-442/archives/ [2023-03-24T06:09:41.521Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-442/archives/ [Pipeline] echo [2023-03-24T06:09:41.557Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T06:09:41.852Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:09:42.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:09:42.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:09:42.620Z] prd-ubuntu20.04-docker-8c-8g-5671 does not seem to be running inside a container [2023-03-24T06:09:42.657Z] $ 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-442/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-442 -v /w/workspace/xfoundry_device-modbus-go_PR-442:/w/workspace/xfoundry_device-modbus-go_PR-442:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-442@tmp:/w/workspace/xfoundry_device-modbus-go_PR-442@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-24T06:09:42.836Z] $ docker top 4feb2e29bd629efffcffe7fff8e0397e4ed63703465187c2b5699e88adb15f0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:09:43.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T06:09:43.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T06:09:43.824Z] + ls /var/log/sa-host [2023-03-24T06:09:43.824Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:09:43.959Z] provisioning config files... [2023-03-24T06:09:43.968Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-442@tmp/config9938949755819719839tmp [Pipeline] { [Pipeline] echo [2023-03-24T06:09:44.018Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:44.330Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T06:09:44.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:44.766Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T06:09:44.803Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:45.118Z] ---> sudo-logs.sh [2023-03-24T06:09:45.118Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T06:09:45.206Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:45.509Z] ---> job-cost.sh [2023-03-24T06:09:45.509Z] lf-activate-venv: SKIPPING [2023-03-24T06:09:45.509Z] DEBUG: total: 0.2199999988079071 [2023-03-24T06:09:45.509Z] INFO: Retrieving Stack Cost... [2023-03-24T06:09:45.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T06:09:46.335Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T06:09:46.372Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:09:46.688Z] ---> logs-deploy.sh [2023-03-24T06:09:46.688Z] lf-activate-venv: SKIPPING [2023-03-24T06:09:46.688Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-442/1 [2023-03-24T06:09:46.688Z] INFO: archiving workspace using pattern(s): [2023-03-24T06:09:47.623Z] Archives upload complete. [2023-03-24T06:09:47.623Z] INFO: archiving logs to Nexus