Pull request #1237 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad0c4c5557f655a7a9c3f67a023ac0379b903dcb+09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (a5b831480d9bf073f28b1f41c5e215345a502005) 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-ssh17457358829118668592.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15543803316076972968.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-sdk-go/branches/PR-1237/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-sdk-go/branches/PR-1237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5611113598864297845.key Verifying host key using known hosts file > 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-sdk-go/branches/PR-1237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11180129314270343774.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12876104586104989453.key Verifying host key using known hosts file > 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-sdk-go/branches/PR-1237/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-sdk-go/branches/PR-1237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8267124161483839077.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7793 in /w/workspace/gexfoundry_device-sdk-go_PR-1237 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit ad0c4c5557f655a7a9c3f67a023ac0379b903dcb Merge succeeded, producing ad0c4c5557f655a7a9c3f67a023ac0379b903dcb Checking out Revision ad0c4c5557f655a7a9c3f67a023ac0379b903dcb (PR-1237) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1237/head:refs/remotes/origin/PR-1237 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad0c4c5557f655a7a9c3f67a023ac0379b903dcb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad0c4c5557f655a7a9c3f67a023ac0379b903dcb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-13T04:04:27.238Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-13T04:04:27.423Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-13T04:04:27.525Z] ========================================================= [2022-10-13T04:04:27.525Z] EdgeX Global Pipelines Version Info [2022-10-13T04:04:27.525Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:04:28.280Z] ------------------- [2022-10-13T04:04:28.280Z] stable info: [2022-10-13T04:04:28.280Z] ------------------- [2022-10-13T04:04:28.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-13T04:04:28.280Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T04:04:28.280Z] Message: update stable to v1.0.239 [2022-10-13T04:04:28.859Z] ------------------- [2022-10-13T04:04:28.859Z] experimental info: [2022-10-13T04:04:28.859Z] ------------------- [2022-10-13T04:04:28.859Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-13T04:04:28.859Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T04:04:28.859Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-13T04:04:29.163Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-13T04:04:29.204Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-13T04:04:29.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-13T04:04:29.287Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-13T04:04:29.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-13T04:04:29.373Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-13T04:04:29.414Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-13T04:04:29.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-13T04:04:29.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-13T04:04:29.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-13T04:04:29.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-13T04:04:29.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-13T04:04:29.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-13T04:04:29.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-13T04:04:29.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T04:04:29.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:04:29.838Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:04:29.882Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:04:29.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-13T04:04:29.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-13T04:04:30.014Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-13T04:04:30.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-13T04:04:30.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-13T04:04:30.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-13T04:04:30.237Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-13T04:04:30.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-13T04:04:30.326Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-13T04:04:30.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1237 [Pipeline] echo [2022-10-13T04:04:30.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1237 [Pipeline] echo [2022-10-13T04:04:30.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1237 [Pipeline] echo [2022-10-13T04:04:30.499Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [Pipeline] echo [2022-10-13T04:04:30.544Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad0c4c5 [Pipeline] echo [2022-10-13T04:04:30.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T04:04:30.707Z] provisioning config files... [2022-10-13T04:04:30.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/config3668439815610564207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:04:31.095Z] ---> docker-login.sh [2022-10-13T04:04:31.095Z] nexus3.edgexfoundry.org:10001 [2022-10-13T04:04:31.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:31.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:31.619Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:31.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:31.619Z] [2022-10-13T04:04:31.619Z] Login Succeeded [2022-10-13T04:04:31.619Z] nexus3.edgexfoundry.org:10002 [2022-10-13T04:04:31.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:31.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:31.880Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:31.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:31.880Z] [2022-10-13T04:04:31.880Z] Login Succeeded [2022-10-13T04:04:31.880Z] nexus3.edgexfoundry.org:10003 [2022-10-13T04:04:31.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:31.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:31.880Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:31.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:31.880Z] [2022-10-13T04:04:31.880Z] Login Succeeded [2022-10-13T04:04:31.880Z] nexus3.edgexfoundry.org:10004 [2022-10-13T04:04:32.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:32.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:32.140Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:32.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:32.140Z] [2022-10-13T04:04:32.140Z] Login Succeeded [2022-10-13T04:04:32.140Z] docker.io [2022-10-13T04:04:32.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:32.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:32.712Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:32.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:32.712Z] [2022-10-13T04:04:32.712Z] Login Succeeded [2022-10-13T04:04:32.712Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T04:04:32.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-13T04:04:33.372Z] + git rev-list -1 --merges ad0c4c5557f655a7a9c3f67a023ac0379b903dcb~1..ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [Pipeline] echo [2022-10-13T04:04:33.419Z] -----------> git rev-list -1 --merges ad0c4c5557f655a7a9c3f67a023ac0379b903dcb~1..ad0c4c5557f655a7a9c3f67a023ac0379b903dcb ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [false] [Pipeline] sh [2022-10-13T04:04:33.730Z] + git log --format=format:%s -1 ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [Pipeline] echo [2022-10-13T04:04:33.766Z] ========================================================= [2022-10-13T04:04:33.766Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-13T04:04:33.766Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T04:04:34.227Z] + git log --format=format:%s -1 ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [Pipeline] echo [2022-10-13T04:04:34.258Z] [semverPrep] GIT_COMMIT: ad0c4c5557f655a7a9c3f67a023ac0379b903dcb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-13T04:04:34.283Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-13T04:04:34.680Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T04:04:34.680Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-13T04:04:34.680Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-13T04:04:34.680Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-13T04:04:34.680Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-13T04:04:34.680Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-13T04:04:34.680Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:04:35.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:04:35.164Z] [2022-10-13T04:04:35.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:04:35.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:04:35.533Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-13T04:04:35.533Z] b85a868b505f: Pulling fs layer [2022-10-13T04:04:35.533Z] e2be974225ed: Pulling fs layer [2022-10-13T04:04:35.533Z] 339a4e72a1f5: Pulling fs layer [2022-10-13T04:04:35.533Z] 988bab9f4d93: Pulling fs layer [2022-10-13T04:04:35.533Z] 1469e6f7b9e6: Pulling fs layer [2022-10-13T04:04:35.533Z] eaf3925da568: Pulling fs layer [2022-10-13T04:04:35.533Z] bab4dde63d76: Pulling fs layer [2022-10-13T04:04:35.533Z] 1469e6f7b9e6: Waiting [2022-10-13T04:04:35.533Z] bde34c3a00c8: Pulling fs layer [2022-10-13T04:04:35.533Z] b352a97aabf1: Pulling fs layer [2022-10-13T04:04:35.533Z] 4872d77fe225: Pulling fs layer [2022-10-13T04:04:35.533Z] b352a97aabf1: Waiting [2022-10-13T04:04:35.533Z] bde34c3a00c8: Waiting [2022-10-13T04:04:35.533Z] bab4dde63d76: Waiting [2022-10-13T04:04:35.533Z] 5851b861e8e6: Pulling fs layer [2022-10-13T04:04:35.533Z] 4872d77fe225: Waiting [2022-10-13T04:04:35.533Z] 5851b861e8e6: Waiting [2022-10-13T04:04:35.533Z] e2be974225ed: Verifying Checksum [2022-10-13T04:04:35.533Z] e2be974225ed: Download complete [2022-10-13T04:04:35.533Z] 988bab9f4d93: Download complete [2022-10-13T04:04:35.793Z] 1469e6f7b9e6: Verifying Checksum [2022-10-13T04:04:35.793Z] 1469e6f7b9e6: Download complete [2022-10-13T04:04:35.793Z] eaf3925da568: Verifying Checksum [2022-10-13T04:04:35.793Z] 339a4e72a1f5: Verifying Checksum [2022-10-13T04:04:35.793Z] 339a4e72a1f5: Download complete [2022-10-13T04:04:35.793Z] bde34c3a00c8: Verifying Checksum [2022-10-13T04:04:35.793Z] bde34c3a00c8: Download complete [2022-10-13T04:04:35.793Z] b352a97aabf1: Download complete [2022-10-13T04:04:35.793Z] 4872d77fe225: Download complete [2022-10-13T04:04:35.793Z] 5851b861e8e6: Verifying Checksum [2022-10-13T04:04:35.793Z] 5851b861e8e6: Download complete [2022-10-13T04:04:35.793Z] b85a868b505f: Verifying Checksum [2022-10-13T04:04:35.793Z] b85a868b505f: Download complete [2022-10-13T04:04:36.055Z] bab4dde63d76: Verifying Checksum [2022-10-13T04:04:36.055Z] bab4dde63d76: Download complete [2022-10-13T04:04:37.436Z] b85a868b505f: Pull complete [2022-10-13T04:04:37.436Z] e2be974225ed: Pull complete [2022-10-13T04:04:38.005Z] 339a4e72a1f5: Pull complete [2022-10-13T04:04:38.005Z] 988bab9f4d93: Pull complete [2022-10-13T04:04:38.265Z] 1469e6f7b9e6: Pull complete [2022-10-13T04:04:38.524Z] eaf3925da568: Pull complete [2022-10-13T04:04:40.428Z] bab4dde63d76: Pull complete [2022-10-13T04:04:40.428Z] bde34c3a00c8: Pull complete [2022-10-13T04:04:40.428Z] b352a97aabf1: Pull complete [2022-10-13T04:04:40.428Z] 4872d77fe225: Pull complete [2022-10-13T04:04:40.689Z] 5851b861e8e6: Pull complete [2022-10-13T04:04:40.689Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-13T04:04:40.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:04:40.689Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:04:40.912Z] prd-ubuntu20.04-docker-8c-8g-7793 does not seem to be running inside a container [2022-10-13T04:04:40.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1237 -v /w/workspace/gexfoundry_device-sdk-go_PR-1237:/w/workspace/gexfoundry_device-sdk-go_PR-1237:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T04:04:45.241Z] $ docker top 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 -eo pid,comm [2022-10-13T04:04:45.294Z] 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). [2022-10-13T04:04:45.294Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T04:04:45.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T04:04:45.421Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T04:04:45.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T04:04:45.555Z] $ docker exec 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 ssh-agent [2022-10-13T04:04:45.671Z] SSH_AUTH_SOCK=/tmp/ssh-U8Rc1ETFFm0N/agent.32 [2022-10-13T04:04:45.671Z] SSH_AGENT_PID=38 [2022-10-13T04:04:45.679Z] Running ssh-add (command line suppressed) [2022-10-13T04:04:45.793Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/private_key_15900529306636737489.key (/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/private_key_15900529306636737489.key) [2022-10-13T04:04:45.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T04:04:46.141Z] + git tag --points-at HEAD [Pipeline] } [2022-10-13T04:04:46.174Z] $ docker exec --env ******** --env ******** 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 ssh-agent -k [2022-10-13T04:04:46.291Z] unset SSH_AUTH_SOCK; [2022-10-13T04:04:46.291Z] unset SSH_AGENT_PID; [2022-10-13T04:04:46.292Z] echo Agent pid 38 killed; [2022-10-13T04:04:46.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-13T04:04:46.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T04:04:46.388Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T04:04:46.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T04:04:46.528Z] $ docker exec 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 ssh-agent [2022-10-13T04:04:46.655Z] SSH_AUTH_SOCK=/tmp/ssh-Usmok6OiBfIz/agent.70 [2022-10-13T04:04:46.655Z] SSH_AGENT_PID=76 [2022-10-13T04:04:46.660Z] Running ssh-add (command line suppressed) [2022-10-13T04:04:46.768Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/private_key_3015082149649255263.key (/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/private_key_3015082149649255263.key) [2022-10-13T04:04:46.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T04:04:47.116Z] + git semver init [2022-10-13T04:04:47.377Z] 2022-10-13 04:04:47,364 [run_init] DEBUG init version:0.0.0 force:False [2022-10-13T04:04:47.377Z] 2022-10-13 04:04:47,365 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver [2022-10-13T04:04:47.377Z] 2022-10-13 04:04:47,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver [2022-10-13T04:04:47.377Z] 2022-10-13 04:04:47,367 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1237, universal_newlines=False, shell=None, istream=None) [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237/.git/info/exclude [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver/PR-1237 with force:False [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,417 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver/PR-1237 [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,421 [execute] INFO git cat-file --batch-check [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,428 [execute] INFO git cat-file --batch [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T04:04:48.769Z] 2022-10-13 04:04:48,433 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1237/.semver/PR-1237 [2022-10-13T04:04:48.769Z] 0.0.0 [Pipeline] } [2022-10-13T04:04:48.796Z] $ docker exec --env ******** --env ******** 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 ssh-agent -k [2022-10-13T04:04:48.894Z] unset SSH_AUTH_SOCK; [2022-10-13T04:04:48.894Z] unset SSH_AGENT_PID; [2022-10-13T04:04:48.895Z] echo Agent pid 76 killed; [2022-10-13T04:04:48.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T04:04:49.332Z] + git semver [Pipeline] } [2022-10-13T04:04:49.617Z] $ docker stop --time=1 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 [2022-10-13T04:04:50.920Z] $ docker rm -f 42e592286c31e92179e7fde35a7323975ac67dfd742a86c33a8119aceda64844 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T04:04:51.327Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-13T04:04:51.572Z] Stashed 1 file(s) [Pipeline] echo [2022-10-13T04:04:51.589Z] [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 [2022-10-13T04:04:52.157Z] provisioning config files... [2022-10-13T04:04:52.167Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/config11092712246418651070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:04:52.514Z] ---> docker-login.sh [2022-10-13T04:04:52.515Z] nexus3.edgexfoundry.org:10001 [2022-10-13T04:04:52.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:52.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:52.515Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:52.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:52.515Z] [2022-10-13T04:04:52.515Z] Login Succeeded [2022-10-13T04:04:52.515Z] nexus3.edgexfoundry.org:10002 [2022-10-13T04:04:52.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:52.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:52.515Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:52.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:52.515Z] [2022-10-13T04:04:52.515Z] Login Succeeded [2022-10-13T04:04:52.515Z] nexus3.edgexfoundry.org:10003 [2022-10-13T04:04:52.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:52.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:52.772Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:52.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:52.772Z] [2022-10-13T04:04:52.772Z] Login Succeeded [2022-10-13T04:04:52.772Z] nexus3.edgexfoundry.org:10004 [2022-10-13T04:04:52.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:52.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:52.772Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:52.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:52.772Z] [2022-10-13T04:04:52.772Z] Login Succeeded [2022-10-13T04:04:52.772Z] docker.io [2022-10-13T04:04:53.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:04:53.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:04:53.289Z] Configure a credential helper to remove this warning. See [2022-10-13T04:04:53.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:04:53.289Z] [2022-10-13T04:04:53.289Z] Login Succeeded [2022-10-13T04:04:53.289Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T04:04:53.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T04:04:53.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T04:04:53.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T04:04:53.561Z] ========================================================= [2022-10-13T04:04:53.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-13T04:04:53.561Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:04:54.023Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T04:04:54.023Z] Sending build context to Docker daemon 9.992MB [2022-10-13T04:04:54.023Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T04:04:54.023Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T04:04:54.023Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-13T04:04:54.023Z] 213ec9aee27d: Pulling fs layer [2022-10-13T04:04:54.023Z] 4583459ba037: Pulling fs layer [2022-10-13T04:04:54.023Z] 93c1e223e6f2: Pulling fs layer [2022-10-13T04:04:54.023Z] 53926ce57604: Pulling fs layer [2022-10-13T04:04:54.023Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-13T04:04:54.023Z] 30f14e443154: Pulling fs layer [2022-10-13T04:04:54.023Z] 801331c1e519: Pulling fs layer [2022-10-13T04:04:54.023Z] 99cc6dd402b0: Pulling fs layer [2022-10-13T04:04:54.023Z] 7d9ed39f4882: Pulling fs layer [2022-10-13T04:04:54.023Z] 53926ce57604: Waiting [2022-10-13T04:04:54.023Z] 21b2b0c7a3f4: Waiting [2022-10-13T04:04:54.023Z] 30f14e443154: Waiting [2022-10-13T04:04:54.023Z] 801331c1e519: Waiting [2022-10-13T04:04:54.023Z] 99cc6dd402b0: Waiting [2022-10-13T04:04:54.023Z] 7d9ed39f4882: Waiting [2022-10-13T04:04:54.023Z] 93c1e223e6f2: Verifying Checksum [2022-10-13T04:04:54.023Z] 93c1e223e6f2: Download complete [2022-10-13T04:04:54.284Z] 4583459ba037: Download complete [2022-10-13T04:04:54.284Z] 21b2b0c7a3f4: Download complete [2022-10-13T04:04:54.284Z] 30f14e443154: Download complete [2022-10-13T04:04:54.284Z] 213ec9aee27d: Download complete [2022-10-13T04:04:54.284Z] 801331c1e519: Verifying Checksum [2022-10-13T04:04:54.284Z] 801331c1e519: Download complete [2022-10-13T04:04:54.544Z] 213ec9aee27d: Pull complete [2022-10-13T04:04:54.544Z] 4583459ba037: Pull complete [2022-10-13T04:04:54.544Z] 93c1e223e6f2: Pull complete [2022-10-13T04:04:54.544Z] 7d9ed39f4882: Download complete [2022-10-13T04:04:54.803Z] 99cc6dd402b0: Verifying Checksum [2022-10-13T04:04:54.803Z] 99cc6dd402b0: Download complete [2022-10-13T04:04:55.062Z] 53926ce57604: Verifying Checksum [2022-10-13T04:04:55.062Z] 53926ce57604: Download complete [2022-10-13T04:04:59.249Z] 53926ce57604: Pull complete [2022-10-13T04:04:59.249Z] 21b2b0c7a3f4: Pull complete [2022-10-13T04:04:59.508Z] 30f14e443154: Pull complete [2022-10-13T04:04:59.765Z] 801331c1e519: Pull complete [2022-10-13T04:05:02.305Z] 99cc6dd402b0: Pull complete [2022-10-13T04:05:02.875Z] 7d9ed39f4882: Pull complete [2022-10-13T04:05:02.875Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-13T04:05:02.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-13T04:05:02.875Z] ---> 1dedd983c030 [2022-10-13T04:05:02.875Z] Step 3/11 : ARG MAKE=make build [2022-10-13T04:05:06.992Z] Still waiting to schedule task [2022-10-13T04:05:06.992Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-13T04:05:12.915Z] ---> Running in c0d8d6d16f34 [2022-10-13T04:05:12.915Z] Removing intermediate container c0d8d6d16f34 [2022-10-13T04:05:12.915Z] ---> 79886993cfe0 [2022-10-13T04:05:12.915Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T04:05:12.915Z] ---> Running in a824175d6412 [2022-10-13T04:05:12.915Z] Removing intermediate container a824175d6412 [2022-10-13T04:05:12.915Z] ---> db66e1039c54 [2022-10-13T04:05:12.915Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:05:12.915Z] ---> Running in 99e8cb715ff6 [2022-10-13T04:05:12.915Z] Removing intermediate container 99e8cb715ff6 [2022-10-13T04:05:12.915Z] ---> a0ef84bcd188 [2022-10-13T04:05:12.915Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:05:12.915Z] ---> Running in f9964b60a0f4 [2022-10-13T04:05:12.915Z] Removing intermediate container f9964b60a0f4 [2022-10-13T04:05:12.915Z] ---> bff1afd6e23f [2022-10-13T04:05:12.915Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T04:05:12.915Z] ---> Running in 8181f1ca4f8e [2022-10-13T04:05:13.175Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T04:05:14.112Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T04:05:14.371Z] OK: 211 MiB in 51 packages [2022-10-13T04:05:14.630Z] Removing intermediate container 8181f1ca4f8e [2022-10-13T04:05:14.630Z] ---> 8df1806a17d5 [2022-10-13T04:05:14.630Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T04:05:14.889Z] ---> 8f082b0c1e06 [2022-10-13T04:05:14.889Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T04:05:15.165Z] ---> Running in 67eacceec0ce [2022-10-13T04:05:41.715Z] Removing intermediate container 67eacceec0ce [2022-10-13T04:05:41.715Z] ---> 19e14006f85d [2022-10-13T04:05:41.715Z] Step 10/11 : COPY . . [2022-10-13T04:05:41.715Z] ---> c3b13832ae0c [2022-10-13T04:05:41.715Z] Step 11/11 : RUN ${MAKE} [2022-10-13T04:05:41.715Z] ---> Running in 3a6deb7b6909 [2022-10-13T04:05:41.715Z] noop [2022-10-13T04:05:41.715Z] Removing intermediate container 3a6deb7b6909 [2022-10-13T04:05:41.715Z] ---> e76f748fe7c1 [2022-10-13T04:05:41.715Z] Successfully built e76f748fe7c1 [2022-10-13T04:05:41.715Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:05:42.156Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T04:05:42.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:05:42.312Z] prd-ubuntu20.04-docker-8c-8g-7793 does not seem to be running inside a container [2022-10-13T04:05:42.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1237 -v /w/workspace/gexfoundry_device-sdk-go_PR-1237:/w/workspace/gexfoundry_device-sdk-go_PR-1237:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T04:05:42.699Z] $ docker top 85a689f612f5e0984c71baa55a29255ee85ecd238eeed5be05da23866c30aec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:05:43.100Z] + go version [2022-10-13T04:05:43.100Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-13T04:05:43.135Z] $ docker stop --time=1 85a689f612f5e0984c71baa55a29255ee85ecd238eeed5be05da23866c30aec2 [2022-10-13T04:05:44.425Z] $ docker rm -f 85a689f612f5e0984c71baa55a29255ee85ecd238eeed5be05da23866c30aec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:05:45.086Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T04:05:45.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:05:45.227Z] prd-ubuntu20.04-docker-8c-8g-7793 does not seem to be running inside a container [2022-10-13T04:05:45.261Z] $ 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-sdk-go_PR-1237 -v /w/workspace/gexfoundry_device-sdk-go_PR-1237:/w/workspace/gexfoundry_device-sdk-go_PR-1237:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T04:05:45.590Z] $ docker top a60d7c3bddecb79bd179ba78950060f27a97aa1439aa56c55ea4e51113d211c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:05:45.971Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1237 [Pipeline] fileExists [Pipeline] sh [2022-10-13T04:05:46.327Z] + make test [2022-10-13T04:05:46.327Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T04:05:52.889Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T04:06:07.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-10-13T04:06:07.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.153s coverage: 78.9% of statements [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T04:06:07.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 60.0% of statements [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T04:06:07.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T04:06:07.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T04:06:07.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T04:06:07.794Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.741s coverage: 89.2% of statements [2022-10-13T04:06:07.794Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T04:06:07.794Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-10-13T04:06:07.794Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T04:06:26.050Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-13T04:06:26.050Z] GO111MODULE=on go vet ./... [2022-10-13T04:06:26.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T04:06:26.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T04:06:26.993Z] ./bin/test-attribution-txt.sh [2022-10-13T04:06:26.993Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T04:06:26.993Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T04:06:26.993Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T04:06:26.993Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T04:06:27.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T04:06:27.063Z] $ docker stop --time=1 a60d7c3bddecb79bd179ba78950060f27a97aa1439aa56c55ea4e51113d211c1 [2022-10-13T04:06:32.487Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7795 in /w/workspace/gexfoundry_device-sdk-go_PR-1237 [2022-10-13T04:06:32.742Z] $ docker rm -f a60d7c3bddecb79bd179ba78950060f27a97aa1439aa56c55ea4e51113d211c1 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2022-10-13T04:06:33.074Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-13T04:06:33.159Z] The recommended git tool is: git [2022-10-13T04:06:33.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T04:06:33.368Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-13T04:06:34.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T04:06:34.352Z] + ls -al . [2022-10-13T04:06:34.352Z] total 276 [2022-10-13T04:06:34.352Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:05 . [2022-10-13T04:06:34.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:04 .. [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:04 .dockerignore [2022-10-13T04:06:34.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:06 .git [2022-10-13T04:06:34.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:04 .github [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:04 .gitignore [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:04 .golangci.yml [2022-10-13T04:06:34.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:04 .semver [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:04 CHANGELOG.md [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:04 GOVERNANCE.md [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:04 Jenkinsfile [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:04 LICENSE [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:04 Makefile [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:04 OWNERS.md [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:04 README.md [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:04 VERSION [2022-10-13T04:06:34.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:04 bin [2022-10-13T04:06:34.352Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 04:06 coverage.out [2022-10-13T04:06:34.352Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:04 example [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:04 go.mod [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:04 go.sum [2022-10-13T04:06:34.352Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:04 internal [2022-10-13T04:06:34.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:04 openapi [2022-10-13T04:06:34.352Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:04 pkg [2022-10-13T04:06:34.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:04 snap [2022-10-13T04:06:34.352Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:06:34.743Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb --label arch=amd64 --label version=0.0.0 . [2022-10-13T04:06:34.743Z] Sending build context to Docker daemon 10.09MB [2022-10-13T04:06:34.743Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T04:06:34.743Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T04:06:34.743Z] ---> e76f748fe7c1 [2022-10-13T04:06:34.743Z] Step 3/25 : ARG MAKE=make build [2022-10-13T04:06:35.309Z] ---> Running in 6d4c40ced345 [2022-10-13T04:06:35.309Z] Removing intermediate container 6d4c40ced345 [2022-10-13T04:06:35.309Z] ---> b6758b18b80a [2022-10-13T04:06:35.309Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T04:06:35.309Z] ---> Running in b250cf7c9ba5 [2022-10-13T04:06:35.568Z] Removing intermediate container b250cf7c9ba5 [2022-10-13T04:06:35.568Z] ---> be16166608c3 [2022-10-13T04:06:35.568Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:06:35.568Z] ---> Running in 7800011674ae [2022-10-13T04:06:35.568Z] Removing intermediate container 7800011674ae [2022-10-13T04:06:35.568Z] ---> 114fc81872fc [2022-10-13T04:06:35.568Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:06:35.568Z] ---> Running in 3e301cb113ea [2022-10-13T04:06:36.133Z] Removing intermediate container 3e301cb113ea [2022-10-13T04:06:36.133Z] ---> bd87430c652f [2022-10-13T04:06:36.133Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T04:06:36.133Z] ---> Running in 65235f9af912 [2022-10-13T04:06:36.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T04:06:37.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T04:06:37.956Z] using credential edgex-jenkins-ssh [2022-10-13T04:06:37.976Z] Cloning the remote Git repository [2022-10-13T04:06:38.013Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T04:06:38.260Z] OK: 211 MiB in 51 packages [2022-10-13T04:06:38.849Z] Removing intermediate container 65235f9af912 [2022-10-13T04:06:38.849Z] ---> 5a51b6b15366 [2022-10-13T04:06:38.849Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T04:06:39.108Z] ---> e282f3a88e8d [2022-10-13T04:06:39.108Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T04:06:38.080Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-13T04:06:38.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T04:06:38.214Z] > git --version # timeout=10 [2022-10-13T04:06:38.234Z] > git --version # 'git version 2.25.1' [2022-10-13T04:06:38.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T04:06:38.276Z] Verifying host key using known hosts file [2022-10-13T04:06:38.463Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T04:06:38.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T04:06:39.366Z] ---> Running in d59433f1345b [2022-10-13T04:06:40.740Z] Removing intermediate container d59433f1345b [2022-10-13T04:06:40.740Z] ---> 9b180177bd39 [2022-10-13T04:06:40.740Z] Step 10/25 : COPY . . [2022-10-13T04:06:41.307Z] ---> 6ad03a7d0517 [2022-10-13T04:06:41.307Z] Step 11/25 : RUN ${MAKE} [2022-10-13T04:06:41.567Z] ---> Running in 8d8db560f117 [2022-10-13T04:06:41.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T04:06:41.042Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T04:06:41.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T04:06:42.134Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T04:06:42.485Z] Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [2022-10-13T04:06:42.732Z] Merge succeeded, producing ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [2022-10-13T04:06:42.733Z] Checking out Revision ad0c4c5557f655a7a9c3f67a023ac0379b903dcb (PR-1237) [2022-10-13T04:06:43.255Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-13T04:06:41.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T04:06:41.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T04:06:41.904Z] Verifying host key using known hosts file [2022-10-13T04:06:41.910Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T04:06:41.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1237/head:refs/remotes/origin/PR-1237 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-13T04:06:42.504Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T04:06:42.524Z] > git checkout -f ad0c4c5557f655a7a9c3f67a023ac0379b903dcb # timeout=10 [2022-10-13T04:06:42.633Z] > git remote # timeout=10 [2022-10-13T04:06:42.658Z] > git config --get remote.origin.url # timeout=10 [2022-10-13T04:06:42.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T04:06:42.680Z] Verifying host key using known hosts file [2022-10-13T04:06:42.684Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T04:06:42.693Z] > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 [2022-10-13T04:06:42.717Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-13T04:06:42.739Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T04:06:42.754Z] > git checkout -f ad0c4c5557f655a7a9c3f67a023ac0379b903dcb # timeout=10 [2022-10-13T04:06:43.300Z] > git --version # timeout=10 [2022-10-13T04:06:43.311Z] > git --version # 'git version 2.25.1' [2022-10-13T04:06:43.331Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T04:06:44.392Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-13T04:06:44.392Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T04:06:44.392Z] Dload Upload Total Spent Left Speed [2022-10-13T04:06:44.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh [2022-10-13T04:06:45.145Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-13T04:06:45.493Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-10-13T04:06:45.493Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-13T04:06:45.493Z] { [2022-10-13T04:06:45.493Z] "registry-mirrors": [ [2022-10-13T04:06:45.493Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-13T04:06:45.493Z] ], [2022-10-13T04:06:45.493Z] "bip": "10.250.0.254/24", [2022-10-13T04:06:45.493Z] "hosts": [ [2022-10-13T04:06:45.493Z] "tcp://0.0.0.0:5555", [2022-10-13T04:06:45.493Z] "unix:///var/run/docker.sock" [2022-10-13T04:06:45.493Z] ], [2022-10-13T04:06:45.493Z] "mtu": 1458, [2022-10-13T04:06:45.493Z] "selinux-enabled": true, [2022-10-13T04:06:45.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-13T04:06:45.493Z] } [Pipeline] sh [2022-10-13T04:06:45.833Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-13T04:06:46.177Z] + sudo service docker restart [2022-10-13T04:07:00.223Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T04:07:04.506Z] provisioning config files... [2022-10-13T04:07:04.535Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12236400891753516462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:07:04.922Z] ---> docker-login.sh [2022-10-13T04:07:04.922Z] nexus3.edgexfoundry.org:10001 [2022-10-13T04:07:05.490Z] Removing intermediate container 8d8db560f117 [2022-10-13T04:07:05.490Z] ---> 2dc0354fa759 [2022-10-13T04:07:05.490Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T04:07:05.490Z] 3.16: Pulling from library/alpine [2022-10-13T04:07:05.490Z] 213ec9aee27d: Already exists [2022-10-13T04:07:05.490Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T04:07:05.490Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T04:07:05.490Z] ---> 9c6f07244728 [2022-10-13T04:07:05.490Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:07:05.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:07:05.749Z] ---> Running in 3041361c5e60 [2022-10-13T04:07:05.749Z] Removing intermediate container 3041361c5e60 [2022-10-13T04:07:05.749Z] ---> 6645623eae5b [2022-10-13T04:07:05.749Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:07:05.749Z] ---> Running in 91c8f0157991 [2022-10-13T04:07:05.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:07:05.789Z] Configure a credential helper to remove this warning. See [2022-10-13T04:07:05.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:07:05.789Z] [2022-10-13T04:07:05.789Z] Login Succeeded [2022-10-13T04:07:05.789Z] nexus3.edgexfoundry.org:10002 [2022-10-13T04:07:06.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:07:06.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:07:06.059Z] Configure a credential helper to remove this warning. See [2022-10-13T04:07:06.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:07:06.059Z] [2022-10-13T04:07:06.059Z] Login Succeeded [2022-10-13T04:07:06.059Z] nexus3.edgexfoundry.org:10003 [2022-10-13T04:07:06.317Z] Removing intermediate container 91c8f0157991 [2022-10-13T04:07:06.318Z] ---> 069dfdad77bf [2022-10-13T04:07:06.318Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T04:07:06.318Z] ---> Running in 26e215b6ada2 [2022-10-13T04:07:06.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:07:06.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:07:06.330Z] Configure a credential helper to remove this warning. See [2022-10-13T04:07:06.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:07:06.330Z] [2022-10-13T04:07:06.330Z] Login Succeeded [2022-10-13T04:07:06.576Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T04:07:06.602Z] nexus3.edgexfoundry.org:10004 [2022-10-13T04:07:06.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:07:06.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:07:06.874Z] Configure a credential helper to remove this warning. See [2022-10-13T04:07:06.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:07:06.874Z] [2022-10-13T04:07:06.874Z] Login Succeeded [2022-10-13T04:07:06.874Z] docker.io [2022-10-13T04:07:07.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:07:07.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:07:07.415Z] Configure a credential helper to remove this warning. See [2022-10-13T04:07:07.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:07:07.415Z] [2022-10-13T04:07:07.415Z] Login Succeeded [2022-10-13T04:07:07.415Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T04:07:07.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-13T04:07:07.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T04:07:07.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2022-10-13T04:07:07.769Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T04:07:07.769Z] (2/5) Installing libsodium (1.0.18-r0) [Pipeline] echo [2022-10-13T04:07:07.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T04:07:07.844Z] ========================================================= [2022-10-13T04:07:07.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-13T04:07:07.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-10-13T04:07:08.030Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T04:07:08.030Z] (4/5) Installing libzmq (4.3.4-r0) [Pipeline] sh [2022-10-13T04:07:08.289Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T04:07:08.289Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T04:07:08.289Z] OK: 8 MiB in 19 packages [2022-10-13T04:07:08.387Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T04:07:08.658Z] Sending build context to Docker daemon 5.372MB [2022-10-13T04:07:08.898Z] Removing intermediate container 26e215b6ada2 [2022-10-13T04:07:08.898Z] ---> 4ddf73a8b4be [2022-10-13T04:07:08.898Z] Step 16/25 : WORKDIR / [2022-10-13T04:07:08.898Z] ---> Running in e857565e0f89 [2022-10-13T04:07:08.898Z] Removing intermediate container e857565e0f89 [2022-10-13T04:07:08.898Z] ---> e7d9cc078150 [2022-10-13T04:07:08.898Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T04:07:08.898Z] ---> 2dac6635b547 [2022-10-13T04:07:08.898Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T04:07:08.929Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T04:07:08.929Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T04:07:08.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-13T04:07:08.929Z] 9b18e9b68314: Pulling fs layer [2022-10-13T04:07:08.929Z] d32db5db7311: Pulling fs layer [2022-10-13T04:07:08.929Z] d0c4b47475fc: Pulling fs layer [2022-10-13T04:07:08.929Z] 5831b945b038: Pulling fs layer [2022-10-13T04:07:08.929Z] 86bbec2aaacd: Pulling fs layer [2022-10-13T04:07:08.929Z] e10730c5d714: Pulling fs layer [2022-10-13T04:07:08.929Z] 5dd5c2283517: Pulling fs layer [2022-10-13T04:07:08.929Z] d5ac0230b979: Pulling fs layer [2022-10-13T04:07:08.929Z] e10730c5d714: Waiting [2022-10-13T04:07:08.929Z] 5831b945b038: Waiting [2022-10-13T04:07:08.929Z] 86bbec2aaacd: Waiting [2022-10-13T04:07:08.929Z] 5dd5c2283517: Waiting [2022-10-13T04:07:08.929Z] d5ac0230b979: Waiting [2022-10-13T04:07:08.929Z] d0c4b47475fc: Verifying Checksum [2022-10-13T04:07:08.929Z] d0c4b47475fc: Download complete [2022-10-13T04:07:08.929Z] d32db5db7311: Download complete [2022-10-13T04:07:09.207Z] 86bbec2aaacd: Verifying Checksum [2022-10-13T04:07:09.207Z] 86bbec2aaacd: Download complete [2022-10-13T04:07:09.207Z] 9b18e9b68314: Verifying Checksum [2022-10-13T04:07:09.207Z] e10730c5d714: Verifying Checksum [2022-10-13T04:07:09.207Z] e10730c5d714: Download complete [2022-10-13T04:07:09.856Z] ---> ae39a0fe3f4c [2022-10-13T04:07:09.856Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T04:07:09.856Z] ---> 33fb4e02e628 [2022-10-13T04:07:09.856Z] Step 20/25 : EXPOSE 59999 [2022-10-13T04:07:10.028Z] 9b18e9b68314: Pull complete [2022-10-13T04:07:10.114Z] ---> Running in feb0901266a7 [2022-10-13T04:07:10.114Z] Removing intermediate container feb0901266a7 [2022-10-13T04:07:10.114Z] ---> 3aeff6c00ae6 [2022-10-13T04:07:10.114Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T04:07:10.114Z] ---> Running in c886dc574c6e [2022-10-13T04:07:10.114Z] Removing intermediate container c886dc574c6e [2022-10-13T04:07:10.114Z] ---> c407244f08e2 [2022-10-13T04:07:10.114Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T04:07:10.114Z] ---> Running in 030899fb8b98 [2022-10-13T04:07:10.114Z] Removing intermediate container 030899fb8b98 [2022-10-13T04:07:10.114Z] ---> b1e8a8b9116f [2022-10-13T04:07:10.114Z] Step 23/25 : LABEL arch=amd64 [2022-10-13T04:07:10.304Z] d5ac0230b979: Verifying Checksum [2022-10-13T04:07:10.304Z] d5ac0230b979: Download complete [2022-10-13T04:07:10.373Z] ---> Running in 436574f72c99 [2022-10-13T04:07:10.373Z] Removing intermediate container 436574f72c99 [2022-10-13T04:07:10.373Z] ---> 1d4e0ac45268 [2022-10-13T04:07:10.373Z] Step 24/25 : LABEL git_sha=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [2022-10-13T04:07:10.373Z] ---> Running in afd0b7381f6e [2022-10-13T04:07:10.373Z] Removing intermediate container afd0b7381f6e [2022-10-13T04:07:10.373Z] ---> ece76a70f52e [2022-10-13T04:07:10.373Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T04:07:10.373Z] ---> Running in 325a79c93177 [2022-10-13T04:07:10.581Z] d32db5db7311: Pull complete [2022-10-13T04:07:10.631Z] Removing intermediate container 325a79c93177 [2022-10-13T04:07:10.631Z] ---> fcd748f4c24e [2022-10-13T04:07:10.631Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T04:07:10.631Z] Successfully built fcd748f4c24e [2022-10-13T04:07:10.631Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-10-13T04:07:11.172Z] d0c4b47475fc: Pull complete [Pipeline] sh [2022-10-13T04:07:11.442Z] 5dd5c2283517: Download complete [2022-10-13T04:07:11.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T04:07:11.522Z] [2022-10-13T04:07:11.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:07:11.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T04:07:11.898Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-13T04:07:11.898Z] 5eb5b503b376: Pulling fs layer [2022-10-13T04:07:11.898Z] 5c69ac0246d0: Pulling fs layer [2022-10-13T04:07:11.898Z] ec43610c2a17: Pulling fs layer [2022-10-13T04:07:11.898Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-13T04:07:11.898Z] 33b1e0a273af: Pulling fs layer [2022-10-13T04:07:11.898Z] 5d3b04190fa2: Pulling fs layer [2022-10-13T04:07:11.898Z] 2f39f015ded8: Pulling fs layer [2022-10-13T04:07:11.898Z] 33b1e0a273af: Waiting [2022-10-13T04:07:11.898Z] 3a2ae6a8a46f: Waiting [2022-10-13T04:07:11.898Z] 2f39f015ded8: Waiting [2022-10-13T04:07:11.898Z] 5d3b04190fa2: Waiting [2022-10-13T04:07:11.898Z] 5c69ac0246d0: Download complete [2022-10-13T04:07:11.898Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-13T04:07:11.898Z] 3a2ae6a8a46f: Download complete [2022-10-13T04:07:12.029Z] 5831b945b038: Download complete [2022-10-13T04:07:12.158Z] 33b1e0a273af: Verifying Checksum [2022-10-13T04:07:12.158Z] 33b1e0a273af: Download complete [2022-10-13T04:07:12.158Z] 5d3b04190fa2: Download complete [2022-10-13T04:07:12.158Z] ec43610c2a17: Verifying Checksum [2022-10-13T04:07:12.158Z] ec43610c2a17: Download complete [2022-10-13T04:07:12.158Z] 5eb5b503b376: Download complete [2022-10-13T04:07:12.725Z] 2f39f015ded8: Download complete [2022-10-13T04:07:13.290Z] 5eb5b503b376: Pull complete [2022-10-13T04:07:13.290Z] 5c69ac0246d0: Pull complete [2022-10-13T04:07:13.857Z] ec43610c2a17: Pull complete [2022-10-13T04:07:13.857Z] 3a2ae6a8a46f: Pull complete [2022-10-13T04:07:14.119Z] 33b1e0a273af: Pull complete [2022-10-13T04:07:14.376Z] 5d3b04190fa2: Pull complete [2022-10-13T04:07:18.556Z] 2f39f015ded8: Pull complete [2022-10-13T04:07:18.556Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-13T04:07:18.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T04:07:18.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:07:18.781Z] prd-ubuntu20.04-docker-8c-8g-7793 does not seem to be running inside a container [2022-10-13T04:07:18.810Z] $ 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-sdk-go_PR-1237 -v /w/workspace/gexfoundry_device-sdk-go_PR-1237:/w/workspace/gexfoundry_device-sdk-go_PR-1237:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1237@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 [2022-10-13T04:07:24.146Z] $ docker top 10725455b270b6562f831d62bf0a8f7177561916229adcc99bde5466a7648335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:07:24.370Z] 5831b945b038: Pull complete [2022-10-13T04:07:24.370Z] 86bbec2aaacd: Pull complete [2022-10-13T04:07:24.370Z] e10730c5d714: Pull complete [2022-10-13T04:07:24.603Z] ---> job-cost.sh [2022-10-13T04:07:24.603Z] lf-activate-venv: SKIPPING [2022-10-13T04:07:24.603Z] INFO: No Stack... [2022-10-13T04:07:24.861Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T04:07:25.120Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T04:07:25.432Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives/cost.csv [2022-10-13T04:07:25.432Z] + cut -d, -f6 [Pipeline] lock [2022-10-13T04:07:25.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [2022-10-13T04:07:25.477Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] did not exist. Created. [2022-10-13T04:07:25.478Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T04:07:25.887Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-13T04:07:25.946Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T04:07:25.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T04:07:26.057Z] $ docker stop --time=1 10725455b270b6562f831d62bf0a8f7177561916229adcc99bde5466a7648335 [2022-10-13T04:07:27.223Z] $ docker rm -f 10725455b270b6562f831d62bf0a8f7177561916229adcc99bde5466a7648335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-13T04:07:31.236Z] 5dd5c2283517: Pull complete [2022-10-13T04:07:33.193Z] d5ac0230b979: Pull complete [2022-10-13T04:07:33.193Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-13T04:07:33.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-13T04:07:33.193Z] ---> 59b3b1a385d4 [2022-10-13T04:07:33.193Z] Step 3/11 : ARG MAKE=make build [2022-10-13T04:07:34.157Z] ---> Running in fbc5fd246b99 [2022-10-13T04:07:34.157Z] Removing intermediate container fbc5fd246b99 [2022-10-13T04:07:34.157Z] ---> ee351c4550d0 [2022-10-13T04:07:34.157Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T04:07:34.424Z] ---> Running in 49c4e76c16ba [2022-10-13T04:07:34.691Z] Removing intermediate container 49c4e76c16ba [2022-10-13T04:07:34.691Z] ---> 96baf7e1b92c [2022-10-13T04:07:34.691Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:07:34.691Z] ---> Running in b32632e63b4c [2022-10-13T04:07:34.958Z] Removing intermediate container b32632e63b4c [2022-10-13T04:07:34.958Z] ---> 75fa68ec4d88 [2022-10-13T04:07:34.958Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:07:34.958Z] ---> Running in 956673139c17 [2022-10-13T04:07:36.918Z] Removing intermediate container 956673139c17 [2022-10-13T04:07:36.918Z] ---> ee66fcc4cb9e [2022-10-13T04:07:36.918Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T04:07:36.918Z] ---> Running in 81ac257427bb [2022-10-13T04:07:37.876Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T04:07:38.840Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T04:07:39.497Z] OK: 221 MiB in 51 packages [2022-10-13T04:07:40.486Z] Removing intermediate container 81ac257427bb [2022-10-13T04:07:40.486Z] ---> ad694b18762b [2022-10-13T04:07:40.486Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T04:07:41.073Z] ---> 74d66dd800e9 [2022-10-13T04:07:41.073Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T04:07:41.073Z] ---> Running in d8309dc30bc9 [2022-10-13T04:08:27.942Z] Removing intermediate container d8309dc30bc9 [2022-10-13T04:08:27.942Z] ---> 99969a39076f [2022-10-13T04:08:27.942Z] Step 10/11 : COPY . . [2022-10-13T04:08:28.533Z] ---> 3cc431fc6cb1 [2022-10-13T04:08:28.533Z] Step 11/11 : RUN ${MAKE} [2022-10-13T04:08:28.533Z] ---> Running in 6c4fd34ea03e [2022-10-13T04:08:29.500Z] noop [2022-10-13T04:08:30.084Z] Removing intermediate container 6c4fd34ea03e [2022-10-13T04:08:30.084Z] ---> de1b874c9d0a [2022-10-13T04:08:30.084Z] Successfully built de1b874c9d0a [2022-10-13T04:08:30.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:08:30.557Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T04:08:30.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:08:30.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-7795 does not seem to be running inside a container [2022-10-13T04:08:30.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 [2022-10-13T04:08:32.098Z] $ docker top a96fbf479ed2e415b2f1373e92bfa0078811ef8240c53e36aa661763069ae3bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:08:32.996Z] + go version [2022-10-13T04:08:32.997Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-13T04:08:33.040Z] $ docker stop --time=1 a96fbf479ed2e415b2f1373e92bfa0078811ef8240c53e36aa661763069ae3bf [2022-10-13T04:08:34.611Z] $ docker rm -f a96fbf479ed2e415b2f1373e92bfa0078811ef8240c53e36aa661763069ae3bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:08:35.467Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T04:08:35.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:08:35.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-7795 does not seem to be running inside a container [2022-10-13T04:08:35.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 [2022-10-13T04:08:36.898Z] $ docker top eb091a9eecce363b29056f7923f17c712d74b1499caf6943e6db1ba78d407350 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:08:37.433Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-13T04:08:37.825Z] + make test [2022-10-13T04:08:37.825Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T04:09:16.686Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T04:11:23.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T04:11:23.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T04:11:23.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T04:11:23.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T04:11:23.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T04:11:23.400Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.392s coverage: 27.6% of statements [2022-10-13T04:11:23.400Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.432s coverage: 78.9% of statements [2022-10-13T04:11:23.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T04:11:24.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.627s coverage: 60.0% of statements [2022-10-13T04:11:24.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T04:11:24.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T04:11:28.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.670s coverage: 54.4% of statements [2022-10-13T04:11:28.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T04:11:28.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T04:11:28.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T04:11:28.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T04:11:31.247Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.731s coverage: 65.1% of statements [2022-10-13T04:11:31.247Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T04:11:31.247Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T04:11:33.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.046s coverage: 89.2% of statements [2022-10-13T04:11:33.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T04:11:34.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.259s coverage: 4.7% of statements [2022-10-13T04:11:34.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T04:11:35.120Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-13T04:11:35.120Z] GO111MODULE=on go vet ./... [2022-10-13T04:13:26.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T04:13:26.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T04:13:26.798Z] ./bin/test-attribution-txt.sh [2022-10-13T04:13:26.798Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T04:13:26.798Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T04:13:26.798Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T04:13:26.798Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T04:13:26.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T04:13:26.867Z] $ docker stop --time=1 eb091a9eecce363b29056f7923f17c712d74b1499caf6943e6db1ba78d407350 [2022-10-13T04:13:29.265Z] $ docker rm -f eb091a9eecce363b29056f7923f17c712d74b1499caf6943e6db1ba78d407350 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T04:13:30.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T04:13:30.824Z] Warning: overwriting stash ‘coverage-report’ [2022-10-13T04:13:31.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T04:13:31.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T04:13:32.307Z] + ls -al . [2022-10-13T04:13:32.308Z] total 272 [2022-10-13T04:13:32.308Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 04:08 . [2022-10-13T04:13:32.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:06 .. [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:06 .dockerignore [2022-10-13T04:13:32.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:06 .git [2022-10-13T04:13:32.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:06 .github [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:06 .gitignore [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:06 .golangci.yml [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:06 CHANGELOG.md [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:06 GOVERNANCE.md [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:06 Jenkinsfile [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:06 LICENSE [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:06 Makefile [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:06 OWNERS.md [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:06 README.md [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:04 VERSION [2022-10-13T04:13:32.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:06 bin [2022-10-13T04:13:32.308Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 04:11 coverage.out [2022-10-13T04:13:32.308Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:06 example [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:06 go.mod [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:06 go.sum [2022-10-13T04:13:32.308Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:06 internal [2022-10-13T04:13:32.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:06 openapi [2022-10-13T04:13:32.308Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:06 pkg [2022-10-13T04:13:32.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:06 snap [2022-10-13T04:13:32.308Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:13:32.784Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb --label arch=arm64 --label version=0.0.0 . [2022-10-13T04:13:33.057Z] Sending build context to Docker daemon 5.474MB [2022-10-13T04:13:33.057Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T04:13:33.057Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T04:13:33.057Z] ---> de1b874c9d0a [2022-10-13T04:13:33.057Z] Step 3/25 : ARG MAKE=make build [2022-10-13T04:13:33.332Z] ---> Running in 53c2a4b53836 [2022-10-13T04:13:33.602Z] Removing intermediate container 53c2a4b53836 [2022-10-13T04:13:33.602Z] ---> dfe0fdc39d70 [2022-10-13T04:13:33.602Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T04:13:33.881Z] ---> Running in a484546bcf9c [2022-10-13T04:13:34.156Z] Removing intermediate container a484546bcf9c [2022-10-13T04:13:34.156Z] ---> d4f65db8dfeb [2022-10-13T04:13:34.156Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:13:34.424Z] ---> Running in cadb602d2195 [2022-10-13T04:13:34.693Z] Removing intermediate container cadb602d2195 [2022-10-13T04:13:34.693Z] ---> 34b9661b447f [2022-10-13T04:13:34.693Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:13:34.962Z] ---> Running in 3a0a43d907a6 [2022-10-13T04:13:36.913Z] Removing intermediate container 3a0a43d907a6 [2022-10-13T04:13:36.913Z] ---> 194f6445ccc8 [2022-10-13T04:13:36.913Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T04:13:36.913Z] ---> Running in be318147d8bd [2022-10-13T04:13:37.875Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T04:13:38.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T04:13:39.806Z] OK: 221 MiB in 51 packages [2022-10-13T04:13:40.772Z] Removing intermediate container be318147d8bd [2022-10-13T04:13:40.772Z] ---> 9122bc7367d7 [2022-10-13T04:13:40.772Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T04:13:41.359Z] ---> f6272fc06b39 [2022-10-13T04:13:41.359Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T04:13:41.359Z] ---> Running in 640ef3ec6299 [2022-10-13T04:13:43.308Z] Removing intermediate container 640ef3ec6299 [2022-10-13T04:13:43.308Z] ---> 65dcbce5e563 [2022-10-13T04:13:43.308Z] Step 10/25 : COPY . . [2022-10-13T04:13:44.724Z] ---> 6952d362426b [2022-10-13T04:13:44.724Z] Step 11/25 : RUN ${MAKE} [2022-10-13T04:13:44.724Z] ---> Running in 108ea2899c32 [2022-10-13T04:13:45.688Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T04:16:07.732Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T04:16:12.010Z] Removing intermediate container 108ea2899c32 [2022-10-13T04:16:12.010Z] ---> 7c2ca8ef1d26 [2022-10-13T04:16:12.010Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T04:16:12.278Z] 3.16: Pulling from library/alpine [2022-10-13T04:16:12.545Z] 9b18e9b68314: Already exists [2022-10-13T04:16:12.813Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T04:16:12.813Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T04:16:12.813Z] ---> a6215f271958 [2022-10-13T04:16:12.813Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:16:12.813Z] ---> Running in baf2c00312b8 [2022-10-13T04:16:13.082Z] Removing intermediate container baf2c00312b8 [2022-10-13T04:16:13.082Z] ---> 3efa3a26b4be [2022-10-13T04:16:13.082Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:16:13.082Z] ---> Running in fc893970089e [2022-10-13T04:16:15.052Z] Removing intermediate container fc893970089e [2022-10-13T04:16:15.052Z] ---> ca7fde519243 [2022-10-13T04:16:15.052Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T04:16:15.052Z] ---> Running in d3e73d1f4932 [2022-10-13T04:16:16.017Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T04:16:16.979Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T04:16:17.941Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T04:16:18.212Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T04:16:18.212Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T04:16:18.484Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T04:16:18.484Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T04:16:18.484Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T04:16:18.484Z] OK: 8 MiB in 19 packages [2022-10-13T04:16:19.450Z] Removing intermediate container d3e73d1f4932 [2022-10-13T04:16:19.450Z] ---> ba78c4d80bc3 [2022-10-13T04:16:19.450Z] Step 16/25 : WORKDIR / [2022-10-13T04:16:19.718Z] ---> Running in 24fd2fe7db81 [2022-10-13T04:16:19.986Z] Removing intermediate container 24fd2fe7db81 [2022-10-13T04:16:19.986Z] ---> 58861e65b36e [2022-10-13T04:16:19.986Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T04:16:20.573Z] ---> beadaec48d14 [2022-10-13T04:16:20.573Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T04:16:21.984Z] ---> ae58df638ffe [2022-10-13T04:16:21.984Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T04:16:22.570Z] ---> fe0ad0371342 [2022-10-13T04:16:22.570Z] Step 20/25 : EXPOSE 59999 [2022-10-13T04:16:22.570Z] ---> Running in 2692198ffcbd [2022-10-13T04:16:22.836Z] Removing intermediate container 2692198ffcbd [2022-10-13T04:16:22.836Z] ---> b6cb09f11c8d [2022-10-13T04:16:22.836Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T04:16:22.836Z] ---> Running in 0630cb0bf0dd [2022-10-13T04:16:23.107Z] Removing intermediate container 0630cb0bf0dd [2022-10-13T04:16:23.107Z] ---> bdb16d457c8d [2022-10-13T04:16:23.107Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T04:16:23.377Z] ---> Running in 92aeadab78fb [2022-10-13T04:16:23.643Z] Removing intermediate container 92aeadab78fb [2022-10-13T04:16:23.643Z] ---> 21b00e931caa [2022-10-13T04:16:23.643Z] Step 23/25 : LABEL arch=arm64 [2022-10-13T04:16:23.643Z] ---> Running in d0e2b9532e6e [2022-10-13T04:16:23.909Z] Removing intermediate container d0e2b9532e6e [2022-10-13T04:16:23.909Z] ---> 500a11433594 [2022-10-13T04:16:23.909Z] Step 24/25 : LABEL git_sha=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [2022-10-13T04:16:23.909Z] ---> Running in 606b21ada3f6 [2022-10-13T04:16:24.177Z] Removing intermediate container 606b21ada3f6 [2022-10-13T04:16:24.177Z] ---> 81c4f29efa96 [2022-10-13T04:16:24.177Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T04:16:24.445Z] ---> Running in 855c5a38d55d [2022-10-13T04:16:24.715Z] Removing intermediate container 855c5a38d55d [2022-10-13T04:16:24.715Z] ---> eee7e1212b1f [2022-10-13T04:16:24.715Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T04:16:24.715Z] Successfully built eee7e1212b1f [2022-10-13T04:16:24.715Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:16:25.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T04:16:25.528Z] [2022-10-13T04:16:25.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:16:25.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T04:16:26.218Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-13T04:16:26.218Z] 8998bd30e6a1: Pulling fs layer [2022-10-13T04:16:26.218Z] 04944245beec: Pulling fs layer [2022-10-13T04:16:26.218Z] 699f458cf7ca: Pulling fs layer [2022-10-13T04:16:26.218Z] 765212b225bb: Pulling fs layer [2022-10-13T04:16:26.218Z] f23df028b6ca: Pulling fs layer [2022-10-13T04:16:26.218Z] d65c8cfc05b1: Pulling fs layer [2022-10-13T04:16:26.218Z] 2437ff75d9bd: Pulling fs layer [2022-10-13T04:16:26.218Z] f23df028b6ca: Waiting [2022-10-13T04:16:26.218Z] d65c8cfc05b1: Waiting [2022-10-13T04:16:26.218Z] 2437ff75d9bd: Waiting [2022-10-13T04:16:26.218Z] 765212b225bb: Waiting [2022-10-13T04:16:26.218Z] 04944245beec: Verifying Checksum [2022-10-13T04:16:26.218Z] 04944245beec: Download complete [2022-10-13T04:16:26.486Z] 765212b225bb: Verifying Checksum [2022-10-13T04:16:26.486Z] 765212b225bb: Download complete [2022-10-13T04:16:26.486Z] f23df028b6ca: Download complete [2022-10-13T04:16:26.486Z] d65c8cfc05b1: Download complete [2022-10-13T04:16:26.486Z] 699f458cf7ca: Verifying Checksum [2022-10-13T04:16:26.486Z] 699f458cf7ca: Download complete [2022-10-13T04:16:27.088Z] 8998bd30e6a1: Download complete [2022-10-13T04:16:29.671Z] 2437ff75d9bd: Verifying Checksum [2022-10-13T04:16:29.671Z] 2437ff75d9bd: Download complete [2022-10-13T04:16:31.079Z] 8998bd30e6a1: Pull complete [2022-10-13T04:16:31.353Z] 04944245beec: Pull complete [2022-10-13T04:16:32.764Z] 699f458cf7ca: Pull complete [2022-10-13T04:16:33.032Z] 765212b225bb: Pull complete [2022-10-13T04:16:33.992Z] f23df028b6ca: Pull complete [2022-10-13T04:16:33.992Z] d65c8cfc05b1: Pull complete [2022-10-13T04:16:48.990Z] 2437ff75d9bd: Pull complete [2022-10-13T04:16:48.990Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-13T04:16:48.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T04:16:48.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:16:49.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-7795 does not seem to be running inside a container [2022-10-13T04:16:49.388Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 [2022-10-13T04:16:52.104Z] $ docker top a77ef588e09279cf0769e63cbc9bc358778a2140d926eabdd9234a53faee3ab2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:16:52.982Z] ---> job-cost.sh [2022-10-13T04:16:52.982Z] lf-activate-venv: SKIPPING [2022-10-13T04:16:52.982Z] INFO: No Stack... [2022-10-13T04:16:53.248Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-13T04:16:54.206Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T04:16:54.542Z] + cut -d, -f6 [2022-10-13T04:16:54.542Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-10-13T04:16:54.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [2022-10-13T04:16:54.903Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] did not exist. Created. [2022-10-13T04:16:54.903Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T04:16:55.623Z] /w/workspace/device-sdk-go/1@tmp/durable-ef2acbf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-13T04:16:55.969Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-13T04:16:56.003Z] Warning: overwriting stash ‘stack-cost’ [2022-10-13T04:16:56.063Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T04:16:56.078Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T04:16:56.162Z] $ docker stop --time=1 a77ef588e09279cf0769e63cbc9bc358778a2140d926eabdd9234a53faee3ab2 [2022-10-13T04:16:57.697Z] $ docker rm -f a77ef588e09279cf0769e63cbc9bc358778a2140d926eabdd9234a53faee3ab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-13T04:16:58.668Z] provisioning config files... [2022-10-13T04:16:58.677Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/config9899101812934177312tmp [Pipeline] { [Pipeline] sh [2022-10-13T04:16:59.011Z] + set +x [2022-10-13T04:16:59.011Z] + bash -s -- [2022-10-13T04:16:59.011Z] + curl -s https://codecov.io/bash [2022-10-13T04:16:59.011Z] [2022-10-13T04:16:59.011Z] _____ _ [2022-10-13T04:16:59.011Z] / ____| | | [2022-10-13T04:16:59.011Z] | | ___ __| | ___ ___ _____ __ [2022-10-13T04:16:59.011Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-13T04:16:59.011Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-13T04:16:59.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-13T04:16:59.012Z] Bash-1.0.6 [2022-10-13T04:16:59.012Z] [2022-10-13T04:16:59.012Z] [2022-10-13T04:16:59.012Z] ==> git version 2.25.1 found [2022-10-13T04:16:59.012Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-13T04:16:59.012Z] Release-Date: 2020-01-08 [2022-10-13T04:16:59.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-13T04:16:59.012Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-13T04:16:59.012Z] ==> Jenkins CI detected. [2022-10-13T04:16:59.012Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1237 [2022-10-13T04:16:59.012Z] project root: . [2022-10-13T04:16:59.012Z] --> token set from env [2022-10-13T04:16:59.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-13T04:16:59.012Z] ==> Running gcov in . (disable via -X gcov) [2022-10-13T04:16:59.012Z] ==> Python coveragepy not found [2022-10-13T04:16:59.012Z] ==> Searching for coverage reports in: [2022-10-13T04:16:59.012Z] + . [2022-10-13T04:16:59.012Z] -> Found 1 reports [2022-10-13T04:16:59.012Z] ==> Detecting git/mercurial file structure [2022-10-13T04:16:59.271Z] ==> Reading reports [2022-10-13T04:16:59.271Z] + ./coverage.out bytes=101009 [2022-10-13T04:16:59.271Z] ==> Appending adjustments [2022-10-13T04:16:59.271Z] https://docs.codecov.io/docs/fixing-reports [2022-10-13T04:16:59.530Z] + Found adjustments [2022-10-13T04:16:59.530Z] ==> Gzipping contents [2022-10-13T04:16:59.530Z] 16K /tmp/codecov.9zmVE4.gz [2022-10-13T04:16:59.530Z] ==> Uploading reports [2022-10-13T04:16:59.530Z] url: https://codecov.io [2022-10-13T04:16:59.530Z] query: branch=PR-1237&commit=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1237&job=&cmd_args= [2022-10-13T04:16:59.530Z] -> Pinging Codecov [2022-10-13T04:16:59.530Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1237&commit=ad0c4c5557f655a7a9c3f67a023ac0379b903dcb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1237&job=&cmd_args= [2022-10-13T04:16:59.788Z] -> Uploading to [2022-10-13T04:16:59.789Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/ad0c4c5557f655a7a9c3f67a023ac0379b903dcb/17be2539-0833-428a-931e-bae441be1ee8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T041659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d9e55dd31aeb1907ff4d0f21bff7a540186e54c67d2b6e3fc9589198c2a445a [2022-10-13T04:16:59.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T04:16:59.789Z] Dload Upload Total Spent Left Speed [2022-10-13T04:17:00.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14609 0 0 100 14609 0 65806 --:--:-- --:--:-- --:--:-- 65806 [2022-10-13T04:17:00.048Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ad0c4c5557f655a7a9c3f67a023ac0379b903dcb [Pipeline] } [2022-10-13T04:17:00.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-13T04:17:01.797Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives ] [2022-10-13T04:17:01.797Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives [2022-10-13T04:17:01.797Z] total 16 [2022-10-13T04:17:01.797Z] drwxr-xr-x 3 root root 4096 Oct 13 04:07 . [2022-10-13T04:17:01.797Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 04:07 .. [2022-10-13T04:17:01.797Z] drwxr-xr-x 2 root root 4096 Oct 13 04:07 cost [2022-10-13T04:17:01.797Z] -rw-r--r-- 1 root root 86 Oct 13 04:07 cost.csv [2022-10-13T04:17:01.797Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives [2022-10-13T04:17:01.797Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives [2022-10-13T04:17:01.797Z] total 16 [2022-10-13T04:17:01.797Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:07 . [2022-10-13T04:17:01.797Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 04:07 .. [2022-10-13T04:17:01.797Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 04:07 cost [2022-10-13T04:17:01.797Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 13 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:02.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:03.004Z] ---> package-listing.sh [2022-10-13T04:17:03.004Z] ++ facter osfamily [2022-10-13T04:17:03.004Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-13T04:17:03.263Z] + OS_FAMILY=debian [2022-10-13T04:17:03.263Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1237 [2022-10-13T04:17:03.263Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-13T04:17:03.263Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-13T04:17:03.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-13T04:17:03.263Z] + PACKAGES=/tmp/packages_start.txt [2022-10-13T04:17:03.263Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1237 ']' [2022-10-13T04:17:03.263Z] + PACKAGES=/tmp/packages_end.txt [2022-10-13T04:17:03.263Z] + case "${OS_FAMILY}" in [2022-10-13T04:17:03.263Z] + dpkg -l [2022-10-13T04:17:03.263Z] + grep '^ii' [2022-10-13T04:17:03.263Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-13T04:17:03.263Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-13T04:17:03.263Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-13T04:17:03.263Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1237 ']' [2022-10-13T04:17:03.263Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives/ [2022-10-13T04:17:03.263Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1237/archives/ [Pipeline] echo [2022-10-13T04:17:03.293Z] 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-sdk-go_PR-1237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-13T04:17:03.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:17:04.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T04:17:04.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:17:04.340Z] prd-ubuntu20.04-docker-8c-8g-7793 does not seem to be running inside a container [2022-10-13T04:17:04.370Z] $ 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-sdk-go_PR-1237/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-sdk-go_PR-1237 -v /w/workspace/gexfoundry_device-sdk-go_PR-1237:/w/workspace/gexfoundry_device-sdk-go_PR-1237:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1237@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 [2022-10-13T04:17:04.694Z] $ docker top 263bb3f125c9556b3a7a7077957039d1459d9c5f0b5649fabacd8f646522470f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:17:05.079Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-13T04:17:05.384Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-13T04:17:05.732Z] + ls /var/log/sa-host [2022-10-13T04:17:05.732Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T04:17:05.946Z] provisioning config files... [2022-10-13T04:17:05.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1237@tmp/config17528648425630348607tmp [Pipeline] { [Pipeline] echo [2022-10-13T04:17:06.007Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:06.319Z] ---> create-netrc.sh [Pipeline] } [2022-10-13T04:17:06.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:06.753Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-13T04:17:06.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:07.094Z] ---> sudo-logs.sh [2022-10-13T04:17:07.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-13T04:17:07.180Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:07.493Z] ---> job-cost.sh [2022-10-13T04:17:07.493Z] lf-activate-venv: SKIPPING [2022-10-13T04:17:07.493Z] DEBUG: total: 0.2199999988079071 [2022-10-13T04:17:07.493Z] INFO: Retrieving Stack Cost... [2022-10-13T04:17:08.060Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T04:17:08.320Z] INFO: Archiving Costs [Pipeline] echo [2022-10-13T04:17:08.351Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:17:08.658Z] ---> logs-deploy.sh [2022-10-13T04:17:08.658Z] lf-activate-venv: SKIPPING [2022-10-13T04:17:08.658Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1237/1 [2022-10-13T04:17:08.658Z] INFO: archiving workspace using pattern(s): [2022-10-13T04:17:09.595Z] Archives upload complete. [2022-10-13T04:17:09.595Z] INFO: archiving logs to Nexus