Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb82f597ccd64c91c2e0bab034d7a1f9e7406062+1f5b40587cdb269dc0901b5b892d918e86924932 (a715e2bb89b83419ead44cd6d9d7aab82c75fecd) 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-ssh11929921407657988773.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-ssh11693047750077853603.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-mqtt-go/branches/PR-531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13878196072321926817.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 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-ssh2127056282710524381.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-mqtt-go/branches/PR-531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2786407713187000236.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-mqtt-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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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 Running on prd-ubuntu20.04-docker-8c-8g-2532 in /w/workspace/gexfoundry_device-mqtt-go_PR-531 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-531 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1f5b40587cdb269dc0901b5b892d918e86924932 into PR head commit bb82f597ccd64c91c2e0bab034d7a1f9e7406062 Merge succeeded, producing 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d Checking out Revision 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d (PR-531) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb82f597ccd64c91c2e0bab034d7a1f9e7406062 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d # timeout=10 Commit message: "Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD" > git rev-list --no-walk bb82f597ccd64c91c2e0bab034d7a1f9e7406062 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T23:16:30.156Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T23:16:30.218Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T23:16:30.238Z] ========================================================= [2023-03-16T23:16:30.238Z] EdgeX Global Pipelines Version Info [2023-03-16T23:16:30.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:16:30.937Z] ------------------- [2023-03-16T23:16:30.938Z] stable info: [2023-03-16T23:16:30.938Z] ------------------- [2023-03-16T23:16:30.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T23:16:30.938Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T23:16:30.938Z] Message: update stable to v1.0.245 [2023-03-16T23:16:31.506Z] ------------------- [2023-03-16T23:16:31.506Z] experimental info: [2023-03-16T23:16:31.506Z] ------------------- [2023-03-16T23:16:31.506Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T23:16:31.506Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T23:16:31.506Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T23:16:31.678Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-16T23:16:31.690Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-16T23:16:31.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T23:16:31.724Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T23:16:31.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T23:16:31.745Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T23:16:31.758Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T23:16:31.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T23:16:31.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T23:16:31.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T23:16:31.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T23:16:31.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-16T23:16:31.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T23:16:31.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T23:16:31.863Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:16:31.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:16:31.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:16:31.898Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:16:31.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T23:16:31.924Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T23:16:31.988Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T23:16:31.998Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T23:16:32.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T23:16:32.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T23:16:32.029Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T23:16:32.040Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T23:16:32.052Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T23:16:32.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-531 [Pipeline] echo [2023-03-16T23:16:32.080Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-531 [Pipeline] echo [2023-03-16T23:16:32.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-531 [Pipeline] echo [2023-03-16T23:16:32.103Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [Pipeline] echo [2023-03-16T23:16:32.114Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8440405 [Pipeline] echo [2023-03-16T23:16:32.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:16:32.164Z] provisioning config files... [2023-03-16T23:16:32.178Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/config6723235611822887414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:16:32.476Z] ---> docker-login.sh [2023-03-16T23:16:32.476Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:16:32.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:32.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:32.736Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:32.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:32.736Z] [2023-03-16T23:16:32.736Z] Login Succeeded [2023-03-16T23:16:32.736Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:16:32.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:32.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:32.736Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:32.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:32.736Z] [2023-03-16T23:16:32.736Z] Login Succeeded [2023-03-16T23:16:32.736Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:16:32.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:32.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:32.995Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:32.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:32.995Z] [2023-03-16T23:16:32.995Z] Login Succeeded [2023-03-16T23:16:32.995Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:16:32.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:32.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:32.995Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:32.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:32.995Z] [2023-03-16T23:16:32.995Z] Login Succeeded [2023-03-16T23:16:32.995Z] docker.io [2023-03-16T23:16:33.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:33.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:33.253Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:33.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:33.253Z] [2023-03-16T23:16:33.253Z] Login Succeeded [2023-03-16T23:16:33.253Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:16:33.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T23:16:33.619Z] + git rev-list -1 --merges 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d~1..84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [Pipeline] echo [2023-03-16T23:16:33.634Z] -----------> git rev-list -1 --merges 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d~1..84404052aac12f4b6ba12d3b0bc8110ce1c63c7d 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [2023-03-16T23:16:33.634Z] 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [false] [Pipeline] sh [2023-03-16T23:16:33.919Z] + git log --format=format:%s -1 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [Pipeline] echo [2023-03-16T23:16:33.933Z] ========================================================= [2023-03-16T23:16:33.933Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T23:16:33.933Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:16:34.254Z] + git log --format=format:%s -1 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d [Pipeline] echo [2023-03-16T23:16:34.266Z] [semverPrep] GIT_COMMIT: 84404052aac12f4b6ba12d3b0bc8110ce1c63c7d, Commit Message: Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD [Pipeline] echo [2023-03-16T23:16:34.275Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T23:16:34.640Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T23:16:34.640Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T23:16:34.640Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T23:16:34.640Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T23:16:34.640Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T23:16:34.640Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T23:16:34.640Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:16:35.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:16:35.052Z] [2023-03-16T23:16:35.052Z] 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-16T23:16:35.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:16:35.354Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T23:16:35.354Z] b85a868b505f: Pulling fs layer [2023-03-16T23:16:35.354Z] e2be974225ed: Pulling fs layer [2023-03-16T23:16:35.354Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T23:16:35.354Z] 988bab9f4d93: Pulling fs layer [2023-03-16T23:16:35.354Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T23:16:35.354Z] eaf3925da568: Pulling fs layer [2023-03-16T23:16:35.354Z] bab4dde63d76: Pulling fs layer [2023-03-16T23:16:35.354Z] bde34c3a00c8: Pulling fs layer [2023-03-16T23:16:35.354Z] b352a97aabf1: Pulling fs layer [2023-03-16T23:16:35.354Z] 4872d77fe225: Pulling fs layer [2023-03-16T23:16:35.354Z] 5851b861e8e6: Pulling fs layer [2023-03-16T23:16:35.354Z] 4872d77fe225: Waiting [2023-03-16T23:16:35.354Z] 5851b861e8e6: Waiting [2023-03-16T23:16:35.354Z] bab4dde63d76: Waiting [2023-03-16T23:16:35.354Z] 1469e6f7b9e6: Waiting [2023-03-16T23:16:35.354Z] bde34c3a00c8: Waiting [2023-03-16T23:16:35.354Z] 988bab9f4d93: Waiting [2023-03-16T23:16:35.354Z] b352a97aabf1: Waiting [2023-03-16T23:16:35.354Z] eaf3925da568: Waiting [2023-03-16T23:16:35.354Z] e2be974225ed: Download complete [2023-03-16T23:16:35.354Z] 988bab9f4d93: Verifying Checksum [2023-03-16T23:16:35.354Z] 988bab9f4d93: Download complete [2023-03-16T23:16:35.613Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T23:16:35.613Z] 339a4e72a1f5: Download complete [2023-03-16T23:16:35.613Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T23:16:35.613Z] 1469e6f7b9e6: Download complete [2023-03-16T23:16:35.613Z] eaf3925da568: Verifying Checksum [2023-03-16T23:16:35.613Z] eaf3925da568: Download complete [2023-03-16T23:16:35.613Z] bde34c3a00c8: Download complete [2023-03-16T23:16:35.613Z] b352a97aabf1: Verifying Checksum [2023-03-16T23:16:35.613Z] b352a97aabf1: Download complete [2023-03-16T23:16:35.613Z] 4872d77fe225: Verifying Checksum [2023-03-16T23:16:35.613Z] 4872d77fe225: Download complete [2023-03-16T23:16:35.613Z] 5851b861e8e6: Verifying Checksum [2023-03-16T23:16:35.613Z] b85a868b505f: Verifying Checksum [2023-03-16T23:16:35.613Z] b85a868b505f: Download complete [2023-03-16T23:16:35.871Z] bab4dde63d76: Verifying Checksum [2023-03-16T23:16:35.871Z] bab4dde63d76: Download complete [2023-03-16T23:16:36.803Z] b85a868b505f: Pull complete [2023-03-16T23:16:36.803Z] e2be974225ed: Pull complete [2023-03-16T23:16:37.370Z] 339a4e72a1f5: Pull complete [2023-03-16T23:16:37.370Z] 988bab9f4d93: Pull complete [2023-03-16T23:16:37.630Z] 1469e6f7b9e6: Pull complete [2023-03-16T23:16:37.630Z] eaf3925da568: Pull complete [2023-03-16T23:16:39.004Z] bab4dde63d76: Pull complete [2023-03-16T23:16:39.262Z] bde34c3a00c8: Pull complete [2023-03-16T23:16:39.262Z] b352a97aabf1: Pull complete [2023-03-16T23:16:39.262Z] 4872d77fe225: Pull complete [2023-03-16T23:16:39.262Z] 5851b861e8e6: Pull complete [2023-03-16T23:16:39.262Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T23:16:39.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:16:39.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:16:39.601Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-03-16T23:16:39.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-531 -v /w/workspace/gexfoundry_device-mqtt-go_PR-531:/w/workspace/gexfoundry_device-mqtt-go_PR-531:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T23:16:40.774Z] $ docker top ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f -eo pid,comm [2023-03-16T23:16:40.831Z] 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-16T23:16:40.831Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T23:16:40.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:16:40.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:16:40.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:16:40.963Z] $ docker exec ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f ssh-agent [2023-03-16T23:16:41.089Z] SSH_AUTH_SOCK=/tmp/ssh-PshVHNrtP8K4/agent.32 [2023-03-16T23:16:41.089Z] SSH_AGENT_PID=38 [2023-03-16T23:16:41.095Z] Running ssh-add (command line suppressed) [2023-03-16T23:16:41.204Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/private_key_6068732028787260150.key (/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/private_key_6068732028787260150.key) [2023-03-16T23:16:41.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:16:41.514Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T23:16:41.523Z] $ docker exec --env ******** --env ******** ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f ssh-agent -k [2023-03-16T23:16:41.627Z] unset SSH_AUTH_SOCK; [2023-03-16T23:16:41.628Z] unset SSH_AGENT_PID; [2023-03-16T23:16:41.628Z] echo Agent pid 38 killed; [2023-03-16T23:16:41.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T23:16:41.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:16:41.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:16:41.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:16:41.767Z] $ docker exec ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f ssh-agent [2023-03-16T23:16:41.881Z] SSH_AUTH_SOCK=/tmp/ssh-UXc2l9n5om3W/agent.70 [2023-03-16T23:16:41.881Z] SSH_AGENT_PID=76 [2023-03-16T23:16:41.886Z] Running ssh-add (command line suppressed) [2023-03-16T23:16:41.978Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/private_key_9489035887024097453.key (/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/private_key_9489035887024097453.key) [2023-03-16T23:16:41.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:16:42.283Z] + git semver init [2023-03-16T23:16:42.543Z] 2023-03-16 23:16:42,444 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T23:16:42.543Z] 2023-03-16 23:16:42,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver [2023-03-16T23:16:42.543Z] 2023-03-16 23:16:42,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver [2023-03-16T23:16:42.543Z] 2023-03-16 23:16:42,446 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-531, universal_newlines=False, shell=None, istream=None) [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,223 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-531/.git/info/exclude [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver/PR-531 with force:False [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,224 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver/PR-531 [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,228 [execute] INFO git cat-file --batch-check [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,236 [execute] INFO git cat-file --batch [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:16:43.481Z] 2023-03-16 23:16:43,242 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-531/.semver/PR-531 [2023-03-16T23:16:43.481Z] 0.0.0 [Pipeline] } [2023-03-16T23:16:43.483Z] $ docker exec --env ******** --env ******** ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f ssh-agent -k [2023-03-16T23:16:43.598Z] unset SSH_AUTH_SOCK; [2023-03-16T23:16:43.599Z] unset SSH_AGENT_PID; [2023-03-16T23:16:43.599Z] echo Agent pid 76 killed; [2023-03-16T23:16:43.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T23:16:43.921Z] + git semver [Pipeline] } [2023-03-16T23:16:44.186Z] $ docker stop --time=1 ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f [2023-03-16T23:16:45.512Z] $ docker rm -f --volumes ff7161de56e4883cece6ee350ec3eb512e03f47f971aa07b4ac31fe4dced930f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:16:45.856Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T23:16:46.063Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T23:16:46.067Z] [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-16T23:16:46.219Z] provisioning config files... [2023-03-16T23:16:46.231Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/config14932334892186033843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:16:46.524Z] ---> docker-login.sh [2023-03-16T23:16:46.524Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:16:46.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:46.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:46.524Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:46.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:46.524Z] [2023-03-16T23:16:46.524Z] Login Succeeded [2023-03-16T23:16:46.524Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:16:46.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:46.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:46.524Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:46.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:46.524Z] [2023-03-16T23:16:46.524Z] Login Succeeded [2023-03-16T23:16:46.524Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:16:46.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:46.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:46.784Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:46.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:46.784Z] [2023-03-16T23:16:46.784Z] Login Succeeded [2023-03-16T23:16:46.784Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:16:46.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:46.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:46.784Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:46.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:46.784Z] [2023-03-16T23:16:46.784Z] Login Succeeded [2023-03-16T23:16:46.784Z] docker.io [2023-03-16T23:16:47.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:16:47.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:16:47.043Z] Configure a credential helper to remove this warning. See [2023-03-16T23:16:47.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:16:47.043Z] [2023-03-16T23:16:47.043Z] Login Succeeded [2023-03-16T23:16:47.043Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:16:47.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T23:16:47.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:16:47.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:16:47.132Z] ========================================================= [2023-03-16T23:16:47.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T23:16:47.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:16:47.449Z] + 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-16T23:16:47.449Z] Sending build context to Docker daemon 6.385MB [2023-03-16T23:16:47.449Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T23:16:47.449Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T23:16:47.449Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T23:16:47.449Z] 63b65145d645: Pulling fs layer [2023-03-16T23:16:47.449Z] a2d21d5440eb: Pulling fs layer [2023-03-16T23:16:47.449Z] 935e6c44a52c: Pulling fs layer [2023-03-16T23:16:47.449Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T23:16:47.449Z] 30dea6a524f1: Pulling fs layer [2023-03-16T23:16:47.449Z] a2aff8979fd8: Pulling fs layer [2023-03-16T23:16:47.449Z] 6808be2612f2: Pulling fs layer [2023-03-16T23:16:47.449Z] f25807f1079a: Pulling fs layer [2023-03-16T23:16:47.449Z] 6808be2612f2: Waiting [2023-03-16T23:16:47.449Z] f25807f1079a: Waiting [2023-03-16T23:16:47.449Z] a2aff8979fd8: Waiting [2023-03-16T23:16:47.449Z] 30dea6a524f1: Waiting [2023-03-16T23:16:47.449Z] 94cc34f8dd06: Waiting [2023-03-16T23:16:47.449Z] a2d21d5440eb: Download complete [2023-03-16T23:16:47.449Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T23:16:47.449Z] 94cc34f8dd06: Download complete [2023-03-16T23:16:47.449Z] 30dea6a524f1: Download complete [2023-03-16T23:16:47.712Z] 63b65145d645: Verifying Checksum [2023-03-16T23:16:47.712Z] 63b65145d645: Download complete [2023-03-16T23:16:47.712Z] a2aff8979fd8: Verifying Checksum [2023-03-16T23:16:47.712Z] a2aff8979fd8: Download complete [2023-03-16T23:16:47.712Z] 63b65145d645: Pull complete [2023-03-16T23:16:47.919Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2538 in /w/workspace/gexfoundry_device-mqtt-go_PR-531 [Pipeline] { [Pipeline] ws [2023-03-16T23:16:47.933Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-16T23:16:47.969Z] Selected Git installation does not exist. Using Default [2023-03-16T23:16:47.969Z] The recommended git tool is: NONE [2023-03-16T23:16:47.980Z] a2d21d5440eb: Pull complete [2023-03-16T23:16:48.240Z] f25807f1079a: Verifying Checksum [2023-03-16T23:16:48.240Z] f25807f1079a: Download complete [2023-03-16T23:16:48.240Z] 935e6c44a52c: Verifying Checksum [2023-03-16T23:16:48.240Z] 935e6c44a52c: Download complete [2023-03-16T23:16:48.498Z] 6808be2612f2: Verifying Checksum [2023-03-16T23:16:48.498Z] 6808be2612f2: Download complete [2023-03-16T23:16:51.781Z] 935e6c44a52c: Pull complete [2023-03-16T23:16:51.781Z] 94cc34f8dd06: Pull complete [2023-03-16T23:16:51.781Z] 30dea6a524f1: Pull complete [2023-03-16T23:16:51.781Z] a2aff8979fd8: Pull complete [2023-03-16T23:16:52.521Z] using credential edgex-jenkins-ssh [2023-03-16T23:16:52.542Z] Cloning the remote Git repository [2023-03-16T23:16:52.574Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-16T23:16:52.657Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-16T23:16:52.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-16T23:16:52.797Z] > git --version # timeout=10 [2023-03-16T23:16:52.826Z] > git --version # 'git version 2.25.1' [2023-03-16T23:16:52.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:16:52.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:16:54.306Z] 6808be2612f2: Pull complete [2023-03-16T23:16:54.565Z] f25807f1079a: Pull complete [2023-03-16T23:16:54.565Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T23:16:54.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T23:16:54.565Z] ---> 3b553350e43f [2023-03-16T23:16:54.565Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:16:54.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-16T23:16:54.091Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:16:55.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-16T23:16:55.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-16T23:16:55.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:16:55.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T23:16:55.705Z] Merging remotes/origin/main commit 1f5b40587cdb269dc0901b5b892d918e86924932 into PR head commit bb82f597ccd64c91c2e0bab034d7a1f9e7406062 [2023-03-16T23:16:55.939Z] ---> Running in 9a68bbcae87c [2023-03-16T23:16:56.012Z] Merge succeeded, producing 84df0c5a56d1c4c77a7f10a772bcbb841db13981 [2023-03-16T23:16:56.013Z] Checking out Revision 84df0c5a56d1c4c77a7f10a772bcbb841db13981 (PR-531) [2023-03-16T23:16:56.198Z] Removing intermediate container 9a68bbcae87c [2023-03-16T23:16:56.198Z] ---> a52fe63eab67 [2023-03-16T23:16:56.198Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:16:56.198Z] ---> Running in b47013c8dfd3 [2023-03-16T23:16:56.198Z] Removing intermediate container b47013c8dfd3 [2023-03-16T23:16:56.198Z] ---> 245f22d96fb5 [2023-03-16T23:16:56.198Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T23:16:56.198Z] ---> Running in cd2ce746e3b1 [2023-03-16T23:16:56.198Z] Removing intermediate container cd2ce746e3b1 [2023-03-16T23:16:56.198Z] ---> d1ee7ef3c5c0 [2023-03-16T23:16:56.198Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:16:56.198Z] ---> Running in f06b2cdc8314 [2023-03-16T23:16:56.456Z] Removing intermediate container f06b2cdc8314 [2023-03-16T23:16:56.456Z] ---> 38296e562d3d [2023-03-16T23:16:56.456Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:16:56.456Z] ---> Running in 9ccad407d286 [2023-03-16T23:16:55.706Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:16:55.771Z] > git checkout -f bb82f597ccd64c91c2e0bab034d7a1f9e7406062 # timeout=10 [2023-03-16T23:16:55.857Z] > git remote # timeout=10 [2023-03-16T23:16:55.884Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T23:16:55.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:16:55.919Z] > git merge 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 [2023-03-16T23:16:55.978Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T23:16:56.002Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:16:56.017Z] > git checkout -f 84df0c5a56d1c4c77a7f10a772bcbb841db13981 # timeout=10 [2023-03-16T23:16:56.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:16:56.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:16:57.231Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T23:16:57.231Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T23:16:57.231Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T23:16:57.231Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T23:16:57.232Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T23:16:57.232Z] OK: 269 MiB in 57 packages [2023-03-16T23:16:57.799Z] Removing intermediate container 9ccad407d286 [2023-03-16T23:16:57.799Z] ---> 730797449a8a [2023-03-16T23:16:57.799Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-16T23:16:57.799Z] ---> Running in b7798c6ee8b6 [2023-03-16T23:16:57.799Z] Removing intermediate container b7798c6ee8b6 [2023-03-16T23:16:57.799Z] ---> 874b07b868d0 [2023-03-16T23:16:57.799Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T23:16:57.799Z] ---> 8b8cfb4f9538 [2023-03-16T23:16:57.799Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:16:57.799Z] ---> Running in 7c6bc6363922 [2023-03-16T23:16:59.587Z] Commit message: "Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD" [2023-03-16T23:16:59.579Z] > git rev-list --no-walk bb82f597ccd64c91c2e0bab034d7a1f9e7406062 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:17:00.524Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T23:17:00.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T23:17:00.524Z] Dload Upload Total Spent Left Speed [2023-03-16T23:17:00.524Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-03-16T23:17:01.132Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T23:17:01.464Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T23:17:01.464Z] + sudo tee /etc/docker/daemon.new [2023-03-16T23:17:01.464Z] { [2023-03-16T23:17:01.464Z] "registry-mirrors": [ [2023-03-16T23:17:01.464Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T23:17:01.464Z] ], [2023-03-16T23:17:01.464Z] "bip": "10.250.0.254/24", [2023-03-16T23:17:01.464Z] "hosts": [ [2023-03-16T23:17:01.464Z] "tcp://0.0.0.0:5555", [2023-03-16T23:17:01.464Z] "unix:///var/run/docker.sock" [2023-03-16T23:17:01.464Z] ], [2023-03-16T23:17:01.464Z] "mtu": 1458, [2023-03-16T23:17:01.464Z] "selinux-enabled": true, [2023-03-16T23:17:01.464Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T23:17:01.464Z] } [Pipeline] sh [2023-03-16T23:17:01.795Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T23:17:02.117Z] + sudo service docker restart [2023-03-16T23:17:19.727Z] Removing intermediate container 7c6bc6363922 [2023-03-16T23:17:19.727Z] ---> e9e46249604c [2023-03-16T23:17:19.727Z] Step 11/12 : COPY . . [2023-03-16T23:17:19.727Z] ---> 5b7d7e517413 [2023-03-16T23:17:19.727Z] Step 12/12 : RUN $MAKE [2023-03-16T23:17:19.727Z] ---> Running in 8603bec6031f [2023-03-16T23:17:19.727Z] noop [2023-03-16T23:17:19.727Z] Removing intermediate container 8603bec6031f [2023-03-16T23:17:19.727Z] ---> 5dfc08abe9f8 [2023-03-16T23:17:19.727Z] Successfully built 5dfc08abe9f8 [2023-03-16T23:17:19.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:17:20.044Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:17:20.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:17:20.111Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-03-16T23:17:20.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-531 -v /w/workspace/gexfoundry_device-mqtt-go_PR-531:/w/workspace/gexfoundry_device-mqtt-go_PR-531:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:17:20.459Z] $ docker top 3ca97954f0e47d32e3a081d437b7ff5e677233afe03db454e6f58ca7f1679a0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2023-03-16T23:17:20.574Z] provisioning config files... [2023-03-16T23:17:20.602Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3421215824126306361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:17:20.818Z] + go version [2023-03-16T23:17:20.819Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T23:17:20.822Z] $ docker stop --time=1 3ca97954f0e47d32e3a081d437b7ff5e677233afe03db454e6f58ca7f1679a0a [2023-03-16T23:17:20.949Z] ---> docker-login.sh [2023-03-16T23:17:20.949Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:17:21.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:17:21.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:17:21.534Z] Configure a credential helper to remove this warning. See [2023-03-16T23:17:21.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:17:21.534Z] [2023-03-16T23:17:21.534Z] Login Succeeded [2023-03-16T23:17:21.534Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:17:21.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:17:21.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:17:21.801Z] Configure a credential helper to remove this warning. See [2023-03-16T23:17:21.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:17:21.801Z] [2023-03-16T23:17:21.801Z] Login Succeeded [2023-03-16T23:17:21.801Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:17:22.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:17:22.095Z] $ docker rm -f --volumes 3ca97954f0e47d32e3a081d437b7ff5e677233afe03db454e6f58ca7f1679a0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:17:22.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:17:22.337Z] Configure a credential helper to remove this warning. See [2023-03-16T23:17:22.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:17:22.337Z] [2023-03-16T23:17:22.337Z] Login Succeeded [2023-03-16T23:17:22.337Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:17:22.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:17:22.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:17:22.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:17:22.585Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-03-16T23:17:22.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:17:22.605Z] Configure a credential helper to remove this warning. See [2023-03-16T23:17:22.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:17:22.605Z] [2023-03-16T23:17:22.605Z] Login Succeeded [2023-03-16T23:17:22.605Z] docker.io [2023-03-16T23:17:22.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-531 -v /w/workspace/gexfoundry_device-mqtt-go_PR-531:/w/workspace/gexfoundry_device-mqtt-go_PR-531:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:17:22.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:17:22.944Z] $ docker top 80f1ee2216deaa50ecb2631a0ace682b19d12e50f984a53e36b93a9a8c6935ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:17:23.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:17:23.136Z] Configure a credential helper to remove this warning. See [2023-03-16T23:17:23.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:17:23.136Z] [2023-03-16T23:17:23.136Z] Login Succeeded [2023-03-16T23:17:23.136Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:17:23.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-03-16T23:17:23.291Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-531 [Pipeline] fileExists [Pipeline] sh [Pipeline] echo [2023-03-16T23:17:23.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:17:23.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:17:23.373Z] ========================================================= [2023-03-16T23:17:23.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T23:17:23.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:17:23.592Z] + make test [2023-03-16T23:17:23.592Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:17:23.714Z] + 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-16T23:17:23.981Z] Sending build context to Docker daemon 3.314MB [2023-03-16T23:17:23.981Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T23:17:23.981Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T23:17:27.317Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T23:17:27.317Z] af6eaf76a39c: Pulling fs layer [2023-03-16T23:17:27.317Z] 55522c791124: Pulling fs layer [2023-03-16T23:17:27.317Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T23:17:27.317Z] 169dfbe0d373: Pulling fs layer [2023-03-16T23:17:27.317Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T23:17:27.317Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T23:17:27.317Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T23:17:27.317Z] 169dfbe0d373: Waiting [2023-03-16T23:17:27.317Z] e1ff8fa3b103: Waiting [2023-03-16T23:17:27.317Z] 5abe8eddf0d5: Waiting [2023-03-16T23:17:27.317Z] 55522c791124: Verifying Checksum [2023-03-16T23:17:27.317Z] 55522c791124: Download complete [2023-03-16T23:17:27.317Z] 169dfbe0d373: Verifying Checksum [2023-03-16T23:17:27.317Z] 169dfbe0d373: Download complete [2023-03-16T23:17:27.317Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T23:17:27.317Z] e1ff8fa3b103: Download complete [2023-03-16T23:17:27.317Z] af6eaf76a39c: Verifying Checksum [2023-03-16T23:17:27.317Z] af6eaf76a39c: Download complete [2023-03-16T23:17:27.902Z] af6eaf76a39c: Pull complete [2023-03-16T23:17:27.902Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T23:17:27.902Z] 5abe8eddf0d5: Download complete [2023-03-16T23:17:28.489Z] 55522c791124: Pull complete [2023-03-16T23:17:28.867Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-16T23:17:29.460Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T23:17:29.460Z] ce5c4a1c91eb: Download complete [2023-03-16T23:17:29.460Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T23:17:29.460Z] 52ebb69f0ebf: Download complete [2023-03-16T23:17:36.979Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T23:17:36.980Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T23:17:37.238Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-16T23:17:37.238Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.2% of statements [2023-03-16T23:17:37.238Z] FAIL [2023-03-16T23:17:37.238Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-16T23:17:37.242Z] $ docker stop --time=1 80f1ee2216deaa50ecb2631a0ace682b19d12e50f984a53e36b93a9a8c6935ba [2023-03-16T23:17:39.002Z] $ docker rm -f --volumes 80f1ee2216deaa50ecb2631a0ace682b19d12e50f984a53e36b93a9a8c6935ba [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-16T23:17:39.538Z] ce5c4a1c91eb: Pull complete [2023-03-16T23:17:39.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:17:39.543Z] [2023-03-16T23:17:39.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:17:39.805Z] 169dfbe0d373: Pull complete [2023-03-16T23:17:39.805Z] e1ff8fa3b103: Pull complete [2023-03-16T23:17:39.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:17:39.838Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T23:17:39.838Z] 5eb5b503b376: Pulling fs layer [2023-03-16T23:17:39.838Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T23:17:39.838Z] ec43610c2a17: Pulling fs layer [2023-03-16T23:17:39.838Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T23:17:39.838Z] 33b1e0a273af: Pulling fs layer [2023-03-16T23:17:39.838Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T23:17:39.838Z] 2f39f015ded8: Pulling fs layer [2023-03-16T23:17:39.838Z] 33b1e0a273af: Waiting [2023-03-16T23:17:39.838Z] 5d3b04190fa2: Waiting [2023-03-16T23:17:39.838Z] 3a2ae6a8a46f: Waiting [2023-03-16T23:17:39.838Z] 2f39f015ded8: Waiting [2023-03-16T23:17:39.838Z] 5c69ac0246d0: Download complete [2023-03-16T23:17:39.838Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T23:17:39.838Z] 3a2ae6a8a46f: Download complete [2023-03-16T23:17:40.097Z] 33b1e0a273af: Verifying Checksum [2023-03-16T23:17:40.097Z] 33b1e0a273af: Download complete [2023-03-16T23:17:40.097Z] ec43610c2a17: Verifying Checksum [2023-03-16T23:17:40.097Z] ec43610c2a17: Download complete [2023-03-16T23:17:40.097Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T23:17:40.097Z] 5d3b04190fa2: Download complete [2023-03-16T23:17:40.097Z] 5eb5b503b376: Verifying Checksum [2023-03-16T23:17:40.097Z] 5eb5b503b376: Download complete [2023-03-16T23:17:40.662Z] 2f39f015ded8: Download complete [2023-03-16T23:17:41.227Z] 5eb5b503b376: Pull complete [2023-03-16T23:17:41.227Z] 5c69ac0246d0: Pull complete [2023-03-16T23:17:41.485Z] ec43610c2a17: Pull complete [2023-03-16T23:17:41.744Z] 3a2ae6a8a46f: Pull complete [2023-03-16T23:17:41.744Z] 33b1e0a273af: Pull complete [2023-03-16T23:17:41.744Z] 5d3b04190fa2: Pull complete [2023-03-16T23:17:45.930Z] 2f39f015ded8: Pull complete [2023-03-16T23:17:45.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T23:17:45.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:17:45.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:17:46.006Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-03-16T23:17:46.022Z] $ 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/gexfoundry_device-mqtt-go_PR-531 -v /w/workspace/gexfoundry_device-mqtt-go_PR-531:/w/workspace/gexfoundry_device-mqtt-go_PR-531:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T23:17:46.573Z] 52ebb69f0ebf: Pull complete [2023-03-16T23:17:47.181Z] $ docker top a622f29cc7d3c304e37243a63af7de2d3351ae46c892c0af22b9c97d20310243 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:17:47.574Z] ---> job-cost.sh [2023-03-16T23:17:47.574Z] lf-activate-venv: SKIPPING [2023-03-16T23:17:47.574Z] INFO: No Stack... [2023-03-16T23:17:48.140Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:17:48.399Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:17:48.544Z] 5abe8eddf0d5: Pull complete [2023-03-16T23:17:48.544Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T23:17:48.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T23:17:48.544Z] ---> 6cb57ee374ae [2023-03-16T23:17:48.544Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:17:48.685Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives/cost.csv [2023-03-16T23:17:48.685Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T23:17:48.698Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [2023-03-16T23:17:48.705Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] did not exist. Created. [2023-03-16T23:17:48.705Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T23:17:49.015Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-03-16T23:17:49.048Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:17:49.056Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:17:49.065Z] $ docker stop --time=1 a622f29cc7d3c304e37243a63af7de2d3351ae46c892c0af22b9c97d20310243 [2023-03-16T23:17:50.232Z] $ docker rm -f --volumes a622f29cc7d3c304e37243a63af7de2d3351ae46c892c0af22b9c97d20310243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T23:17:50.334Z] Failed in branch amd64 [2023-03-16T23:17:53.881Z] ---> Running in 8781c3e65144 [2023-03-16T23:17:53.881Z] Removing intermediate container 8781c3e65144 [2023-03-16T23:17:53.881Z] ---> e22de90e2005 [2023-03-16T23:17:53.882Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:17:53.882Z] ---> Running in 05d7677c64b4 [2023-03-16T23:17:54.147Z] Removing intermediate container 05d7677c64b4 [2023-03-16T23:17:54.147Z] ---> 8b03c35c1bfa [2023-03-16T23:17:54.147Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T23:17:54.147Z] ---> Running in 457e8711b8c0 [2023-03-16T23:17:54.413Z] Removing intermediate container 457e8711b8c0 [2023-03-16T23:17:54.414Z] ---> 04fe2a86973c [2023-03-16T23:17:54.414Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:17:54.414Z] ---> Running in 357a038ead2f [2023-03-16T23:17:54.686Z] Removing intermediate container 357a038ead2f [2023-03-16T23:17:54.686Z] ---> fd49f185d7e3 [2023-03-16T23:17:54.686Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:17:54.686Z] ---> Running in 7f848083abf7 [2023-03-16T23:17:55.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:17:56.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:17:57.205Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T23:17:57.205Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T23:17:57.205Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T23:17:57.473Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T23:17:57.473Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T23:17:57.473Z] OK: 268 MiB in 57 packages [2023-03-16T23:17:58.438Z] Removing intermediate container 7f848083abf7 [2023-03-16T23:17:58.438Z] ---> 878858d6f936 [2023-03-16T23:17:58.438Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-16T23:17:58.438Z] ---> Running in 08e90ad3bfcb [2023-03-16T23:17:58.705Z] Removing intermediate container 08e90ad3bfcb [2023-03-16T23:17:58.705Z] ---> 36ef04e6aa1f [2023-03-16T23:17:58.705Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T23:17:59.290Z] ---> 2d45e225120b [2023-03-16T23:17:59.290Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:17:59.290Z] ---> Running in f0205b97a151 [2023-03-16T23:18:55.713Z] Removing intermediate container f0205b97a151 [2023-03-16T23:18:55.713Z] ---> 3233d8df39d3 [2023-03-16T23:18:55.713Z] Step 11/12 : COPY . . [2023-03-16T23:18:55.713Z] ---> df44ef806e76 [2023-03-16T23:18:55.713Z] Step 12/12 : RUN $MAKE [2023-03-16T23:18:55.713Z] ---> Running in 94911387ec0f [2023-03-16T23:18:56.297Z] noop [2023-03-16T23:18:56.880Z] Removing intermediate container 94911387ec0f [2023-03-16T23:18:56.880Z] ---> 65b871bd8819 [2023-03-16T23:18:56.880Z] Successfully built 65b871bd8819 [2023-03-16T23:18:56.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:18:57.237Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:18:57.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:18:57.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-2538 does not seem to be running inside a container [2023-03-16T23:18:57.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:18:58.621Z] $ docker top 8aa2b1f869ba1a09f320231e47327bb5766b89be073e8eb5bb07c17a66b09979 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:18:59.472Z] + go version [2023-03-16T23:18:59.472Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T23:18:59.475Z] $ docker stop --time=1 8aa2b1f869ba1a09f320231e47327bb5766b89be073e8eb5bb07c17a66b09979 [2023-03-16T23:19:01.340Z] $ docker rm -f --volumes 8aa2b1f869ba1a09f320231e47327bb5766b89be073e8eb5bb07c17a66b09979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:19:01.889Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:19:01.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:19:02.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-2538 does not seem to be running inside a container [2023-03-16T23:19:02.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:19:03.278Z] $ docker top c40cfdc4a3ed56d7516a620dae62eecbc6a4ffd439e12b889bb3249e6e097354 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:19:03.793Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T23:19:04.123Z] + make test [2023-03-16T23:19:04.123Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:19:36.369Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-16T23:21:13.017Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T23:21:13.017Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T23:21:21.221Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-16T23:21:21.221Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.2% of statements [2023-03-16T23:21:21.221Z] FAIL [2023-03-16T23:21:21.222Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-16T23:21:21.223Z] $ docker stop --time=1 c40cfdc4a3ed56d7516a620dae62eecbc6a4ffd439e12b889bb3249e6e097354 [2023-03-16T23:21:23.054Z] $ docker rm -f --volumes c40cfdc4a3ed56d7516a620dae62eecbc6a4ffd439e12b889bb3249e6e097354 [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-16T23:21:24.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:21:24.331Z] [2023-03-16T23:21:24.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:21:24.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:21:24.931Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T23:21:24.931Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T23:21:24.931Z] 04944245beec: Pulling fs layer [2023-03-16T23:21:24.931Z] 699f458cf7ca: Pulling fs layer [2023-03-16T23:21:24.931Z] 765212b225bb: Pulling fs layer [2023-03-16T23:21:24.931Z] f23df028b6ca: Pulling fs layer [2023-03-16T23:21:24.931Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T23:21:24.931Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T23:21:24.931Z] 765212b225bb: Waiting [2023-03-16T23:21:24.931Z] f23df028b6ca: Waiting [2023-03-16T23:21:24.931Z] d65c8cfc05b1: Waiting [2023-03-16T23:21:24.931Z] 2437ff75d9bd: Waiting [2023-03-16T23:21:24.931Z] 04944245beec: Verifying Checksum [2023-03-16T23:21:24.931Z] 04944245beec: Download complete [2023-03-16T23:21:24.931Z] 765212b225bb: Verifying Checksum [2023-03-16T23:21:24.931Z] 765212b225bb: Download complete [2023-03-16T23:21:24.931Z] f23df028b6ca: Verifying Checksum [2023-03-16T23:21:24.931Z] f23df028b6ca: Download complete [2023-03-16T23:21:25.199Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T23:21:25.199Z] d65c8cfc05b1: Download complete [2023-03-16T23:21:25.199Z] 699f458cf7ca: Verifying Checksum [2023-03-16T23:21:25.199Z] 699f458cf7ca: Download complete [2023-03-16T23:21:25.466Z] 8998bd30e6a1: Download complete [2023-03-16T23:21:28.059Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T23:21:28.059Z] 2437ff75d9bd: Download complete [2023-03-16T23:21:29.480Z] 8998bd30e6a1: Pull complete [2023-03-16T23:21:30.063Z] 04944245beec: Pull complete [2023-03-16T23:21:31.469Z] 699f458cf7ca: Pull complete [2023-03-16T23:21:31.470Z] 765212b225bb: Pull complete [2023-03-16T23:21:32.435Z] f23df028b6ca: Pull complete [2023-03-16T23:21:32.435Z] d65c8cfc05b1: Pull complete [2023-03-16T23:21:47.428Z] 2437ff75d9bd: Pull complete [2023-03-16T23:21:47.428Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T23:21:47.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:21:47.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:21:47.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-2538 does not seem to be running inside a container [2023-03-16T23:21:47.661Z] $ 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-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T23:21:50.110Z] $ docker top 9c12ed0de7af8c72d962a952c8b1e894165af60b92729049e514195d7ac2f697 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:21:50.962Z] ---> job-cost.sh [2023-03-16T23:21:50.962Z] lf-activate-venv: SKIPPING [2023-03-16T23:21:50.962Z] INFO: No Stack... [2023-03-16T23:21:51.227Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T23:21:52.186Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:21:52.825Z] + cut -d, -f6 [2023-03-16T23:21:52.825Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2023-03-16T23:21:52.863Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [2023-03-16T23:21:52.870Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] did not exist. Created. [2023-03-16T23:21:52.870Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T23:21:53.520Z] /w/workspace/device-mqtt-go/2@tmp/durable-194c4cce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T23:21:54.167Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T23:21:54.197Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T23:21:54.589Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:21:54.598Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-531-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:21:54.597Z] $ docker stop --time=1 9c12ed0de7af8c72d962a952c8b1e894165af60b92729049e514195d7ac2f697 [2023-03-16T23:21:56.080Z] $ docker rm -f --volumes 9c12ed0de7af8c72d962a952c8b1e894165af60b92729049e514195d7ac2f697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T23:21:56.359Z] 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-16T23:21:57.031Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives ] [2023-03-16T23:21:57.031Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives [2023-03-16T23:21:57.031Z] total 16 [2023-03-16T23:21:57.031Z] drwxr-xr-x 3 root root 4096 Mar 16 23:17 . [2023-03-16T23:21:57.031Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:17 .. [2023-03-16T23:21:57.031Z] drwxr-xr-x 2 root root 4096 Mar 16 23:17 cost [2023-03-16T23:21:57.031Z] -rw-r--r-- 1 root root 87 Mar 16 23:17 cost.csv [2023-03-16T23:21:57.031Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives [2023-03-16T23:21:57.031Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives [2023-03-16T23:21:57.031Z] total 16 [2023-03-16T23:21:57.031Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 23:17 . [2023-03-16T23:21:57.031Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:17 .. [2023-03-16T23:21:57.031Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 23:17 cost [2023-03-16T23:21:57.031Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 16 23:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:21:57.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:21:58.170Z] ---> package-listing.sh [2023-03-16T23:21:58.170Z] ++ facter osfamily [2023-03-16T23:21:58.170Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T23:21:58.429Z] + OS_FAMILY=debian [2023-03-16T23:21:58.429Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-531 [2023-03-16T23:21:58.429Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T23:21:58.429Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T23:21:58.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T23:21:58.429Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T23:21:58.429Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-531 ']' [2023-03-16T23:21:58.429Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T23:21:58.429Z] + case "${OS_FAMILY}" in [2023-03-16T23:21:58.429Z] + dpkg -l [2023-03-16T23:21:58.429Z] + grep '^ii' [2023-03-16T23:21:58.429Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T23:21:58.429Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T23:21:58.429Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T23:21:58.429Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-531 ']' [2023-03-16T23:21:58.429Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives/ [2023-03-16T23:21:58.429Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-531/archives/ [Pipeline] echo [2023-03-16T23:21:58.440Z] 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/gexfoundry_device-mqtt-go_PR-531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T23:21:58.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:21:59.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:21:59.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:21:59.334Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-03-16T23:21:59.359Z] $ 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/gexfoundry_device-mqtt-go_PR-531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-531 -v /w/workspace/gexfoundry_device-mqtt-go_PR-531:/w/workspace/gexfoundry_device-mqtt-go_PR-531:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-531@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-16T23:21:59.551Z] $ docker top dc8aab6a3a65f651a3060bf7f043b8c0e8f54a5976717a9cd65314eb01e76e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:21:59.897Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T23:22:00.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T23:22:00.468Z] + ls /var/log/sa-host [2023-03-16T23:22:00.468Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:22:00.613Z] provisioning config files... [2023-03-16T23:22:00.620Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-531@tmp/config11993028993477433210tmp [Pipeline] { [Pipeline] echo [2023-03-16T23:22:00.630Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:22:00.918Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T23:22:00.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:22:01.242Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T23:22:01.250Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:22:01.530Z] ---> sudo-logs.sh [2023-03-16T23:22:01.530Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T23:22:01.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:22:01.833Z] ---> job-cost.sh [2023-03-16T23:22:01.833Z] lf-activate-venv: SKIPPING [2023-03-16T23:22:01.833Z] DEBUG: total: 0.4399999976158142 [2023-03-16T23:22:01.833Z] INFO: Retrieving Stack Cost... [2023-03-16T23:22:02.091Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:22:02.348Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T23:22:02.359Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:22:02.639Z] ---> logs-deploy.sh [2023-03-16T23:22:02.639Z] lf-activate-venv: SKIPPING [2023-03-16T23:22:02.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-531/2 [2023-03-16T23:22:02.639Z] INFO: archiving workspace using pattern(s): [2023-03-16T23:22:03.576Z] Archives upload complete. [2023-03-16T23:22:03.576Z] INFO: archiving logs to Nexus