Pull request #560 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60aae21d6e0e4b000ee9a0ef5c72878c772e2933+bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (1ec4b91dbe50d7332ed6558cc8af1e9c5e07c920) 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-ssh13220516897006816583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15753407393942207215.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11132575599403549101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1664845010911095140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16191876178517894889.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh554040651380607335.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Could not update commit status. Message: 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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7627 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [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-560 # 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 > 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/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 Merge succeeded, producing 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 Checking out Revision 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 (PR-560) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T02:01:44.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T02:01:44.821Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T02:01:44.914Z] ========================================================= [2023-04-13T02:01:44.914Z] EdgeX Global Pipelines Version Info [2023-04-13T02:01:44.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:01:45.661Z] ------------------- [2023-04-13T02:01:45.661Z] stable info: [2023-04-13T02:01:45.661Z] ------------------- [2023-04-13T02:01:45.661Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T02:01:45.661Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T02:01:45.661Z] Message: update stable to v1.0.248 [2023-04-13T02:01:46.233Z] ------------------- [2023-04-13T02:01:46.233Z] experimental info: [2023-04-13T02:01:46.233Z] ------------------- [2023-04-13T02:01:46.233Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T02:01:46.233Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T02:01:46.233Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T02:01:46.524Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-13T02:01:46.570Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-13T02:01:46.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T02:01:46.652Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T02:01:46.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T02:01:46.739Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T02:01:46.776Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T02:01:46.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T02:01:46.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T02:01:46.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T02:01:46.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T02:01:46.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-13T02:01:47.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T02:01:47.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T02:01:47.100Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T02:01:47.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T02:01:47.173Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T02:01:47.221Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T02:01:47.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T02:01:47.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T02:01:47.342Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T02:01:47.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T02:01:47.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T02:01:47.473Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T02:01:47.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T02:01:47.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T02:01:47.605Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T02:01:47.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo [2023-04-13T02:01:47.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo [2023-04-13T02:01:47.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo [2023-04-13T02:01:47.782Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo [2023-04-13T02:01:47.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60aae21 [Pipeline] echo [2023-04-13T02:01:47.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T02:01:47.969Z] provisioning config files... [2023-04-13T02:01:47.987Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config15954349302603775747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:01:48.328Z] ---> docker-login.sh [2023-04-13T02:01:48.329Z] nexus3.edgexfoundry.org:10001 [2023-04-13T02:01:48.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:01:48.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:01:48.590Z] Configure a credential helper to remove this warning. See [2023-04-13T02:01:48.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:01:48.590Z] [2023-04-13T02:01:48.590Z] Login Succeeded [2023-04-13T02:01:48.590Z] nexus3.edgexfoundry.org:10002 [2023-04-13T02:01:48.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:01:48.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:01:48.849Z] Configure a credential helper to remove this warning. See [2023-04-13T02:01:48.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:01:48.849Z] [2023-04-13T02:01:48.849Z] Login Succeeded [2023-04-13T02:01:48.849Z] nexus3.edgexfoundry.org:10003 [2023-04-13T02:01:48.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:01:48.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:01:48.849Z] Configure a credential helper to remove this warning. See [2023-04-13T02:01:48.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:01:48.850Z] [2023-04-13T02:01:48.850Z] Login Succeeded [2023-04-13T02:01:48.850Z] nexus3.edgexfoundry.org:10004 [2023-04-13T02:01:49.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:01:49.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:01:49.112Z] Configure a credential helper to remove this warning. See [2023-04-13T02:01:49.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:01:49.112Z] [2023-04-13T02:01:49.112Z] Login Succeeded [2023-04-13T02:01:49.112Z] docker.io [2023-04-13T02:01:49.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:01:49.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:01:49.373Z] Configure a credential helper to remove this warning. See [2023-04-13T02:01:49.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:01:49.373Z] [2023-04-13T02:01:49.373Z] Login Succeeded [2023-04-13T02:01:49.373Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T02:01:49.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T02:01:50.050Z] + git rev-list -1 --merges 60aae21d6e0e4b000ee9a0ef5c72878c772e2933~1..60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo [2023-04-13T02:01:50.113Z] -----------> git rev-list -1 --merges 60aae21d6e0e4b000ee9a0ef5c72878c772e2933~1..60aae21d6e0e4b000ee9a0ef5c72878c772e2933 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [false] [Pipeline] sh [2023-04-13T02:01:50.429Z] + git log --format=format:%s -1 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo [2023-04-13T02:01:50.461Z] ========================================================= [2023-04-13T02:01:50.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T02:01:50.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T02:01:50.893Z] + git log --format=format:%s -1 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo [2023-04-13T02:01:50.925Z] [semverPrep] GIT_COMMIT: 60aae21d6e0e4b000ee9a0ef5c72878c772e2933, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-13T02:01:50.954Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T02:01:51.347Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T02:01:51.348Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T02:01:51.348Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T02:01:51.348Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T02:01:51.348Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T02:01:51.348Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T02:01:51.348Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:01:51.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:01:51.843Z] [2023-04-13T02:01:51.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:01:52.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:01:52.225Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T02:01:52.225Z] b85a868b505f: Pulling fs layer [2023-04-13T02:01:52.225Z] e2be974225ed: Pulling fs layer [2023-04-13T02:01:52.225Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T02:01:52.225Z] 988bab9f4d93: Pulling fs layer [2023-04-13T02:01:52.225Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T02:01:52.225Z] eaf3925da568: Pulling fs layer [2023-04-13T02:01:52.225Z] bab4dde63d76: Pulling fs layer [2023-04-13T02:01:52.225Z] bde34c3a00c8: Pulling fs layer [2023-04-13T02:01:52.225Z] b352a97aabf1: Pulling fs layer [2023-04-13T02:01:52.225Z] 4872d77fe225: Pulling fs layer [2023-04-13T02:01:52.225Z] 5851b861e8e6: Pulling fs layer [2023-04-13T02:01:52.225Z] 988bab9f4d93: Waiting [2023-04-13T02:01:52.225Z] 1469e6f7b9e6: Waiting [2023-04-13T02:01:52.225Z] b352a97aabf1: Waiting [2023-04-13T02:01:52.225Z] eaf3925da568: Waiting [2023-04-13T02:01:52.225Z] 4872d77fe225: Waiting [2023-04-13T02:01:52.225Z] bab4dde63d76: Waiting [2023-04-13T02:01:52.225Z] bde34c3a00c8: Waiting [2023-04-13T02:01:52.225Z] 5851b861e8e6: Waiting [2023-04-13T02:01:52.225Z] e2be974225ed: Download complete [2023-04-13T02:01:52.225Z] 988bab9f4d93: Download complete [2023-04-13T02:01:52.225Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T02:01:52.225Z] 1469e6f7b9e6: Download complete [2023-04-13T02:01:52.225Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T02:01:52.225Z] 339a4e72a1f5: Download complete [2023-04-13T02:01:52.225Z] eaf3925da568: Download complete [2023-04-13T02:01:52.485Z] bde34c3a00c8: Download complete [2023-04-13T02:01:52.485Z] b352a97aabf1: Verifying Checksum [2023-04-13T02:01:52.485Z] b352a97aabf1: Download complete [2023-04-13T02:01:52.485Z] 4872d77fe225: Verifying Checksum [2023-04-13T02:01:52.485Z] 4872d77fe225: Download complete [2023-04-13T02:01:52.485Z] 5851b861e8e6: Verifying Checksum [2023-04-13T02:01:52.485Z] 5851b861e8e6: Download complete [2023-04-13T02:01:52.485Z] b85a868b505f: Download complete [2023-04-13T02:01:52.749Z] bab4dde63d76: Verifying Checksum [2023-04-13T02:01:52.749Z] bab4dde63d76: Download complete [2023-04-13T02:01:53.686Z] b85a868b505f: Pull complete [2023-04-13T02:01:53.686Z] e2be974225ed: Pull complete [2023-04-13T02:01:54.255Z] 339a4e72a1f5: Pull complete [2023-04-13T02:01:54.255Z] 988bab9f4d93: Pull complete [2023-04-13T02:01:54.513Z] 1469e6f7b9e6: Pull complete [2023-04-13T02:01:54.513Z] eaf3925da568: Pull complete [2023-04-13T02:01:56.415Z] bab4dde63d76: Pull complete [2023-04-13T02:01:56.415Z] bde34c3a00c8: Pull complete [2023-04-13T02:01:56.675Z] b352a97aabf1: Pull complete [2023-04-13T02:01:56.675Z] 4872d77fe225: Pull complete [2023-04-13T02:01:56.675Z] 5851b861e8e6: Pull complete [2023-04-13T02:01:56.675Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T02:01:56.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:01:56.675Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:01:56.967Z] prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container [2023-04-13T02:01:57.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T02:01:58.367Z] $ docker top f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 -eo pid,comm [2023-04-13T02:01:58.420Z] 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-04-13T02:01:58.420Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T02:01:58.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T02:01:58.569Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T02:01:58.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T02:01:58.698Z] $ docker exec f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent [2023-04-13T02:01:58.819Z] SSH_AUTH_SOCK=/tmp/ssh-UNXyxp4rFcgf/agent.32 [2023-04-13T02:01:58.819Z] SSH_AGENT_PID=38 [2023-04-13T02:01:58.825Z] Running ssh-add (command line suppressed) [2023-04-13T02:01:58.952Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_8574386866847627317.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_8574386866847627317.key) [2023-04-13T02:01:58.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T02:01:59.296Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T02:01:59.323Z] $ docker exec --env ******** --env ******** f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent -k [2023-04-13T02:01:59.428Z] unset SSH_AUTH_SOCK; [2023-04-13T02:01:59.428Z] unset SSH_AGENT_PID; [2023-04-13T02:01:59.429Z] echo Agent pid 38 killed; [2023-04-13T02:01:59.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T02:01:59.536Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T02:01:59.536Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T02:01:59.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T02:01:59.654Z] $ docker exec f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent [2023-04-13T02:01:59.765Z] SSH_AUTH_SOCK=/tmp/ssh-BGQTdZ262VeL/agent.72 [2023-04-13T02:01:59.765Z] SSH_AGENT_PID=78 [2023-04-13T02:01:59.770Z] Running ssh-add (command line suppressed) [2023-04-13T02:01:59.881Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_7416166301422869285.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_7416166301422869285.key) [2023-04-13T02:01:59.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T02:02:00.225Z] + git semver init [2023-04-13T02:02:00.487Z] 2023-04-13 02:02:00,408 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T02:02:00.487Z] 2023-04-13 02:02:00,409 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver [2023-04-13T02:02:00.487Z] 2023-04-13 02:02:00,409 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver [2023-04-13T02:02:00.487Z] 2023-04-13 02:02:00,410 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560, universal_newlines=False, shell=None, istream=None) [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,175 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.git/info/exclude [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 with force:False [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,176 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,180 [execute] INFO git cat-file --batch-check [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,187 [execute] INFO git cat-file --batch [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T02:02:01.429Z] 2023-04-13 02:02:01,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 [2023-04-13T02:02:01.429Z] 0.0.0 [Pipeline] } [2023-04-13T02:02:01.462Z] $ docker exec --env ******** --env ******** f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent -k [2023-04-13T02:02:01.560Z] unset SSH_AUTH_SOCK; [2023-04-13T02:02:01.560Z] unset SSH_AGENT_PID; [2023-04-13T02:02:01.560Z] echo Agent pid 78 killed; [2023-04-13T02:02:01.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T02:02:01.990Z] + git semver [Pipeline] } [2023-04-13T02:02:02.274Z] $ docker stop --time=1 f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 [2023-04-13T02:02:03.609Z] $ docker rm -f --volumes f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T02:02:04.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T02:02:04.265Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T02:02:04.290Z] [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-04-13T02:02:04.857Z] provisioning config files... [2023-04-13T02:02:04.865Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config17088305476014499141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:02:05.297Z] ---> docker-login.sh [2023-04-13T02:02:05.297Z] nexus3.edgexfoundry.org:10001 [2023-04-13T02:02:05.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:02:05.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:02:05.297Z] Configure a credential helper to remove this warning. See [2023-04-13T02:02:05.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:02:05.297Z] [2023-04-13T02:02:05.297Z] Login Succeeded [2023-04-13T02:02:05.297Z] nexus3.edgexfoundry.org:10002 [2023-04-13T02:02:05.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:02:05.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:02:05.297Z] Configure a credential helper to remove this warning. See [2023-04-13T02:02:05.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:02:05.297Z] [2023-04-13T02:02:05.297Z] Login Succeeded [2023-04-13T02:02:05.297Z] nexus3.edgexfoundry.org:10003 [2023-04-13T02:02:05.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:02:05.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:02:05.559Z] Configure a credential helper to remove this warning. See [2023-04-13T02:02:05.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:02:05.559Z] [2023-04-13T02:02:05.559Z] Login Succeeded [2023-04-13T02:02:05.559Z] nexus3.edgexfoundry.org:10004 [2023-04-13T02:02:05.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:02:05.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:02:05.559Z] Configure a credential helper to remove this warning. See [2023-04-13T02:02:05.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:02:05.559Z] [2023-04-13T02:02:05.559Z] Login Succeeded [2023-04-13T02:02:05.559Z] docker.io [2023-04-13T02:02:05.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:02:05.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:02:05.819Z] Configure a credential helper to remove this warning. See [2023-04-13T02:02:05.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:02:05.819Z] [2023-04-13T02:02:05.819Z] Login Succeeded [2023-04-13T02:02:05.819Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T02:02:05.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T02:02:06.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:02:06.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:02:06.110Z] ========================================================= [2023-04-13T02:02:06.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T02:02:06.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:02:06.657Z] + 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-04-13T02:02:06.657Z] Sending build context to Docker daemon 6.415MB [2023-04-13T02:02:06.657Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T02:02:06.657Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T02:02:06.657Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T02:02:06.657Z] 63b65145d645: Pulling fs layer [2023-04-13T02:02:06.657Z] a2d21d5440eb: Pulling fs layer [2023-04-13T02:02:06.657Z] 935e6c44a52c: Pulling fs layer [2023-04-13T02:02:06.657Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T02:02:06.657Z] 30dea6a524f1: Pulling fs layer [2023-04-13T02:02:06.657Z] a2aff8979fd8: Pulling fs layer [2023-04-13T02:02:06.657Z] 6808be2612f2: Pulling fs layer [2023-04-13T02:02:06.657Z] f25807f1079a: Pulling fs layer [2023-04-13T02:02:06.657Z] 94cc34f8dd06: Waiting [2023-04-13T02:02:06.657Z] 30dea6a524f1: Waiting [2023-04-13T02:02:06.657Z] a2aff8979fd8: Waiting [2023-04-13T02:02:06.657Z] f25807f1079a: Waiting [2023-04-13T02:02:06.657Z] 6808be2612f2: Waiting [2023-04-13T02:02:06.657Z] a2d21d5440eb: Download complete [2023-04-13T02:02:06.657Z] 94cc34f8dd06: Verifying Checksum [2023-04-13T02:02:06.657Z] 94cc34f8dd06: Download complete [2023-04-13T02:02:06.918Z] 63b65145d645: Verifying Checksum [2023-04-13T02:02:06.918Z] 63b65145d645: Download complete [2023-04-13T02:02:06.918Z] 30dea6a524f1: Verifying Checksum [2023-04-13T02:02:06.918Z] 30dea6a524f1: Download complete [2023-04-13T02:02:06.918Z] a2aff8979fd8: Verifying Checksum [2023-04-13T02:02:06.918Z] a2aff8979fd8: Download complete [2023-04-13T02:02:06.918Z] 63b65145d645: Pull complete [2023-04-13T02:02:07.178Z] a2d21d5440eb: Pull complete [2023-04-13T02:02:07.178Z] f25807f1079a: Verifying Checksum [2023-04-13T02:02:07.178Z] f25807f1079a: Download complete [2023-04-13T02:02:07.436Z] 935e6c44a52c: Verifying Checksum [2023-04-13T02:02:07.436Z] 935e6c44a52c: Download complete [2023-04-13T02:02:07.436Z] 6808be2612f2: Verifying Checksum [2023-04-13T02:02:07.436Z] 6808be2612f2: Download complete [2023-04-13T02:02:10.725Z] 935e6c44a52c: Pull complete [2023-04-13T02:02:10.984Z] 94cc34f8dd06: Pull complete [2023-04-13T02:02:10.984Z] 30dea6a524f1: Pull complete [2023-04-13T02:02:10.984Z] a2aff8979fd8: Pull complete [2023-04-13T02:02:13.519Z] 6808be2612f2: Pull complete [2023-04-13T02:02:14.453Z] f25807f1079a: Pull complete [2023-04-13T02:02:14.453Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T02:02:14.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T02:02:14.453Z] ---> 3b553350e43f [2023-04-13T02:02:14.453Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T02:02:15.831Z] ---> Running in c6db6ee3e558 [2023-04-13T02:02:16.091Z] Removing intermediate container c6db6ee3e558 [2023-04-13T02:02:16.091Z] ---> c967a6d4f186 [2023-04-13T02:02:16.091Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T02:02:16.091Z] ---> Running in f994b3617f9e [2023-04-13T02:02:16.092Z] Removing intermediate container f994b3617f9e [2023-04-13T02:02:16.092Z] ---> daf3845057e5 [2023-04-13T02:02:16.092Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T02:02:16.092Z] ---> Running in 9d5a9993a473 [2023-04-13T02:02:16.354Z] Removing intermediate container 9d5a9993a473 [2023-04-13T02:02:16.354Z] ---> afee3f7312ef [2023-04-13T02:02:16.354Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T02:02:16.354Z] ---> Running in 6801cfbd29c3 [2023-04-13T02:02:16.354Z] Removing intermediate container 6801cfbd29c3 [2023-04-13T02:02:16.354Z] ---> 1b5809d70358 [2023-04-13T02:02:16.354Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T02:02:16.613Z] ---> Running in d485ce19e81f [2023-04-13T02:02:16.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T02:02:16.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T02:02:17.439Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T02:02:17.439Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T02:02:17.439Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T02:02:17.439Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T02:02:17.439Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T02:02:17.439Z] OK: 269 MiB in 57 packages [2023-04-13T02:02:17.697Z] Removing intermediate container d485ce19e81f [2023-04-13T02:02:17.697Z] ---> 2cae2fc45811 [2023-04-13T02:02:17.697Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-13T02:02:17.697Z] ---> Running in 62b3fbfc6218 [2023-04-13T02:02:17.956Z] Removing intermediate container 62b3fbfc6218 [2023-04-13T02:02:17.956Z] ---> cb0cb8bd5acc [2023-04-13T02:02:17.956Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T02:02:17.956Z] ---> 026f04e3a0cf [2023-04-13T02:02:17.956Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T02:02:17.956Z] ---> Running in 58e967bb650a [2023-04-13T02:02:19.680Z] Still waiting to schedule task [2023-04-13T02:02:19.682Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7626’ [2023-04-13T02:02:50.046Z] Removing intermediate container 58e967bb650a [2023-04-13T02:02:50.046Z] ---> 773a6ea01343 [2023-04-13T02:02:50.046Z] Step 11/12 : COPY . . [2023-04-13T02:02:50.046Z] ---> 4f23b4553d29 [2023-04-13T02:02:50.046Z] Step 12/12 : RUN $MAKE [2023-04-13T02:02:50.046Z] ---> Running in afa7565964f9 [2023-04-13T02:02:50.046Z] noop [2023-04-13T02:02:50.046Z] Removing intermediate container afa7565964f9 [2023-04-13T02:02:50.046Z] ---> ee2ed3d0884e [2023-04-13T02:02:50.046Z] Successfully built ee2ed3d0884e [2023-04-13T02:02:50.046Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:02:50.487Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T02:02:50.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:02:50.637Z] prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container [2023-04-13T02:02:50.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T02:02:51.047Z] $ docker top d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:02:51.457Z] + go version [2023-04-13T02:02:51.457Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T02:02:51.493Z] $ docker stop --time=1 d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 [2023-04-13T02:02:52.801Z] $ docker rm -f --volumes d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:02:53.549Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T02:02:53.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:02:53.702Z] prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container [2023-04-13T02:02:53.731Z] $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T02:02:54.106Z] $ docker top b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:02:54.503Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] fileExists [Pipeline] sh [2023-04-13T02:02:54.864Z] + make test [2023-04-13T02:02:54.864Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T02:03:00.129Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-13T02:03:10.094Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-04-13T02:03:10.094Z] internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) [2023-04-13T02:03:10.094Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-13T02:03:10.094Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-04-13T02:03:10.094Z] FAIL [2023-04-13T02:03:10.094Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-13T02:03:10.149Z] $ docker stop --time=1 b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 [2023-04-13T02:03:12.051Z] $ docker rm -f --volumes b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 [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-04-13T02:03:13.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:03:13.201Z] [2023-04-13T02:03:13.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:03:13.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:03:13.592Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T02:03:13.592Z] 5eb5b503b376: Pulling fs layer [2023-04-13T02:03:13.592Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T02:03:13.592Z] ec43610c2a17: Pulling fs layer [2023-04-13T02:03:13.592Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T02:03:13.592Z] 33b1e0a273af: Pulling fs layer [2023-04-13T02:03:13.592Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T02:03:13.592Z] 2f39f015ded8: Pulling fs layer [2023-04-13T02:03:13.592Z] 3a2ae6a8a46f: Waiting [2023-04-13T02:03:13.592Z] 33b1e0a273af: Waiting [2023-04-13T02:03:13.592Z] 5d3b04190fa2: Waiting [2023-04-13T02:03:13.592Z] 2f39f015ded8: Waiting [2023-04-13T02:03:13.592Z] 5c69ac0246d0: Download complete [2023-04-13T02:03:13.592Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T02:03:13.592Z] 3a2ae6a8a46f: Download complete [2023-04-13T02:03:13.592Z] ec43610c2a17: Verifying Checksum [2023-04-13T02:03:13.592Z] ec43610c2a17: Download complete [2023-04-13T02:03:13.852Z] 33b1e0a273af: Verifying Checksum [2023-04-13T02:03:13.852Z] 33b1e0a273af: Download complete [2023-04-13T02:03:13.852Z] 5d3b04190fa2: Download complete [2023-04-13T02:03:13.852Z] 5eb5b503b376: Verifying Checksum [2023-04-13T02:03:13.852Z] 5eb5b503b376: Download complete [2023-04-13T02:03:14.448Z] 2f39f015ded8: Download complete [2023-04-13T02:03:15.061Z] 5eb5b503b376: Pull complete [2023-04-13T02:03:15.061Z] 5c69ac0246d0: Pull complete [2023-04-13T02:03:15.661Z] ec43610c2a17: Pull complete [2023-04-13T02:03:15.661Z] 3a2ae6a8a46f: Pull complete [2023-04-13T02:03:15.661Z] 33b1e0a273af: Pull complete [2023-04-13T02:03:15.936Z] 5d3b04190fa2: Pull complete [2023-04-13T02:03:20.121Z] 2f39f015ded8: Pull complete [2023-04-13T02:03:20.121Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T02:03:20.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:03:20.121Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:03:20.356Z] prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container [2023-04-13T02:03:20.391Z] $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T02:03:22.252Z] $ docker top 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:03:22.720Z] ---> job-cost.sh [2023-04-13T02:03:22.720Z] lf-activate-venv: SKIPPING [2023-04-13T02:03:22.720Z] INFO: No Stack... [2023-04-13T02:03:22.979Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T02:03:23.239Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T02:03:23.555Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/cost.csv [2023-04-13T02:03:23.555Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T02:03:23.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [2023-04-13T02:03:23.602Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] did not exist. Created. [2023-04-13T02:03:23.602Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T02:03:24.003Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T02:03:24.060Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T02:03:24.080Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T02:03:24.161Z] $ docker stop --time=1 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 [2023-04-13T02:03:25.327Z] $ docker rm -f --volumes 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T02:03:25.687Z] Failed in branch amd64 [2023-04-13T02:06:06.761Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7629 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] { [Pipeline] ws [2023-04-13T02:06:06.835Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-13T02:06:06.926Z] Selected Git installation does not exist. Using Default [2023-04-13T02:06:06.926Z] The recommended git tool is: NONE [2023-04-13T02:06:16.402Z] using credential edgex-jenkins-ssh [2023-04-13T02:06:16.457Z] Cloning the remote Git repository [2023-04-13T02:06:16.527Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T02:06:16.700Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-13T02:06:17.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T02:06:17.016Z] > git --version # timeout=10 [2023-04-13T02:06:17.150Z] > git --version # 'git version 2.25.1' [2023-04-13T02:06:17.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T02:06:17.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T02:06:18.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-13T02:06:18.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T02:06:19.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-13T02:06:20.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T02:06:20.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T02:06:20.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-13T02:06:20.643Z] Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [2023-04-13T02:06:21.083Z] Merge succeeded, producing 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [2023-04-13T02:06:21.084Z] Checking out Revision 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 (PR-560) [2023-04-13T02:06:21.703Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-13T02:06:21.757Z] > git --version # timeout=10 [2023-04-13T02:06:21.771Z] > git --version # 'git version 2.25.1' [2023-04-13T02:06:21.796Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T02:06:20.671Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T02:06:20.787Z] > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [2023-04-13T02:06:20.902Z] > git remote # timeout=10 [2023-04-13T02:06:20.938Z] > git config --get remote.origin.url # timeout=10 [2023-04-13T02:06:20.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T02:06:21.002Z] > git merge bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 [2023-04-13T02:06:21.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-13T02:06:21.096Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T02:06:21.150Z] > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T02:06:22.899Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T02:06:22.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T02:06:22.899Z] Dload Upload Total Spent Left Speed [2023-04-13T02:06:22.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-04-13T02:06:23.500Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T02:06:23.847Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T02:06:23.847Z] + sudo tee /etc/docker/daemon.new [2023-04-13T02:06:23.847Z] { [2023-04-13T02:06:23.847Z] "registry-mirrors": [ [2023-04-13T02:06:23.847Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T02:06:23.847Z] ], [2023-04-13T02:06:23.847Z] "bip": "10.250.0.254/24", [2023-04-13T02:06:23.847Z] "hosts": [ [2023-04-13T02:06:23.847Z] "tcp://0.0.0.0:5555", [2023-04-13T02:06:23.847Z] "unix:///var/run/docker.sock" [2023-04-13T02:06:23.847Z] ], [2023-04-13T02:06:23.847Z] "mtu": 1458, [2023-04-13T02:06:23.847Z] "selinux-enabled": true, [2023-04-13T02:06:23.847Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T02:06:23.847Z] } [Pipeline] sh [2023-04-13T02:06:24.198Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T02:06:24.542Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T02:06:42.866Z] provisioning config files... [2023-04-13T02:06:42.894Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config14245206150977389735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:06:43.284Z] ---> docker-login.sh [2023-04-13T02:06:43.284Z] nexus3.edgexfoundry.org:10001 [2023-04-13T02:06:43.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:06:44.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:06:44.146Z] Configure a credential helper to remove this warning. See [2023-04-13T02:06:44.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:06:44.146Z] [2023-04-13T02:06:44.146Z] Login Succeeded [2023-04-13T02:06:44.146Z] nexus3.edgexfoundry.org:10002 [2023-04-13T02:06:44.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:06:44.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:06:44.418Z] Configure a credential helper to remove this warning. See [2023-04-13T02:06:44.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:06:44.418Z] [2023-04-13T02:06:44.418Z] Login Succeeded [2023-04-13T02:06:44.418Z] nexus3.edgexfoundry.org:10003 [2023-04-13T02:06:44.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:06:44.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:06:44.689Z] Configure a credential helper to remove this warning. See [2023-04-13T02:06:44.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:06:44.689Z] [2023-04-13T02:06:44.689Z] Login Succeeded [2023-04-13T02:06:44.689Z] nexus3.edgexfoundry.org:10004 [2023-04-13T02:06:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:06:44.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:06:44.962Z] Configure a credential helper to remove this warning. See [2023-04-13T02:06:44.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:06:44.962Z] [2023-04-13T02:06:44.962Z] Login Succeeded [2023-04-13T02:06:44.962Z] docker.io [2023-04-13T02:06:45.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:06:45.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:06:45.498Z] Configure a credential helper to remove this warning. See [2023-04-13T02:06:45.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:06:45.498Z] [2023-04-13T02:06:45.498Z] Login Succeeded [2023-04-13T02:06:45.498Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T02:06:45.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T02:06:45.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:06:45.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:06:45.953Z] ========================================================= [2023-04-13T02:06:45.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T02:06:45.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:06:46.459Z] + 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-04-13T02:06:46.724Z] Sending build context to Docker daemon 3.328MB [2023-04-13T02:06:46.724Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T02:06:46.724Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T02:06:46.992Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T02:06:46.992Z] af6eaf76a39c: Pulling fs layer [2023-04-13T02:06:46.992Z] 55522c791124: Pulling fs layer [2023-04-13T02:06:46.992Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T02:06:46.992Z] 169dfbe0d373: Pulling fs layer [2023-04-13T02:06:46.992Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T02:06:46.992Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T02:06:46.992Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T02:06:46.992Z] 52ebb69f0ebf: Waiting [2023-04-13T02:06:46.992Z] 169dfbe0d373: Waiting [2023-04-13T02:06:46.992Z] e1ff8fa3b103: Waiting [2023-04-13T02:06:46.992Z] 5abe8eddf0d5: Waiting [2023-04-13T02:06:46.992Z] 55522c791124: Verifying Checksum [2023-04-13T02:06:46.992Z] 55522c791124: Download complete [2023-04-13T02:06:46.992Z] 169dfbe0d373: Verifying Checksum [2023-04-13T02:06:46.992Z] 169dfbe0d373: Download complete [2023-04-13T02:06:46.992Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T02:06:46.992Z] e1ff8fa3b103: Download complete [2023-04-13T02:06:46.992Z] af6eaf76a39c: Verifying Checksum [2023-04-13T02:06:46.992Z] af6eaf76a39c: Download complete [2023-04-13T02:06:47.967Z] af6eaf76a39c: Pull complete [2023-04-13T02:06:47.967Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T02:06:47.967Z] 5abe8eddf0d5: Download complete [2023-04-13T02:06:48.553Z] 55522c791124: Pull complete [2023-04-13T02:06:49.524Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T02:06:49.524Z] ce5c4a1c91eb: Download complete [2023-04-13T02:07:02.030Z] ce5c4a1c91eb: Pull complete [2023-04-13T02:07:02.030Z] 169dfbe0d373: Pull complete [2023-04-13T02:07:02.030Z] e1ff8fa3b103: Pull complete [2023-04-13T02:07:07.410Z] 52ebb69f0ebf: Pull complete [2023-04-13T02:07:08.373Z] 5abe8eddf0d5: Pull complete [2023-04-13T02:07:08.373Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T02:07:08.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T02:07:08.373Z] ---> 6cb57ee374ae [2023-04-13T02:07:08.373Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T02:07:10.321Z] ---> Running in 6b3b29dcd309 [2023-04-13T02:07:10.596Z] Removing intermediate container 6b3b29dcd309 [2023-04-13T02:07:10.596Z] ---> 33fe9f480f7b [2023-04-13T02:07:10.596Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T02:07:10.596Z] ---> Running in b9e5523ba1ac [2023-04-13T02:07:10.865Z] Removing intermediate container b9e5523ba1ac [2023-04-13T02:07:10.865Z] ---> f900e1a19e9e [2023-04-13T02:07:10.865Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T02:07:10.865Z] ---> Running in 6f17ce626ec0 [2023-04-13T02:07:11.136Z] Removing intermediate container 6f17ce626ec0 [2023-04-13T02:07:11.137Z] ---> b11cb09f48e3 [2023-04-13T02:07:11.137Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T02:07:11.404Z] ---> Running in 885e3f740d05 [2023-04-13T02:07:11.671Z] Removing intermediate container 885e3f740d05 [2023-04-13T02:07:11.671Z] ---> aa09ab1e3bad [2023-04-13T02:07:11.671Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T02:07:11.671Z] ---> Running in 25911ad18c0b [2023-04-13T02:07:12.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T02:07:13.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T02:07:14.172Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T02:07:14.172Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T02:07:14.172Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T02:07:14.172Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T02:07:14.441Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T02:07:14.441Z] OK: 268 MiB in 57 packages [2023-04-13T02:07:15.404Z] Removing intermediate container 25911ad18c0b [2023-04-13T02:07:15.404Z] ---> 46529240c854 [2023-04-13T02:07:15.404Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-13T02:07:15.404Z] ---> Running in ccfb5addec15 [2023-04-13T02:07:15.685Z] Removing intermediate container ccfb5addec15 [2023-04-13T02:07:15.685Z] ---> 4a6f0343c6e0 [2023-04-13T02:07:15.685Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T02:07:15.966Z] ---> 85c97f17eedf [2023-04-13T02:07:15.966Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T02:07:16.238Z] ---> Running in e2f0ae627656 [2023-04-13T02:08:24.085Z] Removing intermediate container e2f0ae627656 [2023-04-13T02:08:24.085Z] ---> 3814a5d89f3d [2023-04-13T02:08:24.085Z] Step 11/12 : COPY . . [2023-04-13T02:08:24.085Z] ---> a15ef0b6411c [2023-04-13T02:08:24.085Z] Step 12/12 : RUN $MAKE [2023-04-13T02:08:24.085Z] ---> Running in e81a6ecd46bc [2023-04-13T02:08:24.085Z] noop [2023-04-13T02:08:24.085Z] Removing intermediate container e81a6ecd46bc [2023-04-13T02:08:24.085Z] ---> 4df0c6fa7fe0 [2023-04-13T02:08:24.085Z] Successfully built 4df0c6fa7fe0 [2023-04-13T02:08:24.085Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:08:24.731Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T02:08:24.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:08:25.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container [2023-04-13T02:08:25.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T02:08:26.351Z] $ docker top 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:08:27.232Z] + go version [2023-04-13T02:08:27.232Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T02:08:27.272Z] $ docker stop --time=1 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 [2023-04-13T02:08:28.904Z] $ docker rm -f --volumes 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:08:30.007Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T02:08:30.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:08:30.451Z] prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container [2023-04-13T02:08:30.536Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T02:08:34.424Z] $ docker top 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:08:34.955Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-13T02:08:35.369Z] + make test [2023-04-13T02:08:35.636Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T02:09:14.589Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-13T02:10:51.265Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-04-13T02:10:51.265Z] internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) [2023-04-13T02:11:09.509Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-13T02:11:09.509Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-04-13T02:11:09.509Z] FAIL [2023-04-13T02:11:09.509Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-13T02:11:09.566Z] $ docker stop --time=1 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 [2023-04-13T02:11:11.507Z] $ docker rm -f --volumes 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 [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-04-13T02:11:13.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T02:11:13.420Z] [2023-04-13T02:11:13.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:11:13.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T02:11:13.825Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T02:11:13.825Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T02:11:13.825Z] 04944245beec: Pulling fs layer [2023-04-13T02:11:13.825Z] 699f458cf7ca: Pulling fs layer [2023-04-13T02:11:13.825Z] 765212b225bb: Pulling fs layer [2023-04-13T02:11:13.825Z] f23df028b6ca: Pulling fs layer [2023-04-13T02:11:13.825Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T02:11:13.825Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T02:11:13.825Z] 765212b225bb: Waiting [2023-04-13T02:11:13.825Z] f23df028b6ca: Waiting [2023-04-13T02:11:13.825Z] d65c8cfc05b1: Waiting [2023-04-13T02:11:13.825Z] 2437ff75d9bd: Waiting [2023-04-13T02:11:14.093Z] 04944245beec: Verifying Checksum [2023-04-13T02:11:14.093Z] 04944245beec: Download complete [2023-04-13T02:11:14.093Z] 765212b225bb: Download complete [2023-04-13T02:11:14.608Z] f23df028b6ca: Verifying Checksum [2023-04-13T02:11:14.608Z] f23df028b6ca: Download complete [2023-04-13T02:11:14.608Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T02:11:14.608Z] d65c8cfc05b1: Download complete [2023-04-13T02:11:14.884Z] 699f458cf7ca: Verifying Checksum [2023-04-13T02:11:14.884Z] 699f458cf7ca: Download complete [2023-04-13T02:11:15.158Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T02:11:15.158Z] 8998bd30e6a1: Download complete [2023-04-13T02:11:18.001Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T02:11:18.001Z] 2437ff75d9bd: Download complete [2023-04-13T02:11:18.958Z] 8998bd30e6a1: Pull complete [2023-04-13T02:11:19.545Z] 04944245beec: Pull complete [2023-04-13T02:11:20.509Z] 699f458cf7ca: Pull complete [2023-04-13T02:11:20.776Z] 765212b225bb: Pull complete [2023-04-13T02:11:21.737Z] f23df028b6ca: Pull complete [2023-04-13T02:11:21.737Z] d65c8cfc05b1: Pull complete [2023-04-13T02:11:34.045Z] 2437ff75d9bd: Pull complete [2023-04-13T02:11:34.045Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T02:11:34.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T02:11:34.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:11:34.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container [2023-04-13T02:11:34.533Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-13T02:11:37.466Z] $ docker top ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:38.408Z] ---> job-cost.sh [2023-04-13T02:11:38.409Z] lf-activate-venv: SKIPPING [2023-04-13T02:11:38.409Z] INFO: No Stack... [2023-04-13T02:11:38.678Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T02:11:39.648Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T02:11:40.333Z] + cat+ /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-04-13T02:11:40.333Z] cut -d, -f6 [Pipeline] lock [2023-04-13T02:11:40.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [2023-04-13T02:11:40.447Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] did not exist. Created. [2023-04-13T02:11:40.447Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T02:11:41.210Z] /w/workspace/device-mqtt-go/1@tmp/durable-5dd935bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T02:11:41.902Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T02:11:41.939Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T02:11:42.657Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T02:11:42.677Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T02:11:42.763Z] $ docker stop --time=1 ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded [2023-04-13T02:11:44.382Z] $ docker rm -f --volumes ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T02:11:45.140Z] 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-04-13T02:11:47.476Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives ] [2023-04-13T02:11:47.476Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T02:11:47.476Z] total 16 [2023-04-13T02:11:47.476Z] drwxr-xr-x 3 root root 4096 Apr 13 02:03 . [2023-04-13T02:11:47.476Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:03 .. [2023-04-13T02:11:47.476Z] drwxr-xr-x 2 root root 4096 Apr 13 02:03 cost [2023-04-13T02:11:47.476Z] -rw-r--r-- 1 root root 86 Apr 13 02:03 cost.csv [2023-04-13T02:11:47.476Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T02:11:47.476Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T02:11:47.476Z] total 16 [2023-04-13T02:11:47.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:03 . [2023-04-13T02:11:47.476Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:03 .. [2023-04-13T02:11:47.476Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 02:03 cost [2023-04-13T02:11:47.476Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 13 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:47.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:48.704Z] ---> package-listing.sh [2023-04-13T02:11:48.704Z] ++ facter osfamily [2023-04-13T02:11:48.704Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T02:11:48.967Z] + OS_FAMILY=debian [2023-04-13T02:11:48.967Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-560 [2023-04-13T02:11:48.967Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T02:11:48.967Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T02:11:48.967Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T02:11:48.967Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T02:11:48.967Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' [2023-04-13T02:11:48.967Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T02:11:48.967Z] + case "${OS_FAMILY}" in [2023-04-13T02:11:48.967Z] + dpkg -l [2023-04-13T02:11:48.967Z] + grep '^ii' [2023-04-13T02:11:48.967Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T02:11:48.967Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T02:11:48.967Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T02:11:48.968Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' [2023-04-13T02:11:48.968Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ [2023-04-13T02:11:48.968Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ [Pipeline] echo [2023-04-13T02:11:49.006Z] 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-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-13T02:11:49.303Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:11:49.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:11:49.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:11:50.098Z] prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container [2023-04-13T02:11:50.133Z] $ 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-560/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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T02:11:51.064Z] $ docker top 4804c912b0b9174d05a3df7e1cebb5e21323db800a245df9503d9b089b06aec8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:11:51.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T02:11:51.781Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T02:11:52.093Z] + ls /var/log/sa-host [2023-04-13T02:11:52.093Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T02:11:52.333Z] provisioning config files... [2023-04-13T02:11:52.343Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config14812907215522971066tmp [Pipeline] { [Pipeline] echo [2023-04-13T02:11:52.400Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:52.710Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T02:11:52.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:53.148Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T02:11:53.180Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:53.491Z] ---> sudo-logs.sh [2023-04-13T02:11:53.491Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T02:11:53.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:53.894Z] ---> job-cost.sh [2023-04-13T02:11:53.894Z] lf-activate-venv: SKIPPING [2023-04-13T02:11:53.894Z] DEBUG: total: 0.2199999988079071 [2023-04-13T02:11:53.894Z] INFO: Retrieving Stack Cost... [2023-04-13T02:11:54.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T02:11:54.719Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T02:11:54.755Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:11:55.069Z] ---> logs-deploy.sh [2023-04-13T02:11:55.069Z] lf-activate-venv: SKIPPING [2023-04-13T02:11:55.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-560/1 [2023-04-13T02:11:55.069Z] INFO: archiving workspace using pattern(s): [2023-04-13T02:11:56.000Z] Archives upload complete. [2023-04-13T02:11:56.000Z] INFO: archiving logs to Nexus